nombre del proyecto: estacion toma de datos viales

29
Nombre del proyecto: ESTACION TOMA DE DATOS VIALES 1/29 06/19/2019 - 11:07 Nombre del proyecto: ESTACION TOMA DE DATOS VIALES Páez Cobos Javier Gilberto , Espitia Cuadros Milton Alexander

Upload: others

Post on 19-Nov-2021

4 views

Category:

Documents


0 download

TRANSCRIPT

Nombre del proyecto: ESTACION

TOMA DE DATOS VIALES

1/29

06/19/2019 - 11:07

Nombre del proyecto: ESTACION TOMADE DATOS VIALES

Páez Cobos Javier Gilberto , Espitia Cuadros Milton Alexander

CONTENIDODescripción ............................................................................................................................................ 4

Lista De Materiales ................................................................................................................................ 5

Controlador ............................................................................................................................. 5

Configuración Del Hardware .................................................................................................................. 6

MyController - TM221C16R ................................................................................................... 6

Entradas Digitales ................................................................................................... 6

Salidas Digitales ..................................................................................................... 6

Entradas Analógicas ............................................................................................... 6

Contadores Rápidos ............................................................................................... 6

Contadores De Alta Velocidad ................................................................................7

SL1 (línea serie) ..................................................................................................... 7

Bus de E/S .............................................................................................................. 8

Configuración Del Software ................................................................................................................... 9

Palabras Constantes .............................................................................................................. 9

KW .......................................................................................................................... 9

KD ........................................................................................................................... 9

KF ........................................................................................................................... 9

Objetos De Red .................................................................................................................... 10

Assembly De Entrada (Ethernet/Ip) ...................................................................... 10

Assembly De Salida (Ethernet/Ip) .........................................................................10

Registros De Entrada (Modbus Tcp) .................................................................... 10

Registros De Salida (Modbus Tcp) ....................................................................... 10

Entradas digitales (IOScanner) .............................................................................10

Salidas digitales (IOScanner) ............................................................................... 10

Registros de entrada (IOScanner) ........................................................................ 10

Registros de salida (IOScanner) ...........................................................................10

Objetos De Software ............................................................................................................ 11

Temporizadores .................................................................................................... 11

Contadores ........................................................................................................... 11

Registros LIFO/FIFO ............................................................................................ 11

Drums ................................................................................................................... 11

Registros de desplazamiento ............................................................................... 11

Contadores de pasos ............................................................................................ 11

Fechadores ........................................................................................................... 11

RTC ...................................................................................................................... 11

PID ........................................................................................................................ 11

Pasos Grafcet ....................................................................................................... 11

2/29

06/19/2019 - 11:07

Nombre del proyecto: ESTACION TOMADE DATOS VIALES

Páez Cobos Javier Gilberto , Espitia Cuadros Milton Alexander

Programar ............................................................................................................................................ 12

Comportamiento ................................................................................................................... 12

Utilización De Memoria ........................................................................................................ 12

Arquitectura De La Aplicación .............................................................................................. 12

Tarea maestra ...................................................................................................... 12

Tarea periódica ..................................................................................................... 12

POU ...................................................................................................................................... 13

Tarea maestra ...................................................................................................... 13

1 - GESTION DE ESPIRAS ................................................................. 13

Rung0 - TICS ......................................................................... 13

Rung1 - INICIO SECUENCIA ................................................ 13

Rung2 - CAPTURA DE FLANCOS ........................................ 14

Rung3 - FIN DE SECUENCIA ............................................... 14

2 - CALCULO DE POST-SECUENCIA ................................................ 15

Rung0 - CALCULO VELOCIDAD Y LONGITUD ................... 15

Rung1 - ACTUALIZAR ACUMULADORES ........................... 16

Rung2 - CLASIFICAR/ACUMULAR VEHICULOS .................17

Rung3 - RECALCULAR MEDIDAS ....................................... 18

3 - CICLO INTEGRACION ................................................................... 19

Rung0 - CONFIGURAR TIEMPO INTEGRACION ................ 19

Rung1 - TEMPORIZADO .......................................................19

Rung2 - ACTUALIZAR DATOS DE TRAFICO ...................... 20

Rung3 - RESET CONTACTORES ........................................ 21

Símbolos .............................................................................................................................................. 22

Tabla De Referencias Cruzadas .......................................................................................................... 23

