Embc - Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual

Table of Contents

Advertisement

EMBC

Instruction
SELECT EM BANK
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
N
EM bank number
N: EM Bank Number
Specifies the new EM bank number in hexadecimal (0000 to 0018).
Operand Specifications
Word addresses
Area
CIO
WR
HR
N
OK
OK
OK
Flags
Operand
Error Flag
Related Auxiliary Area Words and Bits
Name
Current EM Bank
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Mnemonic
Variations
EMBC
@EMBC
Block program areas
Step program areas
Ok
OK
Description
AR
T
C
DM
EM
OK
OK
OK
OK
OK
Description
ER
• ON if N specifies a non-existent EM bank number.
• ON if automatic address allocation has been set for the specified EM bank (CJ2 CPU
• ON if the EM Area force-set/reset function is enabled (CJ2 CPU Units only).
• ON if EMBC(281) is executed in an interrupt task for a CJ2 CPU Unit with high-speed
• OFF in all other cases.
Address
A301
Contains the current EM bank number in hexadecimal
Function
code
281
Changes the current EM bank.
EMBC
EMBC(281)
N
N: EM bank number
Subroutines
OK
Data type
UINT
Indirect DM/EM
addresses
Con-
stants
@DM
*DM
DR
@EM
*EM
OK
OK
OK
OK
(This error will occur if the specified EM bank has been registered as file memory in
the PLC Setup.)
Units only).
interrupt function enabled.
3. Instructions
Function
SFC action or transition
Interrupt tasks
programs
OK
OK
Size
1
Registers
Flags
Pulse
Indirect
IR
TK
CF
using IR
---
OK
---
---
Data type
Operation
3
TR
bits
bits
---
---
1021

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CJ - REFERENCE MANUAL 02-2010 and is the answer not in the manual?

Table of Contents