EasyManua.ls Logo

LS Industrial Systems GLOFA G7M-DR60U - Function Block

LS Industrial Systems GLOFA G7M-DR60U
367 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 8. Communication Functions
8-49
For SUM2,XOR2,MUL2, mask the above SUM check value (1 byte) and get the SUM Check value.
Example> Masking D3 as FF
1 1 0 1 0 0 1 1
1 1 0 1 0 0 1 1
1 1 1 1 1 1 1 1
0 0 1 0 1 1 0 0
8.2.3 Function block
1) User defined function block (SND_MSG)
Function block Description
Input
REQ: Execute function block at rising edge (0 1)
CH: Set communication channel (0 ~ 1)
FL_ID:
Frame list field number to send. (0 ~ 15)
Output
NDR: When ends without error, this is set to 1 and keeps till the next request for
function block.
ERR: When an error occurs, this is set to 1 and keeps till the next request for
function block.
STATUS: When an error occurs, output error code.
(1) Function
When the execution condition is on, the communication starts with protocol at parameter which is designated early.
‘CH’ is a communication channel, and ‘FL_ID’ designates a frame list number which is registered in the user defined
communication parameter.
(2) Program example
When input condition (%MX000) is on, channel 1 starts communication with protocol at user defined parameter number 3.
1 1 1 1 1 1 1 1
= D3
= D3 (AND Masking)
= FF (OR Masking)
= 2C (Exclusive OR Masking)
= FF

Table of Contents

Related product manuals