User manual
PMAC User Manual 
Writing Programs for PMAC  217 
It is possible to move these non-motion actions to a point one or two moves later in the program to get the 
actions to occur when they are desired. However, this makes the program extremely difficult to read as 
far as the proper sequence of operations. 
Synchronous M-Variable Assignment 
The synchronous M-variable assignment statement is designed to get around this problem. This type of 
statement uses a double equals sign (==) instead of a single equals sign. This is a flag to PMAC to hold 
off the actual execution of the statement until the beginning of the move immediately following it, so the 
actual action coincides with the actual motion. 
Synchronous M-variable assignment statements are discussed in detail in the Computational Features 
section of the User's Guide, with syntax instructions under M{constant}=={expression}. 










