Reference Manual
PMAC 2 Software Reference
472 PMAC2 Suggested M-Variable Definitions
PMAC2 SUGGESTED M-VARIABLE DEFINITIONS
; This file contains suggested definitions for M-variables on the PMAC2. It is similar to the file for the
PMAC(1) family of boards, but there are significant differences in the input/output definitions, both for
servo registers and general-purpose I/O. Note that these are only suggestions; the user is free to make
whatever definitions are desired.
; Clear existing definitions
CLOSE ; Make sure no buffer is open on PMAC2
M0..1023->* ; All M-variables are now self-referenced
; JI/O Port M-variables
M0->Y:$C080,0 ; I/O00 Data Line; J3 Pin 1
M1->Y:$C080,1 ; I/O01 Data Line; J3 Pin 2
M2->Y:$C080,2 ; I/O02 Data Line; J3 Pin 3
M3->Y:$C080,3 ; I/O03 Data Line; J3 Pin 4
M4->Y:$C080,4 ; I/O04 Data Line; J3 Pin 5
M5->Y:$C080,5 ; I/O05 Data Line; J3 Pin 6
M6->Y:$C080,6 ; I/O06 Data Line; J3 Pin 7
M7->Y:$C080,7 ; I/O07 Data Line; J3 Pin 8
M8->Y:$C080,8 ; I/O08 Data Line; J3 Pin 9
M9->Y:$C080,9 ; I/O09 Data Line; J3 Pin 10
M10->Y:$C080,10 ; I/O10 Data Line; J3 Pin 11
M11->Y:$C080,11 ; I/O11 Data Line; J3 Pin 12
M12->Y:$C080,12 ; I/O12 Data Line; J3 Pin 13
M13->Y:$C080,13 ; I/O13 Data Line; J3 Pin 14
M14->Y:$C080,14 ; I/O14 Data Line; J3 Pin 15
M15->Y:$C080,15 ; I/O15 Data Line; J3 Pin 16
M16->Y:$C080,16 ; I/O16 Data Line; J3 Pin 17
M17->Y:$C080,17 ; I/O17 Data Line; J3 Pin 18
M18->Y:$C080,18 ; I/O18 Data Line; J3 Pin 19
M19->Y:$C080,19 ; I/O19 Data Line; J3 Pin 20
M20->Y:$C080,20 ; I/O20 Data Line; J3 Pin 21
M21->Y:$C080,21 ; I/O21 Data Line; J3 Pin 22
M22->Y:$C080,22 ; I/O22 Data Line; J3 Pin 23
M23->Y:$C080,23 ; I/O23 Data Line; J3 Pin 24
M24->Y:$C081,0 ; I/O24 Data Line; J3 Pin 25
M25->Y:$C081,1 ; I/O25 Data Line; J3 Pin 26
M26->Y:$C081,2 ; I/O26 Data Line; J3 Pin 27
M27->Y:$C081,3 ; I/O27 Data Line; J3 Pin 28
M28->Y:$C081,4 ; I/O28 Data Line; J3 Pin 29
M29->Y:$C081,5 ; I/O29 Data Line; J3 Pin 30
M30->Y:$C081,6 ; I/O30 Data Line; J3 Pin 31
M31->Y:$C081,7 ; I/O31 Data Line; J3 Pin 32
M32->X:$C080,0,8 ; Direction control for I/O00 to I/O07
M33->Y:$E800,0 ; Buffer direction control for I/O00 to I/O07
M34->X:$C080,8,8 ; Direction control for I/O08 to I/O15
M35->Y:$E800,1 ; Buffer direction control for I/O08 to I/O15
M36->X:$C080,16,8 ; Direction control for I/O16 to I/O23