Geo MACRO Drive User Manual
64
Software Setup
MACRO ASCII Communications
MACRO ASCII Communication Mode allows direct access to the MACRO Device. This mode of
communication allows the Master controller to set up all MACRO devices in the ring one at a time using
the Ring Order Method. One other benefit to this method of communications is that it allows direct
communication to the MACRO device without having to issue MS commands as in the traditional
PEWIN Terminal window.
At a minimum, the following I-variables must be set to the Turbo PMAC to enable MACRO ASCII mode
communications.
I6840=$4030
; to enable MACRO IC0 as sync-master and node 14 for auxiliary communications
I6841=$0FCxxx
; to enable node 15 and 14. If activating nodes 0,1,4,5 set
I6841=$0FC033
I79=32
; Timeout value for Node 14 Auxiliary communications
If using more than one MACRO IC, set up I6890, I6891, I6940, I6941, I6990, and I6991 appropriately.
Once the communication variables are modified, save them to the memory of the controller with the
SAVE
command and then reset the controller with either a
$$$
command or power cycle the controller.
Note:
The PMAC controller can communicate to the MACRO Device in MACRO ASCII
communication mode after the unit has been restarted with the changes saved to its
memory.
How to Enable and Disable MACRO ASCII Communication Mode
To start the MACRO ASCII Mode, issue the
MACSTAn
(n stands for the assigned station number for the
device) command to the device in the ring.
Note:
For MACRO ASCII communication via PEWIN 32 Pro, close all other windows
of the PEWIN other than the terminal window.
HyperTerminal also can be used for MACRO ASCII communication to the Geo
MACRO drive. PEWIN32 Pro must be totally closed.
In many cases, there will be only one device and a number may not be assigned to the device. In that case,
use the
MACSTA255
or
MACSTA0
commands. The actual number that is assigned to the device resides in
MI11 of the MACRO Device and the default value is 0. If there are multiple MACRO devices in the ring
and communication is in MACRO ASCII mode, set up the systems with the Ring Order Method and assign
station numbers to each device. If the assigned station number is not known, check MI11.
Once in MACRO ASCII Mode, communicate to the MACRO device is done directly. To change/monitor
an MI-variable, write directly to the Variable in the terminal window.
MI996=$0F803F
;To activate Nodes 0,1,2,3,4,5 at the MACRO Device
To exit or disable MACRO ASCII Communication mode, issue the
<CTRL>T
command.
Note:
The
MACSTA255
command will look for the first MACRO device that does not
have a station number assigned to it (MI11=0). As soon as MI11 is changed to a
value greater than zero, then it will look immediately for the next device with
MI11 set to zero.
MACRO ASCII Communication global commands
1.
VID
Vendor ID (Delta Tau = 1, Range=1- 65535)
2.
CID
Vendor Card ID, Part Number, (Range=1- 4,294,967,295) 32 bit unsigned.
Delta Tau: Turbo PMAC2 VME
= 602413
(MACRO Master)
Содержание Geo MACRO
Страница 2: ......
Страница 6: ......
Страница 18: ...Geo MACRO Drive User Manual 6 Introduction...
Страница 26: ...Geo MACRO Drive User Manual 14 Specifications...
Страница 28: ...Geo MACRO Drive User Manual 16 Receiving and Unpacking...
Страница 78: ...Geo MACRO Drive User Manual 66 Software Setup...
Страница 88: ...Geo MACRO Drive User Manual 76 Setting Up Secondary Encoders...
Страница 90: ...Geo MACRO Drive User Manual 78 Setting Up Turbo PMAC Conversion Table...
Страница 110: ...Geo MACRO Drive User Manual 98 Setting Up Turbo Motor Operation...
Страница 130: ...Geo MACRO Drive User Manual 118 Troubleshooting...
Страница 175: ...Geo MACRO Drive User and Reference Manual Absolute Power On Online Commands 163...
Страница 176: ...Geo MACRO Drive User Manual 164 Useful Notes...
Страница 177: ...Geo MACRO Drive User and Reference Manual Appendix A 165...
Страница 182: ...Geo MACRO Drive User Manual 170 Appendix A Cable Drawings...
Страница 183: ...Geo MACRO Drive User and Reference Manual Appendix A 171...
Страница 184: ...Geo MACRO Drive User Manual 172 Appendix A...
Страница 185: ...Geo MACRO Drive User and Reference Manual Appendix A 173...
Страница 186: ...Geo MACRO Drive User Manual 174 Appendix A...
Страница 187: ...Geo MACRO Drive User and Reference Manual Appendix A 175...
Страница 191: ...Geo MACRO Drive User and Reference Manual Appendix A 179...
Страница 197: ...Geo MACRO Drive User and Reference Manual Appendix C 185...