Omron CJ - REFERENCE MANUAL 07-2009 Reference Manual page 150

Communications commands
Hide thumbs Also See for CJ - REFERENCE MANUAL 07-2009:
Table of Contents

Advertisement

C-mode Command Details
End Codes
4-3-21 TIMER/COUNTER SV CHANGE 2 – – W$
Command Format
1
0
@
W
x 10
x 10
Header
Unit No. (BCD)
code
128
An end code of 14 (format error) will be returned if the length of the command
is incorrect.
An end code of 15 (entry number data error) will be returned if the program
address is not specified in BCD, or if the timer/counter type or number is out of
range (including hexadecimal data).
An end code of 16 (command not supported) will be returned if the specified
instruction does not exist in the UM Area.
End code (Hex)
00
01
04
13
14
15
16
18
19
21
23
From the specified program address onwards in cyclic task 0, TIMER/
COUNTER SV CHANGE 2 finds the specified timer/counter instruction and
changes the 4-digit constant SV (BCD) that is set, or the word address where
the SV is stored, to a newly designated constant SV or storage word address.
3
2
1
0
$
x 10
x 10
x 10
x 10
Program
address
OP1
Constant/area classification
Instruction name
HIGH-SPEED TIMER
WAIT
TIMER WAIT
COUNTER WAIT
HIGH-SPEED TIMER
TOTALIZING TIMER
REVERSIBLE COUNTER
TIMER
COUNTER
Normal completion
Not executable in RUN mode
Address over
FCS error
Format error
Entry number data error
Command not supported
Frame length error
Not executable
Not executable due to CPU Unit CPU error.
User memory protected
OP1
OP2
OP3
OP4
x 10
Timer/counter type
Timer/counter number
3
OP2
OP3
OP4
x 10
x 10
New SV/word address
Timer/counter type
Char-
Char-
acter 1
acter 2
T
M
T
I
C
N
T
I
T
T
C
N
T
I
C
N
Section 4-3
Contents
3
2
1
0
x 10
x 10
x 10
2
1
0
*
x 10
x 10
FCS
Terminator
Timer/counter
Char-
Char-
acter 3
acter 4
H
W
0000 to 2047
M
W
T
W
M
H
I
M
T
R
M
(SP)
T
(SP)
number

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CJ - REFERENCE MANUAL 07-2009 and is the answer not in the manual?

Table of Contents