CODESYS - the IEC 61131-3 automation software
https://forum.codesys.com/

Modbus TCP Read/Write
https://forum.codesys.com/viewtopic.php?f=21&t=7556
Page 1 of 1

Author:  poix [ Wed Feb 01, 2017 11:09 am ]
Post subject:  Modbus TCP Read/Write

I have a Wago PLC and would like to connect with modbus TCP.
It is possible to create READ/WRITE variable?

Gianni

Author:  poix [ Thu Feb 02, 2017 8:18 am ]
Post subject:  Re: Modbus TCP Read/Write

I use the function FC23 but i can't use the same variable in read and write

Gianni

Author:  TiakTiak [ Thu Feb 02, 2017 10:10 am ]
Post subject:  Re: Modbus TCP Read/Write

Hi Poix.

I had the same problem that I needed to read and write to the same variable from an HMI using ModbusTCP.
But unfortunately, it seems that this is not possible anymore in Codesys 3.5.
In my solution, i changed the driver to OPC UA, but this might nog be possible for you.

Jesper

Author:  poix [ Thu Feb 02, 2017 5:06 pm ]
Post subject:  Re: Modbus TCP Read/Write

Thank's for your replay, but I have to connect to a Wago PLC.


Gianni

Author:  jessejamescox [ Fri Feb 10, 2017 10:23 pm ]
Post subject:  Re: Modbus TCP Read/Write

May be possible to use Network Variable instead of MB protocol. CoDeSys doesnt handle RW variables in MB registers any longer.

Page 1 of 1 All times are UTC+01:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/