![STATUS SCIENTIFIC CONTROLS FGD10 Series Скачать руководство пользователя страница 43](http://html1.mh-extra.com/html/status-scientific-controls/fgd10-series/fgd10-series_installation-commissioning-and-routine-gas-testing-manual_1367505043.webp)
STATUS SCIENTIFIC CONTROLS
Installation, Commissioning & Routine Gas Testing
FGD10A Oxygen / Toxic Gas Detector
TD18/002
Issue:
16
Change Note:
1904
Page 42
7.6. Writing a Variable
Send a write frame with the Variable ID to be written:
DLE
WR
WP1
WP2
var-id
DLE
EOF
Csum
hi
Csum
lo
Byte stuffing
Device response on success:
DLE
ACK
Where data to write is < 255 bytes, send a DAT frame:
DLE
DAT
data-
len
data
DLE
EOF
Csum
hi
Csum
lo
Byte stuffing
Device response on write success:
DLE
ACK
Device response on write failure:
DLE
NAK
reason
Where ‘reason’ is a single byte failure code, the meaning of which depends
on the device type, i.e.
Reason = 1, NotWritable
Reason = 2, WriteOutOfRange
Reason = 3, BadDataLength
Reason = 4, IncorrectVersion