15.Activate the IPOS automatic program in the inverter by initiating the control command
Enable via
the fieldbus and start the IPOS program with MC_SHELL.
All the parameters for this application example have now been assigned.
Important!
In this application example, the inverter is enabled on the terminal side by the means of the jumper
between terminals X2:41 and X2:44. The effect of this is that the drive would accelerate immediately
after the factory setting is activated and when the mains voltage is switched on, as the parameter
P841 Control Mode = Standard is activated after a factory setting is carried out. So make sure that
the drive is designed in such a way that only the 24 V supply is switched on after the factory setting
has been activated. Do not switch on the mains voltage until the fieldbus control mode
(P841 Control
Mode = Fieldbus) has been activated, as the inverter is then controlled by the control word.
7.4.5
S5 Application Program
If, for example, the process input and output data is mapped to the peripheral addresses PW132,
PW134 and PW136 within a Simatic S5, the control and specification of the position setpoints can
be implemented with the corresponding load and transfer commands.
Read access:
L PW
132
read status word 2
L PW
134
read actual value position high
L PW
136
read actual value position low
Write access:
L PW
132
write status word 2
L PW
134
write actual value position high
L PW
136
write actual value position low
Important!
It is very important to make sure that the position values are treated consistently, i.e. that it is
guaranteed that position high as well as position low provide the correct 32-bit position value within
one program / bus cycle.
MO
VI
TR
AC
®
841
E
Q
RUN
BUS
FAULT
*****************************
GO0
GOPA
END
#0
IPOS automatic program
Position high
Position low
FELDBUS
STEUERMODE
Process output data (PO)
Control word 2
Carry out reference travel
Implement fieldbus position setpoint
01154AEN
Fig. 74: Implementation of the position setpoint in the IPOS automatic program
Application Examples
7
76
MOVITRAC
®
31.. Fieldbus Unit Profile
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]