SC-HG1 Series FB Library Reference Manual for Mitsubishi MELSEC iQ-R series Sequencer
WUME-SCHG1IQRFB-1
22/184
Labels To Be Used
■ Input labels
Name
Variable name
Data type
Valid range
Description
Execution Command
i_bEN
Bit
ON, OFF
Turn ON this label to start the
FB. You can exit from the FB by
turning it from ON to OFF.
CC-Link IE Field flag
i_bIeFieldFlag
Bit
ON, OFF
Turn ON Execution Command
(i_bEN) with this flag OFF to
start the FB on SC-HG1-C or
with this flag ON to start the FB
on SC-HG1-CEF.
To execute this FB, turn OFF this
flag.
Start I/O No.
i_uStartIONo
Word
[Unsigned]
Depends on the range of
the number of input/output
points of the target CPU
module. For more
information, refer to the
CPU User's Manual.
Specify in hexadecimal the
number of the starting I/O where
the target CC-Link master/local
module is installed. (For
example, specify H0A0 if the
starting I/O No. is 00A0.)
Station No.
i_uStationNo
Word
[Unsigned]
1 to 64 (decimal)
Specify the station number of the
communication unit you want to
configure.
■ Output labels
Name
Variable name
Data type
Default
Description
Execution Status
o_bENO
Bit
OFF
Stays ON while the FB is running.
Normal Completion
o_bOK
Bit
OFF
Turns ON upon normal completion of the FB.
Error Completion
o_bErr
Bit
OFF
Turns ON upon error completion of the FB.
Error Code
o_uErrId
Word
[Unsigned]
0
Stores the error code that occurred in the FB.