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...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

8 I/O Allocations and <strong>Unit</strong> SettingsPrecautions for Correct UseIORF(097), FIORF(225), IORD (222), and IOWR(223) can be executed for Special I/O <strong>Unit</strong>sfrom interrupt tasks. When doing so, always disable the Special I/O <strong>Unit</strong>'s cyclic refreshing in thePLC Setup. If cyclic refreshing is not disabled and either of the following processes is executed inan interrupt task, a non-fatal error will occur and the Duplicate Refresh Error Flag (A402.13) willturn ON.• I/O refreshing is executed using IORF(097) or FIORF(225) for the same Special I/O <strong>Unit</strong>.• Data is read or written to or from the memory area using IORD (222) or IOWR(223) for thesame Special I/O <strong>Unit</strong>.Whenever disabling a Special I/O <strong>Unit</strong>'s cyclic refreshing, be sure that the I/O for that <strong>Unit</strong> isrefreshed with IORF(097) or FIORF(225) in the program at least every 11 seconds during operation.A <strong>CPU</strong> <strong>Unit</strong> service monitoring error will occur in the Special I/O <strong>Unit</strong> if it is not refreshedevery 11 seconds.<strong>CPU</strong> Bus <strong>Unit</strong>s <strong>CPU</strong> Bus <strong>Unit</strong> Area (I/O Refreshing)Data is exchanged each cycle during I/O refreshing of the <strong>CPU</strong> Bus <strong>Unit</strong> Area. Basically, 25 wordsare allocated to each <strong>CPU</strong> Bus <strong>Unit</strong> based on its unit number setting. The number of words actuallyused by the <strong>CPU</strong> Bus <strong>Unit</strong> varies.The Special I/O <strong>Unit</strong> Area ranges from CIO 1500 to CIO 1899 (25 words × 16 <strong>Unit</strong>s).<strong>CPU</strong> <strong>Unit</strong><strong>CPU</strong> Bus <strong>Unit</strong><strong>CPU</strong> Bus <strong>Unit</strong> Area25 words/<strong>Unit</strong>TransferredinI/OrefreshingNote The <strong>CPU</strong> BUS I/O REFRESH instruction (DLNK(226)) can be executed in the ladder program to refresh theCIO Area words allocated to the <strong>CPU</strong> Bus <strong>Unit</strong> of a specified unit number. Transfer of Words Allocated in the DM AreaOne hundred words are allocated to each <strong>Unit</strong> according to the unit number.Note These words are not used for all models of <strong>CPU</strong> Bus <strong>Unit</strong>.DM Area Words for the <strong>CPU</strong> Bus <strong>Unit</strong>s: D30000 to D31599 (100 words × 16 <strong>Unit</strong>s)The contents of these words are transferred at the following times. Which transfers actually takeplace depends on the model of the <strong>Unit</strong>.• Data transferred when the PLC is turned ON.• Data transferred each cycle.• Data transferred when necessary.Note The <strong>CPU</strong> BUS I/O REFRESH instruction (DLNK(226)) can be executed in the ladder program to refresh theDM Area words allocated to the <strong>CPU</strong> Bus <strong>Unit</strong> of a specified unit number.Some models transfer data in both directions, from the DM Area to the <strong>Unit</strong> and from the <strong>Unit</strong> to theDM Area. Refer to the <strong>Unit</strong>'s operation manual for details on data transfers.8-26 <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!