306
4
4 Instructions4.11.2 Verication
2) 8-bit mode (M8161 = ON)
The LRC code is acquired by calculating the two's complement of the sum of values within the range from
the communication address to the end of data content.
For example: 01 H + 03 H + 21 H + 02 H + 00 H + 02 H = 29 H, and the two's complement of the sum is
D7H (which corresponds to the ASCII codes 44H and 37H).
4.12 Peripheral Instructions
PID calculation PID PID calculation
Bit switch access
TKY Ten key input
HKY Hexadecimal key input
DSW Digital switch
DECO Data decoding
ENCO Data encoding
7-segment LED display
SEGD 7-segment decoding
SEGL Seven segment with latch
Other peripheral
instructions
ASC ASCII code conversion
PR ASCII code printing
IST Status initialization
MTR Input matrix
PRUN Octal bit transfer
ARWS Arrow switch
ABSD Absolute cam control mode
INCD Incremental cam control mode
ROTC Rotary table control
GRY Gray code conversion
GBIN Gray code inverse conversion