omron — Ix25 Motor x Limit/Home Flag/Amp Flag Address

PMAC Product Guide Note: The direction sense of the limit inputs is the opposite of what many people consider intuitive. That is, the +LIMn input, when taken high (opened), stops commanded motion in the negative direction; the -LIMn input, when taken high, stops commanded motion in the positive direction. It is important to confirm the direction sense of the limit inputs in actual operation. If bit 17 (value $20000, or 131072) is set to one (e.g. I125=$2C000), motor x does not use these inputs as overtravel limits. This can be done temporarily, as when using a limit as a homing flag.

If the limit function is not used at all, these inputs can be used as general-purpose inputs by assigning M-Variables to them. Starting in firmware 1.15, bit 17 of Ix25 does not affect the software overtravel limits. To activate the software overtravel limits, set the value of Ix13 and/or Ix14 to a non-zero value. To de-activate, set their values to zero. Amplifier Fault Use Bit: If bit 20 of Ix25 is 0, the amplifier-fault input function through the FAULTn input is enabled. If bit 20 (value $100000, or 1,048,576) is 1 (e.g. I125=$10C000), this function is disabled. General-purpose use of this input is then possible by assigning an M-Variable to the input. Action-on-Fault Bits:

Bits 21 (value $200000, or 2,097,152) and 22 (value $400000, or 4,194,344) of Ix25 control what action is taken on an amplifier fault for the motor, or on exceeding the fatal following error limit (Ix11) for the motor: Regardless of the setting of these bits, a program running in the coordinate system of the offending motor will be halted on an amplifier fault or the exceeding of a fatal following error limit. Amplifier-Fault Polarity Bit: Bit 23 (value 8,388,608) of Ix25 controls the polarity of the amplifier fault input. A zero in this bit means a low-true input (low means fault); a one means high true (high means fault).

The input is pulled high internally, so if no line is attached to the input, and bit 20 of Ix25 is zero (enabling the fault function), bit 23 of Ix25 must be zero to permit operation of the motor. First Hex Digit: In the hexadecimal form, bits 20 to 23 combine to form a single hexadecimal digit. For reference, the possible values and their meanings are: I-Variables 115 Bit 22 Bit 21 Function Bit 22=0 Bit 21=0 Kill all PMAC motors Bit 22=0 Bit 21=1 Kill all motors in same coordinate system Bit 22=1 Bit 21=0 Kill only this motor Bit 22=1 Bit 21=1 Kill only this motor Hex Digit Function $0: Low-true amp fault enabled; all motors killed on fault or excess following error (default) $1:

Amp fault disabled; all motors killed on excess following error $2: Low-true amp fault enabled: coordinate system motors killed on fault or excess following error $3: Amp fault disabled; coordinate system motors killed on excess following error $4: Low-true amp fault enabled; only this motor killed on fault or excess following error $5: Amp fault disabled; only this motor killed on excess following error $6: Low-true amp fault enabled; only this motor killed on fault or excess following error $7: Amp fault disabled; only this motor killed on excess following error $8: High-true amp fault enabled; all motors killed on fault or excess following error (default) $9:

Amp fault disabled; all motors killed on excess following error $A: High-true amp fault enabled: coordinate system motors killed on fault or excess following error $B: Amp fault disabled; coordinate system motors killed on excess following error