3 . I n s t r u c t i o n S e t
M N050 03003E F or mo re infor ma tio n vi sit:
w w w. e a t o n . c o m
3-19
X0
SET
M0
M0
DSW
X20
Y20
D0
K1
RST
M0
M1029
When X0=ON, the DSW
instruction is energized.
When X0=OFF, M0 is not
reset until the instruction
execution is complete
2.
Error Operation Flags
If the instruction or the assigned operands result in an error, the error flags and associated
error codes in the following table will be displayed during the execution of the application
instructions.
M1067
D1067
D1069
When error operations occur, M1067=ON, D1067 will show the error code
and D1069 will show the error address.
If other errors occur, the contents of D1067 and D1069 will be refreshed.
(when the error is reset, M1067=OFF)
M1068
D1068
When error operations occur, M1068=ON, D1068 will show the error
address.
If other errors occur, the contents of D1068 will not be refreshed. M1068
must be reset to OFF, otherwise the error will remain.
3.
Flags to Extend Functions
Some instructions can extend their function by using some special flags.
Example: The RS instruction can be either an 8-bit or a 16-bit instruction depending on the
state of M1161.
Limited Use Instructions
Some instructions can be used unlimited times in the program, others can be used only a particular
number of times in a program.
1.
These instructions can only be used once in a program:
PWM
ELC-PB, ELCB-PB Model
IST
ELC-PB/PC/PA/PH/PV, ELCB-PB, ELCM-PH/PA Models
SEGL
ELC-PB, ELCB-PB Model
DABSR
ELC- PH/PV, ELCM-PH/PA Models
2.
These instructions can only be used twice in a program:
PLSY
ELC-PB, ELCB-PB Models
PLSR
ELC-PB, ELCB-PB Models
PR
ELC-PC/PA/PH/PV, ELCM-PH/PA Models
SEGL ELC-PV
Models
3.
These instructions can only be used four times in a program:
Summary of Contents for ELC-PB
Page 1: ......
Page 5: ...For more information visit www eaton com MN05003003E iv...
Page 29: ...ELC Programming Manual For more information visit www eaton com MN05003003E 1 24 MEMO...
Page 502: ...3 Instruction Set MN05003003E For more information visit www eaton com 3 333...
Page 601: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 432...
Page 625: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 456...