Specifications
6. Basic Instructions
© DELTA ELECTRONICS, INC. ALL RIGHTS RESERVED
6-5
Instruction Operands
S0~S127 X0~X177 Y0~Y177 M0~M1279 T0~T127
C0~C127
C235~C254
SET
When the SET input turns on, the specified device is turned on.
The specified device remains on even if the SET input turns off. The
device can be turned off by the RST instruction.
SET Y1
SET Y1
Instruction Operands
S0~S127 X0~X177 Y0~Y177 M0~M1279 T0~T127
C0~C127
C235~C254
RST
When the RST input turns on, the specified device changes as
described below:
Device Status
S, X, Y, M Coil and contact are turned off.
T, C
Preset value is set to 0, and coil and contact
are turned off.
D Content is set to 0.
When the RST in
p
ut is off, the status of device does not
change.
RST Y5
Instruction Operands
T-K T0~T127, K0~K32767
TMR
T-D T0~T127, D0~D1143
When the operation re
sult of instructions preceding the TMR instruction
are on, the coil of timer turns on and counts up to the set value. When
the timer times out (
counted value >= set value), the contact is as
indicated below.
NO contact Continuity
NC contact Non-continuity
TMR T5 K1000
When the operation result of instructions preceding the TMR instruction
change from ON to OFF, the following occurs.
Before Time Out After Time OutTimer
Coil
Preset Value
of Timer
NO contact NC contact NO contact NC contact
OFF 0 Non-continuity Continuity Continuity Non-continuity
A
fter the timer has timed out, the status of the contact will not change
until the RST instruction is executed.
A negative number (-32768 to –1) cannot be set as a set value.
Instruction Operands
C-K C0~C127, K0~K32767
CNT
C-D C0~C127, D0~D1143
When the operation result of instructions preceding the CNT instruction
has changed from OFF to ON, 1 is added to the count value. When the
counter has counted out (count value = set value), the state of the
contact is as indicated below.
NO contact Continuity
NC contact Non-continuity