PMAC Product Guide P{constant}={expression} Function : Assign a value to a P-Variable Scope : Global Syntax : P{constant}[..{constant}]={expression} where {constant} is an integer from 0 to 1023 representing the number of the P-Variable. the optional second {constant} must be at least as great as the first {constant} -- it represents the number of the end of the range. {expression} contains the value to be given to the specified P-Variables. This command causes PMAC to set the specified P-Variable or range of P-Variables equal to the value on the right side of the equals sign. Examples: P1=1 P75=P32+P10 P100..199=0 P10=$2000 P832=SIN(3.14159*Q10) 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, 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 considered automatically to have entered the correct password on power-up/reset. If the correct password has been entered (which is always the case for the null password), PMAC interprets the PASSWORD={string} command as changing the password and it can be changed to anything. 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 entering the password string for the first time, use them every time this password string is matched. 184 Online Commands