STP-iX455/iXL455 Series Instruction Manual
9-15
Operation
Transmission frame when data is transmitted to two blocks (message is more than 256
characters and less than 512 characters):
Designate the control command (the 1st block) on the PC.
PC→SIM
@
F
1
F
2
Stx
0
0
1
Sp
CHR
C
1
C
253
Etb
LRC
SIM→PC
Ack or Nak F
1
F
2
Next, the preceding SIM->PC character is "Ack", the PC continues instructing the
control command (the 2nd block).
PC→SIM
@
F
1
F
2
Stx
0
0
2
C
254
C
n
Etx
LRC
SIM→PC
Ack or Nak F
1
F
2
Next, the preceding SIM->PC character is "Ack", the PC continues instructing the
control command (the 2nd block).
Then, the preceding SIM->PC character is "Ack", the instructed control command is
executed and the SIM returns the following response.
PC→SIM
Ack or Nak F
1
F
2
SIM→PC
@
F
1
F
2
Stx
0
0
1
# or ! Etx
LRC
The PC transmits "Ack" or "Nak"; then transmits the next command if necessary.
9.3.10 Query Command in the RS485 Multi-point Connection
The query command to be used when a pump operation instruction or a setting change
instruction is transmitted from the SIM is arranged in the order specified below. The
top is "?" (HEX code "3F") and ASCII characters corresponding to the respective function
code and parameter follow:
? CHR
C
1
C
2
C
n
CHR:Function code character, C
1
to C
n
: Parameter
Parameter (from C
1
to C
n
) serves as 16 bits signed hexadecimal value coded ASCII text.
When a message (a space character, a function code, and parameter) exceeds 255
characters, input "?" and CHR only to the top transmission block (the first transmission
block of the transmission frame). It is not necessary to input them to the 2nd and
succeeding transmission blocks.
The SIM returns the acknowledgment response character "#" when the query command
is processed normally. If not, the SIM returns the non-acknowledgment response
character "!" and 3 characters of the non-acknowledgment code are added to "!".