EasyManua.ls Logo

Emotiontek MCU 2 Axis - Page 78

Emotiontek MCU 2 Axis
204 pages
Print Icon
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...
- 71 -
Chapter 4. PLC Program
5) ORP
(1) Definition
The ORP command does the OR operation of the ON input only for 1 scan time from the
instant when the input contact changes from OFF to ON.
(2) Sequence and timing chart
LOADP X0.0
ORP X0.1
ORP X0.2
OUT Y0.0
X0.0 Y0.0
X0.2
Y0.0
X0.1
X0.2
X0.1
X0.0
P
P
P
1 Scan 1 Scan1 Scan
6) ORN
(1) Definition
The ORN command does the OR operation of the ON input only for 1 scan time from the
instant when the input contact changes from ON to OFF.
(2) Sequence and timing chart
LOADN X0.0
ORN X0.1
ORN X0.2
OUT Y0.0
X0.0 Y0.0
X0.2
Y0.0
X0.1
X0.2
X0.1
X0.0
N
N
N
1 Scan 1 Scan1 Scan