SC-HG1 Series FB Library Reference Manual for Mitsubishi MELSEC iQ-R series Sequencer
WUME-SCHG1IQRFB-1
84/184
Name
Variable name
Data type
Valid range
Description
NC Flag
i_bNCFlag
Bit
ON, OFF
When started with this flag ON, the
setting "NC" is applied. When started
with this flag OFF, the setting "NO" is
applied.
■ 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.
Module Error Code
o_ud16ModuleErrId[n]
Double word
[Unsigned]
0
Stores the error code that occurred in the
communication unit.
16 arrays exist and store module error codes.
n=0: Master device
n=1: 1st slave device
to
n=14: 14th slave device
n=15: Communication unit
Read Output Mode
o_uReadOutputMode
Word
[Unsigned]
0
Stores the output logic settings in the word
information (consisting of 16 pieces of bit
information) that corresponds to the
controller on which to execute the command.
ON: NC
OFF: No.
bit 0: Master device
bit 1: 1st slave device
to
bit 14: 14th slave device
bit 15: Not used