EasyManua.ls Logo

Omron K3HB-PPB - Page 94

Omron K3HB-PPB
147 pages
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...
6-9
Ladder Programming Examples Section 4-3
Remote I/O Com-
munications
Programming Example
MOV (021)
000000
(000000)
A200.11
#0300
D1000
MOV (021)
#0301
D1001
SET
3201.00
MOV (021)
3202
D1000
ASL (025)
0
RSET
3202.14
ASL (025)
0
0
SET
3202.15
ASL (025)
0
0.00
0.01
000001
(000004)
000002
(000007)
T0000
0.03
0.02
000003
(000010)
000004
(000013)
000005
(000015)
ASL (025)
0
0.04
000006
(000018)
1.00
000007
(000021)
1.01
000008
(000024)
ASL (025)
SET
3202.14
RSET
3202.15
RSET
3202.14
1
SET
3202.15
1
SET
3202.14
ASL (025)
1.02
000009
(000027)
ASL (025)
1
RSET
3202.15
END (001)
T0001
000010
(000030)
TIM
0000
#1
MOV (021)
3202
D1001
ASL (025)
1
ASL (025)
TIM
0001
#1
1
ASL (025)
1.03
000011
(000032)
1.04
000012
(000035)
000013
(000038)
First scan
Flag ON
Execution
condition
Execution
condition
Moves #0300 to D1000.
Moves #0301 to D1001.
Turns ON Output Enable Bit.
Copies the contents of D1000
to CIO 3202.
Shifts the contents of CIO 0000
one bit to the left.
Sets strobe 1 = 0.
Shifts the contents of CIO 0000
one bit to the left.
Sets strobe 2 = 1.
Times 0.1 s.
Shifts the contents of CIO 0000
one bit to the left.
Sets strobe 1 = 1.
Shifts the contents of CIO 0000
one bit to the left.
Sets strobe 2 = 0.
Shifts the contents of CIO 0000
one bit to the left.
Copies the contents of D1001
to CIO 3202.
Shifts the contents of CIO 0000
one bit to the left.
Sets strobe 1 = 0.
Shifts the contents of CIO 0000
one bit to the left.
Sets strobe 2 = 1.
Times 0.1 s.
Shifts the contents of CIO 0000
one bit to the left.
Sets strobe 1 = 1.
Shifts the contents of CIO 0000
one bit to the left.
Sets strobe 2 = 0.
Shifts the contents of CIO 0000
one bit to the left.

Table of Contents

Related product manuals