Sie sind auf Seite 1von 12

22/11/06

09:44
500PACK
PROGRAMACION: MARIANO SALAS GODINEZ
REVISO: ING. RAUL SALDANA HERNANDEZ
500PACK

Program File List

Name Number Type Rungs Debug Bytes

[SYSTEM] 0 SYS 0 No 0
1 SYS 0 No 0
MAIN_PROG 2 LADDER 24 No 790
USER_FAULT 3 LADDER 1 No 3
HSC_INT 4 LADDER 1 No 3
STI_INT 5 LADDER 1 No 3
6 LADDER 1 No 3
7 LADDER 1 No 3
8 LADDER 1 No 3
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 1 Wednesday, November 22, 2006 - 09:44:56


500PACK

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

ENERGIZAR SISTEMA
BOTON DE ARRANQUE ENERGIZAR SISTEMA
I:0 B3:0
0000 L
1 0
1761-Micro-Discrete

BOTON DE PARO ENERGIZAR SISTEMA


I:0 B3:0
0001 U
0 0
1761-Micro-Discrete

Page 1 Wednesday, November 22, 2006 - 09:44:57


500PACK

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

BORRAR CONTADORES
RESET SISTEMA SUMA DE BOLIGRAFOS
I:0 MOV
0002 Move
2 Source 0
1761-Micro-Discrete 0<
Dest N7:0
42<

MOVER CAJA UNA


CAVIDAD
MOV
Move
Source 0
0<
Dest N7:1
0<

Page 2 Wednesday, November 22, 2006 - 09:44:57


500PACK

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

BUSCAR CAJA PARA LLENADO


FOTOCELDA DE ACTIVAR INVERSOR DE
ENERGIZAR SISTEMA PRESENCIA DE CAJA MOTOR PRINCIPAL
B3:0 I:0 O:0
0003
0 3 0
1761-Micro-Discrete 1761-Micro-Discrete

APERTURA DE TIEMPO DE AVANCE EN


COMPUERTA #3 BANDA TRANSPORTADORA
O:0 B3:0

1 3
1761-Micro-Discrete

Page 3 Wednesday, November 22, 2006 - 09:44:57


500PACK

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

CONTEO DE BOLIGRAFO
FOTOCELDA DE CONTEO ALMACENAR BIT DE
ENERGIZAR SISTEMA DE PRODUCTO BOLIGRAFO SUMA DE BOLIGRAFOS
B3:0 I:0 B3:0 ADD
0004 OSR Add
0 4 1 Source A N7:0
1761-Micro-Discrete 42<
Source B 1
1<
Dest N7:0
42<

SUMA DE BOLIGRAFOS SUMA DE BOLIGRAFOS


EQU CLR
0005 Equal Clear
Source A N7:0 Dest N7:0
42< 42<
Source B 167
167<

Page 4 Wednesday, November 22, 2006 - 09:44:57


500PACK

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

SECUENCIA DE APERTURA DE COMPUERTA


ENERGIZAR SISTEMA SUMA DE BOLIGRAFOS PRIMER DESCARGA
B3:0 EQU B3:0
0006 Equal L
0 Source A N7:0 4
42<
Source B 42
42<

PRIMER DESCARGA
B3:0
0007 U
4

ENERGIZAR SISTEMA SUMA DE BOLIGRAFOS SEGUNDA DESCARGA


B3:0 EQU B3:0
0008 Equal L
0 Source A N7:0 5
42<
Source B 84
84<

SEGUNDA DESCARGA
B3:0
0009 U
5

ENERGIZAR SISTEMA SUMA DE BOLIGRAFOS TERCER DESCARGA


B3:0 EQU B3:0
0010 Equal L
0 Source A N7:0 6
42<
Source B 126
126<

TERCER DESCARGA
B3:0
0011 U
6

ENERGIZAR SISTEMA SUMA DE BOLIGRAFOS CUARTA DESCARGA


B3:0 EQU B3:0
0012 Equal L
0 Source A N7:0 7
42<
Source B 0
0<

CUARTA DESCARGA
B3:0
0013 U
7

Page 5 Wednesday, November 22, 2006 - 09:44:57


500PACK

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

SECUENCIA DE APERTURA DE COMPUERTAS


TIEMPO DE APERTURA COMPUERTA #1 DE
ENERGIZAR SISTEMA PRIMER DESCARGA DE COMPUERTA CONTENCION
B3:0 B3:0 T4:0 O:0
0014
0 4 DN 6
1761-Micro-Discrete
SEGUNDA DESCARGA
B3:0 TIEMPO DE APERTURA
DE COMPUERTA
5 TON
Timer On Delay EN
TERCER DESCARGA Timer T4:0
B3:0 Time Base 0.01 DN
Preset 120<
6 Accum 0<

CUARTA DESCARGA
B3:0

APERTURA DE
COMPUERTA
COMPUERTA #1 DE TIEMPO DE APERTURA #2
ENERGIZAR SISTEMA CONTENCION DE COMPUERTA #2 O
B3:0 O:0 T4:2 O:0
0015
0 6 DN 5
1761-Micro-Discrete 1761-Micro-Discrete

TIEMPO DE APERTURA
DE COMPUERTA #2
TON
Timer On Delay EN
Timer T4:2
Time Base 0.01 DN
Preset 30<
Accum 0<

APERTURA DE
ENERGIZAR SISTEMA SEGUNDA DESCARGA COMPUERTA #3
B3:0 B3:0 O:0
0016
0 5 1
1761-Micro-Discrete
CUARTA DESCARGA
B3:0

Page 6 Wednesday, November 22, 2006 - 09:44:57


500PACK

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

MOVIMIENTO DE SECCIONES DE LA CAJA


