Transmitting, Receiving – Toshiba SX 2000 User Manual
Page 45
Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".

Chapt.1 System Configuration
In the free ASCII mode, communication (message transmitting and receiving) is
controlled by S2T’s user program.
The expanded transfer (XFER) instruction is used for transmitting and receiving
messages.
Transmitting:
To transmit, the user prepares the message in the S2T registers in the format of
ASCII character. The message must be ended by a specified trailing code. Then
executes the XFER instruction to start transmission.
S2T
n n-1
CR
„В”
“A”
RS-485
Receiving:
When a message is received, it is stored in the receive buffer. Then, by using the
XFER instruction, the message is read and stored in the designated S2T registers in
the format of ASCII character.
“1"
“0”
“3"
“2"
“5"
“4"
CR
“6”
S2T
Register
MSB
LSB
XFER
instruction
Receiver
and
Receive
buffer
n-1
n
“6" CR
RS-485
The S2T supports the hexadecimal to ASCII conversion (FITOA) instruction and the
ASCII to hexadecimal conversion (ATOFI) instruction. These instructions are useful
to handle ASCII characters. Refer to sectioni .4.9.
28
Sequence Controller S2T