EasyManua.ls Logo

Siemens SINAMICS G120 - STEP 7 Program Example for Cyclic Communication

Siemens SINAMICS G120
456 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Appendix
A.7 Application examples
Inverter with CU230P-2 Control Units
Operating Instructions, 11/2013, FW V4.6.6, A5E02430659B AG
439
A.7.3.2
STEP 7 program example for cyclic communication
The controller and inverter comm
unicate via
standard telegram
1. The control specifies
control word
1 (STW1) and the speed setpoint,
while the inverter responds with status word
1
(ZSW1) and its actual speed.
In this example, inputs E0.0 and E0.6 are linked
to the ON/OFF1 bit or to the "
acknowledge fault"
bit of STW
1.
Control word
1 contains the numerical value
047E
hex. The bits of control word 1 are listed in
the following table.
The hexadecimal numeric value 2500 specifies
the setpoint frequency of the inverter. The
maximum frequency
is the hexadecimal value
4000.
The controller cyclically writes the process data
to logical address
256 of the inverter. The
inverter also writes its process data to logical
address
256. You define the address area in
HW
Config.
Table A- 11 Assignment of the control bits in the inverter to the SIMATIC flags and inputs
HEX
BIN
Bit in
STW1
Significance
Bit in
MW1
Bit in
MB1
Bit in
MB2
Inputs
E
0
0
ON/OFF1
8
0
E0.0
1
1
OFF2
9
1
1
2
OFF3
10
2
1
3
Operation enable
11
3
7
1
4
Ramp-function generator enable
12
4
1 5 Start ramp-function generator 13 5
1
6
Setpoint enable
14
6
0
7
Acknowledge fault
15
7
E0.6
4
0
8
Jog 1
0
0
0
9
Jog 2
1
1

Table of Contents

Other manuals for Siemens SINAMICS G120

Related product manuals