Example Application - Siemens SINAMICS G110D Operating Instructions Manual

Hide thumbs Also See for SINAMICS G110D:
Table of Contents

Advertisement

Functions
6.11 Operation in fieldbus systems
Block: FC12
Example of timer and counter functions
Network: 1
Network: 2
Network: 3
D1:
Network: 4
Figure 6-51
6.11.1.6

Example application

Commissioning the applications
The following information is provided to allow a simple conveyor application to be setup. The
logic and control mechanism is provided by a PLC.
The conveyor section consists of three sensors:
164
Parts counter with monitoring circuit
Counter control
A
"Light_barrier1"
//When light barrier is tripped
C
D
"
C
o
u
n
t
"
/
/
d
e
c
r
e
m
e
n
t
A
"Set"
L
"
Q
u
a
n
t
i
t
y
"
/
/
P
r
e
s
e
t
c
o
S
"Count"
O
"
A
c
k
n
o
w
l
e
d
g
e
"
R
"Count"
A
N
"
C
o
u
n
t
"
/
/
W
h
e
n
c
o
u
n
=
"
F
i
n
i
s
h
e
d
"
/
/
o
u
t
p
u
t
"
F
Activate monitor
A
"
L
i
g
h
t
_
b
a
r
r
i
e
r
1
"
F
P
"
E
M
_
L
B
_
P
"
/
/
G
e
n
e
r
a
t
e
=
#PM_LB_P
//on positive edge of light barrier
A
"
L
i
g
h
t
_
b
a
r
r
i
e
r
1
"
F
N
"
E
M
_
L
B
_
N
"
/
/
G
e
n
e
r
a
t
e
=
#PM_LB_N
//on negative edge of light barrier
A
"Set"
F
P
"
E
M
_
S
T
_
P
"
/
/
P
o
s
i
t
i
v
e
S
"
A
c
t
i
v
e
"
/
/
A
c
t
i
v
a
t
e
A
"Finished"
A
#PM_LB_N
O
"
A
c
k
n
o
w
l
e
d
g
e
"
R
"Active"
//Deactivate monitoring circuit
Monitor circuit
L
"
D
u
r
a
1
"
/
/
I
f
l
i
g
h
t
A
"Light_barrier1"
//jump JC to D1 is executed and the
JC
D1
//accumulator contains "Dura1", otherwise
L
"Dura2"
//the accumulator contains "Dura2"
A
"Active"
FP
"EM_Ac_P"
//If there is a positive edge at "Active"
O
#PM_LB_P
//or a positive edge at the light barrier,
O
#PM_LB_N
//or a negative edge at the light barrier,
SE
"Monitor"
//the timer is started or retriggered.
AN
"Monitor"
A
"Active"
//If time elapses while "Active",
=
"
F
a
u
l
t
"
/
/
"
F
a
u
l
t
"
i
Block end
BE
Example conveyor script - parts counter and monitoring without block parameters
c
o
u
n
t
e
r
b
y
1
u
n
t
w
i
t
h
"
Q
u
a
n
t
i
t
y
"
t
r
e
a
c
h
e
s
z
e
r
o
,
i
n
i
s
h
e
d
"
s
i
g
n
a
l
p
u
l
s
e
m
e
m
o
r
y
b
i
t
p
u
l
s
e
m
e
m
o
r
y
b
i
t
e
d
g
e
f
o
r
s
e
t
m
o
n
i
t
o
r
i
n
g
c
i
r
c
u
i
t
b
a
r
r
i
e
r
i
s
"
1
"
s
s
i
g
n
a
l
e
d
Operating Instructions, 2009-05-15, A5E02385577A AB
I1.0
-- "End of belt" sensor
signal conveyor belt 1
C
1
-
-
C
o
u
n
t
e
r
f
o
r
p
I0.7
-- Set counter, activate
monitor
M
W
4
-
-
N
u
m
b
e
r
o
f
p
a
r
C1
-- Counter for parts
I
0
.
6
-
-
A
c
k
n
o
w
l
e
d
g
e
f
C1
-- Counter for parts
C
1
-
-
C
o
u
n
t
e
r
f
o
r
p
Q
4
.
2
-
-
N
u
m
b
e
r
o
f
p
a
r
ed
I
1
.
0
-
-
"
E
n
d
o
f
b
e
l
t
"
signal conveyor belt 1
M
3
.
1
-
-
E
d
g
e
m
e
m
o
r
y
b
ositive edge of light barrier
I
1
.
0
-
-
"
E
n
d
o
f
b
e
l
t
"
signal conveyor belt 1
M
3
.
2
-
-
E
d
g
e
m
e
m
o
r
y
b
egative edge of light barrier
I0.7
-- Set counter, activate
monitor
M
3
.
4
-
-
E
d
g
e
m
e
m
o
r
y
b
ositive edge of "Set"
M
3
.
0
-
-
C
o
u
n
t
e
r
a
n
d
m
ctive
Q4.2
-- Number of parts reach
ed
I
0
.
6
-
-
A
c
k
n
o
w
l
e
d
g
e
f
M3.0
-- Counter and monitor a
ctive
M
W
6
-
-
M
o
n
i
t
o
r
i
n
g
t
i
ight barrier covered
I1.0
-- "End of belt" sensor
signal conveyor belt 1
MW8
-- Monitoring time for l
ight barrier not covered
M3.0
-- Counter and monitor a
ctive
M3.3
-- Edge memory bit for f
or positive edge of "Monitor active"
T1
-- Timer function for mo
nitor
T1
-- Timer function for mo
nitor
M3.0
-- Counter and monitor a
ctive
Q
4
.
3
-
-
M
o
n
i
t
o
r
t
r
i
p
p
a
r
t
s
t
s
a
u
l
t
a
r
t
s
t
s
r
e
a
c
h
s
e
n
s
o
r
i
t
f
o
r
p
s
e
n
s
o
r
i
t
f
o
r
n
i
t
f
o
r
p
o
n
i
t
o
r
a
a
u
l
t
m
e
f
o
r
l
e
d
SINAMICS G110D

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents