A
A-4 CP1L Programming Examples
SYSMAC CP1L Getting Started Guide
123
Ap
pend
ix
Programming Example
z
Ladder Program
MSKS (interrupt mask set) instructions will be used to assign the "up" specification
to the interrupt input, and to set the interrupt permission for enabling the interrupt
inputs.
MSKS(690)
#0
110
MSKS(690)
#0
100
SET
100.01
RSET
100.00
P_On
100.02
NG output sensor input 1
0.05
RESET input
100.03
NG output sensor input 2
100.04
NG output sensor input 3
Interrupt input 0
Interrupt input 0
Up specification for input
Allow interrupt
RSET
100.01
RSET
100.02
RSET
100.03
RSET
100.04
W07E-EN-02+CP1L+GettingStartedGuide.book Seite 123 Montag, 15. September 2008 11:15 11