Delta Tau GEO BRICK LV User Manual

Page of 440
 
Turbo PMAC User Manual 
200
 
Turbo PMAC General Purpose I/O Use 
These M-variables should take values of 0 or 255 ($FF) only; 0 sets the byte to input, 255 sets the byte to 
output. 
In addition, the bi-directional buffer IC for each byte has a direction control line accessible as a software 
control bit.  These control lines and bits must match the ASIC direction bits.  In the ISA and PCI-bus 
versions of the Turbo PMAC, the buffer direction control bits are at Turbo PMAC address Y:$070800, 
with bits 4 and 5 controlling the two bytes of the JTHW port.  A bit value of 0 specifies input; 1 specifies 
output.  Suggested M-variable definitions are: 
M61->Y:$070800,4   
; Buffer direction control for DAT0 to DAT7 
M63->Y:$070800,5   
; Buffer direction control for SEL0 to SEL7 
In the VME-bus versions of the Turbo PMAC, the buffer direction control bits are at Turbo PMAC 
address Y:$070802, with bits 0 and 1 controlling the two bytes of the JTHW port.  A bit value of 0 
specifies input; 1 specifies output.  Suggested M-variable definitions are: 
M61->Y:$070802,0   
; Buffer direction control for DAT0 to DAT7 
M63->Y:$070802,1   
; Buffer direction control for SEL0 to SEL7 
If it is desired to change either of these I/O bytes, it must be done by user programs. Usually this is done 
in PLC 1 acting as a reset PLC, scanning through once on power-up/reset, and then disabling itself. 
Inversion Control 
Each line on the JTHW port is individually controllable as to whether it is an inverting I/O point (0=+5V; 
1=0V) or a non-inverting I/O point (0=0V; 1=+5V).  Register X:$078406 contains the inversion control bits: 
• 
X:$078406 bits 0 to 7 control DAT0 to DAT7, respectively 
• 
X:$078406 bits 8 to 15 control SEL0 to SEL7, respectively 
A value of 0 in the control bit sets the corresponding I/O point as non-inverting.  A value of 1 in the 
control bits sets the corresponding I/O point as inverting.  At power-up/reset, PMAC automatically sets 
all of the I/O points on the JTHW port as non-inverting.  To use any of the multiplexed I/O accessory 
boards on the JTHW port, all I/O points on the port must be left non-inverting. 
Alternate Uses 
Each general-purpose I/O point on the JTHW port has an alternate use as a supplemental fixed-use I/O 
point on a supplemental machine interface channel (1* or 2*).  The points are individually controllable as 
to general-purpose use or fixed use by control register Y:$078406.  Refer to this register in the memory-
I/O map to see the alternate uses of each point.  At power-up/reset, Turbo PMAC automatically sets up all 
of the I/O points on the port for general purpose use. 
Note:  
Because of the byte-wide direction-control buffer ICs, it is not possible to use all 
of the I/O points on the JTHW in their alternate uses. 
Turbo PMAC Analog Input (JANA) Port 
The analog input (JANA) port is present only if Option 12 is ordered for the Turbo PMAC2 or a Turbo 
PMAC PCI board.  Option 12 provides 8 12-bit analog inputs (ANAI00-ANAI07).  Option 12A provides 
8 additional 12-bit analog inputs (ANA08-ANAI15) for a total of 16 inputs. 
Hardware Characteristics 
The analog inputs can be used as unipolar inputs in the 0V to +5V range, or bipolar inputs in the -2.5V to 
+2.5V range.  Each input has a 470
Ω input resistor in-line, and a 0.033 µF resistor to ground.  This 
provides a 16 
µsec time constant on each input line.