417
11-3-18SV CHANGE 1 –– W#

Searches for the first instance of the specified TIM, TIMH(15), CNT, CNTR(12),

or TTIM(87) instruction in the user’s program and changes the SV to new

constant SV specified in the second word of the instruction. The program is

searched from the beginning, and it may therefore take approximately 10 se-

conds to produce a response.

Command Format
@W#
OP1 OP2 OP3 OP4x 100
x 101x 103x 102x 100
x 101
:
x 103x 102x 100
x 101
Node no. Header
code Name Timer/counter
(0000 to 0511) SV (0000 to 9999) TerminatorFCS
Response Format
@W# x 160
x 100
x 101x 161:
Node no. Header
code End code TerminatorFCS

Parameters Name, TC Number (Command)

In “Name”, specify the name of the instruction, in four characters, for changing

the SV. In “TC number”, specify the timer/counter number used for the instruc-

tion.

Instruction name Classification TC number

OP1 OP2 OP3 OP4 range

T I M (S) TIMER 0000 to 0511

T I M H HIGH-SPEED TIMER

C N T (S) COUNTER

C N T R REVERSIBLE COUNTER

T T I M TOTALIZING TIMER

(S): Space
11-3-19SV CHANGE 2 –– W$

Changes the contents of the second word of the TIM, TIMH(15), CNT,

CNTR(12), or TTIM(87) at the specified program address in the user’s program.

This can only be done with a program of less than 10K.

Command Format
OP4OP3OP2OP1
@W$ x 100
x 100
x 101x 103x 102x 101x 100
x 103x 102x 101
OP4OP3OP2OP1 x 100
x 103x 102x 101:
Node no. Program
address Name Timer/counter
(0000 to 0511)
Header
code
Operand SV TerminatorFCS
Response Format
@W$ x 160
x 100
x 101x 161:
Node no. Header
code TerminatorFCSEnd code
Host Link Commands Section 11-3