0% found this document useful (0 votes)
13 views

MOTOR

The document describes a motor control program that uses four networks to control two axes. Network 1 and 2 control axis 1 and 2 respectively using function blocks. Network 3 and 4 home axis 1 and 2.

Uploaded by

Thọ Vũ
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)
13 views

MOTOR

The document describes a motor control program that uses four networks to control two axes. Network 1 and 2 control axis 1 and 2 respectively using function blocks. Network 3 and 4 home axis 1 and 2.

Uploaded by

Thọ Vũ
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

thuật toán mới điều khiển máy phun sơn - fInal_V16 / PLC_1 [CPU 1214C DC/DC/DC] / Program blocks
MOTOR CONTROL [FC4]
MOTOR CONTROL Properties
General
Name MOTOR CONTROL Number 4 Type FC Language LAD
Numbering Automatic
Information
Title Author Comment Family
Version 0.1 User-defined ID

MOTOR CONTROL
Name Data type Default value Comment
Input
Output
InOut
Temp
Constant
Return
MOTOR CONTROL Void

Network 1:

%DB10
"AXIS STEP 1_DB"
%FB1
"AXIS STEP 1"
EN ENO
%DB1 "AXIS STEP 1_
"Truc dai" Axis temp DB".Error_
Error_power power
"Data_block_
1"."Enable 1
cục bộ" "Data_block_
Enable 1"."Relative
Done 1 cục
"Data_block_
bộ"
1"."EXECUTE 1 Done_move
CỤC BỘ" Execute
"AXIS STEP 1_
"Data_block_ DB".Status_
1"."DISTANCE 1 Status_power power
CỤC BỘ" Distance "AXIS STEP 1_
"Data_block_ DB".Error_
1"."VẬN TỐC Error_move move
1" Velocity

Network 2:

%DB11
"AXIS STEP 2_DB"
%FB2
"AXIS STEP 2"
EN ENO
%DB2 "AXIS STEP 2_
"Truc ngan" Axis temp DB".Error_
Error_power power
"Data_block_
1"."Enable 2
cục bộ" "Data_block_
Enable 1"."Relative
Done 2 cục
"Data_block_
bộ"
1"."EXECUTE 2 Done_move
CỤC BỘ" Execute
"AXIS STEP 2_
"Data_block_ DB".Status_
1"."DISTANCE 2 Status_power power
CỤC BỘ" Distance
"AXIS STEP 2_
"Data_block_ DB".Error_
1"."VẬN TỐC Error_move move
2" Velocity

Network 3:

%DB12
"MC_Home_DB"
MC_Home

EN ENO
%DB1 "Data_block_
"Truc dai" Axis 1"."homing
Done done 1"
"Data_block_
1".S26 Busy false
Execute CommandAbort
ed false
0.0 Position
Error false
"Data_block_ "Data_block_ 3 Mode
ErrorID 16#0
1".auto_mode 1".reset
ErrorInfo 16#0
ReferenceMarkP
osition 0.0
Totally Integrated
Automation Portal

Network 4:

%DB13
"MC_Home_DB_1"
MC_Home

EN ENO
%DB2 "Data_block_
"Truc ngan" Axis 1"."homing
Done done 2"
"Data_block_
1".S26 Busy false
Execute CommandAbort
ed false
0.0 Position
Error false
"Data_block_ "Data_block_ 3 Mode
ErrorID 16#0
1".auto_mode 1".reset
ErrorInfo 16#0
ReferenceMarkP
osition 0.0

You might also like