Tabla de animación .............................................................................................................................. 27

CPU_IN ................................................................................................................................ 27

CPU_OUT ............................................................................................................................ 28

DTS ...................................................................................................................................... 29

3/29

06/19/2019 - 11:07

Nombre del proyecto: ESTACION TOMADE DATOS VIALES

Páez Cobos Javier Gilberto , Espitia Cuadros Milton Alexander

DESCRIPCIÓN

Este documento es el anexo del trabajo de grado titulado "sistema de captación automática de datos

para evaluar las condiciones de tráfico vehicular en vías"; este nos muestra la configuración del PLC

y la configuración que se utilizó en este sistema.

4/29

06/19/2019 - 11:07

Nombre del proyecto: ESTACION TOMADE DATOS VIALES

Páez Cobos Javier Gilberto , Espitia Cuadros Milton Alexander

LISTA DE MATERIALES

5V: 325 mA / 24V: 120 mAAlimentación suministrada al bus de E/S

TM221C16R (tornillo)9 entradas digitales, 7 salidasde relé (2 A), 2 entradasanalógicas, 1 puerto de líneaserie, controlador compacto de100 a 240 V CA con bloques determinales extraíbles.

Descripción

TM221C16RReferencia

Controlador

5/29

06/19/2019 - 11:07

Nombre del proyecto: ESTACION TOMADE DATOS VIALES

Páez Cobos Javier Gilberto , Espitia Cuadros Milton Alexander

CONFIGURACIÓN DEL HARDWARE

MyController - TM221C16R

Entradas Digitales

SubrutinaPrioridadEventosRun/StopRetenciónFiltradoDirecciónUtilizado

No se utiliza3 ms%I0.0X

No se utiliza3 ms%I0.1X

No se utiliza3 ms%I0.2

No se utiliza3 ms%I0.3

No se utiliza3 ms%I0.4

No se utiliza3 ms%I0.5

No se utiliza3 ms%I0.6

No se utiliza3 ms%I0.7

No se utiliza3 ms%I0.8

Salidas Digitales

Utilizado porValor de retornoAlarma de

estadoDirecciónUtilizado

0%Q0.0

0%Q0.1

0%Q0.2

0%Q0.3

0%Q0.4

0%Q0.5

0%Q0.6

Entradas Analógicas

MuestreoFiltroRangoÁmbitoTipoDirecciónUtilizado

00-1000Normal0 - 10 V%IW0.0

00-1000Normal0 - 10 V%IW0.1

Contadores Rápidos

Palabra doblePreajusteConfiguradoEntradaDirecciónUtilizado

0NotUsed%I0.2%FC0

0NotUsed%I0.3%FC1

0NotUsed%I0.4%FC2

0NotUsed%I0.5%FC3

6/29

06/19/2019 - 11:07

Nombre del proyecto: ESTACION TOMADE DATOS VIALES

Páez Cobos Javier Gilberto , Espitia Cuadros Milton Alexander

Contadores De Alta Velocidad

TipoDirecciónUtilizado

Sin configurar%HSC0

Sin configurar%HSC1

Sin configurar%HSC2

Sin configurar%HSC3

SL1 (línea serie)

Ajustes Físicos

NingunoDispositivo:

19200Velocidad de transmisión:

ParParidad:

8Bits de datos:

1Bits de parada:

RS-485Medio físico:

NoPolarización:

Ajustes De Protocolo

ModbusProtocolo:

10Timeout de respuesta (× 100 ms):

10Tiempo entre tramas (ms):

RTUModo de transmisión:

EsclavoDireccionamiento:

1Dirección:

7/29

06/19/2019 - 11:07

Nombre del proyecto: ESTACION TOMADE DATOS VIALES

Páez Cobos Javier Gilberto , Espitia Cuadros Milton Alexander

Bus de E/S

8/29

06/19/2019 - 11:07

Nombre del proyecto: ESTACION TOMADE DATOS VIALES

Páez Cobos Javier Gilberto , Espitia Cuadros Milton Alexander

CONFIGURACIÓN DEL SOFTWARE

Palabras Constantes

KW

AutomáticoAsignación:

0Asignado:

ComentarioValorSímboloDirecciónEqu utilizadoUtilizado

KD

AutomáticoAsignación:

0Asignado:

ComentarioValorSímboloDirecciónEqu utilizadoUtilizado

KF

AutomáticoAsignación:

