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.

10 <strong>CPU</strong> <strong>Unit</strong> FunctionsItemSynchronous interrupttaskDescriptionThe synchronous interrupt task is executed after the input data for the synchronousdata refresh is received by the <strong>CPU</strong> <strong>Unit</strong>. Interrupt task 2 (scheduled interrupt 0) isused for the synchronous interrupt task.Synchronous unit operation can be used without using the synchronous interrupt task.Overview of Settings for Synchronous <strong>Unit</strong> OperationThe following settings are used for synchronous unit operation.Item Description Setting methodSynchronous unit operation You can enable and disable synchronous PLC Setupunit operation.Synchronous data refresh • The Synchronous <strong>Unit</strong>s to be used insynchronous unit operation must be registered.• The Synchronous Data Refresh Areamust be allocated.PLC SetupThe synchronous data for each Synchronous<strong>Unit</strong> must be set.The synchronous data settings foreach Synchronous <strong>Unit</strong> isaccessed from the PLC SetupSynchronous operation cycle The synchronous cycle time is set. PLC SetupSynchronous interrupt task The program in this task is executed. Select interrupt task 2 (scheduledinterrupt 0) in the program properties.Synchronous unit operation canbe used without using the synchronousinterrupt task.Application Example Synchronizing Operation between ServomotorsIn this application, the operation of some servomotors is synchronized according to the operation ofan encoder. Here, synchronous data input to the <strong>CPU</strong> <strong>Unit</strong> from a High-speed Counter <strong>Unit</strong> is processedin a synchronous operation program in the synchronous interrupt task, e.g., a program for adigital cam. The results are output from the <strong>CPU</strong> <strong>Unit</strong> to some Position Control <strong>Unit</strong>s as synchronousdata to use in position control.<strong>CJ2</strong> <strong>CPU</strong> <strong>Unit</strong> (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 driveServomotor10-80 <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!