patoliyarj

ModbusTCP Driver register swap option

2 posts in this topic

Hi All,

I'm testing Cx-supervisor communication with ODT Micropower PMAC controller on modbusTCP. I'm able to establish the communication using ModbusTCP driver with cx-supervisor.

But, data I'm getting in is Low word first, so not able to convert properly. If anybody has tried any other option/script for this issue?

I did not found any setting in Cx-Supervisor as in Kepserver, shown in attachment below:

How can we swap the registers read as a 32 bit word from controller?

Thank you.

Modbus TCP first word high setting.jpg

Share this post


Link to post
Share on other sites

Hi

This sounds like “Big-Endian” versus “Little-Endian” format. No I’m not aware of CX-Supervisor or PMAC controller option to swap the Endianess. 

Regards

BB

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now