Omron SYSMAC CS Series Instruction & Reference Manual page 1000

Hide thumbs Also See for SYSMAC CS Series:
Table of Contents

Advertisement

3. Instructions
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 decimal (0 to 24) or 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
966
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.
CS/CJ/NSJ Series Instructions Reference Manual (W474)
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
TR
bits
bits
---
---

Advertisement

Table of Contents
loading

Table of Contents