Parker Hannifin
Example 2
Another way to talk to the drive is using the DTALK command. You
communicate directly with the drive, where the controller acts as a bypass.
To end the direct communications, you must send an escape character.
Use this method of communication for troubleshooting drive and controller
problems. The following example shows how to open the communications
with an Aries drive and talk directly to it.
P00>OPEN DTALK "COM2:9600,N,8,1" AS #1 REM OPEN A DRIVE TALK PORT
WITH REM DEVICE NUMBER 1
P00>P28672=1 REM SET AXIS0’S DEVICE NUMBER FOR DTALK
REM TO 1, MUST MATCH THE OPEN COMMAND ABOVE
P00>P28673=0 REM SET AXIS0 TO AN ARIES DRIVE
P00>CLR11122 CLR11123 CLR11124 REM CLEAR ALL TIMEOUT BITS
P00>SET11104 REM START AUTO ADDRESS
P00>DTALK X REM START TALKING DIRECTLY TO THE DRIVE
REM HIT ESCAPE TO EXIT
TPE
*0
TPE
*2576
TREV
*Aries OS Revision 2.00
DMODE
*2
P00>
Configuration Parameters
Mask 0x01 0x02 0x04 0x08 0x10 0x20 0x40 0x80
Axis Number
Index
Drive Talk Configuration Parameters
Code=0x70
0 1 2 3 4 5 6 7
0x00 Communication Device LONG 28672 28928 29184 29440 29696 29952 30208 30464
0x01 Drive Type LONG 28673 28929 29185 29441 29697 29953 30209 30465
Field Description Read/
Write
Description
Communication Device R/W This specifies the device number to use for drive
talk. This must be the same device number used
in the OPEN DTALK command.
Drive Type R/W This specifies what drive type to talk to (Aries =
0)
146 ACR9000 Series Hardware Installation Guide
www.comoso.com