17.CUSTOM MACRO PROGRAMMING B-63324EN/03
- 584 -
1 If an unregistered variable name is specified, a
PS0098 alarm is issued.
2 If an invalid value (such as a negative value) is
specified as suffix n, a PS0099 alarm is issued.
- Naming of common variables
By specifying a variable name set with the SETVN command described
later, common variable read and write operations are enabled. When
specifying a common variable name, use the format [# common
variable name] for [#VAR500].
X[#POS1] Y[#POS2]; :Position specification using variable
[#POS1] = #100+#101; :Assignment statement execution using a
#[100+[#ABS]] = 500; :Same as above (variable number
#500 = [1000+[#POS2]*10]; : Reading of a variable by variable name