
Parker Hannifin
168 Programmer’s Guide
Example
The following example demonstrates the set up for two axes with
Aries drives:
OPEN DTALK “COM2:9600,N,8,1” AS #1 REM OPEN PORT
P28672=1 : REM SET DEVICE NUMBER FOR DRIVE 1
P28928=1 : REM SET DEVICE NUMBER FOR DRIVE 2
P28673=0 : REM SET DRIVE TALK AXIS1 TO ARIES DRIVES
P28929=0 : REM SET DRIVE TALK AXIS2 TO ARIES DRIVES
CLR 11122 : REM RESET TIMEOUT
CLR 11123 : REM RESET TIMEOUT
CLR 11124 : REM RESET TIMEOUT
SET 10505 : REM GET TPE AXIS0 USING GET DRIVE DATA
SET 10500 : REM UPDATE DATA AXIS0 USING
REM GET_DRIVE_DATA_REQUEST
SET 10537 : REM GET TPE AXIS1 USING GET DRIVE DATA
SET 10532 : REM UPDATE DATA AXIS1 USING
REM GET_DRIVE_DATA_REQUEST
?P28693 : REM SHOW TPE AXIS0 ON TERMINAL
?P28949 : REM SHOW TPE AXIS1 ON TERMINAL
SET 10500 : REM GET TPE AXIS1 USING GET DRIVE DATA
SET 10532 : REM UPDATE DATA AXIS1 USING
REM GET_DRIVE_DATA_REQUEST
?P28693 : REM SHOW TPE AXIS0 ON TERMINAL
?P28949 : REM SHOW TPE AXIS1 ON TERMINAL
Closing Drive Talk
► To close a Drive Talk session, use the CLOSE command.
Using the “Pass Through” Mode
To communicate directly to the Aries drive, you can set the ACR
controller into a “pass through” mode—where the controller acts as
a communication conduit to another device. Use the “pass-
through” mode to trouble shoot the Aries drive, or run a program
and monitor its progress and output (see LRUN command).
NOTE: When set in the “pass through” mode, the ACR controller no
longer accepts AcroBASIC commands.
Think of the commands functioning like a switch. The ACR controller
accepts AcroBASIC commands until it enters Drive Talk. Once in
Drive Talk, the controller communicates with the Aries drive—
programs and PLCs can get and send configuration data, and get
drive status data. In “pass through” mode, the controller acts as a
communication conduit to the drive.
The following diagram helps illustrate the switch concept:
Because the “pass through” mode is an extension of Drive Talk, you
first have to enable Drive Talk on the ACR controller. Once enabled,
you can then enter the “pass through” mode. To do this, send the
Commenti su questo manuale