M+Fx5Ucpu-Io_Comparerelayontimes - Mitsubishi Electric MELSEC iQ-F FX5 Reference Manual

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

Advertisement

2.2

M+FX5UCPU-IO_CompareRelayOnTimes

Name
M+FX5UCPU-IO_CompareRelayOnTimes
Overview
Item
Overview
Symbol
Labels
■Input label
No.
Variable name
(1)
i_bEN
(2)
i_stModule
(3)
i_uRaNo
(4)
i_udCompareCount
*1 The set value of SD262 and SD263 (32 bit) shall be the upper limit.
*2 In GX Works3, program with 8#10.
*3 Setting method
1 to 2147483647: Set a desired value in decimal.
2147483648 to 4294967295: Set a desired value converted into hexadecimal.
*4 Refer to "Product life of relay output contacts" in the following manual and specify a contact switching life suitable for the usage
environment including switching current.
MELSEC iQ-F FX5U User's Manual (Hardware).
MELSEC iQ-F FX5UC User's Manual (Hardware).
2 INPUT/OUTPUT FB
6
2.2 M+FX5UCPU-IO_CompareRelayOnTimes
Description
• This FB counts (cumulatively) the number of ON times of the specified relay device number within the range from 0 to
4294967295.
• This FB compares the counted number of ON times with the set value, and outputs the comparison result.
M+FX5UCPU-IO_CompareRelayOnTimes
(1)
B
:
i_bEN
(2)
DUT
:
i_stModule
(3)
UW
:
i_uRaNo
(4)
UD : i_udCompareCount
Name
Data type
Execution command
Bit
Module label
Structure
Target relay device
Word [Unsigned]
number)
Number of
Double Word
comparisons
[Unsigned]
o_bENO
:
B
(5)
o_udOutputOnTotal
:
UD
(6)
o_bOK
:
B
(7)
o_bErr
:
B
(8)
o_uErrId
:
UW
(9)
o_bFbResult
:
B
(10)
Range
ON, OFF
The setting range
differs depending on
the module label.
0 to the value in Y
*1
device size
*3*4
0 to 4294967295
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 ON
times.
*2
For example, specify "10 (octal)
" for specifying the
output Y010.
Set the value to be compared with the integration value
of the number of relay ON times.

Advertisement

Table of Contents
loading

Table of Contents