DMC-18x6 Command Reference
223
ZA
FUNCTION: User Data Record Variables
DESCRIPTION:
ZA sets the user variables in the data record. The eight user variables (one per axis) are
automatically sent as part of the status record from the controller to the host computer. These
variables provide a method for specific controller information to be passed to the host
automatically.
ARGUMENTS: ZA n,n,n,n,n,n,n,n or
ZAA=n where
n is an integer and can be a number, controller operand, variable, mathematical function, or string.
The range for numeric values is 4 bytes of integer (2,147,483,648 to +2,147,483,647). The
maximum number of characters for a string is 4 characters. Strings are identified by
quotations.
n = ? returns the current value
USAGE: DEFAULTS:
While Moving
Yes
Default Value
0
In a Program
Yes
Default Format
10.0
Command Line
Yes
Controller Usage
ALL CONTROLLERS
OPERAND USAGE:
_ZAn contains the current value
RELATED COMMANDS:
Data record update rate
Data record format
EXAMPLES:
#Thread
ZAX=MyVar ;
'constantly update ZA
JP
#Thread