FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
a month ago
Hi Community,
I am new in using Modbus TCP Server App.
I have setup a simple boolean variable in ctrlX PLC datalayer
Modbus TCP Server:
Modbus TCP Client:
However the value doesnt update the variable in plc is true in the client variable remain false, tried writing true doesnt work too.
I tried using 2 ctrlX, 1 as modbus tcp client and another as modbus tcp server same issue.
Anyone had this issues?
a month ago
Does it make a difference if you change the PLC data type to a uint (the modbus registers are 16bit)?
a month ago
Hi @AndreasL ,
Reading works now after changing the variable to uint. Now i want to write the variable it doesnt work.
PLC:
Modbus TCP Server:
Modbus TCP Client:
a month ago
Can you write the variable from the datalayer? (So the symbol is readwrite)
Can you test with this master/client?
a month ago
Hi @AndreasL
Yes i am able to write the variable from the datalayer:
I tried using the ModbusTool reading worked but writing doesnt work.
Read:
Write:
Write succeeded but values in PLC did not change
ctrlX Apps: