IM 50.560CA UA (B/4-03)
DEPOLOX
®
3
PLUS
RESIDUAL ANALYZER
62
3.7.4.3
Set - Frame
The set frame is used for writing data to a slave.
Format of the set frame:
Byte:
0-2
3
4
5
6
7
8
9-X Y
Z
—————————————————————————
Name: SYN SB
SA ZA KB AB FC DU DC EB
Byte:
Name:
Function:
0-2
SYN
Synchronization bytes
3
SB
Start byte 68H
4
SA
Slave address
5
ZA
Destination address
6
KB
Check byte
7
AB
Number byte
8
FC
Frame Check
9-X
DU
Data bytes
Y
DC
Data Check
Z
EB
End byte 16H
With the set frame, single words, values covering more addresses, or
additional information can be written.
If the contents of a single destination address are written, the number byte
must correspond to the number byte of the address reference list. The data
format must be set to “default” or to the data format from the address
reference list.
If more variables are to be set covering more addresses, the data format
must be set to “default.” The number byte means the number of bytes to
write; only whole variables have to be written. Valid set frames are an-
swered with a “positive confirmation.” Invalid set frames are answered
with “negative confirmation.”
Example: Setting the contents of destination address 02H of the slave
07H to 904 (Dec).
0H 00H 00H 68H 07H 02H 06H 02H 79H 03H 88H 8BH 16H
———————————————————————————
SYN
SB SA ZA KB AB FC DU
DC EB