Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - brett.mckenzienz

Pages: [1]
1
Open Discussion / ModbusTCP Word swap not swapping on data write
« on: January 25, 2017, 05:00:34 PM »
Hi all,

I am using ver 3.99s, i see 3.99t has been released, but Archie's changelog doesn't list my issue so I haven't tried it

I have used Advanced HMI and automation direct PLCs several times, and often used floating point with them with no issue. Today I am trying to pair a Siemens S7-1200 with advanced HMI. The issue I am currently having a problem with is word swapping and floating point values.

With word swap = false in my driver settings the words are in the incorrect order when writing to the PLC (Keyboard Input tool) and also in the incorrect order when reading the value (BasicLabel)

With word swap = true in my driver settings the words are in the CORRECT order when reading from the PLC (BasicLabel) and in the INCORRECT order when writing the value to the PLC (Keyboard input tool)

If I enter a value into one of my holding registers in the PLC with the Siemens TIA software, it shows the value correctly on the HMI basiclabel. When i then attempt to write the value to the holding register with the HMI, it writes the words in reversed order, and shows the same garbage value in TIA and on the HMI basiclabel.

Thanks in advance for any help with this
Brett

Pages: [1]