Sv Change 1 - W - Omron CPM1 - PROGRAMING MANUAL 02-2001 Programming Manual

Hide thumbs Also See for CPM1 - PROGRAMING MANUAL 02-2001:
Table of Contents

Advertisement

Host Link Commands
Parameters
4-5-17 SV CHANGE 1 – W#
Command Format
1
0
x 10
x 10
@
W
Node no.
Header
code
Response Format
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.
OP1
OP2
T
I
T
I
T
I
T
M
C
N
C
N
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
OP1 OP2
OP3
C
I
O
L
R
(Space) (Space) LR
H
R
(Space) (Space) HR
A
R
(Space) (Space) AR
D
M
(Space) (Space) DM
:
D
M
C
O
N
Note The instruction name specified under "Name" must be in four characters. Fill any
gaps with spaces to make a total of four characters.
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.
OP1 OP2 OP3 OP4
#
Name
Note TC number: 0000 to 0255 in CPM2A/CPM2C PCs and 0000 to 0127 in
CPM1/CPM1A/SRM1(-V2) PCs
An end code of 00 indicates normal completion.
@
Name
OP3
OP4
M
(Space)
M
H
M
L
H
H
T
(Space)
T
R
Classification
OP4
(Space) IR or SR
(Space) DM (indirect)
(Space) Constant
3
2
1
0
3
x 10
x 10
x 10
x 10
x 10
TC number*
SV (0000 to 9999)
1
0
x 10
x 10
x 16
W
#
Node no.
Header
End code
code
Section
Instruction name
TIMER
HIGH-SPEED TIMER
LONG TIMER
VERY HIGH-SPEED TIMER
COUNTER
REVERSIBLE COUNTER
Constant or word address
CPM2A/
CPM2C PCs
0000 to 0049
0200 to 0255
0000 to 0015
0000 to 0019
0000 to 0023
0000 to 6655
0000 to 6655
0000 to 9999
2
1
0
x 10
x 10
x 10
FCS
1
0
:
x 16
FCS
Terminator
4-5
CPM1 PCs
0000 to 0019
0200 to 0255
0000 to 0015
0000 to 0019
0000 to 0015
0000 to 6655
0000 to 6655
0000 to 9999
:
Terminator
291

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents