Manual
Table Of Contents
Software Installation
EIO0000000046 04/2013 43
Write Command Example
This example describes a write command of two words from address 5 to the
OsiSense
®
XG station at address 3.
The table below illustrates the data to send to the output data buffer:
NOTE: For a write command, 25 words maximum can be writen.
The table below illustrates the station answer in the input data buffer (after a toggle
of the command trigger byte %QW.x.y.2 and a detection of a change in the counter
byte %IW.x.y.0.1):
The table below illustrates the station answer in the input data buffer if the tag is
missing :
Output
Word
(%QW)
Description Value
MSB LSB
0NA -
100 NA -
2 NA Write command trigger byte -
3 00 Slave address 0003h
4 Start address 0005h
5 00 Quantity of registers 0002h
6 00 Byte count 0004h
7 Data to write 1 0123h
8 Data to write 2 4567h
Input
Word
(%IW)
Description Value
MSB LSB
0 Status word -
100 NA -
2 00 Write command count -
3 Total byte count Slave address 0503h
4 Command code NA 1000h
Input
Word
(%IW)
Description Value
MSB LSB
0 Status word -
100 NA -