Application Procedure - Omron CJ2 CPU - REV 10-2010 User Manual

Cj2 cpu unit software
Table of Contents

Advertisement

10 CPU Unit Functions

10-8-6 Application Procedure

The procedure to use synchronous unit operation is given below.
1
Initial Settings (Refer to 10-8-7 PLC Setup.)
Make the synchronous unit operation settings on the Timings/Synchronous Tab Page of the PLC
Setup from the CX-Programmer.
(1) Enable synchronous unit operation. Select the Use Synchronous Operation Check
Box.
(2) Set the synchronous operation cycle time.
(3) Set the words for exchanging data with the synchronous data refresh.
(a) Set the start address for the input data in the Synchronous Data Refresh Area
Allocation Area.
(b) Register the Synchronous Units.
(c) Set the start address and data size for the input and output data for each Syn-
chronous Unit.
2
I/O Data Assignments for Synchronous Units
Assign how the I/O data will be used for each Synchronous Unit. Click the Special Unit Setup
Button in the Synchronous Unit Operation Settings Area of the Timings/Synchronous Tab Page
of the PLC Setup from the CX-Programmer to make the settings for each Synchronous Unit.
Refer to the manual for each Synchronous Unit for information on specific settings.
3
Writing the Synchronous Interrupt Task If It Is Required. (Refer to 10-8-8 Writing the Synchro-
nous Interrupt Task.)
Write the program for the synchronous interrupt task to interrupt task 2 from the CX-Program-
mer.
4
Debugging Synchronous Unit Operation (Refer to 10-8-9 Adjusting and Troubleshooting Syn-
chronous Unit Operation.)
Adjust the synchronous operation cycle time while monitoring the following values on the Syn-
chronous Operation Status Dialog Box of the CX-Programmer.
• Present and maximum values of the synchronous processing time
• Set value of the synchronous operation cycle time
• The present and maximum values of the normal cycle time
• Data exchange errors with Synchronous Units
10-94
CJ2 CPU Unit Software User's Manual

Advertisement

Table of Contents
loading

Table of Contents