10 CPU Unit Functions
10-90
CJ2 CPU Unit Software User’s Manual
Setting Example
z Application Example
I/O data is used as described in the following table when using Position Control Units and High-
speed Counter Units and Synchronous Units.
* Synchronous Group Stop Command Bits and Synchronous Unit Stop Command Bit
Command bits can be used from the CPU Unit to stop the function that is currently being executed for Synchro-
nous Units that are performing synchronous unit operation. There are two command bits. The Synchronous Unit
Stop Command Bit applies to all Synchronous Units. The Synchronous Group Stop Command Bits apply to pre-
set groups of Synchronous Units.
Data Application example
Words allocated to CPU Unit Synchronous Group Stop Command Bits, Synchronous Unit
Stop Command Bit,* etc.
Output data for synchronous
data refresh
Target position data (X, Y, Z, and U axes)
Input data for synchronous data
refresh
Present feedback data (X, Y, Z, and U axes)
CPU Unit
Synchronous
Unit 1
(4) Output Data Assignments for Synchronous Units
(Setting the Destination of Output Data)
(5) Input Data Assignments for Synchronous Units
(Setting the Data To Be Input)
CIO 1218: Position Data for Synchronous Feed Command for Axis 1
CIO 1220: Position Data for Synchronous Feed Command for Axis 2
CIO 1222: Position Data for Synchronous Feed Command for Axis 3
CIO 1224: Position Data for Synchronous Feed Command for Axis 4
CIO 1266 to CIO 1267: Present Feedback Position for Axis 1
CIO 1268 to CIO 1269: Present Feedback Position for Axis 2
CIO 1270 to CIO 1271: Present Feedback Position for Axis 3
CIO 1272 to CIO 1273: Present Feedback Position for Axis 4
CIO 1200
CIO 1202
CIO 1210
CIO 1218
CIO 1250
CIO 1258
CIO 1266
CIO 1295
Synchronous
Unit 2
Synchronous
Unit 3
15 00
02
CIO 1200
CPU Unit Synchronous
Unit 1
Synchronous
Group Stop
Selection:
bit 02 = OFF
Synchronous
Group Stop
Selection:
bit 02 = OFF
Synchronous
Group Stop
Selection:
bit 02 = ON
Synchronous
Group Stop
Selection:
bit 02 = ON
Stop
command
Synchronous Unit
Stop Command Bit
Synchronous Group
Stop Command Bit
Synchronous
Unit 2
Synchronous
Unit 3
Synchronous
Unit 4
Stop
command
Stop
command
Stop
command
Stop
command
Stop command