Electromechanical Automation
Product Management & Application
11.02.2008
Klaus Zimmer
Parker Hannifin GmbH & Co KG
EME - Electromechanical Automation Europe
Postfach 17 20 * 77607 Offenburg
Robert-Bosch-Straße 22 * 77656 Offenburg
E-Mail:
C3 I20 T11 ControlManager application note eng.doc
Seite 12 von 20
Version: 16
-
With reaching the target position, die message <
bInPosition
> is set.
-
A new target position is only possible after <
bInPosition
> was set.
-
For dynamic positioning the input
<bChangeSetImmediate>
is usable
-
It has the same conditions as <
bStartPositioning>
but here is a new command
possible during a movement.
3.4.3.3 other Operands at Block
-
<bFaultReset>
acknowledgement of failures of Function block (watchdog) or drive
(C3).
-
<bStop>
stops a positioning with rising edge
-
<bHold>
interrupt of Positioning command, as long as Bit it is
true
; Positioning will
be finished when the bit is
false
again.
-
<bJogN> manual mode negative direction, as long as Bit it is
true
.
-
<bJogP> manual mode positive direction, as long as Bit it is
true
.
3.4.3.4 Messages and display
-
<bCommErr>
communication with C3 not possible
-
<bDriveErr>
C3 is in failure status
-
<stRd.nActualError>
actual Failure number of C3 (see C3 Help)
-
<stRd.iPosititionValue>
actual position
-
<stRd.iVelocityValue>
actual velocity
3.4.3.5 read and write Parameters
-
there are Parameters to be read or changed over bus. These are listed in the table
„Objects for the Parameter channel" (see C3 Help). Here is the correlating
between Objects (C3) and PNU (PROFIdrive-Profile).
-
the Parameters are selected with <
nPNUIndex> a
nd
<nPNUSubindex>
-
the value is at <
iParameterValue>
-
nCmd
is the command for the transfer
-
1 command for read
-
2 command for write Word parameter (16 Bit)
-
3 command for write double word Parameter (32 Bit)
if you have a Parameter with 16 Bit or 32 Bit is shown in the table „Objects for the
Parameter channel“: look at collumn “Bus format“.
-
<bTransErr> shows if there is failure with the data transfer.
3.5 settings for external Master
1. The function block is only possible with S7 PLC with integrated PROFIBUS DP
Master: Without the block is not useable.
2. If this interface is used for another purpose and the connection to C3 should be
realised with an external communication processor (CP342-5) the function block is
possible to be used with following settings:
-
For running the CP 342-5 there are to functions: FC1 / FC2 (DP_SEND /
DP_RECV, out of SIMATIC Standard library).
-
Put at DP_SEND the global output t area, and at DP_RECV the global input area.
-
Attention! This global areas included the data's of all bus slaves.
-
The local field of C3 must be transferred to the field at DB45 (e.g. via SFC20
BLKMOV).