SPM Single Point Monitor
SPM Technical Handbook
A-6
Responses
The SPM will accept a return communication for any
packet it sends. Your equipment may respond back with
an ACK, NAK, RESET packet or diagnostic dump.
The ACK packet is an acknowledgement to the SPM. It
indicates to the SPM that the last communication was
correctly received. The SPM will accept the ACK and no
further action will occur.
The other packet is the NAK. This type of packet is
translated as a NAK. It means that the last packet was
not received correctly. Either the check-character did not
match or there was some other communication error
(framing, for example).
The SPM re-sends the last packet if it receives an NAK
response. The SPM resends the message once. If the
resend fails, the SPM will not communicate (it will wait)
until the next regular communication activity occurs.
Table A-5 lists the valid response packets to the SPM.
Command
Code (Hex)
Command
Command Description
20
ACK
(Acknowledgement)
Indicates packet was received
properly.
21
NAK (Negative
Acknowledgement)
Indicates the packet was not
valid. Will cause SPM to resend
the last packet of information.
30
RESET
Will cause SPM to do an Alarm
or Fault Reset, as if the RESET
button were momentarily
pressed.
31
Diagnostic Dump
The SPM will transmit the
software version and checksum
of the EPROM via command 35
(above).
Table A-5: Valid Response Packets to the SPM
A.2 Protocol Packet Definition
A.2.1 Packet Format
An SPM packet will follow the format described in Table
A-6 when transmitting.
Byte No.
Function
1
Device Address. The address or “name” of the device this packet
is directed to. It is always (HEX) 4D.
2
Packet Length (n). The length is the number of bytes to be
found in this packet. It includes the address byte and the check-
character byte and all bytes between.
3 through (n-1)
Command and Data. The remaining bytes within the packet
are data bytes.
n
Check-character. This byte is the last character in the packet.
Its value is equal to the negated summation of all previous bytes
in the packet. It is the negative checksum of the packet.
Table A-6: SPM Transmission Format
Graphically, the packet appears as shown in Table A-7.
Byte 1
Byte 2
Byte 3 through (n-1)
Byte n
Device
Address
Packet
Length
Commands and Data Set
Check
Character
Table A-7: SPM Graphic Style
Содержание SPM
Страница 8: ...SPM Single Point Monitor Midas Technical Handbook 1 1 1 Operation ...
Страница 15: ...SPM Single Point Monitor SPM Technical Handbook 2 1 2 Installation ...
Страница 20: ...SPM Single Point Monitor Midas Technical Handbook 3 1 3 Maintenance ...
Страница 24: ...SPM Single Point Monitor Midas Technical Handbook 4 1 4 Specifications ...
Страница 36: ...SPM Single Point Monitor SPM Technical Handbook 5 1 5 Options ...
Страница 53: ...SPM Single Point Monitor SPM Technical Handbook A 1 A Bi Directional Communications Protocol ...
Страница 61: ...SPM Single Point Monitor SPM Technical Handbook B 1 B Warranty Statement ...