Coil Gun Object Detect Method
Coil Gun Object Detect Method
Gabriel
Processor Information
Total Memory Used: 260 Instruction Words Used - 410 Data Table Words Used
Program Files: 17
Data Files: 8
I/O Configuration
Channel Configuration
Baud: 9600
[SYSTEM] 0 SYS 0 No 0
1 SYS 0 No 0
MAIN_PROG 2 LADDER 5 No 39
USER_FAULT 3 LADDER 1 No 3
HSC_INT 4 LADDER 1 No 3
STI_INT 5 LADDER 1 No 3
DEBNCETMR 6 LADDER 4 No 39
STARTFSEQ 7 LADDER 4 No 53
COILS ON 8 LADDER 13 No 183
9 LADDER 1 No 3
10 LADDER 1 No 3
11 LADDER 1 No 3
12 LADDER 1 No 3
13 LADDER 1 No 3
14 LADDER 1 No 3
15 LADDER 1 No 3
16 LADDER 1 Yes 3
There are 10 - 220 ohm resistors, one resistor for each LED.
One lead of a 220 ohm resistor is soldered to the anode of each LED across from each phototransistor. A length of wire is soldered to the other lead
of this resistor. There is a length of heat shrink tubing cut to cover the LED's anode, the entire resistor, and two inches of the wire's insulation. These
wires are then tied together and connected to O:0/0.
The LED's cathodes are soldered to the a length of wire. A length of heat shrink tubing cut to cover the LED's cathode and two inches of wire's
insulation. These wires are connected together to the -24VDC connection on the PLC.
Output's [O:0/2 and O:0/3] common can be whatever Voltage the coils need (24VDC, 12VDC, 110VAC, 24VAC, etc.) and the other end of the two
coils are connected to the ground or neutral depending on type of coils you are using.
Output's [O:0/4, O:0/5, O:0/6, and O:0/7] common can be whatever Voltage the coils need (24VDC, 12VDC, 110VAC, 24VAC, etc.) and the other
end of the four coils are connected to the ground or neutral depending on type of coils you are using.
Output's [O:0/8, O:0/9, O:0/10, and O:0/11] common can be whatever Voltage the coils need (24VDC, 12VDC, 110VAC, 24VAC, etc.) and the
other end of the four coils are connected to the ground or neutral depending on type of coils you are using.
Coils ON or OFF
Control Subroutine
JSR
0003 Jump To Subroutine
SBR File Number U:8
0004 END
0000 END
0000 END
0000 END
RET
0002 Return
0003 END
RET
0002 Return
0003 END
Turn On Coil 01
Latch Coil 01
SBR B3:0 O:0
0000 Subroutine
1 2
1761-Micro
I:0/1 is connected to the emitter of the phototransistor before Coil 02 via a length of wire. A piece of heat shrink tubing cut to length so that it covers
the phototransistor's emitter and two inches of the wires insulation.
A resistor whose value is choosen to prevent the phototransistor from burning up has a length of wire soldered to on lead. The other lead of this
resistor is soldered to the collector of this phototransistor. A piece of heat shrink tubing cut to length so that it covers the phototransistor's collector
lead, the entire length of resistor and two inches of the wires insulation. This wire is connected to the +24 VDC connection on the PLC.
Turn On Coil 02 Coil 02
I:0 O:0
0001
1 3
1761-Micro 1761-Micro
I:0/2 is connected to the emitter of the phototransistor before Coil 03 via a length of wire. A piece of heat shrink tubing cut to length so that it covers
the phototransistor's emitter and two inches of the wires insulation.
A resistor whose value is choosen to prevent the phototransistor from burning up has a length of wire soldered to on lead. The other lead of this
resistor is soldered to the collector of this phototransistor. A piece of heat shrink tubing cut to length so that it covers the phototransistor's collector
lead, the entire length of resistor and two inches of the wires insulation. This wire is connected to the +24 VDC connection on the PLC.
I:0/3 is connected to the emitter of the phototransistor before Coil 04 via a length of wire. A piece of heat shrink tubing cut to length so that it covers
the phototransistor's emitter and two inches of the wires insulation.
A resistor whose value is choosen to prevent the phototransistor from burning up has a length of wire soldered to on lead. The other lead of this
resistor is soldered to the collector of this phototransistor. A piece of heat shrink tubing cut to length so that it covers the phototransistor's collector
lead, the entire length of resistor and two inches of the wires insulation. This wire is connected to the +24 VDC connection on the PLC.
Turn On Coil 04 Coil 04
I:0 O:0
0003
3 5
1761-Micro 1761-Micro
I:0/4 is connected to the emitter of the phototransistor before Coil 05 via a length of wire. A piece of heat shrink tubing cut to length so that it covers
the phototransistor's emitter and two inches of the wires insulation.
A resistor whose value is choosen to prevent the phototransistor from burning up has a length of wire soldered to on lead. The other lead of this
resistor is soldered to the collector of this phototransistor. A piece of heat shrink tubing cut to length so that it covers the phototransistor's collector
lead, the entire length of resistor and two inches of the wires insulation. This wire is connected to the +24 VDC connection on the PLC.
Turn On Coil 05 Coil 05
I:0 O:0
0004
4 6
1761-Micro 1761-Micro
I:0/5 is connected to the emitter of the phototransistor before Coil 06 via a length of wire. A piece of heat shrink tubing cut to length so that it covers
the phototransistor's emitter and two inches of the wires insulation.
A resistor whose value is choosen to prevent the phototransistor from burning up has a length of wire soldered to on lead. The other lead of this
resistor is soldered to the collector of this phototransistor. A piece of heat shrink tubing cut to length so that it covers the phototransistor's collector
lead, the entire length of resistor and two inches of the wires insulation. This wire is connected to the +24 VDC connection on the PLC.
Turn On Coil 06 Coil 06
I:0 O:0
0005
5 7
1761-Micro 1761-Micro
I:0/6 is connected to the emitter of the phototransistor before Coil 07 via a length of wire. A piece of heat shrink tubing cut to length so that it covers
the phototransistor's emitter and two inches of the wires insulation.
A resistor whose value is choosen to prevent the phototransistor from burning up has a length of wire soldered to on lead. The other lead of this
resistor is soldered to the collector of this phototransistor. A piece of heat shrink tubing cut to length so that it covers the phototransistor's collector
lead, the entire length of resistor and two inches of the wires insulation. This wire is connected to the +24 VDC connection on the PLC.
Turn On Coil 07 Coil 07
I:0 O:0
0006
6 8
1761-Micro 1761-Micro
I:0/7 is connected to the emitter of the phototransistor before Coil 08 via a length of wire. A piece of heat shrink tubing cut to length so that it covers
the phototransistor's emitter and two inches of the wires insulation.
A resistor whose value is choosen to prevent the phototransistor from burning up has a length of wire soldered to on lead. The other lead of this
resistor is soldered to the collector of this phototransistor. A piece of heat shrink tubing cut to length so that it covers the phototransistor's collector
lead, the entire length of resistor and two inches of the wires insulation. This wire is connected to the +24 VDC connection on the PLC.
Turn On Coil 08 Coil 08
I:0 O:0
0007
7 9
1761-Micro 1761-Micro
I:0/8 is connected to the emitter of the phototransistor before Coil 09 via a length of wire. A piece of heat shrink tubing cut to length so that it covers
the phototransistor's emitter and two inches of the wires insulation.
A resistor whose value is choosen to prevent the phototransistor from burning up has a length of wire soldered to on lead. The other lead of this
resistor is soldered to the collector of this phototransistor. A piece of heat shrink tubing cut to length so that it covers the phototransistor's collector
lead, the entire length of resistor and two inches of the wires insulation. This wire is connected to the +24 VDC connection on the PLC.
Turn On Coil 09 Coil 9
I:0 O:0
0008
8 10
1761-Micro 1761-Micro
I:0/9 is connected to the emitter of the phototransistor before Coil 10 via a length of wire. A piece of heat shrink tubing cut to length so that it covers
the phototransistor's emitter and two inches of the wires insulation.
A resistor whose value is choosen to prevent the phototransistor from burning up has a length of wire soldered to on lead. The other lead of this
resistor is soldered to the collector of this phototransistor. A piece of heat shrink tubing cut to length so that it covers the phototransistor's collector
lead, the entire length of resistor and two inches of the wires insulation. This wire is connected to the +24 VDC connection on the PLC.
Turn On Coil 10 Coil 10
I:0 O:0
0009
9 11
1761-Micro 1761-Micro
This goes the I:0/0 [Fire Button Input] on the next Micrologix 1000 PLC with the exact same program on it; with either of the following exceptions:
Exception One:
1. The DEBNCETMR subroutine could be omitted.
2. Rung 1 in the MAIN_PROG subroutine could be omitted.
3. Rung 1 in the STARTFSEQ could be omitted
4. Output B3:0/1 in Rung 0 in the STARTFSEQ needs to be an output (OTE) instead of a latching Output (OTL).
Exception Two:
1. Presets of T4:0 and T4:1 might need to be adjusted.
RET
0011 Return
0012 END
0000 END
0000 END
0000 END
0000 END
0000 END
0000 END
0000 END
0000 END
Offset 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Offset 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Main
Scan Times
Math
Comms
Debug
Errors
STI
Protection
Forces
B3:0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
B3:1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
B3:2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
B3:3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
B3:4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
B3:5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
B3:6 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
B3:7 0 0 0 0 0 0 0 0 0 0 0 0 0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 0 0 0 0 0 0 0 0 0 0
R6:6 0 0 0 0 0 0 0 0 0 0
R6:7 0 0 0 0 0 0 0 0 0 0
R6:8 0 0 0 0 0 0 0 0 0 0
R6:9 0 0 0 0 0 0 0 0 0 0
R6:10 0 0 0 0 0 0 0 0 0 0
R6:11 0 0 0 0 0 0 0 0 0 0
R6:12 0 0 0 0 0 0 0 0 0 0
R6:13 0 0 0 0 0 0 0 0 0 0
R6:14 0 0 0 0 0 0 0 0 0 0
R6:15 0 0 0 0 0 0 0 0 0 0
Offset 0 1 2 3 4 5 6 7 8 9
N7:0 0 0 0 0 0 0 0 0 0 0
N7:10 0 0 0 0 0 0 0 0 0 0
N7:20 0 0 0 0 0 0 0 0 0 0
N7:30 0 0 0 0 0 0 0 0 0 0
N7:40 0 0 0 0 0 0 0 0 0 0
N7:50 0 0 0 0 0 0 0 0 0 0
N7:60 0 0 0 0 0 0 0 0 0 0
N7:70 0 0 0 0 0 0 0 0 0 0
N7:80 0 0 0 0 0 0 0 0 0 0
N7:90 0 0 0 0 0 0 0 0 0 0
N7:100 0 0 0 0 0
CDM 0 - Untitled
Offset FW 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Offset FW 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Offset 0 1 2 3 4 5 6 7 8 9
S:0 . . . . . . . . . .
S:10 . . . . . . . . . .
S:20 . . . . . . . . . .
S:30 . . .
B3:0 . . . . . . . . . . . . . . X X
B3:1 . . . . . . . . . . . . . . . .
B3:2 . . . . . . . . . . . . . . . .
B3:3 . . . . . . . . . . . . . . . .
B3:4 . . . . . . . . . . . . . . . .
B3:5 . . . . . . . . . . . . . . . .
B3:6 . . . . . . . . . . . . . . . .
B3:7 . . . . . . . . . . . . . . . .
B3:8 . . . . . . . . . . . . . . . .
B3:9 . . . . . . . . . . . . . . . .
B3:10 . . . . . . . . . . . . . . . .
B3:11 . . . . . . . . . . . . . . . .
B3:12 . . . . . . . . . . . . . . . .
B3:13 . . . . . . . . . . . . . . . .
B3:14 . . . . . . . . . . . . . . . .
B3:15 . . . . . . . . . . . . . . . .
B3:16 . . . . . . . . . . . . . . . .
B3:17 . . . . . . . . . . . . . . . .
B3:18 . . . . . . . . . . . . . . . .
B3:19 . . . . . . . . . . . . . . . .
B3:20 . . . . . . . . . . . . . . . .
B3:21 . . . . . . . . . . . . . . . .
B3:22 . . . . . . . . . . . . . . . .
B3:23 . . . . . . . . . . . . . . . .
B3:24 . . . . . . . . . . . . . . . .
B3:25 . . . . . . . . . . . . . . . .
B3:26 . . . . . . . . . . . . . . . .
B3:27 . . . . . . . . . . . . . . . .
B3:28 . . . . . . . . . . . . . . . .
B3:29 . . . . . . . . . . . . . . . .
B3:30 . . . . . . . . . . . . . . . .
B3:31 . . . . . . . . . . . . . . . .
R6:0 . . . . . . . . . .
R6:1 . . . . . . . . . .
R6:2 . . . . . . . . . .
R6:3 . . . . . . . . . .
R6:4 . . . . . . . . . .
R6:5 . . . . . . . . . .
R6:6 . . . . . . . . . .
R6:7 . . . . . . . . . .
R6:8 . . . . . . . . . .
R6:9 . . . . . . . . . .
R6:10 . . . . . . . . . .
R6:11 . . . . . . . . . .
R6:12 . . . . . . . . . .
R6:13 . . . . . . . . . .
R6:14 . . . . . . . . . .
R6:15 . . . . . . . . . .
Offset 0 1 2 3 4 5 6 7 8 9
N7:0 . . . . . . . . . .
N7:10 . . . . . . . . . .
N7:20 . . . . . . . . . .
N7:30 . . . . . . . . . .
N7:40 . . . . . . . . . .
N7:50 . . . . . . . . . .
N7:60 . . . . . . . . . .
N7:70 . . . . . . . . . .
N7:80 . . . . . . . . . .
N7:90 . . . . . . . . . .
N7:100 . . . . .
Address/Symbol Database
Address/Symbol Database
Address/Symbol Database
Group_Name Description