Sign in to follow this  
Followers 0
mopos

CJ1M, little- or big-endian?

2 posts in this topic

Hey, I've been looking for information about byte order on Omron PLCs but i have not been able to find any. Could anyone tell me where to find this information? Right now I'm working on a .Net driver for CJ1M and I need this information. /mopos EDIT: I guess all Omron PLCs use big-endian :/ Edited by mopos

Share this post


Link to post
Share on other sites
It depends on the protocol macro and the device. Some devices give you big and some little. The protocol macro can be programmed to reverse them if they need reversing or you can do it in PLC code. I have only seen 1 device where big/little could be programmed in the device. If you are talking about an external device querying the PLC for double words I do not know but going on how Citect reads the PLC it displays the higher word first and then the lower word so that you read the 2 words as they appear vin the PLC ie: D2001 then D2000 if you address D2000 as the start of the double word.

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
Sign in to follow this  
Followers 0