8-22
ROBOT LANGUAGE
8-4 Robot Language Description
8
8-4-27
D+
Function: Adds a specified value to the counter variable D.
Format: D+ [<addition value>]
Example: D+ 100
Adds 100 to the counter variable D. (D←D+100)
D+
Adds 1 to the counter variable D. (D←D+1)
Explanation: This command adds a specified value to the counter variable D. The
addition value can be set to any value from 1 to 65535. If the addition
value is omitted, then 1 is added to the counter variable D.
8-4-28
D-
Function: Subtracts a specified value from the counter variable D.
Format: D- [<subtraction value>]
Example: D- 100
Subtracts 100 from the counter variable D. (D←D-100)
D-
Subtracts 1 from the counter variable D. (D←D-1)
Explanation: This command subtracts a specified value from the counter variable D.
The subtraction value can be set to any value from 1 to 65535. If the
subtraction value is omitted, then 1 is subtracted from the counter vari-
able D.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com