I am using the latest 3.70 version with an Automation Direct click PLC.
The integer values work fine using the ModbusRTUcomm.
The first word of 2 words for a floating point starts at 428673.
I seems to be getting a corrupted value.
Is there a built in way of defining a floating point value or manipulation the byte order?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Testing the latest 3.98 on Click with ModbusRTUCom1.
Look like still issues with floating point.
Digitial I/O & integer values work fine with the ModbusRTUCom1 settings:
Swapbytes = True
Swapwords make no change.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I just did a quick test by adding a BasicLabel to the form and setting both PLCAddressValue and PLCAddressKeypad to F428673. I then ran the app, clicked the label, enterered 123.11
I then went online with the programming software and checked DF1. The values matched as expected
SwapBytes=True
SwapWords=False
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am using the latest 3.70 version with an Automation Direct click PLC.
The integer values work fine using the ModbusRTUcomm.
The first word of 2 words for a floating point starts at 428673.
I seems to be getting a corrupted value.
Is there a built in way of defining a floating point value or manipulation the byte order?
The ModbusRTU driver does not currently support floating point. This will be coming soon in the next version.
OK, that answers my question.
Thanks Archie
On Tue, Oct 7, 2014 at 9:01 AM, Archie arj3090@users.sf.net wrote:
SOMEONE KNOW WHAT DIRECTLOGIC PLC CAN SUPPORT MODBUS RTU?
Last edit: Cristhian 2015-01-20
I do believe that most of the DirectLogic PLCs support ModbusRTU. The most testing has been done with the ClickPLC
Testing the latest 3.98 on Click with ModbusRTUCom1.
Look like still issues with floating point.
Digitial I/O & integer values work fine with the ModbusRTUCom1 settings:
Swapbytes = True
Swapwords make no change.
I just did a quick test by adding a BasicLabel to the form and setting both PLCAddressValue and PLCAddressKeypad to F428673. I then ran the app, clicked the label, enterered 123.11
I then went online with the programming software and checked DF1. The values matched as expected
SwapBytes=True
SwapWords=False
You may want to read this thread for information on Modbus addressing:
http://advancedhmi.com/forum/index.php?topic=765.0
Last edit: Archie 2015-09-16
That did it for the Click PLC.
I needed to use the "F".
Thanks Archie.