0Asignado:

ComentarioValorSímboloDirecciónEqu utilizadoUtilizado

9/29

06/19/2019 - 11:07

Nombre del proyecto: ESTACION TOMADE DATOS VIALES

Páez Cobos Javier Gilberto , Espitia Cuadros Milton Alexander

Objetos De Red

Assembly De Entrada (Ethernet/Ip)

ComentarioValor de retornoSímboloDirecciónUtilizado

Assembly De Salida (Ethernet/Ip)

ComentarioSímboloDirecciónUtilizado

Registros De Entrada (Modbus Tcp)

ComentarioValor de retornoSímboloDirecciónUtilizado

Registros De Salida (Modbus Tcp)

ComentarioSímboloDirecciónUtilizado

Entradas digitales (IOScanner)

ComentarioSímboloCanalDirecciónUtilizado

Salidas digitales (IOScanner)

ComentarioSímboloValor de retornoCanalDirecciónUtilizado

Registros de entrada (IOScanner)

ComentarioSímboloCanalDirecciónUtilizado

Registros de salida (IOScanner)

ComentarioSímboloValor de retornoCanalDirecciónUtilizado

10/29

06/19/2019 - 11:07

Nombre del proyecto: ESTACION TOMADE DATOS VIALES

Páez Cobos Javier Gilberto , Espitia Cuadros Milton Alexander

Objetos De Software

Temporizadores

AutomáticoAsignación:

1Asignado:

ComentarioPreajusteBase de tiempoRetentivoTipoSímboloDirecciónUtilizado

Tiempo deintegracion

601 sTONT_INT%TM0X

Contadores

AutomáticoAsignación:

0Asignado:

Registros LIFO/FIFO

AutomáticoAsignación:

0Asignado:

Drums

AutomáticoAsignación:

0Asignado:

Registros de desplazamiento

AutomáticoAsignación:

0Asignado:

Contadores de pasos

AutomáticoAsignación:

0Asignado:

Fechadores

AutomáticoAsignación:

0Asignado:

RTC

PID

ComentarioTipoSímboloPIDUtilizado

Pasos Grafcet

AutomáticoAsignación:

0Asignado:

11/29

06/19/2019 - 11:07

Nombre del proyecto: ESTACION TOMADE DATOS VIALES

Páez Cobos Javier Gilberto , Espitia Cuadros Milton Alexander

PROGRAMAR

ComportamientoNivel 5.0Nivel funcional:

Inicio en ejecuciónModalidad de inicio:

250 msWatchdog:

Valor de retornoComportamiento de recuperación:

Se requiere una compilación correcta para obtener información de la memoria.

Utilización de memoria

Arquitectura De La Aplicación

Tarea maestra

NormalModalidad de exploración:

1 - GESTION DE ESPIRASLista de POU:

2 - CALCULO DE POST-SECUENCIA

3 - CICLO INTEGRACION

Tarea periódica

255 msPeriodo:

12/29

06/19/2019 - 11:07

Nombre del proyecto: ESTACION TOMADE DATOS VIALES

Páez Cobos Javier Gilberto , Espitia Cuadros Milton Alexander

POU

Tarea maestra

Tarea maestra

1 - GESTION DE ESPIRAS

Rung0 - TICS

Contador general de las espirasComentario:

Leyenda:

%MF142 := %MF142 + 0.011

Variables utilizadas:

Tic 1F_TIC1%MF142

Rung1 - INICIO SECUENCIA

Activacion espirasComentario:

Variables utilizadas:

ESPIRA_01ESPIRA_01_CARRIL%I0.0

ESPIRA_02ESPIRA_02_CARRIL%I0.1

Progreso 1B_PROG1%M0

Tic 1F_TIC1%MF142

13/29

06/19/2019 - 11:07

Nombre del proyecto: ESTACION TOMADE DATOS VIALES

Páez Cobos Javier Gilberto , Espitia Cuadros Milton Alexander

Rung2 - CAPTURA DE FLANCOS

Variables utilizadas:

ESPIRA_01ESPIRA_01_CARRIL%I0.0

ESPIRA_02ESPIRA_02_CARRIL%I0.1

Progreso 1B_PROG1%M0

Tiempo Espira 1 RisingF_ESP1R%MF102

Tiempo Espira 1 FallingF_ESP1F%MF104

Tiempo Espira 2 RisingF_ESP2R%MF106

