Programming Example - Omron E5ARER User Manual

Digital controller devicenet communications
Table of Contents

Advertisement

Ladder Programming Examples

■ Programming Example

A200.11
000000
(000000)
First scan
Flag ON
0.00
000001
(000004)
Execution condition
0.01
000002
(000007)
0.02
000003
(000010)
0.03
000004
(000014)
0.04
000005
(000017)
1.00
000006
(000020)
Execution
condition
1.01
000007
(000023)
1.02
000008
(000026)
1.03
000009
(000030)
1.04
000010
(000033)
000011
(000036)
3304.08
RUN/STOP
status
3304.08
RUN/STOP
status
Section 4-3
MOV (021)
Moves #0100 to D1000.
#0100
D1000
MOV (021)
Moves #0101 to D1001.
#0101
D1001
SET
Turns ON Output Enable Bit.
3201.00
MOV (021)
Copies the contents of D1000
to CIO 3209.
D1000
3209
ASL (025)
Shifts the contents of CIO 0000
one bit to the left.
0
RESET
Sets strobe 1 = 0.
3209.14
ASL (025)
Shifts the contents of CIO 0000
one bit to the left.
0
SET
Sets strobe 2 = 1.
3209.15
ASL (025)
Shifts the contents of CIO 0000
one bit to the left.
0
SET
Sets strobe 1 = 1.
3209.14
ASL (025)
Shifts the contents of CIO 0000
one bit to the left.
0
RESET
Sets strobe 2 = 0.
3209.15
ASL (025)
Shifts the contents of CIO 0000
one bit to the left.
0
MOV (021)
Copies the contents of D1001
to CIO 3209.
D1001
3209
ASL (025)
Shifts the contents of CIO 0001
one bit to the left.
1
RESET
Sets strobe 1 = 0.
3209.14
ASL (025)
Shifts the contents of CIO 0001
one bit to the left.
1
SET
Sets strobe 2 = 1.
3209.15
ASL (025)
Shifts the contents of CIO 0001
one bit to the left.
1
SET
Sets strobe 1 = 1.
3209.14
ASL (025)
Shifts the contents of CIO 0001
one bit to the left.
1
RESET
Sets strobe 2 = 0.
3209.15
ASL (025)
Shifts the contents of CIO 0001
one bit to the left.
1
END 001
4-15

Advertisement

Table of Contents
loading

This manual is also suitable for:

E5arE5er

Table of Contents