rQx
Lifetime Supporting Member
Hi!
I got a little bit confused when I downloaded a program today.
In the PLC tag table I have a MW300 that represent Alarm1-16.
I then use M300.0 as alarm 1, M300.1 as alarm 2 etc.
In the HMI alarm setup I then specified MW300 as my alarm word and specified MW300.x0 as alarm 0.
When I then started the PLC and HMI the byte where swaped. Now M300.0 in the PLC is represented as MW300.x8 in the HMI to make it work.
Why does the byte order swap? Just a question of curiosity.
/Tim
I got a little bit confused when I downloaded a program today.
In the PLC tag table I have a MW300 that represent Alarm1-16.
I then use M300.0 as alarm 1, M300.1 as alarm 2 etc.
In the HMI alarm setup I then specified MW300 as my alarm word and specified MW300.x0 as alarm 0.
When I then started the PLC and HMI the byte where swaped. Now M300.0 in the PLC is represented as MW300.x8 in the HMI to make it work.
Why does the byte order swap? Just a question of curiosity.
/Tim