Tiempo Espira 2 FallingF_ESP2F%MF108

Tic 1F_TIC1%MF142

Rung3 - FIN DE SECUENCIA

Final de capturaComentario:

Variables utilizadas:

ESPIRA_01ESPIRA_01_CARRIL%I0.0

ESPIRA_02ESPIRA_02_CARRIL%I0.1

Progreso 1B_PROG1%M0

14/29

06/19/2019 - 11:07

Nombre del proyecto: ESTACION TOMADE DATOS VIALES

Páez Cobos Javier Gilberto , Espitia Cuadros Milton Alexander

Tarea maestra

2 - CALCULO DE POST-SECUENCIA

Rung0 - CALCULO VELOCIDAD Y LONGITUD

Leyenda:

%MF114 := %MF106 - %MF1021

%MF110 := 14.4 / %MF1142

%MF112 := %MF104 - %MF1023

%MF112 := %MF112 * %MF1104

%MF112 := %MF112 / 3.65

%MF110 := %MF110 * 2.16

Variables utilizadas:

Progreso 1B_PROG1%M0

Tiempo Espira 1 RisingF_ESP1R%MF102

Tiempo Espira 1 FallingF_ESP1F%MF104

Tiempo Espira 2 RisingF_ESP2R%MF106

Velocidad 1F_VEL1%MF110

Longitud 1F_LONG1%MF112

Tiempo entre espirasF_E2E1%MF114

15/29

06/19/2019 - 11:07

Nombre del proyecto: ESTACION TOMADE DATOS VIALES

Páez Cobos Javier Gilberto , Espitia Cuadros Milton Alexander

Rung1 - ACTUALIZAR ACUMULADORES

Leyenda:

%MF116 := %MF116 + %MF1101

%MF118 := %MF118 - %MF1142

%MF118 := %MF118 + %MF1143

Variables utilizadas:

Progreso 1B_PROG1%M0

Velocidad 1F_VEL1%MF110

Tiempo entre espirasF_E2E1%MF114

Acumulador Velocidad 1F_V1_A%MF116

Acumulador Ocupación 1F_01_A%MF118

Sentido 1 Actual []W_S1_A%MW154

16/29

06/19/2019 - 11:07

Nombre del proyecto: ESTACION TOMADE DATOS VIALES

Páez Cobos Javier Gilberto , Espitia Cuadros Milton Alexander

Rung2 - CLASIFICAR/ACUMULAR VEHICULOS

Leyenda:

%MW150 := %MW150 + 11

%MF112 := ABS(%MF112)2

%MW151 := %MW151 + 13

%MW152 := %MW152 + 14

Variables utilizadas:

Progreso 1B_PROG1%M0

Longitud 1F_LONG1%MF112

Total 1 Actual [veh]W_T1_A%MW150

Livianos 1 Actual [veh]W_L1_A%MW151

Pesados 1 Actual [veh]W_P1_A%MW152

17/29

06/19/2019 - 11:07

Nombre del proyecto: ESTACION TOMADE DATOS VIALES

Páez Cobos Javier Gilberto , Espitia Cuadros Milton Alexander

Rung3 - RECALCULAR MEDIDAS

Leyenda:

%MW156 := REAL_TO_INT(%MF116)1

%MW153 := %MW156 / %MW1502

%MF120 := %MF118 * 1.666673

%MW155 := REAL_TO_INT(%MF120)4

Variables utilizadas:

Progreso 1B_PROG1%M0

Acumulador Velocidad 1F_V1_A%MF116

Acumulador Ocupación 1F_01_A%MF118

TemporalF_TMP%MF120

Total 1 Actual [veh]W_T1_A%MW150

Velocidad Media 1 Actual [km/h]W_V1_A%MW153

Ocupación 1 Actual [%]W_O1_A%MW155

TemporalW_TMP%MW156

18/29

06/19/2019 - 11:07

Nombre del proyecto: ESTACION TOMADE DATOS VIALES

Páez Cobos Javier Gilberto , Espitia Cuadros Milton Alexander

Tarea maestra

3 - CICLO INTEGRACION

Rung0 - CONFIGURAR TIEMPO INTEGRACION

Variables utilizadas:

Tiempo de integracionT_INT.P%TM0.P

Rung1 - TEMPORIZADO

Variables utilizadas:

IntegraciónB_INTEG%M1

Tiempo de integracionT_INT%TM0

