Delta Tau GEO BRICK LV Reference Manual

Page of 760
Turbo PMAC/PMAC2 Software Reference
 
Turbo PMAC On-line Command Specification 
 266 
Function: 
Report port’s currently addressed motor 
Scope:   
Port specific 
Syntax:  
This command causes Turbo PMAC to return the number of the motor currently addressed for the 
communications port over which this command is sent.   
This is the motor that will act on subsequent motor-specific commands sent over this port until a different 
motor is addressed with a #{constant} command. 
Other communications ports may be addressing different motors at the same time, as set by 
#{constant} commands sent over those ports.  In addition, each background PLC program can 
individually modally address a motor using the ADDRESS statement for subsequent COMMAND 
statements, and the hardware control panel on a Turbo PMAC can separately select a motor for its 
hardware inputs. 
Note: 
In firmware versions 1.934 and older, all communications ports addressed the 
same motor, so a #{constant} command sent over any port set the addressed 
motor for all ports. 
Example: 
# 
; Ask Turbo PMAC which motor is addressed 
; Turbo PMAC reports that motor 2 is addressed 
See Also: 
Control-Panel Port Inputs (Connecting Turbo PMAC to the Machine) 
On-line commands #{constant}, &, &{constant}, @{constant} 
Program commands ADDRESSCOMMAND 
#{constant} 
Function: 
Select port’s addressed motor 
Scope:   
Port specific 
Syntax:  
#{constant} 
where: 
 
{constant} is an integer from 1 to 32, representing the number of the motor to be addressed 
This command makes the motor specified by {constant} the addressed motor for the communications 
port over which this command is sent.  This is the motor that will act on subsequent motor-specific 
commands sent over this port until a different motor is addressed with another #{constant} 
command. 
Other communications ports may be addressing different motors at the same time, as set by 
#{constant} commands sent over those ports.  In addition, each background PLC program can 
individually modally address a motor using the ADDRESS statement for subsequent COMMAND 
statements, and the hardware control panel on a Turbo PMAC can separately select a motor for its 
hardware inputs. 
Note:  
In firmware versions 1.934 and older, all communications ports addressed the 
same motor, so a #{constant} command sent over any port set the addressed 
motor for all ports.