Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
318 views46 pages

Coil Gun Object Detect Method

Not Yet Tested. I need to get the coils, Micrologix PLC, Momentary Pushbutton Switch, plastic tubing or pipe that fits inside the air coil or removable coil for a solenoid hydraulic valve or solenoid water/gas valve. This is along the lines of the rail gun. You can find my program at http://www.geocities.com/Heartland/Prairie/7745/Coil_Gun_Object_Detect_Method.zip If you have RSLogix 500, you can download this to a Micrologix 1000 and experiment to your heart's content.

Uploaded by

shawnleegabriel
Copyright
© Attribution Non-Commercial ShareAlike (BY-NC-SA)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
318 views46 pages

Coil Gun Object Detect Method

Not Yet Tested. I need to get the coils, Micrologix PLC, Momentary Pushbutton Switch, plastic tubing or pipe that fits inside the air coil or removable coil for a solenoid hydraulic valve or solenoid water/gas valve. This is along the lines of the rail gun. You can find my program at http://www.geocities.com/Heartland/Prairie/7745/Coil_Gun_Object_Detect_Method.zip If you have RSLogix 500, you can download this to a Micrologix 1000 and experiment to your heart's content.

Uploaded by

shawnleegabriel
Copyright
© Attribution Non-Commercial ShareAlike (BY-NC-SA)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 46

Coil Gun Object Detect Method Designed by Shawn L.

Gabriel

Processor Information

Processor Type: Bul.1761 MicroLogix 1000

Processor Name: UNTITLED

Total Memory Used: 260 Instruction Words Used - 410 Data Table Words Used

Total Memory Left: 681 Instruction Words Left

Program Files: 17

Data Files: 8

Program ID: 29b9

Page 1 Saturday, February 23, 2008 - 02:32:18


Coil Gun Object Detect Method Designed by Shawn L. Gabriel

I/O Configuration

0 Bul.1761 MicroLogix 1000

Page 2 Saturday, February 23, 2008 - 02:32:19


Coil Gun Object Detect Method Designed by Shawn L. Gabriel

Channel Configuration

Baud: 9600

Page 3 Saturday, February 23, 2008 - 02:32:19


Coil Gun Object Detect Method Designed by Shawn L. Gabriel

Program File List

Name Number Type Rungs Debug Bytes

