476
10-3-19 SV READ 3 –– R%

Reads the constant SV or the word address where the SV is stored. The SV that

is read is a 4-digit decimal number (BCD) written in the second word of the TIM,

TIMH(15), CNT, CNTR(12), or TTIM(87) instruction at the specified program ad-

dress in the users program.

Command Format
x 103
OP4OP3OP2OP1
@R% x 102x 102
x 100
x 101x 105x 104x 103x 100
x 101
x 101x 100
Node no. Program
address
Must be 0
Mnemonic Timer/counter
(0000 to 0511)
TerminatorFCS
Header
code

Use all four characters to specify the timer or counter instructions mnemonic.

Add a space to the end of a TIM or CNT mnemonic to make it 4 characters long.

Instruction name Mnemonic TC number
OP1 OP2 OP3 OP4 range
TIMER T I M (Space) 0000 to 0511
HIGH-SPEED TIMER T I M H
COUNTER C N T (Space)
REVERSIBLE COUNTER C N T R
TOTALIZING TIMER T T I M
Response Format
@R% OP1 OP2 OP3 OP4x 160x 100
x 100
x 101x 161x 103x 102x 101
Node no. Header
code End code Operand SV TerminatorFCS

The Operand parameter indicates the data area where the SV is stored or a

constant. The SV parameter indicates the word address or the SV itself if it is a

constant.

Operand Classification Constant or
OP1 OP2 OP3 OP4 word address
C I O (Space) IR or SR 0000 to 0511
L R (Space) (Space) LR 0000 to 0063
H R (Space) (Space) HR 0000 to 0099
A R (Space) (Space) AR 0000 to 0027
D M (Space) (Space) DM 0000 to 6655
D M (Space) DM (indirect) 0000 to 6655
C O N (Space) Constant 0000 to 9999
E M (Space) (Space) EM 0000 to 6143
E M (Space) EM (indirect) 0000 to 6143

Limitations The command is valid only when the UM setting is ladder only.

The command cant be executed if the UM area is read-protected.

SR 253 through SR 255 cant be specified.

Host Link Commands Section 10-3