Move Bit: Movb - Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

Data Movement Instructions
Description
S
Flags
Examples
3-8-5

MOVE BIT: MOVB(082)

Purpose
Ladder Symbol
Area
Data Registers
Index Registers
Indirect addressing
using Index Registers
MVNL(499) inverts the bits in S+1 and S and transfers the result to D+1 and
D. The contents of S+1 and S are left unchanged.
S+1
Bit status
inverted.
Name
Label
Error Flag
ER
Equals Flag
=
Negative Flag
N
When CIO 000000 is ON in the following example, the status of the bits in
D00101 and D00100 are inverted and the result is copied to D00201 and
D00200. (The original contents of D00101 and D00100 are left unchanged.)
Transfers the specified bit.
MOVB(082)
S
C
D
S
---
---
,IR0 to ,IR15
–2048 to +2047, IR0 to –2048 to +2047, IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –) IR0 to, –(– –) IR15
D
Operation
OFF
ON if the contents of D+1 and D are 0000 0000 after exe-
cution.
OFF in all other cases.
ON if the leftmost bit of D+1 is 1 after execution.
OFF in all other cases.
S: Source word or data
C: Control word
D: Destination word
Section 3-8
D
D+1
337

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents