LG GLOFA-GM Series User Manual page 125

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

Advertisement

Chapter 7 Communication function
[Table 7.2] I/O specification of SND_MSG Function Block.
Input
Data type
REQ
BOOL
SLOT_NO
SINT
CH
BOOL
FNAM
STRING
[Note 1]
SDx
USINT
(x=1,2,3,4)
Array
LENx
USINT
(x=1,2,3,4)
Output
Data type
NDR
BOOL
Function Block starts service at rising edge (0 to 1) and decides point of transmission
time. (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
transmitted by this Function Block among downloaded frames via Cnet I/F module.
USINT Array is an input variable specifying the area of transmitted data for segment
set to ARRAY in transmission frame. Same number of SD areas shall be specified
as the number of ARRAY segments. Figures (1,2,3,4) behind SD 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 SDx shall be at
least the same as the ARRAY number set in Frame Editor. Even if there is no data to
be transmitted, in other words, no segment set to ARRAY in Frame Editor, SD
values shall be input as automatic variables. If input value is not set, compile error is
expected.
As a variable specifying the number of transmitted data, USINT specifies the number
of data to be transmitted from the area set in SDx. If there is no data to be
transmitted, in other words, no segment set to ARRAY in Frame Editor, LENs shall
be all set to '0'. If input value is not set, compile error is expected.
Be turned On after Function Block service is finished without error and keeps On until
the next Function Block is called.
7-6
Description
Description

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents