EasyManuals Logo

Omron CPM1 Programming Manual

Omron CPM1
541 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #398 background imageLoading...
Page #398 background image
377
Host Link Commands Section 6-3
6-3-18 SV CHANGE 1 –– W#
Searches for the first instance of the specified TIM, TIMH(15), CNT, or
CNTR(12) instruction in the user’s program and changes the SV to new con-
stant SV specified in the second word of the instruction. The program is
searched from the beginning, and it may therefore take approximately 10 sec-
onds to produce a response.
Command Format
Note TC number: 0000 to 0511 in CQM1 PCs, 0000 to 0127 in CPM1/CPM1A/
SRM1 PCs
Response Format An end code of 00 indicates normal completion.
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.
6-3-19 SV CHANGE 2 –– W$
Changes the contents of the second word of the TIM, TIMH(15), CNT, or
CNTR(12) at the specified program address in the user’s program. This can
only be done with a program of less than 10K.
Command Format
Note TC number: 0000 to 0511 in CQM1 PCs, 0000 to 0127 in CPM1/CPM1A/
SRM1 PCs
@ W#OP1 OP2 OP3 OP4x 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) TerminatorFCS
@ W# x 16
0
x 10
0
x 10
1
x 16
1
Node no. Header
code
End code TerminatorFCS
Instruction name Classification
OP1 OP2 OP3 OP4
TI M(Space)TIMER
T I M H HIGH-SPEED TIMER
CNT(Space)COUNTER
C N T R REVERSIBLE COUNTER
OP4OP3OP2OP1
OP4OP3OP2OP1
@ W$ x 10
0
x 10
0
x 10
1
x 10
2
x 10
1
x 10
0
x 10
3
x 10
3
x 10
2
x 10
1
x 10
0
x 10
3
x 10
2
x 10
1
Node no. Program
address
Name TC numberHeader
code
Operand SV TerminatorFCS

Table of Contents

Other manuals for Omron CPM1

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CPM1 and is the answer not in the manual?

Omron CPM1 Specifications

General IconGeneral
ModelCPM1
ManufacturerOmron
Instruction SetBasic and advanced instructions
Power Supply100 to 240 VAC or 24 VDC
CommunicationRS-232C
I/O Points10, 20, 30, or 40 points depending on the model
TimersYes, multiple timers available
CountersYes, multiple counters available
Input Voltage24V DC
Output TypeRelay or transistor
Number of I/O Points10, 20, 30, 40
Communication PortsRS-232C (optional)
Operating Temperature0°C to 55°C
Storage Temperature-20°C
Humidity10% to 90% (non-condensing)
DimensionsVaries depending on the model
WeightVaries depending on the model
Program Memory2048 steps (2K steps)

Related product manuals