Reference Manual

Turbo PMAC/PMAC2 Software Reference
Turbo PMAC Global I-Variables 68
I65 is a variable that has no automatic function in Turbo PMAC. Because its factory default value is 0,
setting it to a non-zero value as part of the downloaded configuration file provides an easy way of later
verifying that the configuration has been loaded in a particular card.
Since this variable has no automatic function, how this variable is utilized (if it is utilized at all) is
completely up to the user. The same value may be downloaded to every controller, just for later
verification of the presence of the download. Alternately, it may be used to identify different optional
configurations, or as an electronic serial number.
I67 Modbus TCP Buffer Start Address
Range: $0 $03FFFF
Units: Turbo PMAC addresses
Default: 0
I67 enables the Modbus TCP interface in Turbo PMAC software and reports the starting address of the
256-word Modbus buffer in Turbo PMAC memory. To enable the Modbus TCP interface on the Turbo
PMAC’s Ethernet port, the following conditions must apply:
1. The Ethernet physical interface must be present
2. The Modbus TCP firmware for the Ethernet processor must be installed
3. V1.941 or newer Turbo PMAC firmware must be installed
4. A user buffer of 256 or more words must have been defined with the DEFINE UBUFFER
command
5. I67 must be set to a value greater than 0.
The user can set I67 to any value greater than 0 to enable the Modbus TCP buffer. When this is done,
PMAC will automatically set I67 to the address of the start of the 256-word Modbus buffer. In the
standard Turbo PMAC CPU/memory configuration (Option 5C0), this address will be $010700, so the
buffer will occupy the addresses $010700 - $0107FF.
A SAVE command must be issued with I67 at a non-zero value in order for the Modbus TCP buffer to be
active after subsequent power-up or reset operations.
I68 Coordinate System Activation Control
Range: 0 - 15
Units: None
Default: 15
I68 controls which coordinate systems are activated on a Turbo PMAC. A coordinate system must be
activated in order for it to be addressed and accept commands, to have its automatic user countdown
timers (Isx11 and Isx12) enabled (even if used by some other function), and for it to have some of the
Synchronous M-variable Assignment stack assigned to it.
I68 can take values from 0 to 15. The highest numbered coordinate system that is activated is Coordinate
System (I68 + 1). In other words, a given value of I68 activates Coordinate System 1 through Coordinate
System (I68 + 1).
The Synchronous M-Variable Stack allocation is binary; it can only be split by powers of 2. The stack
allocation per coordinate system is detailed in the following table: