EasyManua.ls Logo

Emotiontek MCU 2 Axis - Page 77

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...
- 70 -
Chapter 4. PLC Program
3) ANDP
(1) Definition
The ANDP command does the AND 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
LOAD X0.0
ANDP X0.1
OUT Y0.0
X0.0 X0.1 Y0.0
X0.0
X0.1
Y0.0
P
1 Scan 1 Scan
4) ANDN
(1) Definition
The ANDN command does the AND 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
LOAD X0.0
ANDN X0.1
OUT Y0.0
X0.0 X0.1 Y0.0
X0.0
X0.1
Y0.0
N
1 Scan 1 Scan