Mitsubishi Electric M800VW Series Programming Manual page 162

Plc programming
Hide thumbs Also See for M800VW Series:
Table of Contents

Advertisement

M800V/M80V Series PLC Programming Manual (1/2)
7 Basic Instructions
7.3 Output Instructions
OUT (C): Counters
Setting
Bit device
data
X
Y
M
L
F
D
Setting
value
[Instruction symbol] [Execution condition]
OUT C □
 Setting data
Setting data
D
Counter No.
Setting value
Counter set value
[Remark]
 Only decimal constant (K) can be used for the counter setting value.
Hexadecimal constant (H) cannot be used for the counter setting value.
 Functions
 When the operation results up to the OUT instruction change from OFF to ON, 1 is added to the present value (count value)
and the count up status (present value = set value), and the contacts respond as follows:
A contact
Continuity
B contact
Non-continuity
 Not counted if the operation result is remained ON. (There is no need to perform pulse conversion on count input.)
 After "present value ≥ set value" has been realized, the contact state will not be changed until RST instruction is executed,
but the present value is further added by +1. In this case, the present value is added by +1 up to 65535, and then counted
up again by +1 from 0.
 A negative number (-32768 to -1) cannot be set as the setting value. If a negative value is set for the word device, operation
is carried out taking the value as a positive value with no signs. If the set value is 0, the processing is identical to that of
when 1 is set.
POINT
(1) Setting the timer setting value using the setting display device.
The method for setting the value of counter includes the following two ways.
 Method to validate the setting value (Kn) programmed with the sequence program (Fixed counter)
 A method in which the setting value set with the setting display device is validated. (Variable counter)
Refer to "4.4 Detailed Explanation of Devices" for details on variable counter.
Usable devices
B SB
T SM V
T
C
Set value (Valid from 1 to 32767 of the contents of data register)
Meaning
Con-
Word device
stant
D
R/ZR W SW SD
Z
K
Set value (Valid from 1 to 32767)
141
Digit
Pointer
designa-
Index
tion
H
P
K50
C0
D10
C0
Data type
Bit
BIN 16 bits
IB-1501667-B

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents