Reference Manual

Turbo PMAC/PMAC2 Software Reference
Turbo PMAC On-line Command Specification 395
I130 ; Request value of I130
60000 ; Turbo PMAC responds with saved value
See Also:
On-line commands $$$, $$$***
Jumpers E51 (PMAC), E3 (PMAC2).
SETPHASE
Function: Set commutation phase position value
Scope: Global
Syntax: SETPHASE {constant} [,{constant}…]
SETPHASE {constant}..{constant}
[,{constant}..{constant}]
where:
{constant} is an integer from 1 to 32 representing a motor number
The SETPHASE command causes Turbo PMAC to immediately copy the value of Ixx75 for the specified
motor or motors into the active phase position register for that motor or motors. Typically, this command
is used to correct the phasing of a motor at a known angle (such as the index pulse of the encoder) after an
initial rough phasing (such as from Hall commutation registers).
To determine the value of Ixx75 to be used, first force an unloaded motor to the zero position in its
phasing cycle. Next, manually set the phase position register (suggested M-variable Mxx71) to zero.
Finally, move the motor to the known position, usually with a homing search move to the index pulse or
other trigger. Read the phase position register at this point and set Ixx75 to this value. For more details,
see the Ixx75 description and the Commutation section of the User’s Manual.
If a motion program buffer or a PLC program buffer is open when this command is issued, this command
will be entered into that buffer as a program command for future execution; it will not be treated as an on-
line command.
Examples:
SETPHASE1
SETPHASE1,2,3
SETPHASE1..3,5..7
SID
Function: Report serial electronic identification number
Scope: Global
Syntax: SID
This command causes Turbo PMAC to report the electronic identification number from the Option 18A
ID-number module, or the Option 18B ID-number & clock/calendar module.
The identification number is reported as a hexadecimal 16-digit ASCII string, representing a 64-bit value.
The first two hex digits represent the 8-bit checksum value for the module; these should match the
checksum digits engraved on the case of the module. The last two hex digits represent the module class;
these should match the class digits engraved on the case of the module (currently 01 for Option 18A, and
04 for Option 18B). The middle 12 hex digits represent the unique number for each module and board.
If no ID-number module is present, Turbo PMAC will return a 0.
The electronic identification number has no relationship to the serial number that is engraved on the
circuit board.
This command is identical to the IDNUMBER command.