omron — Ix03Motor x Position Loop Feedback Address

PMAC Product Guide Magnitude and Direction Output: However, if bit 16 of Ix02 -- value 65536 -- equals 1, and Ix01=0 (no PMAC commutation), then the output is the absolute value (magnitude) of what is calculated, and the sign (direction) bit is output on the AENAn/DIRn line of the set of flags pointed to by Ix25 (polarity is determined by jumper E17). In this case, bit 16 of Ix25 should be set also to 1 to disable the amplifier- enable function for that line. This magnitude-and-direction mode is suited for driving servo amplifiers that expect this type of input and for driving voltage-to-frequency (V/F) converters, such as PMAC’s ACC-8D Option 2 board for running stepper motor drivers.

For example, if using PMAC and an ACC-8D Option 2 to run a four-axis stepper systems, set up the variables in the following way: I102=$1C003 I125=$1C000 I202=$1C002 I225=$1C004 I302=$1C00B I325=$1C008 I402=$1C00A I425=$1C00C Direct Micro Step Output: If bit 16 of Ix02 -- value 65536 -- equals 1, and Ix01=1 (PMAC commutation), then the output is set up for direct micro stepping phase control using PMAC’s commutation algorithms. Just as in the closed-loop commutation case (see above), bits 0-15 should point to the low address of an adjacent pair of DACs. X-Register Output:

If bit 19 of Ix02 is set to 1, the command outputs are written to the X-registers of the specified address instead of the Y-registers. If bit 19 is at the default of 0, the command outputs are written to the normal Y-registers. Writing to X-registers has two main uses. First, some MACRO nodes are in X-registers. Second, for cascaded loops, the output of one loop can become the input to another loop, and master or feedback inputs are expected in X-registers. Ix03 Motor x Position Loop Feedback Address Range: Extended legal PMAC X addresses Default: Units: Extended legal PMAC X addresses This parameter tells the PMAC where to look for its feedback to close the position loop for motor x.

Usually it points to an entry in the Encoder Conversion Table where the values from the encoder counter registers have been processed at the beginning of each servo cycle (possibly to include sub-count data). This table starts at address $0720 (1824 decimal). It is shipped from the factory configured as shown in the default table above. For a motor with dual feedback (motor and load), use Ix03 to point to the encoder on the load and Ix04 to point to the encoder on the motor. If the position loop feedback device is the same device as is used for commutation (with PMAC doing the commutation), then it must also be specified for commutation with Ix83.

However, Ix83 should specify the address of the encoder counter itself, not the converted data of the table. 104 I-Variables Variable Hex Decimal Encoder I103 $0720 (1824) (=converted ENC1) I203 $0721 (1825) (=converted ENC2) I303 $0722 (1826) (=converted ENC3) I403 $0723 (1827) (=converted ENC4)