1168
Other Instructions Section 3-31
Operand Specifications
Description 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,2,3... 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.
Flags
The following table shows relevant flags in the Auxiliary Area.
Area N
CIO Area CIO 0000 to CIO 6143
Work Area W000 to W511
Holding Bit Area H000 to H511
Auxiliary Bit Area A000 to A959
Timer Area T0000 to T4095
Counter Area C0000 to C4095
DM Area D00000 to D32767
EM Area without bank E00000 to E32767
EM Area with bank En_00000 to En_32767
(n = 0 to C)
Indirect DM/EM
addresses in binary
@ D00000 to @ D32767
@ E00000 to @ E32767
@ En_00000 to @ En_32767
Indirect DM/EM
addresses in BCD
*D00000 to *D32767
*E00000 to *E32767
*En_00000 to *En_32767
Constants #0000 to #000C (binary)
Data Registers DR0 to DR15
Index Registers ---
Indirect addressing
using Index Registers
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
Name Label Operation
Error Flag ER 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.
Name Address Operation
Current EM Bank A301 Contains the current EM bank number in hexa-
decimal (0000 to 000C).