Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual page 825

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

Advertisement

Data Control Instructions
Description
Area
EM Area with bank
Indirect DM/EM
addresses in binary
Indirect DM/EM
addresses in BCD
Constants
Data Registers
Index Registers
Indirect addressing
using Index Registers
When the execution condition is ON, ZONE(682) adds the specified bias to
the specified input data (signed 16-bit binary) and places the result in a speci-
fied word. The contents of words C and C+1 are as follows:
C
Negative bias
C+1
Positive bias
C and C+1 must have the same area classification.
If the input data (S) is less than zero, the input data plus the negative bias will
be output to D and the Less Than Flag will turn ON.
If the input data (S) is greater than zero, the input data plus the positive bias
will be output to D and the Greater Than Flag will turn ON.
If the input data (S) is equal to zero, 0000 will be output to D and the Equals
Flag will turn ON.
Output
Positive bias (C+1)
If the output data is smaller than the 8000 (hex) or if is greater than 7FFF, the
sign will be reversed. For example, for a negative bias value of FF00 (hex) and
input data of 8000 (hex), the output data will be as follows:
8000 (hex) [–32768] – FF00 (hex) [–256] = 7F00 (hex) [32512]
S
En_00000 to
En_00000 to
En_32767
En_32766
(n = 0 to C)
(n = 0 to C)
@ D00000 to @ D32767
@ E00000 to @ E32767
@ En_00000 to @ En_32767
(n = 0 to C)
*D00000 to *D32767
*E00000 to *E32767
*En_00000 to *En_32767
(n = 0 to C)
#0000 to #FFFF
---
(binary)
DR0 to DR15
---
---
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
Input
Negative bias (C)
Section 3-18
C
D
En_00000 to
En_32767
(n = 0 to C)
DR0 to DR15
785

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents