Dhaneshwar Posted December 7, 2021 Report Posted December 7, 2021 (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 December 7, 2021 by Dhaneshwar added Manufacturers name.
IO_Rack Posted December 9, 2021 Report Posted December 9, 2021 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. 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now