Move Bit: Movb(042) - Omron SYSMAC CV Series Operation Manual

Ladder diagrams
Hide thumbs Also See for SYSMAC CV Series:
Table of Contents

Advertisement

Data Movement Instructions
Example
0000
0000
03
04
0000
0000
04
03
0000
03
0000
04

5-15-12 MOVE BIT: MOVB(042)

Ladder Symbol
(
)
042
MOVB S C D
Variations
MOVB(042)
Description
Control Word Contents
Destination bit (00 to 15)
Precautions
Flags
The following example shows how to use BSET(041) to change the PV of a timer
depending on the status of CIO 000003 and CIO 000004. When CIO 000003 is
ON, TIM 0010 will operate as a 50-second timer; when CIO 000004 is ON,
TIM 0010 will operate as a 30-second timer.
(041)
jBSET
#0500
T0010
(041)
jBSET
#0300
T0010
TIM
0010
Operand Data Areas
S: Source word or data
C: Control word
D: Destination word
When the execution condition is OFF, MOVB(042) is not executed. When the
execution condition is ON, MOVB(042) transfers a single specified bit from the
source word to the specified bit in the destination word. The other bits in the des-
tination word are not changed.
Source bit (00 to 15)
C must be BCD and must be within the values specified above.
ER (A50003):
Control word content is not BCD.
Rightmost and leftmost eight bits are not 00 to 15.
Content of a*DM word is not BCD when set for BCD.
T0010
T0010
#9999
CIO, G, A, #, DM, DR, IR
CIO, G, A, T, C, #, DM, DR, IR
CIO, G, A, DM, DR, IR
Source word (S)
Destination word (D)
Section 5-15
Address
Instruction
Operands
00000
LD
000003
00001
AND NOT
000004
jBSET(041)
00002
#0500
T0010
T0010
00003
LD
000004
00004
AND NOT
000003
jBSET(041)
00005
#0300
T0010
T0010
00006
LD
000003
00007
OR
000004
00008
TIM
#9999
0010
199

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cv2000Cvm1Cv500Cv1000

Table of Contents