[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

Page 4 Saturday, February 23, 2008 - 02:32:19


Coil Gun Object Detect Method Designed by Shawn L. Gabriel

Data File List

Name Number Type Scope Debug Words Elements Last

OUTPUT 0 O Global No 3 1 O:0


INPUT 1 I Global No 6 2 I:1
STATUS 2 S Global No 0 33 S:32
BINARY 3 B Global No 32 32 B3:31
TIMER 4 T Global No 120 40 T4:39
COUNTER 5 C Global No 96 32 C5:31
CONTROL 6 R Global No 48 16 R6:15
INTEGER 7 N Global No 105 105 N7:104

Page 5 Saturday, February 23, 2008 - 02:32:19


Coil Gun Object Detect Method Designed by Shawn L. Gabriel

LAD 2 - MAIN_PROG --- Total Rungs in File = 5

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.

The O:0/0's common is connected to +24VDC connection on the PLC.


Power Control for
LED's for the object
phototransistor
O:0
0000
0
1761-Micro

Start Input I:0/0


debounce timing
subroutine
JSR
0001 Jump To Subroutine
SBR File Number U:6

Start Sequence when


pushbutton or relay
is engaged on I:0/0
Subroutine
JSR
0002 Jump To Subroutine
SBR File Number U:7

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

Page 6 Saturday, February 23, 2008 - 02:32:19


Coil Gun Object Detect Method Designed by Shawn L. Gabriel

LAD 3 - USER_FAULT --- Total Rungs in File = 1

0000 END

Page 7 Saturday, February 23, 2008 - 02:32:20


Coil Gun Object Detect Method Designed by Shawn L. Gabriel

LAD 4 - HSC_INT --- Total Rungs in File = 1

0000 END

Page 8 Saturday, February 23, 2008 - 02:32:20


Coil Gun Object Detect Method Designed by Shawn L. Gabriel

LAD 5 - STI_INT --- Total Rungs in File = 1

0000 END

Page 9 Saturday, February 23, 2008 - 02:32:20


Coil Gun Object Detect Method Designed by Shawn L. Gabriel

LAD 6 - DEBNCETMR --- Total Rungs in File = 4

Timing Mechanism Timing Mechanism


Timer 02 Timer 01
SBR T4:1 TON
0000 Subroutine Timer On Delay EN
DN Timer T4:0
Time Base 0.01 DN
Preset 25<
Accum 0<

Timing Mechanism Timing Mechanism


Timer 01 Timer 02
T4:0 TON
0001 Timer On Delay EN
DN Timer T4:1
Time Base 0.01 DN
Preset 25<
Accum 0<

RET
0002 Return

0003 END

Page 10 Saturday, February 23, 2008 - 02:32:20


Coil Gun Object Detect Method Designed by Shawn L. Gabriel

LAD 7 - STARTFSEQ --- Total Rungs in File = 4

Debouncing Of The Turn On Coil 01


Fire Button Fire Button Latch
SBR I:0 B3:0 B3:0
0000 Subroutine OSR L
0 0 1
1761-Micro

Turn On Coil 01 Timing Mechanism Turn On Coil 01


Latch Timer 01 Latch
B3:0 T4:0 B3:0
0001 U
1 DN 1

RET
0002 Return

0003 END

Page 11 Saturday, February 23, 2008 - 02:32:20


Coil Gun Object Detect Method Designed by Shawn L. Gabriel

LAD 8 - COILS ON --- Total Rungs in File = 13

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.

Turn On Coil 03 Coil 03


I:0 O:0
0002
2 4
1761-Micro 1761-Micro

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

Page 12 Saturday, February 23, 2008 - 02:32:20


Coil Gun Object Detect Method Designed by Shawn L. Gabriel

LAD 8 - COILS ON --- Total Rungs in File = 13

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

Page 13 Saturday, February 23, 2008 - 02:32:20


Coil Gun Object Detect Method Designed by Shawn L. Gabriel

LAD 8 - COILS ON --- Total Rungs in File = 13

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.

This is considered the next stage of the coil/rail gun.

Output O:0/1's common is connected to +24VDC on the PLC.


Relay For Next
Turn On Output State. This ties
[O:0/1]. This is into I:0/0 [The fire
the bit to send to button] on the next
the next PLC. PLC.
I:0 O:0
0010
10 1
1761-Micro 1761-Micro

RET
0011 Return

0012 END

Page 14 Saturday, February 23, 2008 - 02:32:20


Coil Gun Object Detect Method Designed by Shawn L. Gabriel

LAD 9 - --- Total Rungs in File = 1

0000 END

Page 15 Saturday, February 23, 2008 - 02:32:20


Coil Gun Object Detect Method Designed by Shawn L. Gabriel

LAD 10 - --- Total Rungs in File = 1

0000 END

Page 16 Saturday, February 23, 2008 - 02:32:20


Coil Gun Object Detect Method Designed by Shawn L. Gabriel

LAD 11 - --- Total Rungs in File = 1

0000 END

Page 17 Saturday, February 23, 2008 - 02:32:21


Coil Gun Object Detect Method Designed by Shawn L. Gabriel

LAD 12 - --- Total Rungs in File = 1

0000 END

Page 18 Saturday, February 23, 2008 - 02:32:21


Coil Gun Object Detect Method Designed by Shawn L. Gabriel

LAD 13 - --- Total Rungs in File = 1

0000 END

Page 19 Saturday, February 23, 2008 - 02:32:21


Coil Gun Object Detect Method Designed by Shawn L. Gabriel

LAD 14 - --- Total Rungs in File = 1

0000 END

Page 20 Saturday, February 23, 2008 - 02:32:21


Coil Gun Object Detect Method Designed by Shawn L. Gabriel

LAD 15 - --- Total Rungs in File = 1

0000 END

Page 21 Saturday, February 23, 2008 - 02:32:21


Coil Gun Object Detect Method Designed by Shawn L. Gabriel

LAD 16 - --- Total Rungs in File = 1

0000 END

Page 22 Saturday, February 23, 2008 - 02:32:21


Coil Gun Object Detect Method Designed by Shawn L. Gabriel

Data File O0 (bin) -- OUTPUT

Offset 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

O:0.0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Bul.1761 MicroLogix 1000

Page 23 (Radix Binary) Saturday, February 23, 2008 - 02:32:21


Coil Gun Object Detect Method Designed by Shawn L. Gabriel

Data File I1 (bin) -- INPUT

Offset 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

I:0.0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Bul.1761 MicroLogix 1000


I:0.1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Bul.1761 MicroLogix 1000

Page 24 (Radix Binary) Saturday, February 23, 2008 - 02:32:21


Coil Gun Object Detect Method Designed by Shawn L. Gabriel

Data File S2 (hex) -- STATUS

Main

First Pass S:1/15 = No


Index Register S:24 = 0
Free Running Clock S:4 = 0000-0000-0000-0000

Scan Times

Maximum (x10 ms) S:22 = 0


Current (x10 ms) S:3 (low byte) = 0
Watchdog (x10 ms) S:3 (high byte) = 50

Math

Math Overflow Selected S:2/14 = 0 Math Register (lo word) S:13 = 0


Overflow Trap S:5/0 = 0 Math Register (high word) S:14-S:13 = 0
Carry S:0/0 = 0 Math Register (32 Bit) S:14-S:13 = 0
Overflow S:0/1 = 0
Zero Bit S:0/2 = 0
Sign Bit S:0/3 = 0

Comms

Processor Mode S:1/0- S:1/4 = Remote Program Mode


Baud Rate S:15 (high byte) = 9600
Comms Active S:1/7 = 0

Debug

Suspend Code S:7 = 0

Errors

Extend I/O Configuration S:0/8 = 0 Major Error S:6 = 0h


Fault Override At Power Up S:1/8 = 0
Startup Protection Fault S:1/9 = 0 Error Description:
Major Error Halt S:1/13 = 0
Overflow Trap S:5/0 = 0
Control Register Error S:5/2 = 0
Major Error Executing User
Fault Rtn. S:5/3 = 0
Retentive Data Lost S:5/8 = 0
Input Filter Selection Modified S:5/13 = 0

STI

Pending Bit S:2/0 = 0


Enable Bit S:2/1 = 1
Executing Bit S:2/2 = 0
Overflow Bit S:5/10 = 0
Setpoint (x10ms) S:30 = 0

Protection

RUN Aways S:1/12 = 0


Deny Future Access S:1/14 = 1

Forces

Forces Enabled S:1/5 = Yes


Forces Installed S:1/6 = No

Page 25 Saturday, February 23, 2008 - 02:32:21


Coil Gun Object Detect Method Designed by Shawn L. Gabriel

Data File B3 (bin) -- BINARY

Offset 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 (Symbol) Description

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 0 0 0
B3:8 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
B3:9 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
B3:10 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
B3:11 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
B3:12 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
B3:13 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
B3:14 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
B3:15 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
B3:16 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
B3:17 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
B3:18 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
B3:19 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
B3:20 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
B3:21 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
B3:22 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
B3:23 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
B3:24 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
B3:25 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
B3:26 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
B3:27 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
B3:28 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
B3:29 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
B3:30 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
B3:31 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Page 26 (Radix Binary) Saturday, February 23, 2008 - 02:32:22


Coil Gun Object Detect Method Designed by Shawn L. Gabriel

Data File T4 -- TIMER

Offset EN TT DN BASE PRE ACC (Symbol) Description

T4:0 0 0 0 .01 sec 25 0 Timing Mechanism Timer 01


T4:1 0 0 0 .01 sec 25 0 Timing Mechanism Timer 02
T4:2 0 0 0 .01 sec 25 0 Switch Debounce Timer
T4:3 0 0 0 .01 sec 10 0 Debounce Timer For Next Stage
T4:4 0 0 0 .01 sec 0 0
T4:5 0 0 0 .01 sec 0 0
T4:6 0 0 0 .01 sec 0 0
T4:7 0 0 0 .01 sec 0 0
T4:8 0 0 0 .01 sec 0 0
T4:9 0 0 0 .01 sec 0 0
T4:10 0 0 0 .01 sec 0 0
T4:11 0 0 0 .01 sec 0 0
T4:12 0 0 0 .01 sec 0 0
T4:13 0 0 0 .01 sec 0 0
T4:14 0 0 0 .01 sec 0 0
T4:15 0 0 0 .01 sec 0 0
T4:16 0 0 0 .01 sec 0 0
T4:17 0 0 0 .01 sec 0 0
T4:18 0 0 0 .01 sec 0 0
T4:19 0 0 0 .01 sec 0 0
T4:20 0 0 0 .01 sec 0 0
T4:21 0 0 0 .01 sec 0 0
T4:22 0 0 0 .01 sec 0 0
T4:23 0 0 0 .01 sec 0 0
T4:24 0 0 0 .01 sec 0 0
T4:25 0 0 0 .01 sec 0 0
T4:26 0 0 0 .01 sec 0 0
T4:27 0 0 0 .01 sec 0 0
T4:28 0 0 0 .01 sec 0 0
T4:29 0 0 0 .01 sec 0 0
T4:30 0 0 0 .01 sec 0 0
T4:31 0 0 0 .01 sec 0 0
T4:32 0 0 0 .01 sec 0 0
T4:33 0 0 0 .01 sec 0 0
T4:34 0 0 0 .01 sec 0 0
T4:35 0 0 0 .01 sec 0 0
T4:36 0 0 0 .01 sec 0 0
T4:37 0 0 0 .01 sec 0 0
T4:38 0 0 0 .01 sec 0 0
T4:39 0 0 0 .01 sec 0 0

Page 27 Saturday, February 23, 2008 - 02:32:22


Coil Gun Object Detect Method Designed by Shawn L. Gabriel

Data File C5 -- COUNTER

Offset CU CD DN OV UN UA PRE ACC (Symbol) Description

C5:0 0 0 0 0 0 0 13 0 Coil Counter


C5:1 0 0 0 0 0 0 0 0
C5:2 0 0 0 0 0 0 0 0
C5:3 0 0 0 0 0 0 0 0
C5:4 0 0 0 0 0 0 0 0
C5:5 0 0 0 0 0 0 0 0
C5:6 0 0 0 0 0 0 0 0
C5:7 0 0 0 0 0 0 0 0
C5:8 0 0 0 0 0 0 0 0
C5:9 0 0 0 0 0 0 0 0
C5:10 0 0 0 0 0 0 0 0
C5:11 0 0 0 0 0 0 0 0
C5:12 0 0 0 0 0 0 0 0
C5:13 0 0 0 0 0 0 0 0
C5:14 0 0 0 0 0 0 0 0
C5:15 0 0 0 0 0 0 0 0
C5:16 0 0 0 0 0 0 0 0
C5:17 0 0 0 0 0 0 0 0
C5:18 0 0 0 0 0 0 0 0
C5:19 0 0 0 0 0 0 0 0
C5:20 0 0 0 0 0 0 0 0
C5:21 0 0 0 0 0 0 0 0
C5:22 0 0 0 0 0 0 0 0
C5:23 0 0 0 0 0 0 0 0
C5:24 0 0 0 0 0 0 0 0
C5:25 0 0 0 0 0 0 0 0
C5:26 0 0 0 0 0 0 0 0
C5:27 0 0 0 0 0 0 0 0
C5:28 0 0 0 0 0 0 0 0
C5:29 0 0 0 0 0 0 0 0
C5:30 0 0 0 0 0 0 0 0
C5:31 0 0 0 0 0 0 0 0

Page 28 Saturday, February 23, 2008 - 02:32:22


Coil Gun Object Detect Method Designed by Shawn L. Gabriel

Data File R6 -- CONTROL

Offset EN EU DN EM ER UL IN FD LEN POS (Symbol) Description

R6:0 0 0 0 0 0 0 0 0 0 0
R6:1 0 0 0 0 0 0 0 0 0 0
R6:2 0 0 0 0 0 0 0 0 0 0
R6:3 0 0 0 0 0 0 0 0 0 0
R6:4 0 0 0 0 0 0 0 0 0 0
R6:5 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

Page 29 Saturday, February 23, 2008 - 02:32:22


Coil Gun Object Detect Method Designed by Shawn L. Gabriel

Data File N7 (dec) -- INTEGER

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

Page 30 (Radix Decimal) Saturday, February 23, 2008 - 02:32:22


Coil Gun Object Detect Method Designed by Shawn L. Gabriel

CDM 0 - Untitled

Address (Symbol) = Value [Description]

Page 31 Saturday, February 23, 2008 - 02:32:22


Coil Gun Object Detect Method Designed by Shawn L. Gabriel

RSLogix 500 Cross Reference Report - Sorted by Address

O:0/0 - Power Control for LED's for the object phototransistor


OTE - File #2 MAIN_PROG - 0
O:0/1 - Relay For Next State. This ties into I:0/0 [The fire button] on the next PLC.
OTE - File #8 COILS ON - 10
O:0/2 - Coil 01
OTE - File #8 COILS ON - 0
O:0/3 - Coil 02
OTE - File #8 COILS ON - 1
O:0/4 - Coil 03
OTE - File #8 COILS ON - 2
O:0/5 - Coil 04
OTE - File #8 COILS ON - 3
O:0/6 - Coil 05
OTE - File #8 COILS ON - 4
O:0/7 - Coil 06
OTE - File #8 COILS ON - 5
O:0/8 - Coil 07
OTE - File #8 COILS ON - 6
O:0/9 - Coil 08
OTE - File #8 COILS ON - 7
O:0/10 - Coil 9
OTE - File #8 COILS ON - 8
O:0/11 - Coil 10
OTE - File #8 COILS ON - 9
I:0/0 - Fire Button
XIC - File #7 STARTFSEQ - 0
I:0/1 - Turn On Coil 02
XIC - File #8 COILS ON - 1
I:0/2 - Turn On Coil 03
XIC - File #8 COILS ON - 2
I:0/3 - Turn On Coil 04
XIC - File #8 COILS ON - 3
I:0/4 - Turn On Coil 05
XIC - File #8 COILS ON - 4
I:0/5 - Turn On Coil 06
XIC - File #8 COILS ON - 5
I:0/6 - Turn On Coil 07
XIC - File #8 COILS ON - 6
I:0/7 - Turn On Coil 08
XIC - File #8 COILS ON - 7
I:0/8 - Turn On Coil 09
XIC - File #8 COILS ON - 8
I:0/9 - Turn On Coil 10
XIC - File #8 COILS ON - 9
I:0/10 - Turn On Output [O:0/1]. This is the bit to send to the next PLC.
XIC - File #8 COILS ON - 10
B3:0/0 - Debouncing Of The Fire Button
OSR - File #7 STARTFSEQ - 0
B3:0/1 - Turn On Coil 01 Latch
OTL - File #7 STARTFSEQ - 0
XIC - File #7 STARTFSEQ - 1
OTU - File #7 STARTFSEQ - 1
XIC - File #8 COILS ON - 0
T4:0 - Timing Mechanism Timer 01
TON - File #6 DEBNCETMR - 0
T4:0/DN - XIC - File #6 DEBNCETMR - 1
File #7 STARTFSEQ - 1
T4:1 - Timing Mechanism Timer 02
TON - File #6 DEBNCETMR - 1
T4:1/DN - XIO - File #6 DEBNCETMR - 0
U:6 - Start Input I:0/0 debounce timing subroutine
JSR - File #2 MAIN_PROG - 1
U:7 - Start Sequence when pushbutton or relay is engaged on I:0/0 Subroutine
JSR - File #2 MAIN_PROG - 2
U:8 - Coils ON or OFF Control Subroutine
JSR - File #2 MAIN_PROG - 3

Page 32 Saturday, February 23, 2008 - 02:32:23


Coil Gun Object Detect Method Designed by Shawn L. Gabriel

Data File O0 -- OUTPUT Usage

Offset FW 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

O:0.0 . . . . X X X X X X X X X X X X Bul.1761 MicroLogix 1000

Page 33 (Radix Binary/Subelement) Saturday, February 23, 2008 - 02:32:23


Coil Gun Object Detect Method Designed by Shawn L. Gabriel

Data File I1 -- INPUT Usage

Offset FW 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

I:0.0 . . . . . X X X X X X X X X X X Bul.1761 MicroLogix 1000


I:0.1 . . . . . . . . . . . . . . . . Bul.1761 MicroLogix 1000

Page 34 (Radix Binary/Subelement) Saturday, February 23, 2008 - 02:32:23


Coil Gun Object Detect Method Designed by Shawn L. Gabriel

Data File S2 -- STATUS Usage

Offset 0 1 2 3 4 5 6 7 8 9

S:0 . . . . . . . . . .
S:10 . . . . . . . . . .
S:20 . . . . . . . . . .
S:30 . . .

Page 35 (Radix Element Only) Saturday, February 23, 2008 - 02:32:23


Coil Gun Object Detect Method Designed by Shawn L. Gabriel

Data File B3 -- BINARY Usage

Offset FW 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 (Symbol) Description

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 . . . . . . . . . . . . . . . .

Page 36 (Radix Binary/Subelement) Saturday, February 23, 2008 - 02:32:23


Coil Gun Object Detect Method Designed by Shawn L. Gabriel

Data File T4 -- TIMER Usage

Offset FW EN TT DN BASE PRE ACC (Symbol) Description

T4:0 W . . X . . . Timing Mechanism Timer 01


T4:1 W . . X . . . Timing Mechanism Timer 02
T4:2 . . . . . . Switch Debounce Timer
T4:3 . . . . . . Debounce Timer For Next Stage
T4:4 . . . . . .
T4:5 . . . . . .
T4:6 . . . . . .
T4:7 . . . . . .
T4:8 . . . . . .
T4:9 . . . . . .
T4:10 . . . . . .
T4:11 . . . . . .
T4:12 . . . . . .
T4:13 . . . . . .
T4:14 . . . . . .
T4:15 . . . . . .
T4:16 . . . . . .
T4:17 . . . . . .
T4:18 . . . . . .
T4:19 . . . . . .
T4:20 . . . . . .
T4:21 . . . . . .
T4:22 . . . . . .
T4:23 . . . . . .
T4:24 . . . . . .
T4:25 . . . . . .
T4:26 . . . . . .
T4:27 . . . . . .
T4:28 . . . . . .
T4:29 . . . . . .
T4:30 . . . . . .
T4:31 . . . . . .
T4:32 . . . . . .
T4:33 . . . . . .
T4:34 . . . . . .
T4:35 . . . . . .
T4:36 . . . . . .
T4:37 . . . . . .
T4:38 . . . . . .
T4:39 . . . . . .

Page 37 (Radix Binary/Subelement) Saturday, February 23, 2008 - 02:32:24


Coil Gun Object Detect Method Designed by Shawn L. Gabriel

Data File C5 -- COUNTER Usage

Offset FW CU CD DN OV UN UA PRE ACC (Symbol) Description

C5:0 . . . . . . . . Coil Counter


C5:1 . . . . . . . .
C5:2 . . . . . . . .
C5:3 . . . . . . . .
C5:4 . . . . . . . .
C5:5 . . . . . . . .
C5:6 . . . . . . . .
C5:7 . . . . . . . .
C5:8 . . . . . . . .
C5:9 . . . . . . . .
C5:10 . . . . . . . .
C5:11 . . . . . . . .
C5:12 . . . . . . . .
C5:13 . . . . . . . .
C5:14 . . . . . . . .
C5:15 . . . . . . . .
C5:16 . . . . . . . .
C5:17 . . . . . . . .
C5:18 . . . . . . . .
C5:19 . . . . . . . .
C5:20 . . . . . . . .
C5:21 . . . . . . . .
C5:22 . . . . . . . .
C5:23 . . . . . . . .
C5:24 . . . . . . . .
C5:25 . . . . . . . .
C5:26 . . . . . . . .
C5:27 . . . . . . . .
C5:28 . . . . . . . .
C5:29 . . . . . . . .
C5:30 . . . . . . . .
C5:31 . . . . . . . .

Page 38 (Radix Binary/Subelement) Saturday, February 23, 2008 - 02:32:24


Coil Gun Object Detect Method Designed by Shawn L. Gabriel

Data File R6 -- CONTROL Usage

Offset FW EN EU DN EM ER UL IN FD LEN POS (Symbol) Description

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 . . . . . . . . . .

Page 39 (Radix Binary/Subelement) Saturday, February 23, 2008 - 02:32:24


Coil Gun Object Detect Method Designed by Shawn L. Gabriel

Data File N7 -- INTEGER Usage

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 . . . . .

Page 40 (Radix Element Only) Saturday, February 23, 2008 - 02:32:24


Coil Gun Object Detect Method Designed by Shawn L. Gabriel

Address/Symbol Database

Address Symbol Scope Description Sym Group

B3:0/0 Debouncing Of The Fire Button


B3:0/1 Turn On Coil 01 Latch
C5:0 Coil Counter
I:0/0 Fire Button
I:0/1 Turn On Coil 02
I:0/2 Turn On Coil 03
I:0/3 Turn On Coil 04
I:0/4 Turn On Coil 05
I:0/5 Turn On Coil 06
I:0/6 Turn On Coil 07
I:0/7 Turn On Coil 08
I:0/8 Turn On Coil 09
I:0/9 Turn On Coil 10
I:0/10 Turn On Output [O:0/1]. This is the bit to send to the next PLC.
O:0/0 Power Control for LED's for the object phototransistor
O:0/1 Relay For Next State. This ties into I:0/0 [The fire button] on the next PLC.
O:0/2 Coil 01
O:0/3 Coil 02
O:0/4 Coil 03
O:0/5 Coil 04
O:0/6 Coil 05
O:0/7 Coil 06
O:0/8 Coil 07
O:0/9 Coil 08
O:0/10 Coil 9
O:0/11 Coil 10
S:0 Arithmetic Flags
S:0/0 Processor Arithmetic Carry Flag
S:0/1 Processor Arithmetic Underflow/ Overflow Flag
S:0/2 Processor Arithmetic Zero Flag
S:0/3 Processor Arithmetic Sign Flag
S:1 Processor Mode Status/ Control
S:1/0 Processor Mode Bit 0
S:1/1 Processor Mode Bit 1
S:1/2 Processor Mode Bit 2
S:1/3 Processor Mode Bit 3
S:1/4 Processor Mode Bit 4
S:1/5 Forces Enabled
S:1/6 Forces Present
S:1/7 Comms Active
S:1/8 Fault Override at Powerup
S:1/9 Startup Protection Fault
S:1/10 Load Memory Module on Memory Error
S:1/11 Load Memory Module Always
S:1/12 Load Memory Module and RUN
S:1/13 Major Error Halted
S:1/14 Access Denied
S:1/15 First Pass
S:2/0 STI Pending
S:2/1 STI Enabled
S:2/2 STI Executing
S:2/3 Index Addressing File Range
S:2/4 Saved with Debug Single Step
S:2/5 DH-485 Incoming Command Pending
S:2/6 DH-485 Message Reply Pending
S:2/7 DH-485 Outgoing Message Command Pending
S:2/15 Comms Servicing Selection
S:3 Current Scan Time/ Watchdog Scan Time
S:4 Time Base
S:5/0 Overflow Trap
S:5/2 Control Register Error
S:5/3 Major Err Detected Executing UserFault Routine
S:5/4 M0-M1 Referenced on Disabled Slot
S:5/8 Memory Module Boot
S:5/9 Memory Module Password Mismatch
S:5/10 STI Overflow
S:5/11 Battery Low
S:6 Major Error Fault Code
S:7 Suspend Code
S:8 Suspend File
S:9 Active Nodes
S:10 Active Nodes
S:11 I/O Slot Enables
S:12 I/O Slot Enables
S:13 Math Register
S:14 Math Register
S:15 Node Address/ Baud Rate
S:16 Debug Single Step Rung
S:17 Debug Single Step File
S:18 Debug Single Step Breakpoint Rung
S:19 Debug Single Step Breakpoint File
S:20 Debug Fault/ Powerdown Rung
S:21 Debug Fault/ Powerdown File
S:22 Maximum Observed Scan Time

Page 41 Saturday, February 23, 2008 - 02:32:24


Coil Gun Object Detect Method Designed by Shawn L. Gabriel

Address/Symbol Database

Address Symbol Scope Description Sym Group

S:23 Average Scan Time


S:24 Index Register
S:25 I/O Interrupt Pending
S:26 I/O Interrupt Pending
S:27 I/O Interrupt Enabled
S:28 I/O Interrupt Enabled
S:29 User Fault Routine File Number
S:30 STI Setpoint
S:31 STI File Number
S:32 I/O Interrupt Executing
S:33 Extended Proc Status Control Word
S:33/0 Incoming Command Pending
S:33/1 Message Reply Pending
S:33/2 Outgoing Message Command Pending
S:33/3 Selection Status User/DF1
S:33/4 Communicat Active
S:33/5 Communicat Servicing Selection
S:33/6 Message Servicing Selection Channel 0
S:33/7 Message Servicing Selection Channel 1
S:33/8 Interrupt Latency Control Flag
S:33/9 Scan Toggle Flag
S:33/10 Discrete Input Interrupt Reconfigur Flag
S:33/11 Online Edit Status
S:33/12 Online Edit Status
S:33/13 Scan Time Timebase Selection
S:33/14 DTR Control Bit
S:33/15 DTR Force Bit
S:34 Pass-thru Disabled
S:34/0 Pass-Thru Disabled Flag
S:34/1 DH+ Active Node Table Enable Flag
S:34/2 Floating Point Math Flag Disable,Fl
S:35 Last 1 ms Scan Time
S:36 Extended Minor Error Bits
S:36/8 DII Lost
S:36/9 STI Lost
S:36/10 Memory Module Data File Overwrite Protection
S:37 Clock Calendar Year
S:38 Clock Calendar Month
S:39 Clock Calendar Day
S:40 Clock Calendar Hours
S:41 Clock Calendar Minutes
S:42 Clock Calendar Seconds
S:43 STI Interrupt Time
S:44 I/O Event Interrupt Time
S:45 DII Interrupt Time
S:46 Discrete Input Interrupt- File Number
S:47 Discrete Input Interrupt- Slot Number
S:48 Discrete Input Interrupt- Bit Mask
S:49 Discrete Input Interrupt- Compare Value
S:50 Processor Catalog Number
S:51 Discrete Input Interrupt- Return Number
S:52 Discrete Input Interrupt- Accumulat
S:53 Reserved/ Clock Calendar Day of the Week
S:55 Last DII Scan Time
S:56 Maximum Observed DII Scan Time
S:57 Operating System Catalog Number
S:58 Operating System Series
S:59 Operating System FRN
S:61 Processor Series
S:62 Processor Revision
S:63 User Program Type
S:64 User Program Functional Index
S:65 User RAM Size
S:66 Flash EEPROM Size
S:67 Channel 0 Active Nodes
S:68 Channel 0 Active Nodes
S:69 Channel 0 Active Nodes
S:70 Channel 0 Active Nodes
S:71 Channel 0 Active Nodes
S:72 Channel 0 Active Nodes
S:73 Channel 0 Active Nodes
S:74 Channel 0 Active Nodes
S:75 Channel 0 Active Nodes
S:76 Channel 0 Active Nodes
S:77 Channel 0 Active Nodes
S:78 Channel 0 Active Nodes
S:79 Channel 0 Active Nodes
S:80 Channel 0 Active Nodes
S:81 Channel 0 Active Nodes
S:82 Channel 0 Active Nodes
S:83 DH+ Active Nodes
S:84 DH+ Active Nodes
S:85 DH+ Active Nodes
S:86 DH+ Active Nodes

Page 42 Saturday, February 23, 2008 - 02:32:25


Coil Gun Object Detect Method Designed by Shawn L. Gabriel

Address/Symbol Database

Address Symbol Scope Description Sym Group

T4:0 Timing Mechanism Timer 01


T4:0/DN
T4:1 Timing Mechanism Timer 02
T4:2 Switch Debounce Timer
T4:3 Debounce Timer For Next Stage
U:6 Start Input I:0/0 debounce timing subroutine
U:7 Start Sequence when pushbutton or relay is engaged on I:0/0 Subroutine
U:8 Coils ON or OFF Control Subroutine
U:9

Page 43 Saturday, February 23, 2008 - 02:32:25


Coil Gun Object Detect Method Designed by Shawn L. Gabriel

Instruction Comment Database

Address Instruction Description

Page 44 Saturday, February 23, 2008 - 02:32:25


Coil Gun Object Detect Method Designed by Shawn L. Gabriel

Symbol Group Database

Group_Name Description

Page 45 Saturday, February 23, 2008 - 02:32:25

You might also like