LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Set Digital Output for Modicon 340 through Modbus Ethernet

Hello,

I used modbus Ethernet example vi and am able to read input coil status of quantity 512

 

If starting address is changed above 511, VI returns 6002 error.

As per below concept, how can I write  to output coil

Output Coils are assigned the block 1-9999
Input Coils are assigned the block 10001-19999
Input Coils are assigned the block 10001-19999
Input Register are assigned the block 30001-39999
Output Register are assigned the block 40001-49999

I also tried sending command directly to TCP IP write like 05 00 AC FF 00 to set a coil. Still its not working.

Can anyone inform how to proceed. Any example or command structure is highly helpful

Thank you

 

0 Kudos
Message 1 of 1
(2,311 Views)