Hello,
How are you guys dealing with word ordering on modbus datatypes that are larger 
than 16 bits (DINT, DWORD..)? There is variation between PLC vendors how they 
handle this. Don't know if also the bitordering (little vs big endian) may 
differ between PLC vendors.

for example:

word 1 byte 1
word 1 byte 2
word 2 byte 1
word 2 byte 2

vs

word 2 byte 1
word 2 byte 2
word 1 byte 1
word 1 byte 2



-Jukka

________________________________

Tämä sähköpostiviesti (liitteineen) saattaa sisältää luottamuksellista tietoa, 
joka on tarkoitettu
vain vastaanottajalleen. Jos et ole oikea vastaanottaja, ilmoita viestin 
lähettäjälle tapahtuneesta
virheestä ja tuhoa viesti välittömästi. Viestin luvaton julkaiseminen, 
kopioiminen, jakelu tai muu
käyttö tai toimenpiteisiin ryhtyminen sen perusteella on ehdottomasti kielletty.

This message (including any attachments) may contain confidential information 
intended for
the person or entity to which it is addressed. If you are not the intended 
recipient, notify the
sender and delete this message immediately. Notice that disclosing, copying, 
distributing or any
other use of the message and its information, or taking any action based on it, 
is strictly prohibited.

________________________________

Reply via email to