4-5
Section
Host Link Commands
291
Parameters
Name, TC Number (Command)
Specify the name of the instruction for reading the SV in “Name.” Make this set-
ting in 4 characters. In “TC number,” specify the timer/counter number used by
the instruction.
Name
Instruction name
OP1
OP2
OP3
OP4
T
I
M
(Space)
TIMER
T
I
M
H
HIGH-SPEED TIMER
T
I
M
L
LONG TIMER
T
M
H
H
VERY HIGH-SPEED TIMER
C
N
T
(Space)
COUNTER
C
N
T
R
REVERSIBLE COUNTER
Operand, SV (Response)
The name that indicates the SV classification is returned to “Operand,” and ei-
ther the word address where the SV is stored or the constant SV is returned to
“SV.”
Operand
Classification
Constant or word address
OP1
OP2
OP3
OP4
CPM2A/
CPM2C PCs
CPM1 PCs
C
I
O
(Space) IR or SR
0000 to 0049
0200 to 0255
0000 to 0019
0200 to 0255
L
R
(Space) (Space) LR
0000 to 0015
0000 to 0015
H
R
(Space) (Space) HR
0000 to 0019
0000 to 0019
A
R
(Space) (Space) AR
0000 to 0023
0000 to 0015
D
M
(Space) (Space) DM
0000 to 6655
0000 to 6655
D
M
(Space) DM (indirect)
0000 to 6655
0000 to 6655
C
O
N
(Space) Constant
0000 to 9999
0000 to 9999
Note
The instruction name specified under “Name” must be in four characters. Fill any
gaps with spaces to make a total of four characters.
4-5-17 SV CHANGE 1 – W#
Searches for the first instance of the specified TIM, TIMH(15), TIML(––),
TMHH(––), CNT, or CNTR(12) 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 approximate-
ly 10 seconds to produce a response.
Command Format
@
W
#
OP1 OP2 OP3 OP4
x 10
0
x 10
1
x 10
3
x 10
2
x 10
0
x 10
1
↵
x 10
3
x 10
2
x 10
0
x 10
1
Node no.
Header
code
Name
TC number*
SV (0000 to 9999)
Terminator
FCS
Note
TC number: 0000 to 0255 in CPM2A/CPM2C PCs and 0000 to 0127 in
CPM1/CPM1A/SRM1(-V2) PCs
Response Format
An end code of 00 indicates normal completion.
@
W
#
x 16
0
x 10
0
x 10
1
x 16
1
↵
Node no.
Header
code
End code
Terminator
FCS
Содержание SRM1 - PROGRAMING 02-2001
Страница 1: ...Programmable Controllers Cat No W353 E1 06 SYSMAC CPM1 CPM1A CPM2A CPM2C SRM1 V2 PROGRAMMING MANUAL ...
Страница 2: ...CPM1 CPM1A CPM2A CPM2C SRM1 V2 Programmable Controllers Programming Manual Revised February 2008 ...
Страница 3: ...iv ...
Страница 5: ...vi ...
Страница 9: ...x ...
Страница 15: ...xvi ...