Jump to content

Recommended Posts

Posted (edited)

I am getting data of Modbus , LSB in one word and MSB in next Word,

Please help and guide so that i can combine these byte,.

need to do for 8 consecutive words of Data,

OMRON CP1E with CP1W-CIF11 And LnT Fx2000 VFD

Modbus Communication.

Attached is the my program.

 

 

LT_CP_MODBUS3.opt

LT_CP_MODBUS3.cxp

Edited by Dhaneshwar
added Manufacturers name.

Posted

ModBus is Big Endian format. You'll need to swap the bytes. There are multiple ways to do this. The CP Series PLCs have a SWAP(637) instruction that will do this for multiple registers.

  • Like 1

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
×
×
  • Create New...