4-5
Section
Host Link Commands
299
Parameters
Name, Word address (Command)
In “Name,” specify the area (i.e., IR, SR, LR, HR, AR, or TC) that is to be forced
set or reset. Specify the name in four characters. In “Word address,” specify the
address of the word that is to be forced set or reset.
Name
Classification
Word address setting range
OP1
OP2
OP3
OP4
CPM2A/CPM2C
PCs
CPM1/CPM1A/
SRM1(-V2) PCs
C
I
O
(Space) IR or SR
0000 to 0049
0200 to 0252
0000 to 0019
0200 to 0252
L
R
(Space) (Space) LR
0000 to 0015
0000 to 0015
H
R
(Space) (Space) HR
0000 to 0019
0000 to 0019
A
R
(Space) (Space) AR
0000 to 0023
0000 to 0015
T
I
M
(Space) Completion Flag (timer)
0000 to 0255
0000 to 0127
T
I
M
H
Completion Flag (high-speed timer)
0000 to 0255
0000 to 0127
T
I
M
L
Completion Flag (long timer)
0000 to 0255
0000 to 0127
T
M
H
H
Completion Flag (very high-speed timer)
0000 to 0255
0000 to 0127
C
N
T
(Space) Completion Flag (counter)
C
N
T
R
Completion Flag (reversible counter)
Forced set/Reset/Cancel data (Command)
If a timer or counter completion flag is specified, only bit 15 is effective and all
other bits will be ignored. Only force-setting and force-resetting are possible for
timers/counters.
If a word address is specified, the content of the word specifies the desired pro-
cess for each bit in the specified word, as shown in the following table.
Hexadecimal setting
Process
0000
No action (bit status not changed)
0002
Reset
0003
Set
0004
Forced-reset
0005
Forced-set
0008
Forced set/reset status cancel
The bits that are merely set or reset may change status the next time the pro-
gram is executed, but bits that are force-set or force-reset will maintain the
forced status until it is cleared.
Response Format
An end code of 00 indicates normal completion.
@
F
K
x 10
0
x 10
1
x 16
1
x 16
0
↵
Node no.
Header
code
Terminator
FCS
End code
4-5-25 FORCED SET/RESET CANCEL – KC
Cancels all forced set and forced reset bits (including those set by FORCED
SET, FORCED RESET, and MULTIPLE FORCED SET/RESET). If multiple bits
are set, the forced status will be cancelled for all of them. It is not possible to can-
cel bits one by one using KC.
Command Format
@
K
C
x 10
0
x 10
1
↵
Node no.
Header
code
Terminator
FCS
Содержание SRM1 - PROGRAMING 02-2001
Страница 1: ...Programmable Controllers Cat No W353 E1 06 SYSMAC CPM1 CPM1A CPM2A CPM2C SRM1 V2 PROGRAMMING MANUAL ...
Страница 2: ...CPM1 CPM1A CPM2A CPM2C SRM1 V2 Programmable Controllers Programming Manual Revised February 2008 ...
Страница 3: ...iv ...
Страница 5: ...vi ...
Страница 9: ...x ...
Страница 15: ...xvi ...