Out C; Counter - Mitsubishi MELSEC-Q/L Programming Manual

Table of Contents

Advertisement

OUT C

(2) The following program uses the BCD data at X10 to X1F as the timer's set value.
[Ladder Mode]
[List Mode]
Instruction
Step
(3) The following program turns Y10 ON 250 ms after X0 goes ON.
[Ladder Mode]
*4:
The setting value of the high-speed timer indicates its default time limit (10 ms).
5.3.3
OUT C

Counter

5.3.3
OUT C
OUT C
: Counter number (bits)
D
Set value: Counter setting value (BIN 16 bits
Internal Devices
Setting
Data
Bit
Word
––
(Only C)
D
(Other
Set value
––
than T, C)
*1:
Counter value cannot be set by indirect designation.
See Page 100, Section 3.4 for further information on indirect designation.
*2:
Counter value can be set only with a decimal constant (K). A hexadecimal constant (H) or a real number cannot be used for
the counter value setting.
144
Converts the BCD data at X10 to X1F to BIN
and stores the converted value at D10.
When X2 is turned ON, T2 starts measurement
using the data stored in D10 as the set value.
Y15 goes ON at the count-up of T2.
Device
[List Mode]
*
4
Step
Command
Command
*1
)
J
\
R, ZR
Bit
Word
––
––
––
Indirect designation is
@D0
not permitted.
C0
Instruction
Device
High
Basic
Process
performance
K50
Set value
Setting in the range
C0
from 1 to 32767 is valid.
D10
Set value
Data register value in
C1
the range from 1 to
32767 is valid.
Zn
U
\G
––
––
––
LCPU
Redundant Universal
Constants
Other
K
––
––
*2
––

Advertisement

Table of Contents
loading

Table of Contents