
Chapter 7 Communication function
7-31
Item
Setting contents
Type
For ASCII, attach BCC value of 2 byte in ASCII type to frame. For HEX, attach BCC value of 1
byte in HEX type to frame.
Basic
setting
The result data summed up from 2
nd
data to the data in [BCC] except 1
st
data is inserted into
[BCC] area.
SUM 1
BCC method can be performed by sum as in basic setting, however, section of BCC area can
be set by user.
SUM 2
BCC method is same as SUM 1 but this is used when the user masks random value to final
BCC value.
XOR 1
BCC method is exclusive OR(EXCLUSIVE OR).
XOR 2
BCC method is same as XOR 1 but this is used when the user masks random value to final
BCC value.
MUL 1
BCC method is MULTIPLY, namely, multiplication.
How to set
MUL 2
BCC method is same as MUL 1 but this is used when the user masks random value to final
BCC value.
Range
H stands for Header, S for segment and T for Tail.
Ex.1)
For setting of BCC creation range from [STX] to [ETX] with Header set to [ENQ][STX]
and Tail to [EOT][ETX], let the below set
H[1]~T[1]
Complement
Setting item to decide to adopt complement of 1 or 2, or not to BCC creation value. If mask has
been set after adoption of complement, let it masked to random value user has set.
Mask
Set random value used in mask and masking method.
Ex.1)
When masking with random value HFF by XOR method : ^FF
Ex.2)
When masking with random value HFF by OR method : |FF
Ex.3)
When masking with random value HFF by AND method : &FF
※
Keyboard position of setting characters of mask method
→
¾
Frame size
-
ASCII communication : Max. 126 byte
-
HEX communication : Max. 256 byte
^
6
&
7
\