USA57 Revision
1.2
78
Example #5 (Nested loop example)
/1gA100A1000gA100A10G10G100R<CR>
This breaks down to:
“/”
Is the start character. Lets Accuriss know that a command string will follow.
“1”
Is the device address, (this is preset at the factory).
“g”
Start an outer loop block
“A100”
Go to Absolute position 100
“A1000” Go to Absolute position 1000.
“g”
Start an inner loop block.
“A100”
Go to Absolute position 100.
“A10”
Go to Absolute position 10.
“G10”
Repeat inner loop block 10 times. (End of Inner Loop)
G100
Repeat outer loop block 100 times. (End of outer loop)
“R”
Instructs Accuriss to run the command(s) that are in the communication buffer.
“<CR>” Tells Accuriss that the command string is complete and causes the command to
be executed since an R is included in the command string.
To terminate either of the above loops while in progress type “/1T”.