Siemens SINAMICS G110D Operating Instructions Manual page 159

Hide thumbs Also See for SINAMICS G110D:
Table of Contents

Advertisement

Block: OB1
Calling the blocks for the Conveyor example
You can choose between:
- "Select_FC" which calls only the functions
- "Select_FB" which calls the function block individually
- "Select_L" which calls the function block "Conveyor_belt" with all
belt controllers as local instances
Network: 1
Network: 2
Network: 3
M
1
:
Network: 4
Network: 5
M2:
Network: 6
End:
Figure 6-46
SINAMICS G110D
Operating Instructions, 2009-05-15, A5E02385577A AB
Main program
Calling the function "Belt_control"
A
"Select_FC"
I3.5
AN
"Select_FB"
I3.6
AN
"Select_L"
I3.7
JCN
M1
CALL
"Belt_control"
FC11
Calling the function "Counter_control"
CALL
"Counter_control"
FC12
Calling the function "Conveyor_belt"
A
N
"
S
e
l
e
c
t
_
F
C
"
A
"
S
e
l
e
c
t
_
F
B
"
A
N
"
S
e
l
e
c
t
_
L
"
JCN
M2
CALL
"Conveyor_belt" , "Belt_data1"
S
t
a
r
t
:
=
"
S
t
a
r
t
"
Continue
:="Continue"
Basic_st
:="Basic_st"
Man_on
:="Man_on"
S
t
o
p
:
=
"
/
S
t
o
p
"
End_of_belt:="Light_barrier1"
Mfault
:="/Mfault1"
Readyload
:="Readyload"
Ready_rem
:="Ready_rem"
Belt_mot_on:="Belt_mot1_on"
CALL
"Conveyor_belt" , "Belt_data2"
S
t
a
r
t
:
=
"
S
t
a
r
t
"
Continue
:="Continue"
Basic_st
:="Basic_st"
Man_on
:="Man_on"
S
t
o
p
:
=
"
/
S
t
o
p
"
End_of_belt:="Light_barrier2"
Mfault
:="/Mfault2"
Readyload
:="Readyload"
Ready_rem
:="Ready_rem"
Belt_mot_on:="Belt_mot2_on"
Calling the function block "Parts_counter"
CALL
"Parts_counter" , "CountDat"
Set
:="Set"
Acknowledge
:="Acknowledge"
Light_barrier:="Light_barrier1"
Count
:="Count"
Quantity
:="Quantity"
Tim
:="Monitor"
Dura1
:="Dura1"
Dura2
:="Dura2"
Finished
:="Finished"
Fault
:="Fault"
Calling the function block "Feed"
AN
"Select_FB"
I3.6
AN
"Select_FC"
I3.5
A
"Select_L"
I3.7
JCN
End
CALL
"Feed" , "FeedDat"
FB20 / DB20
Start
:="Start"
I0.3
Removed
:="Continue"
I0.4
Man_start:="Man_on"
I0.1
Stop
:="/Stop"
I0.2
Reset
:="Basic_st"
I0.0
Count
:="Count"
C1
Quantity :=
Tim
:="Monitor"
T1
Dura1
:=
Dura2
:=
Load
:="Readyload"
Q4.0
Remove
:="Ready_rem"
Q4.1
Block end
BE
Example conveyor application script - main program
-- Selection for FC 11 and FC 12 call
-- Selection for FB 21 and FB 22 call
-- Selection for FB 20 call with local instances
-- Control of the conveyor belt
-- Counter and monitor control for parts
I
3
.
5
-
-
S
e
l
e
c
t
i
o
I
3
.
6
-
-
S
e
l
e
c
t
i
o
I
3
.
7
-
-
S
e
l
e
c
t
i
o
FB21 / DB21
-- Conveyor belt controller / Data for conveyor belt 1
I
0
.
3
-
-
S
t
a
r
t
c
o
I0.4
-- Acknowledgement that parts have been removed
I0.0
-- Set controller to the basic state
I0.1
-- Switch on conveyor belt motors
I
0
.
2
-
-
S
t
o
p
c
o
n
I1.0
-- "End of belt" sensor signal conveyor belt 1
I2.0
-- Motor protection switch conveyor belt 1 (zero active)
Q4.0
-- Load new parts onto belt
Q4.1
-- Remove parts from belt
Q5.0
-- Switch on belt motor for conveyor belt 1
FB21 / DB22
-- Conveyor belt controller / Data for conveyor belt 2
I
0
.
3
-
-
S
t
a
r
t
c
o
I0.4
-- Acknowledgement that parts have been removed
I0.0
-- Set controller to the basic state
I0.1
-- Switch on conveyor belt motors
I
0
.
2
-
-
S
t
o
p
c
o
n
I1.1
-- "End of belt" sensor signal conveyor belt 2
I2.1
-- Motor protection switch conveyor belt 2 (zero active)
Q4.0
-- Load new parts onto belt
Q4.1
-- Remove parts from belt
Q5.1
-- Switch on belt motor for conveyor belt 2
FB22 / DB29
-- Counter control and monitor / Data for parts counter
I0.7
-- Set counter, activate monitor
I0.6
-- Acknowledge fault
I1.0
-- "End of belt" sensor signal conveyor belt 1
C1
-- Counter for parts
MW4
-- Number of parts
T1
-- Timer function for monitor
MW6
-- Monitoring time for light barrier covered
MW8
-- Monitoring time for light barrier not covered
Q4.2
-- Number of parts reached
Q4.3
-- Monitor tripped
-- Selection for FB 21 and FB 22 call
-- Selection for FC 11 and FC 12 call
-- Selection for FB 20 call with local instances
-- Feed with several belts / Data for feeding parts
-- Start conveyor belt
-- Acknowledgement that parts have been removed
-- Switch on conveyor belt motors
-- Stop conveyor belt motors (zero active)
-- Set controller to the basic state
-- Counter for parts
-- Timer function for monitor
-- Load new parts onto belt
-- Remove parts from belt
6.11 Operation in fieldbus systems
n
f
o
r
F
C
1
1
a
n
d
F
C
1
2
c
a
l
l
n
f
o
r
F
B
2
1
a
n
d
F
B
2
2
c
a
l
l
n
f
o
r
F
B
2
0
c
a
l
l
w
i
t
h
l
o
c
a
l
i
n
s
t
n
v
e
y
o
r
b
e
l
t
v
e
y
o
r
b
e
l
t
m
o
t
o
r
s
(
z
e
r
o
a
c
t
i
v
e
)
n
v
e
y
o
r
b
e
l
t
v
e
y
o
r
b
e
l
t
m
o
t
o
r
s
(
z
e
r
o
a
c
t
i
v
e
)
Functions
a
n
c
e
s
159

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents