In this mode, the operation is executed only for low-order 8 bits (low-order 1 byte) of a device specified by (s). With regard to the operation result, low-
order 8 bits (1 byte) are stored to a device specified by (d), and high-order 8 bits (1 byte) are stored to a device specified by (d)+1.
In the following program, conversion is executed as follows:
SM400
Command
input
CRC
(s)
Device storing data for
(s)
which the CRC value
(s)+1
is generated
(s)+2
(s)+3
(s)+4
(s)+5
(s)+(n)-1
Device storing the
(d)
generated CRC value
(d)+1
Precautions
16
• In these instructions, "X
+X
other standard polynomials for generating the CRC value. Note that the CRC value completely differs if an adopted
polynomial is different. Major polynomials for generating the CRC value are shown below.
Name
CRC-12
CRC-16
CRC-32
CRC-CCITT
Operation error
There is no operation error.
Low-order byte
High-order byte
Low-order byte
High-order byte
Low-order byte
High-order byte
Low-order byte
High-order byte
Low-order byte
High-order byte
8-bit conversion mode
SM8161
(d)
(n)
Low-order byte
Low-order byte
Low-order byte
Low-order byte
Low-order byte
Low-order byte
Low-order byte
Low-order byte
High-order byte
15
2
+X
+1" is used in a polynomial for generating the CRC value (CRC-16). There are many