Reference Manual

PMAC 2 Software Reference
PMAC I-Variable Specification 21
When software addressing is not used (I1 is 0 or 1), PMAC assumes that it is the only card
on the serial line, so it always acts on received commands, sending responses back over the
line as appropriate.
When software addressing is used (I1 is 2 or 3), PMAC assumes that there are other cards
on the line, so it requires that it be addressed (with the @{card command) before it
responds to commands. The {card} number in the command must match the card
number set up in hardware on the card with jumpers or DIP-switches.
See Also
Serial Port, Multiple-Card Applications (Talking to PMAC)
I-variable I6
Program Commands SEND, CMD
Connectors J4 (PMAC-PC, -Lite, -VME), J1, J3 (PMAC-STD)
Jumpers E40-E43 (PMAC-PC, -Lite, -VME)
DIP-switches SW1-1 – SW1-4 (PMAC-STD)
I2 Control Panel Disable
Range
0 .. 3
Units
none
Default
0
Remarks
I2 allows the enabling and disabling of the control panel discrete inputs (on the JPAN
connector). I2=0 enables these control panel functions; I2=1 disables them. When
disabled, these inputs can be used as general purpose I/O. The reset, handwheel, and wiper
inputs on the JPAN connector are not affected by I2.
When I2=0, the IPOS, EROR and F1ER status lines to JPAN and the Programmable
Interrupt Controller (PIC), and the BREQ status line to the PIC, reflect the hardware-
selected coordinate system (by BCD-coded lines FPDn/ on JPAN); when I2=1, they reflect
the software-addressed coordinate system (&n).
When I2=3, the discrete inputs on the JPAN connector are disabled, and the dual-ported
RAM control panel functions are enabled. Refer to the descriptions of DPRAM functions
for more detail.
See Also
Using Interrupts (Writing a Host Communications Program)
I-variables I16-I18
Custom Inputs Example (JOGSWTCH.PMC)
Connector JPAN (J2)
DPRAM Control Panel Functions
I3 I/O Handshake Control
Range
0 .. 3
Units
none
Default
1
Remarks
I3 controls what characters, if any, are used by PMAC to delimit a transmitted line, and
whether PMAC issues an acknowledgment (handshake) of a command.
Note:
With checksum enabled (I4=1), checksum bytes are added after the
handshake character bytes.