Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

crx10 with modbus system


fab_inrae Jun 26, 2024 11:16 AM

Hello

I configure my crx10 to communicate with modbus protocol (i use CS I/O to communicate with my computer):

table 1 program

01:1


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: 3 Result Code Loc [ inloc1 ]
6: 0 Command
7: 5 Swath
8: 4 Local Loc [ inloc ]
9: 1 Remote Loc

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

*Table 2 Programm

02:10


1: Set Port(s) (P20)
1: 1111 C8..C5 = high/high/high/high
2: 1100 C4..C1 = high/high/low/low

In my labview , i configure

slave adress 0

mode RTU

baud rate 9600

Parity none

poll period 100

stop bit 1

flow control none

timeout 300

Retrie 3

I launch my program :

I open the communication ---- ok

I use coil protocol and use starting 0000 decimal

In tx indicate 0001 0000 0001 FC1B

But in RX i haven't any return, empty array and any error....


juanapauling Jun 27, 2024 08:02 AM

This post is under review.

Log in or register to post/reply in the forum.