Reference Manual

Turbo PMAC/PMAC2 Software Reference
Turbo PMAC On-line Command Specification 384
the final {constant} contains the value to be given to the specified set of P-variables
This command causes Turbo PMAC to set the specified P-variable or range of P-variables equal to the
value on the right side of the equals sign.
If a motion or PLC program buffer is open when the single-variable form of this command is sent to
Turbo PMAC, the command will be entered into the buffer for later execution. If a motion or PLC
program buffer is open when the multiple-variable form of this command is sent, Turbo PMAC will reject
the command with an error, reporting ERR003 if I6 is 1 or 3.
Example:
P1=1
P75=P32+P10
P100..199=0
P10=$2000
P832=SIN(3.14159*Q10)
P(10*Q5)=72
P101,16,100=50 ; Set P101, P201, P301, … P1601 to 50
See Also:
P-Variables (Computational Features)
On-line commands I{data}={expression}, M{data}={expression},
Q{data}={expression}, P{constant}
Program command P{data}={expression}
PASSWORD={string}
Function: Enter/Set Program Password
Scope: Global
Syntax: PASSWORD={string}
where:
{string} is a series of non-control ASCII characters (values from 32 decimal to 255 decimal).
The password string is case sensitive.
This command permits the user to enter the card’s password, or once entered properly, to change it.
Without a properly entered password, Turbo PMAC will not open or list the contents of any motion
program numbered 1000 or greater, or of PLC programs 0-15. If asked to do so, it will return an error
(ERR002 reported if I6 is set to 1 or 3).
The default password is the null password (which means no password is needed to list the programs).
This is how the card is shipped from the factory, and also after a $$$*** re-initialization command.
When there is a null password, it is automatically considered that the correct password has been entered
on power-up/reset.
If the correct password has been entered (which is always the case for the null password), Turbo PMAC
interprets the PASSWORD={string} command as changing the password, and it can be changed to
anything else. When the password is changed, it has been matched automatically and the host computer
has access to the protected programs.
Note:
The password does not require quote marks. If using quote marks when the
password string is entered for the first time, use them every time this password
string is matched.
If the correct password has not been entered since the latest power-up/reset, Turbo PMAC interprets the
PASSWORD={string} command as an attempt to match the existing password. If the command