Iec 61131-3 Second edition 2003-01 Programmable controllers – Part 3: Programming languages
Figure F.2 - Gravel measurement and loading system
Download 1.35 Mb. Pdf ko'rish
|
ourdev 569653
- Bu sahifa navigatsiya:
- Figure F.3 - Declarations for program GRAVEL
Figure F.2 - Gravel measurement and loading system
IEC 2503/02 Copyright International Electrotechnical Commission Provided by IHS under license with IEC Not for Resale No reproduction or networking permitted without license from IHS --``````-`-`,,`,,`,`,,`--- 61131-3 IEC:2003(E) – 197 – PROGRAM GRAVEL (* Gravel measurement and loading system *) VAR_INPUT OFF_PB : BOOL ; ON_PB : BOOL ; FILL_PB : BOOL ; SIREN_ACK : BOOL ; LOAD_PB : BOOL ; (* Load truck from bin *) JOG_PB : BOOL ; LAMP_TEST : BOOL ; TRUCK_ON_RAMP : BOOL ; (* Optical sensor *) SILO_EMPTY_LS : BOOL ; BIN_EMPTY_LS : BOOL ; SETPOINT : BYTE ; (* 2-digit BCD *) END_VAR VAR_OUTPUT CONTROL_LAMP : BOOL ; TRUCK_LAMP : BOOL ; SILO_EMPTY_LAMP : BOOL ; CONVEYOR_LAMP : BOOL ; CONVEYOR_MOTOR : BOOL ; SILO_VALVE : BOOL ; BIN_VALVE : BOOL ; SIREN : BOOL ; BIN_LEVEL : BYTE ; END_VAR VAR BLINK_TIME : TIME; (* BLINK ON/OFF time *) PULSE_TIME : TIME; (* LEVEL_CTR increment interval *) RUNOUT_TIME: TIME; (* Conveyor running time after loading *) RUN_IN_TIME: TIME; (* Conveyor running time before loading *) SILENT_TIME: TIME; (* Siren silent time after SIREN_ACK *) OK_TO_RUN : BOOL; (* 1 = Conveyor is allowed to run *) (* Function Blocks *) BLINK: TON; (* Blinker OFF period timer / ON output *) BLANK: TON; (* Blinker ON period timer / blanking pulse *) PULSE: TON; (* LEVEL_CTR pulse interval timer *) SIREN_FF: RS; SILENCE_TMR: TP; (* Siren silent period timer *) END_VAR VAR RETAIN LEVEL_CTR : CTU ; END_VAR (* Program body *) END_PROGRAM Figure F.3 - Declarations for program GRAVEL IEC 2504/02 Copyright International Electrotechnical Commission Provided by IHS under license with IEC Not for Resale No reproduction or networking permitted without license from IHS --``````-`-`,,`,,`,`,,`--- – 198 – 61131-3 IEC:2003(E) +--------------------->-----------------+ | | | +====+====+ | || START || | +====+====+ | | | + FILL_PB & CONTROL.X | | | +-----+----+ +---+------------+ | | FILL_BIN |---| N | SILO_VALVE | | +-----+----+ +---+------------+ | | | +-----------------------------------* | | | | + NOT FILL_PB OR NOT CONTROL.X + LEVEL_CTR.Q +---+ | | +------------------>-------------+ | | +-----+-----+ | | | LOAD_WAIT | | | +-----+-----+ | | | | | + LOAD_PB & OK_TO_RUN | | | | | +----+---+ | | | RUN_IN | | | +----+---+ | | | | | +----------------------------* | | | | | | + NOT OK_TO_RUN + RUN_IN.T >= RUN_IN_TIME | | | | | +---+ +-----+----+ +---+-----------+ | | | DUMP_BIN |---| N | BIN_VALVE | | | +-----+----+ +---+-----------+ | | | | | +----------------------------* | | | | | | + NOT OK_TO_RUN + BIN_EMPTY_LS | | | | | +---+ +----+---+ | | | RUNOUT | | | +----+---+ | | | | | +----------------------------* | | | | | | + NOT OK_TO_RUN + RUNOUT.T >= RUNOUT_TIME | +---+ | +---------------------------------------+ Download 1.35 Mb. Do'stlaringiz bilan baham: |
Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling
ma'muriyatiga murojaat qiling