Communications Procedure - Omron CPM1 Programming Manual

Hide thumbs Also See for CPM1:
Table of Contents

Advertisement

Communications Procedure

Command Chart
Header
code
RR
IR/SR AREA READ
RL
LR AREA READ
RH
HR AREA READ
RC
PV READ
RG
TC STATUS READ
RD
DM AREA READ
RJ
AR AREA READ
WR
IR/SR AREA WRITE
WL
LR AREA WRITE
WH
HR AREA WRITE
WC
PV WRITE
WG
TC STATUS WRITE
WD
DM AREA WRITE
WJ
AR AREA WRITE
R#
SV READ 1
R$
SV READ 2
R%
SV READ 3
W#
SV CHANGE 1
W$
SV CHANGE 2
W%
SV CHANGE 3
MS
STATUS READ
SC
STATUS WRITE
MF
ERROR READ
KS
FORCED SET
KR
FORCED RESET
FK
MULTIPLE FORCED SET/RESET
KC
FORCED SET/RESET CANCEL
MM
PC MODEL READ
TS
TEST
RP
PROGRAM READ
WP
PROGRAM WRITE
QQ
COMPOUND COMMAND
XZ
ABORT (command only)
**
INITIALIZE (command only)
IC
Undefined command (response only)
6-1
Communications Procedure
360
The commands listed in the chart below can be used for host link communica-
tions with the CQM1/CPM1/CPM1A/SRM1. These commands are all sent
from the host computer to the PC.
Name
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Not valid
Not valid
Not valid
Not valid
Not valid
Not valid
Not valid
Valid
Valid
Valid
Not valid
Not valid
Not valid
Valid
Valid
Valid
Not valid
Not valid
Not valid
Not valid
Valid
Valid
Valid
Not valid
Valid
Valid
Valid
---
Host link communications are executed by means an exchange of commands
and responses between the host computer and the PC.
With the CQM1, there are two communications methods that can be used.
One is the normal method, in which commands are issued from the host com-
puter to the PC. The other method allows commands to be issued from the
PC to the host computer.
PC mode
RUN
MON
PRG
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
Not valid
Valid
Valid
Valid
Valid
Valid
Valid
Valid
---
---
Section 6-1
Applicable PCs
Page
All
366
All
366
All
367
All
367
All
368
All
368
All
369
All
369
All
370
All
371
All
371
All
372
All
373
All
373
All
374
All
375
CQM1 only
376
All
377
All
377
CQM1 only
378
All
379
All
380
All
381
All
382
All
383
All
384
All
385
All
386
All
386
All
387
All
387
All
387
All
389
All
390
All
390

Advertisement

Table of Contents
loading

Table of Contents