19/29

06/19/2019 - 11:07

Nombre del proyecto: ESTACION TOMADE DATOS VIALES

Páez Cobos Javier Gilberto , Espitia Cuadros Milton Alexander

Rung2 - ACTUALIZAR DATOS DE TRAFICO

Variables utilizadas:

IntegraciónB_INTEG%M1

Total 1 Actual [veh]W_T1_A%MW150

Livianos 1 Actual [veh]W_L1_A%MW151

Pesados 1 Actual [veh]W_P1_A%MW152

Velocidad Media 1 Actual [km/h]W_V1_A%MW153

Sentido 1 Actual []W_S1_A%MW154

Ocupación 1 Actual [%]W_O1_A%MW155

Total 1 Integración [veh]W_T1_I%MW200

Livianos 1 Integración [veh]W_L1_I%MW201

Pesados 1 Integración [veh]W_P1_I%MW202

Velocidad Media 1 Integración [km/h]W_V1_I%MW203

Sentido 1 Integración []W_S1_I%MW204

Ocupación 1 Integración [%]W_O1_I%MW205

20/29

06/19/2019 - 11:07

Nombre del proyecto: ESTACION TOMADE DATOS VIALES

Páez Cobos Javier Gilberto , Espitia Cuadros Milton Alexander

Rung3 - RESET CONTACTORES

Variables utilizadas:

IntegraciónB_INTEG%M1

Acumulador Velocidad 1F_V1_A%MF116

Acumulador Ocupación 1F_01_A%MF118

Total 1 Actual [veh]W_T1_A%MW150

Livianos 1 Actual [veh]W_L1_A%MW151

Pesados 1 Actual [veh]W_P1_A%MW152

Velocidad Media 1 Actual [km/h]W_V1_A%MW153

Ocupación 1 Actual [%]W_O1_A%MW155

21/29

06/19/2019 - 11:07

Nombre del proyecto: ESTACION TOMADE DATOS VIALES

Páez Cobos Javier Gilberto , Espitia Cuadros Milton Alexander

SÍMBOLOS

ComentarioSímboloDirecciónUtilizado

ESPIRA_01ESPIRA_01_CARRIL%I0.0X

ESPIRA_02ESPIRA_02_CARRIL%I0.1X

Progreso 1B_PROG1%M0X

IntegraciónB_INTEG%M1X

Tiempo Espira 1 RisingF_ESP1R%MF102X

Tiempo Espira 1 FallingF_ESP1F%MF104X

Tiempo Espira 2 RisingF_ESP2R%MF106X

Tiempo Espira 2 FallingF_ESP2F%MF108X

Velocidad 1F_VEL1%MF110X

Longitud 1F_LONG1%MF112X

Tiempo entre espirasF_E2E1%MF114X

Acumulador Velocidad 1F_V1_A%MF116X

Acumulador Ocupación 1F_01_A%MF118X

TemporalF_TMP%MF120X

Tic 1F_TIC1%MF142X

Total 1 Actual [veh]W_T1_A%MW150X

Livianos 1 Actual [veh]W_L1_A%MW151X

Pesados 1 Actual [veh]W_P1_A%MW152X

Velocidad Media 1 Actual [km/h]W_V1_A%MW153X

Sentido 1 Actual []W_S1_A%MW154X

Ocupación 1 Actual [%]W_O1_A%MW155X

TemporalW_TMP%MW156X

Total 1 Integración [veh]W_T1_I%MW200X

Livianos 1 Integración [veh]W_L1_I%MW201X

Pesados 1 Integración [veh]W_P1_I%MW202X

Velocidad Media 1 Integración [km/h]W_V1_I%MW203X

Sentido 1 Integración []W_S1_I%MW204X

Ocupación 1 Integración [%]W_O1_I%MW205X

Tiempo de integracionT_INT%TM0X

22/29

06/19/2019 - 11:07

Nombre del proyecto: ESTACION TOMADE DATOS VIALES

Páez Cobos Javier Gilberto , Espitia Cuadros Milton Alexander

TABLA DE REFERENCIAS CRUZADAS

CódigoRungObjetoDirección

--| |--Rung1 - INICIOSECUENCIA

1 - GESTION DE ESPIRAS%I0.0......

--|P|--Rung2 - CAPTURA DEFLANCOS

--|N|--

--|/|--Rung3 - FIN DESECUENCIA

