User functions, Bit swap – Rockwell Automation 20D PowerFlex 700S AC Drives with Phase II Control Reference Manual User Manual

Page 197

Advertising
background image

Rockwell Automation Publication PFLEX-RM003E-EN-E - January 2011

197

Detailed Drive Operation Chapter 1

User Functions

There are several user functions available in the drive for custom control.

• Parameter 1000 [UserFunct Enable] is used to enable or disable user

functions in the drive. The drive does not require a drive reset for a change
to take affect.

– Bit 0 “User Params” - enables use of user DInt and floating point

parameters 1002…1021.

– Bit 1 “Sel Switches” - enables a 16 selection switch, a DInt switch and a

Real switch.

– Bit 2 “Converts” - enables converters for Real to DInt or DInt to Real

data.

– Bit 3 “Logic Functs” - enables blocks that can be configured as (AND,

NAND, OR, NOR, XOR, or NXOR) and enables the compare
functions.

– Bit 4 “MulDiv Math” - enables multiply/divide functions.
– Bit 5 “Add Sub” - enables addition/subtraction functions.
– Bit 6 “Delay Timer” - enables the On/Off delay timers function.
– Bit 7 “EGR” - enables the Electronic Gear Ratio (EGR) function.
– Bit 17 “MOP” - enables the MOP (motor operated potentiometer).

• Parameter 1001 [UserFunct Actual] will show the actual user functions

enabled.

Bit Swap

The bit swap function allows you to compare word A with word B and replace
the selected bit from word A with the selected bit of word B.

Example of Using a Bit Swap and Digital Input for Custom Control

This example uses a bit swap to enable and disable the S-curve using digital input
3.

• Set parameter 860 [BitSwap 1A Data] to 0. This parameter sets up any

data you would like to pass through to the result.

Bit

Swap

864

860

861

862

863

BitSwap 1A Data

BitSwap 1A Bit

BitSwap 1B Data

BitSwap 1B Bit

BitSwap 1 Result

Advertising