Multiply block – Rockwell Automation 20D PowerFlex 700S with Phase I Control Reference Manual User Manual

Page 162

Advertising
background image

162

Rockwell Automation Publication PFLEX-RM002D-EN-E - August 2013

Chapter 1

Detail Drive Configuration and Operation

Multiply Block

SynchLink has the ability to take one of the direct data words received from
SynchLink and multiply it by a constant or parameter value for features such as
draw control. The multiply function is handled at the hardware level to ensure
the highest possible execution speeds. Because of this, the multiply function is
integer based.

Preparing Floating-Point Data in the Transmitting Drive

If the received data to be multiplied is floating point, it must first be converted
from floating point to integer in the transmitting drive. A floating point to
integer conversion has been provided for this purpose.

Parameter 1032 [SL Mult Base] sets the value to multiply parameter 1035 [Real
to Int In] before sending it out over SynchLink. Make sure this parameter is set
appropriately so that the integer value sent over SynchLink has enough
resolution.

Parameter 1034 [SL Mult State] contains overflow bits if the data for the
multiply block is too large. It is broken down into the following bits:

Bit 0 - “Local Ovflow” - The result of the multiply function is too large.

Bit 1 - “Rx Ovflow” - The data received from SynchLink is too large.

Bit 2 - Not used

Bit 3 - “FtoI Ovflow” - In the master, the data converted from floating
point to integer is too large.

Parameter 1035 [Real to Int In] is linked to the parameter that you want to
multiply.

Parameter 1036 [Real to Int Out] contains the integer value sent over SynchLink.
One of the SynchLink direct integer transmit words (parameter 1141, 1143,
1145, or 1147) must be linked to parameter 1036 to send the value over
SynchLink.

For example, to use the multiply block to scale the s-curved speed reference and
send it over SynchLink, link parameter 1035 [Real to Int In] to parameter 43 [S
Curve Spd Ref ]. Set parameter 1032 [SL Mult Base] to 10,000. Then link
parameter 1141 [SL Dir Int Tx0] to parameter 1036 [Real to Int Out]. Set
parameter 1021 [SL Tx DirectSL0] = 21 - “Dir Tx Data”.

Configuring the Multiply Block in the Receiving Drive

Select on which received direct word to use the multiply block by setting one of
the following parameters: 1011 [SL Rx DirectSel0], 1012 [SL Rx DirectSel1],
1013 [SL Rx DirectSel2], or 1014 [SL Rx DirectSel3] to 1 - “SL Multiply”. The
receive parameter selected to multiply in the receiving drive must correspond to
the transmit parameter selected to be multiplied from the transmitting drive. The

Advertising