--| |--Rung1 - INICIOSECUENCIA

1 - GESTION DE ESPIRAS%I0.1......

--|P|--Rung2 - CAPTURA DEFLANCOS

--|N|--

--|/|--Rung3 - FIN DESECUENCIA

--|/|--Rung1 - INICIOSECUENCIA

1 - GESTION DE ESPIRAS%M0........

--(S)--

--| |--Rung2 - CAPTURA DEFLANCOS

--(R)--Rung3 - FIN DESECUENCIA

--|N|--Rung0 - CALCULOVELOCIDAD Y LONGITUD

2 - CALCULO DE POST-SECUENCIA

--|N|--Rung1 - ACTUALIZARACUMULADORES

--|N|--Rung2 -CLASIFICAR/ACUMULARVEHICULOS

--|N|--Rung3 - RECALCULARMEDIDAS

--|/|--Rung1 - TEMPORIZADO3 - CICLO INTEGRACION%M1........

--( )--

--| |--Rung2 - ACTUALIZARDATOS DE TRAFICO

--| |--Rung3 - RESETCONTACTORES

--[...]-- %MF102 := %MF142Rung2 - CAPTURA DEFLANCOS

1 - GESTION DE ESPIRAS%MF102.....

--[...]-- %MF114 := %MF106 - %MF102

Rung0 - CALCULOVELOCIDAD Y LONGITUD

2 - CALCULO DE POST-SECUENCIA

--[...]-- %MF112 := %MF104 - %MF102

--[...]-- %MF104 := %MF142Rung2 - CAPTURA DEFLANCOS

1 - GESTION DE ESPIRAS%MF104.....

--[...]-- %MF112 := %MF104 - %MF102

Rung0 - CALCULOVELOCIDAD Y LONGITUD

2 - CALCULO DE POST-SECUENCIA

--[...]-- %MF106 := %MF142Rung2 - CAPTURA DEFLANCOS

1 - GESTION DE ESPIRAS%MF106.....

23/29

06/19/2019 - 11:07

Nombre del proyecto: ESTACION TOMADE DATOS VIALES

Páez Cobos Javier Gilberto , Espitia Cuadros Milton Alexander

CódigoRungObjetoDirección

--[...]-- %MF114 := %MF106 - %MF102

Rung0 - CALCULOVELOCIDAD Y LONGITUD

2 - CALCULO DE POST-SECUENCIA

--[...]-- %MF108 := %MF142Rung2 - CAPTURA DEFLANCOS

1 - GESTION DE ESPIRAS%MF108.....

--[...]-- %MF110 := 14.4 / %MF114

Rung0 - CALCULOVELOCIDAD Y LONGITUD

2 - CALCULO DE POST-SECUENCIA

%MF110.....

--[...]-- %MF112 := %MF112 * %MF110

--[...]-- %MF110 := 60.0

--[...]-- %MF110 := %MF110 *2.1

--[...]-- %MF116 := %MF116 + %MF110

Rung1 - ACTUALIZARACUMULADORES

--[...]-- %MF112 := %MF104 - %MF102

Rung0 - CALCULOVELOCIDAD Y LONGITUD

2 - CALCULO DE POST-SECUENCIA

%MF112.....

--[...]-- %MF112 := %MF112 * %MF110

--[...]-- %MF112 := %MF112 /3.6

--[...]-- %MF112 := 4.0

--[<]-- %MF112 < 6.0Rung2 -CLASIFICAR/ACUMULARVEHICULOS

--[<]-- %MF112 >= 6.0

--[...]-- %MF112 := ABS(%MF112)

--[<]-- %MF114 <> 0.0Rung0 - CALCULOVELOCIDAD Y LONGITUD

2 - CALCULO DE POST-SECUENCIA

%MF114.....

--[<]-- %MF114 = 0.0

--[...]-- %MF114 := %MF106 - %MF102

--[...]-- %MF110 := 14.4 / %MF114

--[<]-- %MF114 < 0.0Rung1 - ACTUALIZARACUMULADORES

--[<]-- %MF114 > 0.0

--[...]-- %MF118 := %MF118 - %MF114

--[...]-- %MF118 := %MF118 + %MF114

--[...]-- %MF116 := %MF116 + %MF110

Rung1 - ACTUALIZARACUMULADORES

2 - CALCULO DE POST-SECUENCIA

%MF116.....

