
Turbo PMAC2 Realtime Express Controller
Software Setup
5. If writing to a parameter, set PARAM_DATA (M8183) equal to the desired value, but if
you are reading from drive or saving the values to EEPROM of the drive set
PARAM_NUM equal to zero.
6. Set the PMC_STATE (M8123) equal to 6 (Parameter Read Mode).
7. Wait until PMC_STATE (M8123) changes to 4 (Running Mode).
8. If you are reading a parameter, you can get the value from PARAM_DATA (M8183).
Otherwise, the writing or saving is done.
Accessing Returning Data from A4N/A5N Drives
The communication to each drive is taking place using two buffers, the TX buffer and RX buffer.
These buffers are accessible to the user and some useful information can be retrieved from these
buffers. Although reading these buffers is harmless to the performance and functionality of the
Realtime Express network and controller, we would strongly discourage writing to these
locations.
The received data from each drive consists of 16 bytes. These 16 bytes are transferred to PMAC
through Dual-Ported RAM style memory mapping, meaning lower 16 bits of X and Y memory
locations.
Byte 0
Y-MemoryX-Memory
Byte 0Byte 1Byte 2Byte 3
Byte 0
Byte 4Byte 5Byte 6Byte 7
Byte 0
Byte 8Byte 9Byte 10Byte 11
Byte 0
Byte 12Byte 13Byte 14Byte 15
$680XX
$680XX+1
$680XX+2
$680XX+3
The $680XX represents the memory location for different RX block numbers. The block number
of each motor is defined by the user by setting the Ixx30 of each motor. If the default values in
the PANADWLD.PMC file are used, the block 0 represents motor 1, block 1 represent motor 2
and so on.
Comments to this Manuals