4
2 INPUT/OUTPUT FB
2.1 M+FX5UCPU-IO_OutputOnTimes
2 INPUT/OUTPUT FB
2.1 M+FX5UCPU-IO_OutputOnTimes
Name
M+FX5UCPU-IO_OutputOnTimes
Overview
Labels
■Input label
*1 The set value of SD262 and SD263 (32 bit) shall be the upper limit.
*2 In GX Works3, program with 8#10.
■Output label
*1 Note that if o_udOutputOnTotal (Integration value of number of relay ON times) exceeds "4294967295", the integration value returns to
0.
Item Description
Overview This FB counts (cumulatively) the number of ON times of the specified relay device number within the range from 0 to
4294967295.
Symbol
No. Variable name Name Data type Range Description
(1) i_bEN Execution command Bit ON, OFF ON: The FB is activated.
OFF: The FB is not activated.
(2) i_stModule Module label Structure The setting range
differs depending on
the module label.
Specify the module label of the CPU module.
(3) i_uRaNo Target relay device
number)
Word [Unsigned] 0 to the value in Y
device size
*1
Specify the relay device number for counting the number
of ON times.
For example, specify "10 (octal)
*2
" to specify the output
Y010.
No. Variable name Name Data type Default value Description
(4) o_bENO Execution status Bit OFF ON: The execution command is ON.
OFF: The execution command is OFF.
(5) o_udOutputOnTotal Integration value of
number of relay ON
times
Double Word
[Unsigned]
0 Stores the counted integration value of the number of
times the specified relay device number has turned
ON.
*1
(6) o_bOK Normal completion Bit OFF When this label is ON, it indicates that the FB is
counting the relay ON times.
(7) o_bErr Error completion Bit OFF When this label is ON, it indicates that an error has
occurred in the FB.
(8) o_uErrId Error code Word [Unsigned] 0 Stores the error code that occurred in the FB.
(8)
(7)
(6)
(5)
M+FX5UCPU-IO_OutputOnTimes
(4)
(3)
(2)
(1)
o_uErrId
o_bErr
o_bOK
o_udOutputOnTotal
o_bENO
UW
B
B
UD
B
UW
DUT
B
:
:
:
:
:
:
:
:
i_uRaNo
i_stModule
i_bEN