13.07.2015 Views

CJ2 CPU Unit Software User's Manual - CIP ETI

CJ2 CPU Unit Software User's Manual - CIP ETI

CJ2 CPU Unit Software User's Manual - CIP ETI

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

6 I/O Memory AreasIndirectly Specifying EM AddressesWords in the EM Area can be indirectly addressed in two ways: binary-mode and BCD-mode. Binary-mode Addressing (@E)When a “@” character is input before an EM address, the content of that EM word is treated as abinary value indicating another EM Area address. The instruction will operate on the EM word at thatbinary address in the same bank or the next bank. All of the words in the same EM bank (E0 toE32767) can be indirectly addressed with hexadecimal values 0 to 7FFF and words in the next EMbank (E0 to E32767) can be addressed with hexadecimal values 8000 to FFFF.@E01_100 0200@E00_100 0200@E00_100 8200E01_512Address actually usedE00_512Address actually used▲ ▲E01_512Address actually used▲ BCD-mode Addressing (*E)When a “*” character is input before an EM address, the content of that EM word is treated as aBCD value indicating another EM address.If the BCD value is between 0 and 9999, the final address will be in the same bank.*E01_100*E00_10002000200E01_200Address actually used▲E00_200Address actually used▲ Converting EM Area to File Memory or Trace MemoryYou can specify a bank in the EM Area using the CX-Programmer to convert all banks from thespecified bank to the end of EM Area to file memory or trace memory.File Memory:File memory can be used to store files, like storing files in a Memory Card. A maximum of 13 bankscan be converted to file memory.Trace Memory:The results of a data trace can be saved in trace memory, increasing the quantity of results that canbe stored for one trace.Once EM Area banks have been converted to file memory or trace memory, those banks cannot beaccessed from instructions in the user program. An Illegal Access Error will occur if you attempt todo so.EM bank numberStarting Bank set to 1 in the PLC SetupEM file memory or trace memory(Cannot be accessed from instructions.)6-30 <strong>CJ2</strong> <strong>CPU</strong> <strong>Unit</strong> <strong>Software</strong> User’s <strong>Manual</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!