1 calculating local tunable values, 3 udc/pmi task communication, 1 calculating local tunable values -7 – Rockwell Automation SA3100 Distributed Power System Drv Config,Program User Manual

Page 109: 3 udc/pmi task communication -7

Advertising
background image

Application Programming for DPS Drive Control

4-7

Like all tunable values in the AutoMax environment, the values of these UDC task
tunables are retained through a power loss. Note that the programmer can also
define other local tunable variables for application-specific purposes, but that the total
number of all local tunables in a UDC task cannot exceed 127.

4.2.2.1 Calculating Local Tunable Values

Depending upon the type of local tunable variable, the “CURRENT” value, i.e., the
value to be used for the next scan of the PMI, can be determined in one of the
following ways:

1.

Self Tune.

The programmer can request the PMI to generate the values for some of the
variables. For example, the programmer can set the resolver calibration command
bit in register 101/1101 to cause the PMI to adjust the resolver balance.

When the PMI has generated the values, it sends them to the UDC module over
the fiber-optic link. The UDC module stores the values in the corresponding
tunable variables. A copy of these values is maintained in the PMI for use in the
execution of the control algorithm.

2.

Tune values from the Programming Executive software and tasks.

The Monitor function in the Programming Executive allows all local tunables to be
modified on-line within the limits defined in the LOCAL statement in the UDC task.
Note that this is not recommended for the resolver calibration values because
these values can be generated more precisely by the PMI during auto-tuning. At
the end of the UDC task scan, the new values are sent to the PMI to be used in
the execution of the control algorithm.

3.

Enter the desired value into the “CURRENT” field for each LOCAL statement.

The programmer can choose to enter the desired values for local tunables in the
“CURRENT” field of the corresponding LOCAL statement or leave them
unchanged.

4.2.3 UDC/PMI Task Communication

Coordination between the two PMIs running their respective PMI tasks (drives A and
B) and the UDC module running the corresponding UDC tasks is managed through
the command and feedback messages sent over the fiber-optic link. The programmer
does not control the operating system on the PMI. The timing of the PMI is based on
the regulator selected.

A command message is sent to the PMI by the UDC module at the end of every scan
of the UDC task. Each message contains the data in registers 100-106/1100-1106,
Flex I/O data, and the values of the pre-defined local tunables that have changed.
Note that some data may be sent over the course of several command messages.

A feedback message is sent to the UDC module by the PMI immediately before the
beginning of every scan of the UDC task, i.e., immediately before the CCLK timer
expires. Each message contains the data for registers 200-221/1200-1221, as well as
any Flex I/O data that has changed from the last feedback message.

Advertising