Mitsubishi Electric MELSEC iQ-F FX5 Reference Manual page 6

Cpu module function block reference
Hide thumbs Also See for MELSEC iQ-F FX5:
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

Table of Contents