0% found this document useful (0 votes)
51 views2 pages

Traffic - Lamp / PLC - 1 (CPU 1212C AC/DC/Rly) / Program Blocks: Counter - Down (Fb1)

This document summarizes a program block called COUNTER_DOWN that is used to control a traffic light PLC. It includes the name, type, inputs, outputs, and static variables of the block. It also shows 6 networks of logic that use functions like MOVE, TON, SUB to control the light and countdown timer based on inputs for time and enable conditions.

Uploaded by

phong dau
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
51 views2 pages

Traffic - Lamp / PLC - 1 (CPU 1212C AC/DC/Rly) / Program Blocks: Counter - Down (Fb1)

This document summarizes a program block called COUNTER_DOWN that is used to control a traffic light PLC. It includes the name, type, inputs, outputs, and static variables of the block. It also shows 6 networks of logic that use functions like MOVE, TON, SUB to control the light and countdown timer based on inputs for time and enable conditions.

Uploaded by

phong dau
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Totally Integrated

Automation Portal

Traffic_lamp / PLC_1 [CPU 1212C AC/DC/Rly] / Program blocks


COUNTER_DOWN [FB1]
COUNTER_DOWN Properties
General
Name COUNTER_DOWN Number 1 Type FB Language LAD
Numbering Automatic
Information
Title Author Comment Family
Version 0.1 User-defined ID

COUNTER_DOWN
Name Data type Default value Retain Accessible Writ‐ Visible in Setpoint Comment
from able HMI engi‐
HMI/OPC UA from neering
HMI/
OPC
UA
Input
TIME_IN Int 0 Non-retain True True True False
ENABLE Bool false Non-retain True True True False
Output
TIME Int 0 Non-retain True True True False
TM_ON Bool false Non-retain True True True False
InOut
Static
Pulse_1s Bool false Non-retain True True True False
Temp_Time Int 0 Non-retain True True True False
Ton_1 TON_TIME Non-retain True True True False
PT Time T#0ms Non-retain True True True False
ET Time T#0ms Non-retain True False True False
IN Bool false Non-retain True True True False
Q Bool false Non-retain True False True False
P1 Bool false Non-retain True True True False
P2 Bool false Non-retain True True True False
Temp
Constant

Network 1:

#ENABLE #P1
P
#P2

Network 2:

#P1 MOVE
EN ENO
#TIME_IN IN OUT1 #Temp_Time

Network 3:

#Ton_1
TON
#P1 #Pulse_1s Time #Pulse_1s
IN Q
t#1s PT ET ...

Network 4:

SUB
#Temp_Time Auto (Int)
#Pulse_1s
>
Int EN ENO
#Temp_Time IN1 OUT #Temp_Time
0
1 IN2

Network 5:
Totally Integrated
Automation Portal

MOVE
EN ENO
#Temp_Time IN OUT1 #TIME

Network 6:

#Temp_Time
#TM_ON
>
Int
0

You might also like