AdvancedHMI Software
General Category => Support Questions => Topic started by: EE_Kraig on March 14, 2017, 10:13:35 AM
-
Is there a way to set the PLCAddressKeypad to write a 32-bit integer or do I have to do it in code?
string[] data = new string[] { "13", "0" };
modbusTCPCom1.Write("40001", data);
-
Check this topic for common Modbus addressing:
http://advancedhmi.com/forum/index.php?PHPSESSID=44140a34f41f03b586993fe235c95dd6&topic=765.0
-
Thanks! IT was the SwapBytes/Words setting that was messing with me.
-
if your SwapBytes and SwapWords are correct, it should just be:
modbusTCPCom1.Write("L40001", "13");
An important note is that version 3.99v has a bug in the Modbus drivers. You need to either upgrade or apply the driver patch.
-
if your SwapBytes and SwapWords are correct, it should just be:
modbusTCPCom1.Write("L40001", "13");
An important note is that version 3.99v has a bug in the Modbus drivers. You need to either upgrade or apply the driver patch.
Yes, you got me the patch. In this case it was my fault.