Tc Status Read - Omron CPM1 Programming Manual

Hide thumbs Also See for CPM1:
Table of Contents

Advertisement

Parameters
4-5-4 PV READ - - - - RC
Command Format
1
x 10
x 10
@
Node no.
Response Format
1
x 10
x 10
@
Node no.
Parameters
4-5-5 TC STATUS READ - - - - RG
Command Format
1
x 10
x 10
@
Node no.
Response Format
Read Data (Response)
The contents of the number of words specified by the command are returned in
hexadecimal as a response. The words are returned in order, starting with the
specified beginning word.
Reads the contents of the specified number of timer/counter PVs (present val-
ues), starting from the specified timer/counter.
0
3
2
x 10
x 10
x 10
R
C
Header
Beginning timer/counter
code
Note
1. Beginning T/C: 0000 to 0255 in CPM2A/CPM2C PCs, 0000 to 0127 in
CPM1/CPM1A/SRM1(-V2) PCs
2. No. of T/Cs:
CPM1/CPM1A/SRM1(-V2) PCs
An end code of 00 indicates normal completion.
0
1
0
x 16
x 16
x 10
R
C
Header
End code
Read data (1 word)
code
Read data (for number of words read)
The response will be divided when reading more than 30 words of data.
Read Data (Response)
The number of present values specified by the command is returned in hexade-
cimal as a response. The PVs are returned in order, starting with the specified
beginning timer/counter.
Reads the status of the Completion Flags of the specified number of timers/
counters, starting from the specified timer/counter.
0
3
2
x 10
x 10
x 10
R
G
Header
Beginning timer/counter
code
Note
1. Beginning T/C: 0000 to 0255 in CPM2A/CPM2C PCs, 0000 to 0127 in
CPM1/CPM1A/SRM1(-V2) PCs
2. No. of T/Cs:
CPM1/CPM1A/SRM1(-V2) PCs
An end code of 00 indicates normal completion.
1
0
x 10
x 10
@
Node no.
1
0
3
2
1
x 10
x 10
x 10
x 10
x 10
1
No. of timers/counters
0001 to 0256 in CPM2A/CPM2C PCs, 0001 to 0128 in
3
2
1
0
x 10
x 10
x 10
1
0
3
2
1
x 10
x 10
x 10
x 10
x 10
1
No. of timers/counters
0001 to 0256 in CPM2A/CPM2C PCs, 0001 to 0128 in
ON/
1
0
x 16
x 16
R
G
OFF
Header
End code
code
Read data
(1 timer/counter)
Read data
(for number of TC read)
Section

0
2
FCS
Terminator

FCS
Terminator

0
2
FCS
Terminator

FCS
Terminator
4-5

Advertisement

Table of Contents
loading

This manual is also suitable for:

Srm-v2Cpm1aCpm2aSrm1Cpm2c

Table of Contents