Omron srm1(-v2) Video Game Controller User Manual


 
5-2SectionEntering the Program
67
Ladder Program Following the sequence program and I/O allocation, create the ladder program.
X1
00900
END(01)
0010300001
00900
(1) 00000
(11) 00038
PB1 LS22
X1
MC11
01002
0000000900
(2) 00004
1F closed
X1 LS11
01003
MC12
MC1
01000
00900
(3) 00008
Down
X1 LS11
00102
LS2
00000 01100
MC2
L2
01101
00102
(4) 00013
2F indicator light
LS2
MC22
01103
00900
(5) 00015
2F open
X1 LS2
01102
MC21
00102
X2
00901
0000300101
00901
(6) 00019
PB2 LS12
X2
MC21
01102
0010000901
(7) 00023
2F closed
X2 LS21
01103
MC22
MC2
01100
00901
(8) 00027
Up
X2 LS21
00002
LS1
00100 01000
MC1
L1
01001
00002
(9) 00032
1F indicator light
LS1
MC12
01003
00901
(10) 00034
1F open
X2 LS1
01002
MC11
00002
Mnemonic Coding List The following table shows the mnemonic coding for the ladder program. The
subsequent pages explain the procedure for entering the program using the
Programming Console.
Program reference Step Instruction Data
(1)
00000 LD 00001
00001 OR 00900
00002 AND NOT 00103
00003 OUT 00900
(2)
00004 LD 00900
00005 AND NOT 00000
00006 AND NOT 01003
00007 OUT 01002
(3)
00008 LD 00900
00009 AND 00000
0010 AND NOT 00102
00011 AND NOT 01100
00012 OUT 01000
(4)
00013 LD 00102
00014 OUT 01101