--[...]-- %MW156 := REAL_TO_INT(%MF116)

Rung3 - RECALCULARMEDIDAS

--[...]-- %MF116 := 0.0Rung3 - RESETCONTACTORES

3 - CICLO INTEGRACION

--[...]-- %MF118 := %MF118 - %MF114

Rung1 - ACTUALIZARACUMULADORES

2 - CALCULO DE POST-SECUENCIA

%MF118.....

--[...]-- %MF118 := %MF118 + %MF114

--[...]-- %MF120 := %MF118 *1.66667

Rung3 - RECALCULARMEDIDAS

24/29

06/19/2019 - 11:07

Nombre del proyecto: ESTACION TOMADE DATOS VIALES

Páez Cobos Javier Gilberto , Espitia Cuadros Milton Alexander

CódigoRungObjetoDirección

--[...]-- %MF118 := 0.0Rung3 - RESETCONTACTORES

3 - CICLO INTEGRACION

--[...]-- %MF120 := %MF118 *1.66667

Rung3 - RECALCULARMEDIDAS

2 - CALCULO DE POST-SECUENCIA

%MF120.....

--[...]-- %MW155 := REAL_TO_INT(%MF120)

--[...]-- %MF142 := %MF142 +0.01

Rung0 - TICS1 - GESTION DE ESPIRAS%MF142.....

--[...]-- %MF142 := 0.0Rung1 - INICIOSECUENCIA

--[...]-- %MF102 := %MF142Rung2 - CAPTURA DEFLANCOS

--[...]-- %MF104 := %MF142

--[...]-- %MF106 := %MF142

--[...]-- %MF108 := %MF142

--[...]-- %MW150 := %MW150 + 1Rung2 -CLASIFICAR/ACUMULARVEHICULOS

2 - CALCULO DE POST-SECUENCIA

%MW150.....

--[...]-- %MW153 := %MW156 / %MW150

Rung3 - RECALCULARMEDIDAS

--[...]-- %MW200 := %MW150Rung2 - ACTUALIZARDATOS DE TRAFICO

3 - CICLO INTEGRACION

--[...]-- %MW150 := 0Rung3 - RESETCONTACTORES

--[...]-- %MW151 := %MW151 + 1Rung2 -CLASIFICAR/ACUMULARVEHICULOS

2 - CALCULO DE POST-SECUENCIA

%MW151.....

--[...]-- %MW201 := %MW151Rung2 - ACTUALIZARDATOS DE TRAFICO

3 - CICLO INTEGRACION

--[...]-- %MW151 := 0Rung3 - RESETCONTACTORES

--[...]-- %MW152 := %MW152 + 1Rung2 -CLASIFICAR/ACUMULARVEHICULOS

2 - CALCULO DE POST-SECUENCIA

%MW152.....

--[...]-- %MW202 := %MW152Rung2 - ACTUALIZARDATOS DE TRAFICO

3 - CICLO INTEGRACION

--[...]-- %MW152 := 0Rung3 - RESETCONTACTORES

--[...]-- %MW153 := %MW156 / %MW150

Rung3 - RECALCULARMEDIDAS

2 - CALCULO DE POST-SECUENCIA

%MW153.....

--[...]-- %MW203 := %MW153Rung2 - ACTUALIZARDATOS DE TRAFICO

3 - CICLO INTEGRACION

--[...]-- %MW153 := 0Rung3 - RESETCONTACTORES

--[...]-- %MW154 := 2Rung1 - ACTUALIZARACUMULADORES

2 - CALCULO DE POST-SECUENCIA

%MW154.....

--[...]-- %MW154 := 1

--[...]-- %MW204 := %MW154Rung2 - ACTUALIZARDATOS DE TRAFICO

3 - CICLO INTEGRACION

--[...]-- %MW155 := REAL_TO_INT(%MF120)

Rung3 - RECALCULARMEDIDAS

2 - CALCULO DE POST-SECUENCIA

%MW155.....

--[...]-- %MW205 := %MW155Rung2 - ACTUALIZARDATOS DE TRAFICO

3 - CICLO INTEGRACION

25/29

06/19/2019 - 11:07

Nombre del proyecto: ESTACION TOMADE DATOS VIALES

Páez Cobos Javier Gilberto , Espitia Cuadros Milton Alexander

CódigoRungObjetoDirección

--[...]-- %MW155 := 0Rung3 - RESETCONTACTORES

