ACC-72EX User Manual
Software setup
84
Locating the Input/Output Data Image in PMAC
Although the ACC-72EX Setup Assistant software defines M-Variables for accessing setup registers and
flags in COMX modules, it does not assign any M-Variables for input/output data images. However,
starting address and size of each input/output processed data image in’s PMAC memory addressing
format are calculated and included as a part of the memory map file that is generated. The following is an
example from an EtherNet/IP option. The highlighted sections show the addressing for the processed data
images:
+ Block 2:
| Channel Type: Communication
| Size of Channel: 15616 bytes
| Channel Start Address: $6C0C0
| Position of Handshake Cells: IN HANDSHAKE CHANNEL
| Size of Handshake Cells: 16 BITS
| NetX Handshake Register: Y:$6C082,0,16
| Host Handshake Register: X:$6C082,0,16
| Communication Class: SCANNER
| Protocol Class: IO-DEVICE
| Conformance Class: 0
| Number of Subblocks: 9
|
|--- Subblock 0: CONTROL
| Size: 8 bytes
| Start Offset: $6C0C2
| Transfer Direction: OUT (Host System to netX)
| Transfer Type: DPM (Dual-Port Memory)
| Handshake Mode: UNCONTROLLED
| Handshake Bit: 0
|
|--- Subblock 1: COMMON STATUS
| Size: 64 bytes
| Start Offset: $6C0C4
| Transfer Direction: IN (netX to Host System)
| Transfer Type: DPM (Dual-Port Memory)
| Handshake Mode: UNCONTROLLED
| Handshake Bit: 0
|
|--- Subblock 2: EXTENDED STATUS
| Size: 432 bytes
| Start Offset: $6C0D4
| Transfer Direction: IN (netX to Host System)
| Transfer Type: DPM (Dual-Port Memory)
| Handshake Mode: UNCONTROLLED
| Handshake Bit: 0
|
|--- Subblock 3: MAILBOX
| Size: 1600 bytes
| Start Offset: $6C140
| Transfer Direction: OUT (Host System to netX)
| Transfer Type: DPM (Dual-Port Memory)
| Handshake Mode: BUFFERED, HOST CONTROLLED
| Handshake Bit: 4
|
|--- Subblock 4: MAILBOX
| Size: 1600 bytes
| Start Offset: $6C2D0
| Transfer Direction: IN (netX to Host System)
| Transfer Type: DPM (Dual-Port Memory)
| Handshake Mode: UNKNOWN
| Handshake Bit: 5
|
|--- Subblock 5: PROCESS DATA IMAGE
| Size: 5760 bytes
| Start Offset: $6C4C0
| Transfer Direction: OUT (Host System to netX)
| Transfer Type: DPM (Dual-Port Memory)
| Handshake Mode: BUFFERED, HOST CONTROLLED
| Handshake Bit: 6