LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Modbus campbell CRX10

I use compact rio and i connect campbell CR10X

 

 

389299

LabVIEW: (Hex 0x5F0B3) You configured this serial request as a broadcast. The Modbus slave does not respond to broadcasts. Contact National Instruments for technical support.

 

program on campbell

 

1: Set Port(s) (P20)
1: 7777 C8..C5 = output/output/output/output
2: 7711 C4..C1 = output/output/high/high

2: ModBus Initiate Telecom (Special) (P222)
1: 40 Calling Mode
2: 1 Flag 1
3: 0 Modbus Address
4: 3 Number of Retries
5: 0 Result Code Loc [ _________ ]
6: 0 Command
7: 5 Swath
8: 1 Local Loc [ inloc ]
9: 1 Remote Loc

3: Do (P86)
1: 10 Set Output Flag High (Flag 0)

0 Kudos
Message 1 of 3
(146 Views)

@noir_desir_fabmysedgwick wrote:

I use compact rio and i connect campbell CR10X

 

 

389299

LabVIEW: (Hex 0x5F0B3) You configured this serial request as a broadcast. The Modbus slave does not respond to broadcasts. Contact National Instruments for technical support.

 

program on campbell

 

1: Set Port(s) (P20)
1: 7777 C8..C5 = output/output/output/output
2: 7711 C4..C1 = output/output/high/high

2: ModBus Initiate Telecom (Special) (P222)
1: 40 Calling Mode
2: 1 Flag 1
3: 0 Modbus Address
4: 3 Number of Retries
5: 0 Result Code Loc [ _________ ]
6: 0 Command
7: 5 Swath
8: 1 Local Loc [ inloc ]
9: 1 Remote Loc

3: Do (P86)
1: 10 Set Output Flag High (Flag 0)


Hello, @noir_desir_fab

 

You configured this serial request as a broadcast. The Modbus slave does not respond to broadcasts” indicates that the Modbus slave (CR10X) is not set up to respond to broadcast requests.

Here are some steps to troubleshoot and resolve this issue:

Check Modbus Configuration:
Ensure that the Modbus configuration on both the CompactRIO and the CR10X is correct.
Verify the Modbus address, communication mode, and other relevant settings.
Addressing Mode:
Modbus supports different addressing modes: broadcast, unicast, and multicast.
Make sure you’re using the correct addressing mode for your application. Broadcast requests are not suitable for slaves that don’t respond to broadcasts.
Retry Settings:
The “Number of Retries” (parameter 4) in your Modbus configuration specifies how many times the master (CompactRIO) will retry communication if it doesn’t receive a response.
Adjust this value if needed. A higher value may improve reliability.
Result Code Location:
The “Result Code Loc” (parameter 5) indicates where the result code of the Modbus operation is stored.
Ensure that this location is correctly specified in your LabVIEW program.
Swath and Local/Remote Locations:
Parameters like “Swath” (parameter 7) and “Local Loc” (parameter 😎 should be set according to your specific application requirements.
Verify that these settings match your communication setup.
Flag Configuration:
The “Set Output Flag High” (parameter 1 in step 3) might be related to the issue. Check if it affects the Modbus communication.
Consider reviewing the flag configuration in your program.

 

 

I hope this info is helpful to you.

 

Best Regard,
Gregory Chavez

0 Kudos
Message 2 of 3
(112 Views)

ok thank you

how to change parameter "communication mode" in labview

0 Kudos
Message 3 of 3
(95 Views)