EasyManua.ls Logo

Omron CJ2M-CPU Series - Page 160

Omron CJ2M-CPU Series
278 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...
7 High-speed Counters
7-50
CJ2M CPU Unit Pulse I/O Module User’s Manual
z Ladder Program
Cyclic Task (Task 0)
Interrupt input 0
Clears mask (Enables interrupts.)
Interrupt input 1
Clears mask (Enables interrupts.)
First Cycle Flag
Always ON Flag
Initializes the workpiece length data.
Initializes the work area.
High-speed counter input 1
PV change
New PV data (Clears PV to 0.)
P_First_Cycle
MOVL(498)
D10
#0
MSKS(690)
#0
0100
MSKS(690)
#0
0101
BSET(071)
D0
#0
D5
INI(880)
#0002
#0011
D0
Always ON Flag
IN00 interrupt Task (interrupt Task 140)
Interrupt input 0
Moves latched PV A to work area.
MOVL(498)
A10144
D2
P_On
IN01 interrupt Task (interrupt Task 141)
Always ON Flag
Interrupt input 1
Moves latched PV B to work area.
Latched PV B
Latched PV A
MOVL(498)
A10146
D4
P_On
-L(441)
D4
D2
D10

Table of Contents

Other manuals for Omron CJ2M-CPU Series

Related product manuals