SC-HG1 Series FB Library Reference Manual for Mitsubishi MELSEC iQ-R series Sequencer
WUME-SCHG1IQRFB-1
68/184
Name
Variable name
Data type
Valid range
Description
Speed Mode
i_uResponseSpeed
Word
[Unsigned]
0 to 5
0
:
3ms
1
:
5 ms
2
:
10 ms
3
:
100 ms
4
:
500 ms
5
:
1000 ms
■ 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 Speed Mode
o_u15ReadResponseSpeed[n]
Word
[Unsigned]
0
15 arrays exist and store speed modes.
n=0: Master device
n=1: 1st slave device
to
n=13: 13th slave device
n=14: 14th slave device