--[...]-- %MW156 := REAL_TO_INT(%MF116)

Rung3 - RECALCULARMEDIDAS

2 - CALCULO DE POST-SECUENCIA

%MW156.....

--[...]-- %MW153 := %MW156 / %MW150

--[...]-- %MW200 := %MW150Rung2 - ACTUALIZARDATOS DE TRAFICO

3 - CICLO INTEGRACION%MW200.....

--[...]-- %MW201 := %MW151Rung2 - ACTUALIZARDATOS DE TRAFICO

3 - CICLO INTEGRACION%MW201.....

--[...]-- %MW202 := %MW152Rung2 - ACTUALIZARDATOS DE TRAFICO

3 - CICLO INTEGRACION%MW202.....

--[...]-- %MW203 := %MW153Rung2 - ACTUALIZARDATOS DE TRAFICO

3 - CICLO INTEGRACION%MW203.....

--[...]-- %MW204 := %MW154Rung2 - ACTUALIZARDATOS DE TRAFICO

3 - CICLO INTEGRACION%MW204.....

--[...]-- %MW205 := %MW155Rung2 - ACTUALIZARDATOS DE TRAFICO

3 - CICLO INTEGRACION%MW205.....

%TM0Rung1 - TEMPORIZADO3 - CICLO INTEGRACION%TM0.......

--[...]-- %TM0.P := 60Rung0 - CONFIGURARTIEMPO INTEGRACION

3 - CICLO INTEGRACION%TM0.P.....

26/29

06/19/2019 - 11:07

Nombre del proyecto: ESTACION TOMADE DATOS VIALES

Páez Cobos Javier Gilberto , Espitia Cuadros Milton Alexander

TABLA DE ANIMACIÓN

CPU_IN

ComentarioSímboloDirecciónSeguimient

oUtilizado

ESPIRA_01ESPIRA_01_CARR

IL%I0.0X

ESPIRA_02ESPIRA_02_CARR

IL%I0.1X

%I0.2

%I0.3

%I0.4

%I0.5

%I0.6

%I0.7

%I0.8

%I0.9

%I0.10

%I0.11

%I0.12

%I0.13

%I0.14

%I0.15

%I0.16

%I0.17

%I0.18

%I0.19

%I0.20

%I0.21

%I0.22

%I0.23

27/29

06/19/2019 - 11:07

Nombre del proyecto: ESTACION TOMADE DATOS VIALES

Páez Cobos Javier Gilberto , Espitia Cuadros Milton Alexander

CPU_OUT

ComentarioSímboloDirecciónSeguimient

oUtilizado

%Q0.0

%Q0.1

%Q0.2

%Q0.3

%Q0.4

%Q0.5

%Q0.6

%Q0.7

%Q0.8

%Q0.9

%Q0.10

%Q0.11

%Q0.12

%Q0.13

%Q0.14

%Q0.15

28/29

06/19/2019 - 11:07

Nombre del proyecto: ESTACION TOMADE DATOS VIALES

Páez Cobos Javier Gilberto , Espitia Cuadros Milton Alexander

DTS

ComentarioSímboloDirecciónSeguimient

oUtilizado

Total 1 Actual [veh]W_T1_A%MW150X

Livianos 1 Actual [veh]W_L1_A%MW151X

Pesados 1 Actual [veh]W_P1_A%MW152X

Velocidad Media 1 Actual [km/h]W_V1_A%MW153X

Sentido 1 Actual []W_S1_A%MW154X

Ocupación 1 Actual [%]W_O1_A%MW155X

%MW157

%MW158

%MW159

%MW160

%MW161

%MW162

Tiempo de integracionT_INT.V%TM0.VX

Total 1 Integración [veh]W_T1_I%MW200X

Livianos 1 Integración [veh]W_L1_I%MW201X

Pesados 1 Integración [veh]W_P1_I%MW202X

Velocidad Media 1 Integración [km/h]W_V1_I%MW203X

Sentido 1 Integración []W_S1_I%MW204X

Ocupación 1 Integración [%]W_O1_I%MW205X

%MW206

%MW207

%MW208

%MW209

%MW210

%MW211

%MW212

%MW213

29/29

06/19/2019 - 11:07

Nombre del proyecto: ESTACION TOMADE DATOS VIALES

Páez Cobos Javier Gilberto , Espitia Cuadros Milton Alexander