ALMACENAR BIT DE
MOVIMIENTO DE MOVER CAJA UNA
ENERGIZAR SISTEMA SUMA DE BOLIGRAFOS CAVIDAD DE CAJA CAVIDAD
B3:0 EQU B3:0 ADD
0017 Equal OSR Add
0 Source A N7:0 2 Source A N7:1
42< 0<
Source B 167 Source B 1
167< 1<
Dest N7:1
0<

SENSOR DE FIN DE
FOTOCELDA DE MOVER CAJA UNA CARRERA DEL PISTON
ENERGIZAR SISTEMA PRESENCIA DE CAJA CAVIDAD #2
B3:0 I:0 EQU I:0
0018 Equal
0 3 Source A N7:1 6
1761-Micro-Discrete 0< 1761-Micro-Discrete
Source B 0
PISTON #1 DE LA 0<
PRIMERA SECCION
O:0

2
1761-Micro-Discrete

SENSOR DE FIN DE
CARRERA DEL PISTON PISTON #1 DE LA
#3 RESET SISTEMA PRIMERA SECCION
I:0 I:0 O:0

7 2 2
1761-Micro-Discrete 1761-Micro-Discrete 1761-Micro-Discrete

SENSOR DE FIN DE SENSOR DE FIN DE


MOVER CAJA UNA CARRERA DEL PISTON CARRERA DEL PISTON
ENERGIZAR SISTEMA CAVIDAD #1 #3 RESET SISTEMA
B3:0 EQU I:0 I:0 I:0
0019 Equal
0 Source A N7:1 5 7 2
0< 1761-Micro-Discrete 1761-Micro-Discrete 1761-Micro-Discrete
Source B 1
1<

PISTON #2 DE LA
SEGUNDA SECCION
O:0

3
1761-Micro-Discrete

SENSOR DE FIN DE SENSOR DE FIN DE


MOVER CAJA UNA CARRERA DEL PISTON CARRERA DEL PISTON
ENERGIZAR SISTEMA CAVIDAD #1 #2 RESET SISTEMA
B3:0 EQU I:0 I:0 I:0
0020 Equal
0 Source A N7:1 5 6 2
0< 1761-Micro-Discrete 1761-Micro-Discrete 1761-Micro-Discrete
Source B 2
2<

PISTON #3 DE LA
TERCERA SECCION
O:0

4
1761-Micro-Discrete

MOVER CAJA UNA MOVER CAJA UNA


CAVIDAD CAVIDAD
EQU CLR
0021 Equal Clear
Source A N7:1 Dest N7:1
0< 0<
Source B 3
3<

Page 7 Wednesday, November 22, 2006 - 09:44:57


500PACK

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

TIEMPO DE AVANCE DE TIEMPO DE AVANCE EN


ENERGIZAR SISTEMA SUMA DE BOLIGRAFOS LA CAJA BANDA TRANSPORTADORA
B3:0 EQU T4:1 B3:0
0022 Equal
0 Source A N7:0 DN 3
42<
Source B 0 TIEMPO DE AVANCE DE
0< LA CAJA
TON
Timer On Delay EN
TIEMPO DE AVANCE EN Timer T4:1
BANDA TRANSPORTADORA Time Base 0.01 DN
B3:0 Preset 300<
Accum 0<
3

0023 END

Page 8 Wednesday, November 22, 2006 - 09:44:57


500PACK

Address/Symbol Database

Address Symbol Scope Description Sym Group Dev. Code ABV BLW

B3:0/0 ENERGIZAR SISTEMA


B3:0/1 ALMACENAR BIT DE BOLIGRAFO
B3:0/2 ALMACENAR BIT DE MOVIMIENTO DE CAVIDAD DE CAJA
B3:0/3 TIEMPO DE AVANCE EN BANDA TRANSPORTADORA
B3:0/4 PRIMER DESCARGA
B3:0/5 SEGUNDA DESCARGA
B3:0/6 TERCER DESCARGA
B3:0/7 CUARTA DESCARGA
I:0/0 BOTON DE PARO
I:0/1 BOTON DE ARRANQUE
I:0/2 RESET SISTEMA
I:0/3 FOTOCELDA DE PRESENCIA DE CAJA
I:0/4 FOTOCELDA DE CONTEO DE PRODUCTO
I:0/5 SENSOR DE FIN DE CARRERA DEL PISTON #1
I:0/6 SENSOR DE FIN DE CARRERA DEL PISTON #2
I:0/7 SENSOR DE FIN DE CARRERA DEL PISTON #3
I:0/8 FASE LOGICA DE COMPUERTA DE M2
N7:0 SUMA DE BOLIGRAFOS
N7:1 MOVER CAJA UNA CAVIDAD
O:0/0 ACTIVAR INVERSOR DE MOTOR PRINCIPAL
O:0/1 APERTURA DE COMPUERTA #3
O:0/2 PISTON #1 DE LA PRIMERA SECCION
O:0/3 PISTON #2 DE LA SEGUNDA SECCION
O:0/4 PISTON #3 DE LA TERCERA SECCION
O:0/5 O Global APERTURA DE COMPUERTA #2
O:0/6 COMPUERTA #1 DE CONTENCION
R6:0 CONTROL DE BOLIGRAFO
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
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

Page 1 Wednesday, November 22, 2006 - 09:44:57


500PACK

Address/Symbol Database

Address Symbol Scope Description Sym Group Dev. Code ABV BLW

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
T4:0 TIEMPO DE APERTURA DE COMPUERTA
T4:1 TIEMPO DE AVANCE DE LA CAJA
T4:2 TIEMPO DE APERTURA DE COMPUERTA #2
T4:3 TIEMPO DE RETARDO EN COMPUERTA #1

Page 2 Wednesday, November 22, 2006 - 09:44:57

Das könnte Ihnen auch gefallen