omron — Ix02 Motor x Command Output (DAC) Address

PMAC Product Guide Motor Definition I-Variables Ix00 Motor x Activate Range: 0 .. 1 Default: I100=1; I200 .. I800=0 Units: none This parameter determines whether the motor is de-activated (=0) or activated (=1). If activated, position, servo, and trajectory calculations are done for the motor. An activated motor may be enabled -- either in open or closed loop -- or "disabled" (killed), depending on commands or events. If Ix00 is 0, not even the position calculations for that motor are done, so a P command would not reflect position changes. Any PMAC motor not used should be de-activated, so PMAC does not waste time doing calculations for that motor.

If fewer motors are activated, the faster the servo update time will be. Ix01 Motor x PMAC-Commutation Enable Range: 0 .. 1 Default: 0 Units: none This parameter determines whether PMAC will perform commutation calculations for the motor and provide two analog outputs (Ix01=1), or not perform commutation and provide only one analog output (Ix01=0). If a multi-phase motor is used, but is commutated in the amplifier, Ix01 should be set to 0. Ix02 Motor x Command Output (DAC) Address Range: Extended legal PMAC X and Y addresses Default: Units: Extended legal PMAC X and Y addresses This parameter tells the PMAC where (what address) to put the output command for motor x.

The address may be specified as either a decimal or hexadecimal value. Usually, the output is directed towards a DAC register. Non-PMAC-Commutated Motors: If PMAC is not performing the commutation for motor x, Ix02 should point directly to the DAC register in the DSP-GATE. Typically DACx is used for motor x, but this is not required. The addresses of DAC1 – DAC4 are given in the default table above. Extended Addressing: The destination address of the output command occupies bits 0 to 15 of Ix02 (range $0000 to $FFFF, or 0 to 65535). With bit 16 equal to zero -- the normal case -- the output is signed: a negative output for a negative value, and a positive output for a positive value.

Setting bit 16 to 1 provides a couple of interesting output options, as explained below. In the extended version, it is obviously easier to specify this parameter in hexadecimal form. Note: With I9 at 2 or 3, the value of this variable will be reported back to the host in hexadecimal form. I-Variables 103 Motor I-Variable Hex Decimal DAC Motor 1 I102 $C003 49155 (=DAC1) Motor 2 I202 $C002 49154 (=DAC2) Motor 3 I302 $C00B 49163 (=DAC3) Motor 4 I402 $C00A 49162 (=DAC4)