CANH - TAY - ROBOT / PLC - 1 (CPU 314C-2 DP) / Program Blocks: Main (OB1)

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Totally Integrated

Automation Portal

CANH_TAY_ROBOT / PLC_1 [CPU 314C-2 DP] / Program blocks


Main [OB1]
Main Properties
General
Name Main Number 1 Type OB Language LAD
Numbering Manual
Information
Title "Main Program Sweep (Cy‐ Author Comment Family
cle)"
Version 0.1 User-defined ID

Main
Name Data type Offset Default value Comment
Temp
OB1_EV_CLASS Byte 0.0 Bits 0-3 = 1 (Coming event), Bits 4-7 = 1 (Event class 1)
OB1_SCAN_1 Byte 1.0 1 (Cold restart scan 1 of OB 1), 3 (Scan 2-n of OB 1)
OB1_PRIORITY Byte 2.0 Priority of OB Execution
OB1_OB_NUMBR Byte 3.0 1 (Organization block 1, OB1)
OB1_RESERVED_1 Byte 4.0 Reserved for system
OB1_RESERVED_2 Byte 5.0 Reserved for system
OB1_PREV_CYCLE Int 6.0 Cycle time of previous OB1 scan (milliseconds)
OB1_MIN_CYCLE Int 8.0 Minimum cycle time of OB1 (milliseconds)
OB1_MAX_CYCLE Int 10.0 Maximum cycle time of OB1 (milliseconds)
OB1_DATE_TIME Date_And_Time 12.0 Date and time OB1 started
Constant

Network 1: Khởi động

%I0.0 %I0.1 %Q0.4


"Start" "Stop" "TG"

%Q0.4
"TG"

Network 2: DC thuận

%I0.4 %Q0.4 %I0.3 %Q0.1 %Q0.0


"LS2" "TG" "LS1" "DC_Nguoc" "DC_Thuan"

%Q0.0
"DC_Thuan"

Network 3: Băng chuyền A

%Q0.4 %I0.3 %I0.2 %Q0.2


"TG" "LS1" "PH1" "Bang_Chuyen_A"

Network 4: DC kẹp

%Q0.4 %I0.2 %I0.4 %Q0.3


"TG" "PH1" "LS2" "DC_Kep"

%Q0.3
"DC_Kep"

Network 5: DC ngược

%Q0.4 %I0.5 %I0.4 %Q0.0 %Q0.1


"TG" "LS3" "LS2" "DC_Thuan" "DC_Nguoc"

%I0.6
"Reset"
Totally Integrated
Automation Portal

Network 6: Băng chuyền B

%Q0.4 %Q0.5
"TG" "Băng_Chuyen_B"

You might also like