EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Counter

Mitsubishi Electric MELSEC iQ-R Series
2110 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
184
5 SEQUENCE INSTRUCTIONS
5.3 Output Instructions
Counter
OUT C
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).
Execution condition
Setting data
Description, range, data type
*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.
Ladder ST
Value: Set value
ENO:=OUT_C(EN,Coil,Value);
FBD/LD
Value: Set value
Instruction Execution condition
OUT C Every scan
Operand Description Range Data type Data type (label)
(d) Counter number Bit ANY_BOOL
*1
Coil
Value Value set for the counter 0 to 65535 16-bit unsigned
binary
*2
ANY16
*2
EN Execution condition Bit BOOL
ENO Execution result Bit BOOL
RnCPU
RnENCPU
RnSFCPU RnSFCPURnPCPURnPCPU
(Standard) (Safety)
(Redundant)
(Process)
(d)
Value
EN ENO
Coil
Value

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals