Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual page 1208

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Other Instructions
Operand Specifications
Description
1,2,3...
Flags
Area
CIO Area
Work Area
Holding Bit Area
Auxiliary Bit Area
Timer Area
Counter Area
DM Area
EM Area without bank
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
EMBC(281) changes the current EM (Extended Data Memory) bank to the
one indicated by the EM bank number (N). At the same time, the new EM
bank number is output to A301.
There are up to 13 banks (0 to C) available in the EM Area and there are
32,768 words (E00000 to E32767) in each bank. EM addresses can be identi-
fied in the two following ways. EMBC(281) must be used to change the current
EM bank if the first method is used.
1. EM addresses can be specified without the bank number, i.e. E00000 to
E32767, to indicate addresses in the current EM bank.
2. EM addresses can be specified with the bank number, i.e. En_00000 to
En_32767 (n = 0 to C), to indicate addresses in a particular EM bank.
Name
Label
Error Flag
ER
The following table shows relevant flags in the Auxiliary Area.
Name
Current EM Bank
A301
CIO 0000 to CIO 6143
W000 to W511
H000 to H511
A000 to A959
T0000 to T4095
C0000 to C4095
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
*D00000 to *D32767
*E00000 to *E32767
*En_00000 to *En_32767
#0000 to #000C (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
Operation
ON if N is not within the range 0000 to 000C.
ON if N specifies a non-existent EM bank number.
(This error will occur if the specified EM bank has been
registered as file memory in the PLC Setup.)
OFF in all other cases.
Address
Contains the current EM bank number in hexa-
decimal (0000 to 000C).
Section 3-31
N
Operation
1169

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents