IQCSPI
SECTION 33c
IQCSPOPS
100305
www.snellwilcox.com
Version 1 Issue 8
33c.21
Payload Format Characters
These can be inserted within the payloads of the
command, reply, tally, tallyreply, request and
requestreply fields.
Note:
Outgoing payloads are Command,
TallyReply, Request
Incoming payloads are Reply, Tally,
RequestReply
The payload format characters buttons and a
description follow:
From left to right each button represents:
•
Single Back Slash
This button inserts two backslashes, the first of
which is ignored.
e.g.
Payload = \\A
Sends = 92 65 (which is the decimal ASCII
value of \A)
•
Hex value (2 characters)
This button inserts \x followed by two Hex
characters.
e.g.
Payload = \xFF
Sends = 255 (which is the decimal value of
FF)
•
String
Value
This button inserts \s. The string parameter of the
command (up to a maximum of 20 characters) will
be sent.
e.g.
Command’s String value = On
Payload = \s
Sends = 79 78 (which is the decimal ASCII
value of On)
•
Offset
Character
This button inserts \c followed by two Hex
characters. The Hex characters identify a particular
character from within the command’s string.
e.g.
Command’s String value =
EFGHIJKLMNOPQ
Payload = \c0A
Sends = 78 (which is the decimal ASCII
value of N)
•
Byte
Value
This button inserts \vb. The byte value of the
commands numeric value is sent.
e.g.
Command’s numeric value = 2B 71 FF A3
Payload = \vb
Sends = 163 (which is the decimal value of
A3)
•
Integer (Big Endian)
This button inserts \vl. The integer value of the
command’s numeric value is sent in big endian
format.
e.g.
Command’s numeric value = 2B 71 FF A3
Payload = \vl
Sends = 255 163 (which is the decimal
value of FF A3)
•
Integer (Little Endian)
This button inserts \vi. The integer value of the
command’s numeric value is sent in little endian
format.
e.g.
Command’s numeric value = 2B 71 FF A3
Payload = \vi
Sends = 163 255 (which is the decimal
value of A3 FF)
•
Long (Big Endian)
This button inserts \vL. The long value of the
command’s numeric value is sent in big endian
format.
e.g.
Command’s numeric value = 2B 71 FF A3
Payload = \vL
Sends = 43 113 255 163 (which is the
decimal value of 2B 71 FF A3)
•
Long (Little Endian)
This button inserts \vI. The long value of the
command’s numeric value is sent in little endian
format.
e.g.
Command’s numeric value = 2B 71 FF A3
Payload = \vI
Sends = 163 255 113 43 (which is the
decimal value of A3 FF 71 2B)
•
Decimal ASCII String
This button inserts \a followed by a number 0-9.
The number indicates the minimum number of
digits sent from the commands numeric value.
e.g.
Command’s numeric value = 255
Payload = \a4
Sends the string = ‘0’ ‘2’ ‘5’ ‘5’