Ladder Program - Omron SYSMAC C200H-FZ001 Operation Manual

Fuzzy logic unit
Table of Contents

Advertisement

I/O Allocation and Ladder Program

5-3-3 Ladder Program

25313
T010
00107
00104
00005
00007
(PH3)
(PH4)
00102
03000
00002
(PH1)
10003
03000
00003
(PH2)
11003
00005
00007
03000
The ladder diagram sub-program that controls the conveyor belt system is
shown below. Refer to 5-3-4 Adjusting I/O Data for a description of special as-
pects of the following program.
T000
00005
(PH3)
T020
00007
(PH4)
T021
TIM 010
Servodriver preparation
#0020
00104
Turns on servodriver A
00107
Turns on servodriver B
03000
Servodrivers on
00102
Connecting conveyor output
TIM 000
Connecting conveyor
#0010
operating time
Start input for
10003
High-speed Counter A
TIMH(15) 020
I/O refreshing time
#0005
MOV(21)
Writes the present count
106
for High-speed Counter
A to DM 0110.
0110
Start input for
11003
High-speed Counter B
TIMH(15) 021
I/O refreshing time
#0005
MOV(21)
Writes the present count
for High-speed Counter
116
B to DM 0120.
DM0120
MOV(21)
#0000
DM0110
MOV(21)
#0000
DM0120
MOV(21)
The present product/box offset
data is copied to the previous
DM0130
product/box offset data location.
DM0132
Section 5-3
39

Advertisement

Table of Contents
loading

Table of Contents