Omron C200HG Computer Hardware User Manual


 
488
10-3-28 MULTIPLE FORCED SET/RESET –– FK
Force sets, force resets, or cancels the forced status of the bits in one word in the
IR, SR, LR, HR, or AR, or a timer/counter Completion Flag.
Command Format
@ FK
x 10
0
x 10
1
x 10
3
x 10
2
x 10
1
x 10
0
OP1 OP2 OP3 OP4
15 14 13 12 11 10 1 0
Node no. Header
code
Operand Word
address
Forced set/reset/cancel data
Bit
TerminatorFCS
For data areas IR, SR, LR, HR, and AR, the Operand parameter indicates the
data area where the bit will be force-set and the Word address parameter indi-
cates the word address.
For the TC area, Operand parameter indicates the mnemonic of the timer or
counter instruction and the Word address parameter indicates the TC number.
Data area/
Operand
Word Bit
instruction
OP1 OP2 OP3 OP4
address
IR or SR C I O (Space) 0000 to 0511
00 to 15
LR L R (Space) (Space) 0000 to 0063
HR H R (Space) (Space) 0000 to 0099
AR A R (Space) (Space) 0000 to 0027
TIMER T I M (Space)
0000 to 0511 Always
HIGH-SPEED TIMER T I M H
00
COUNTER C N T (Space)
REVERS. COUNTER C N T R
TOTALIZING TIMER T T I M
TRANSITION FLAGS T N (Space) (Space) 0000 to 1023
The 16 bytes of forced set/reset/cancel data specifies what operation will be per-
formed on the specified data area word or Completion Flag. If a timer or counter
is specified, the status of the Completion Flag is force-set or force-reset using
the setting for bit 15, and the settings for bits 00 through 14 will be ignored. Only
force-setting and force-resetting are possible for timers/counters.
Forced set/reset/cancel data Operation
0000 Bit status not changed
0010 Reset to 0.
0011 Set to 1.
0100 Forced-reset
0101 Forced-set
1000 Cancel forced set/reset status
Response Format
@ FK
x 10
0
x 10
1
x 16
1
x 16
0
Node no. Header
code
TerminatorFCSEnd code
Host Link Commands
Section 10-3