User`s guide
MULTI-TASKER™
400-0356-002
14
14
Example:
An MT112-100 located in slot #3. Send the
command [RDIS*C3] and receive feedback
similar to the following:
Port01: Sub000, Sub001.
Port02: Sub008, Sub009.
…
Port24: Sub001, Sub020.
21. [CLRI]
This command clears the subroutines assigned
to an IO port.
Command Format: [CLRIxCnUi]
x = I/O Port (x = # from 1 to 24)
Cn = Card ID (n = # from 1 to max slots)
Ui = Unit ID (i = from 0 to 9)
Example:
In order to clear the subroutines for IO port 8 of
card 2, send the command [CLRI8C2].
22. [CLRI*]
This command clears all subroutines associated
with all IO ports for a given card.
Command Format: [CLRI*CnUi]
x = I/O Port (x = # from 1 to 24)
Cn = Card ID (n = # from 1 to max slots)
Ui = Unit ID (i = from 0 to 9)
Example:
Clear all of the subroutines for all IO ports on
card 2 by sending the command [CLRI*C2].
23. [WRKEY]
This command allows external switches and
LED's to control or be controlled through the I/O
ports. Subroutines are assigned to be executed
when an external key (switch) is pressed and
the external LED is in a given state.
The ports are designed to work in pairs. Port 1
handles external Key #1 and Port 2 handles
external LED #1. Port 3 handles external Key #2
and Port 4 handles external LED #2.
In this setup, the Port 1 jumper should be set to
the INPUT position. Port 2's jumper should be in
the OUTPUT position and so on.
Command Format: [WRKEYx,y=SUBkCnUi]
x = key number
y = LED state (0= ON, 1= OFF)
k = subroutine number (# from 1 to 180)
Cn = Card ID (n = # from 1 to max slots)
Ui = Unit ID (i = from 0 to 9)
Example:
The external keys (switches) and LED's are
wired to the I/O ports as follows:
I/O#1 = KEY#1 Port 1 jumpered for INPUT
I/O#2 = LED#1 Port 2 jumpered for OUTPUT
I/O#3 = KEY#2 Port 3 jumpered for INPUT
I/O#4 = LED#2 Port 4 jumpered for OUTPUT
Assign subroutine 10 to be executed if external
Key #1 is pressed and external LED #1 is ON.
[WRKEY1,0=SUB10C4]
The system knows external LED#1 (Port 2) is on
since the command [WRIO2=1C4] must have
been issued. Port 2 was turned on to drive the
LED.
24. [WRS]
This command writes/programs a subroutine in
the MT112-100 by adding functions to its
subroutine. The subroutines may be used to
control other cards in the Multi-Tasker™
system, but cannot be used to control the Front
Panel LED's.
See the MT101-110 User Guide for complete
instructions.
CAUTION: Do NOT confuse this command with
the {WRS} command, which writes subroutines
to the Front Panel memory.










