LG GLOFA-GM Series User Manual page 127

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

Advertisement

Chapter 7 Communication function
Consequently, for registery received data, be careful not to register the identical formatted data.
[Table 7.3] shows how to use I/O variables of RCV_MSG Function Block.
[Table7.3] I/O variables specification of RCV_MSG
Output
Data type
REQ
BOOL
SLOT_NO
SINT
CH
BOOL
FNAM
STRING
[Note1]
RDx
USINT
(x=1,2,3,4)
Array
Output
Data type
NDR
BOOL
Function Block starts service at rising edge (0 to 1).
(If Function Block is in-service, alteration of 0 -> 1 can be ignored)
Selects slot the number of Cnet I/F module to be transmitted to Function Block
Specifies one of RS-232C channel/RS-422channel in Cnet I/F module to perform
this service.
1.CH = 0 : transmitted to RS-232C side
2.CH = 1 : transmitted to RS-422 side
As set via Frame Editor, it displays frame name (with up to 16 characters) to be
received by this Function Block among downloaded frames via Cnet I/F module
USINT Array is an input variable specifying the area of received data for segment set
to ARRAY in receiving frame. Same number of RD areas shall be specified as the
number of ARRAY segments. Figures (1,2,3,4) behind RD mean sequence of
segments set to ARRAY and areas for direct variables or indirect variables of PLC of
Unsigned Short Integer Array can be specified. ARRAY number of RDx shall be at
least the same as the ARRAY number set in Frame Editor. Even if there is no data to
be received, in other words, no segment set to ARRAY in Frame Editor, RD values
shall be input as automatic variables. If input value is not set, compile error is
expected.
Be turned On after Function Block service is finished without error as kept On until the
next Function Block is called.
7-8
Description
Description

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents