Download Firmware Manual

Transcript
ZA
User Data Record Variables
Syntax:
Explicit or Implicit
Operands:
_ZAn
Burn:
not burnable
Hardware:
DMC40x0 DMC41x3
DMC18x6 DMC300x0
Full 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
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
Operand Usage
_ZAn contains the current value for the specified axis.
Usage
Usage and Default Details
Usage
Value
While Moving
Yes
In a Program
Yes
Command Line
Yes
Controller Usage
All
Default Value
0
Default Format
10.0
Related Commands
DR - Data Record update rate
QR - Query Data Record
QZ - Data Record format
Examples: