User`s guide
MULTI-TASKER™
400-0356-002
15
15
Command Format: [WRSm=F
1
,F
2
,…;CnUi]
Sm = Subroutine ID (m = # from 1 to 180)
F
1
,F
2
… = Functions: functions must be
separated by a comma.
Cn = Card ID (n = # from 1 to max slots)
Ui = Unit ID (i = from 0 to 9)
The maximum number of characters, including
commas, which may be sent to a subroutine in a
single command is 16. If the length of the
command string exceeds the maximum, break
the functions into smaller groups. Previous
commands are NOT overwritten. The subroutine
is appended with the new commands.
Example:
Program Subroutine 2 of the card in slot #4 with
the following functions: ON1C3, ON2C3 and
ON123456C7. Send the command
[WRS2=ON1C3,ON2C3,ON123456C7;C4].
NOTE: A comma must be used between
functions.
Add more functions such as ON3C3 and
ON4C3 to the subroutine. Subroutines are
written accumulatively. That is, each command
is appended to the functions that are already
part of the subroutine. Therefore, to add the
functions ON3C3 and ON4C3, it is only
necessary to send the command
[WRS2=ON3C3, ON4C3;C4].
After sending the command above, the contents
of Subroutine 2 will contain the following:
ON1C3, ON2C3, ON123456C7,ONC3, ON4C3
25. [RDS]
This command reads and displays the functions
programmed in a subroutine.
Command Format: [RDSmCnUi]
Sm = Subroutine (m = # from 1 to 180)
Cn = Card ID (n = # from 1 to max slots)
Ui = Unit ID (i = from 0 to 9)
Example 1:
Read back the subroutine in the previous
example for the WRS command. The card is in
slot #4 and the Subroutine is 2. Send the
command [RDS2C4] and receive the following
feedback:
ON1C3, ON2C3, ON123456C7, ONC3, ON4C3
Example 2:
Read back the contents of an empty subroutine.
The card is in slot #4 and the subroutine is
Subroutine 9. Send the command [RDS9C4]
and receive the following feedback:
Subroutine Empty
26. [CLRS]
This command clears the contents of memory
for one or all subroutines.
Command Format: [CLRSmCnUi]
Sm = Subroutine (m = # from 1 to 180, * = all)
Cn = Card ID (n = # from 1 to max slots)
Ui = Unit ID (i = from 0 to 9)
Example 1: Clear One
Clear Subroutine 2 of the card in slot #4. Send
the command [CLRS2C4] and observe the
following feedback:
Sub Clear
Example 2: Clear ALL
Clear all subroutines of the card in slot #4. Send
the command [CLRS*C4] and observe the
following feedback:
ALL SUBS WILL BE CLEARED
PLEASE WAIT
When all subroutines have been cleared, the
following feedback will be displayed:
TASK COMPLETED
27. [SUB]
This command executes the functions stored in
a subroutine.










