![Omron SYSMAC C200H Скачать руководство пользователя страница 149](http://html1.mh-extra.com/html/omron/sysmac-c200h/sysmac-c200h_operation-manual_742423149.webp)
136
2
S
3 4 5
2
St
3 4 5
2
St+1
3 4 5
2
St+2
3 4 5
2
E
3 4 5
BSET(71) can be used to change timer/counter PV. (This cannot be done
with MOV(21) or MVN(22).) BSET(71) can also be used to clear sections of a
data area, i.e., the DM area, to prepare for executing other instructions.
Flags
ER:
St and E are not in the same data area or St is greater than E.
Indirectly addressed DM word is non-existent. (Content of
*
DM word
is not BCD, or the DM area boundary has been exceeded.)
The following example shows how to use BSET(71) to change the PV of a
timer depending on the status of IR 00003 and IR 00004. When IR 00003 is
ON, TIM 010 will operate as a 50-second timer; when IR 00004 is ON, TIM
010 will operate as a 30-second timer.
TIM 010
#9999
@BSET(71)
#0500
TIM 010
TIM 010
@BSET(71)
#0300
TIM 010
TIM 010
00004
00003
00003
00004
00004
00003
Address
Instruction
Operands
00000
LD
00003
00001
AND NOT
00004
00002
@BSET(71)
#
0500
TIM
010
TIM
010
00003
LD
00004
00004
AND NOT
00003
00005
@BSET(71)
#
0300
TIM
010
TIM
010
00006
LD
00003
00007
OR
00004
00008
TIM
010
#
9999
Example
Data Movement
Section 5-14
Содержание SYSMAC C200H
Страница 1: ...OPERATION MANUAL C200H CPU01 E 03 E 11 E SYSMAC Programmable Controllers Cat No W130 E1 05 ...
Страница 2: ...C200H Programmable Controllers CPU01 E 03 E 11 E Operation Manual Revised June 2003 ...
Страница 3: ...iv ...
Страница 5: ...vi ...
Страница 8: ...TABLE OF CONTENTS ix Glossary 345 Index 363 Revision History 369 ...
Страница 342: ...336 Programmer Program Date Page Word Contents Notes Word Contents Notes Data Storage ...
Страница 374: ...Cat No W130 E1 05 C200H Programmable Controllers CPU01 E 03 E 11 E OPERATION MANUAL ...