SC-HG1 Series FB Library Reference Manual for Mitsubishi MELSEC iQ-R series Sequencer
WUME-SCHG1IQRFB-1
92/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 OFF to start the FB on
SC-HG1-CEF.
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/CC-Link IE Field
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 (in decimal) when
CC-Link IE Field Flag
(i_bIeFieldFlag) is OFF
1 to 120 (in decimal) when
CC-Link IE Field Flag
(i_bIeFieldFlag) is ON
Specify the station number of the
communication unit you want to
configure.
Read Flag
i_bReadFlag
Bit
ON, OFF
Start the FB with label ON to execute
it in data read mode. Start the FB
with label OFF to execute it in data
write mode.
Set Controller
i_uSetController
Word
[Unsigned]
16-bit data other than 0
Stores the word information
(consisting of 16 pieces of bit
information) that corresponds to the
controller on which to execute the
command.
bit 0: Master device
bit 1: 1st slave device
to
bit 13: 13th slave device
bit 14: 14th slave device
bit 15: OFF (Not used)