LG GLOFA-GM Series User Manual page 82

Programmable logic controller cnet i/f module
Hide thumbs Also See for GLOFA-GM Series:
Table of Contents

Advertisement

Chapter 5 Frame Editor
Function for data mask of BCC calculation results in MUL 1 is added. Masks are classified into &(AND), |(OR),
and ^(Ex-OR). (Ex : In case the mask is set to [| F0] with the setting range of H[0] ~ T[0] by MUL 2 of BCC
type)
Calculation Ex.
In exercising frame, multiply ASCII codes in calculation range of H[0] ~ T[0].
(02 X 05 X 30 X 30 X 52 X 53 X 42 X 32 X 30 X 30 X 04) = 00
Use the result from OR calculation between the result '00' and 'F0' for BCC.
BCC = (HEX.:F0 / ASCII:4630)
Mask : If BCC calculation is set to SUM2 / XOR2 / MUL2, masking option of calculation result to specified data
is available with the 3 following methods.
& : Use the result from AND calculation with data behind the signal for BCC.
| : Use the result from OR calculation with data behind the signal for BCC.
^ : Use the result from Exclusive OR calculation with data behind the signal for BCC.
[Figure 5.6] shows the result of frame registration from frame name to BCC in sequence as above, and the frame
name is registered via 'SEND'.
[Figure 5.6] Completed transmitted frame.
MUL 2
5-17

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents