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.

1 OverviewSynchronous <strong>Unit</strong> Operation (<strong>CJ2</strong>H <strong>CPU</strong> <strong>Unit</strong>s with <strong>Unit</strong> Version 1.1or Later) A <strong>CJ2</strong> <strong>CPU</strong> <strong>Unit</strong> can synchronize the start of the processing performed by<strong>CPU</strong> Bus <strong>Unit</strong>s and Special I/O <strong>Unit</strong>s to a specified cycle.Synchronous data refreshing can be used between the <strong>CPU</strong> <strong>Unit</strong> and Synchronous <strong>Unit</strong>s,* and therefreshed data can be used in operations in a synchronous interrupt task. This enables multiaxiscontrol with minimal fluctuations in the timing from inputs and processing to outputs. This providessupport for motion applications that require precise timing, such as electronic cam control.* Synchronous <strong>Unit</strong>s are <strong>CPU</strong> Bus <strong>Unit</strong>s and Special I/O <strong>Unit</strong>s that support the synchronous unit operation function.Only the CJ1W-NC214, CJ1W-NC234, CJ1W-NC414, and CJ1W-NC434 Position Control <strong>Unit</strong>s supportsynchronous unit operation as of December 2009.11-1 Overview of <strong>CJ2</strong> <strong>CPU</strong> <strong>Unit</strong>s<strong>CJ2</strong> <strong>CPU</strong> <strong>Unit</strong>s (with unitversion 1.1 or later)Example:Electronic cam controlSynchronous <strong>Unit</strong>sExample:Position Control <strong>Unit</strong>sExample:High-speed Counter <strong>Unit</strong>Synchronous datarefreshingEncoderMotor driveServomotorSeveral servomotors are controlled synchronouslybased on the operation of the encoder.Easier Programming Address offsets can be specified.When an address is specified for an instruction operand, an offset can be specified in brackets afterthe address to offset it. For example, by setting a word address in brackets to specify the offset, theaddress can be dynamically specified according to the contents of that word.ExampleW0.00[D0]: W0.00 is the starting address and the contents of D0 is the offset. If D0 is &3, thenW0.03 is specified. Symbols can be specified for array variable subscripts.By specifying symbols for array variable subscripts, elements can be dynamically specified accordingto the values of the symbols.Examplea[b]: The value of symbol b specifies the element for array variable a[ ].<strong>CJ2</strong> <strong>CPU</strong> <strong>Unit</strong> <strong>Software</strong> User’s <strong>Manual</strong>1-7

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

Saved successfully!

Ooh no, something went wrong!