Counter - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Counter

OUT C
RnPCPU
RnCPU RnENCPU
(Process)
When the safety counter is used in safety programs executed by the Safety CPU, unless otherwise specified,
replace some words as follows:
• "OUT C"  "OUT SA\C"
This instruction increments the current counter value (count value) by one when the operation result up to the OUT instruction
turns on. When the count value reaches the set value, the normally open contact of the counter turns on (continuity state) and
the normally closed contact turns off (non-continuity state).
Ladder
(d)
Value: Set value
FBD/LD
EN
ENO
Coil
Value
Value: Set value
■Execution condition
Instruction
OUT C
Setting data
■Description, range, data type
Operand
Description
(d)
Counter number
Coil
Value
Value set for the counter
EN
Execution condition
ENO
Execution result
*1 Only counter type labels can be used.
*2 If the program is written in ST language or FBD/LD, the data type will be ANY_INT.
• In safety programs executed by the Safety CPU, only safety devices and safety labels of data types described in the table
can be used.
5 SEQUENCE INSTRUCTIONS
184
5.3 Output Instructions
RnPCPU
RnSFCPU RnSFCPU
(Redundant)
(Standard)
(Safety)
Value
Execution condition
Every scan
ST
ENO:=OUT_C(EN,Coil,Value);
Range
0 to 65535
Data type
Data type (label)
Bit
ANY_BOOL
16-bit unsigned
ANY16
*2
binary
Bit
BOOL
Bit
BOOL
*1
*2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents