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.

AppendicesWordsA300 --- Error Log Pointer When an error occurs, the Error Log Pointer is incremented by 1to indicate the location where the next error record will berecorded as an offset from the beginning of the Error Log Area(A100 to A199).00 to 14 hexadecimalThe Error Log Pointer can be cleared to 00 by turning A500.14(the Error Log Reset Bit) from OFF to ON.When the Error Log Pointer has reached 14 hex (20 decimal), thenext record is stored in A195 to A199 when the next error occurs.A301 --- Current EMBank---A302 A302.00toA302.15<strong>CPU</strong> Bus <strong>Unit</strong>Initializing FlagsA315 A315.12 Tag MemoryError Flag (NonfatalError)(<strong>CJ2</strong>H-<strong>CPU</strong>6@-EIP only.)A330toA335AddressBitsA315.13 Option BoardError FlagA315.15 Backup MemoryError FlagA330.00toA335.15NameSpecial I/O <strong>Unit</strong>Initializing FlagsFunctionThis word contains the current EM bank number in 4-digit hexadecimal.The current bank number can be changed with theEMBC(281) instruction.0000 to 0018 hexadecimalThese flags are ON while the corresponding <strong>CPU</strong> Bus <strong>Unit</strong> is initializingafter its <strong>CPU</strong> Bus <strong>Unit</strong> Restart Bit (A501.00 to A501.15) isturned from OFF to ON or the power is turned ON.Bits 00 to 15 correspond to unit numbers 0 to 15.Use these flags in the program to prevent the <strong>CPU</strong> Bus <strong>Unit</strong>'srefresh data from being used while the <strong>Unit</strong> is initializing.IORF(097) and FIORF(225) (<strong>CJ2</strong> and CJ1H-R <strong>CPU</strong> <strong>Unit</strong>s only)cannot be executed while an <strong>CPU</strong> Bus <strong>Unit</strong> is initializing.OFF: Not initializingON: Initializing(Reset to 0 automatically after initialization.)These bits are turned OFF automatically when initialization iscompleted.ON when an error occurs in the tag memory where network symbolsare stored.Turns ON when the Option Board is removed while the power isbeing supplied or an Option Board that is not supported ismounted.OFF: No error, ON: ErrorON when writing to the backup data area, source memory area,or comment memory area in the internal flash memory fails.This bit will turn OFF when writing is completed successfully.These flags are ON while the corresponding Special I/O <strong>Unit</strong> isinitializing after its Special I/O <strong>Unit</strong> Restart Bit (A502.00 toA507.15) is turned from OFF to ON or the power is turned ON.The bits in these words correspond to unit numbers 0 to 95 as follows:A330.00 to A330.15: <strong>Unit</strong>s 0 to 15A331.00 to A331.15: <strong>Unit</strong>s 16 to 31----A335.00 to A335.15: <strong>Unit</strong>s 80 to 95Use these flags in the program to prevent the Special I/O <strong>Unit</strong>'srefresh data from being used while the <strong>Unit</strong> is initializing. Also,IORF(097) and FIORF(225) cannot be executed while a SpecialI/O <strong>Unit</strong> is initializing.OFF: Not initializingON: Initializing(Reset to 0 automatically after initialization.)These bits are turned OFF automatically when initialization iscompleted.Statusafter modechangeStatus atstartupRetained Retained Refreshed whenerror occurs.A500.14Cleared Cleared ---Retained Cleared Written during initializationA501.00Retained Cleared ---Cleared Cleared • Written whenpower is turnedON.• Refreshed eachcycle during overseeingprocess.Retained Cleared ---Write timing/Related flags, settingsRetained Cleared A502.00 to A507.15A-3 Auxiliary Area AppA-3-1 Read-only Area (Set by System)<strong>CJ2</strong> <strong>CPU</strong> <strong>Unit</strong> <strong>Software</strong> User’s <strong>Manual</strong>A-113

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

Saved successfully!

Ooh no, something went wrong!