Section 4
4-1
4-1-1
4-2
PLC Setup ................................................................................................................................ 4-8
4-3
Creating I/O Tables .................................................................................................................. 4-9
4-3-1
4-3-2
4-3-3
4-4
Setting Routing Tables.......................................................................................................... 4-11
4-4-1
4-4-2
4-4-3
4-5
4-5-1
4-5-2
4-6
CPU Bus Unit Setup Area ..................................................................................................... 4-16
4-6-1
4-6-2
Section 5
5-1
Programming ........................................................................................................................... 5-3
5-1-1
5-1-2
5-1-3
5-1-4
5-2
Tasks....................................................................................................................................... 5-11
5-2-1
5-2-2
5-2-3
5-2-4
5-3
Sections.................................................................................................................................. 5-40
5-3-1
5-4
Function Blocks..................................................................................................................... 5-42
5-4-1
5-4-2
5-4-3
5-5
Symbols.................................................................................................................................. 5-47
5-5-1
5-5-2
5-5-3
5-5-4
5-5-5
5-5-6
5-5-7
5-5-8
5-6
Instructions ............................................................................................................................ 5-62
5-6-1
5-6-2
5-6-3
5-6-4
10
CPU Unit Initial Settings.............................................................................................................. 4-2
I/O Tables .................................................................................................................................... 4-9
Automatic Allocation.................................................................................................................. 4-10
Manual Allocation...................................................................................................................... 4-10
Routing Tables .......................................................................................................................... 4-11
Setting Allocated DM Area Words for Special I/O Units and CPU Bus Units............................ 4-15
Setting Procedure ..................................................................................................................... 4-15
CPU Bus Unit Setup Area ......................................................................................................... 4-16
Setting Procedure ..................................................................................................................... 4-16
Programming Overview............................................................................................................... 5-3
ST Language............................................................................................................................... 5-8
SFC Overview ............................................................................................................................. 5-9
Overview of Tasks ..................................................................................................................... 5-11
Cyclic Tasks .............................................................................................................................. 5-14
Interrupt Tasks .......................................................................................................................... 5-20
Designing Tasks ........................................................................................................................ 5-30
Overview of Sections ................................................................................................................ 5-40
Function Blocks......................................................................................................................... 5-42
Overview ................................................................................................................................... 5-47
Types of Symbols ...................................................................................................................... 5-48
Global Symbols ......................................................................................................................... 5-50
Local Symbols........................................................................................................................... 5-50
Symbol Data Types ................................................................................................................... 5-56
Specifying Operands................................................................................................................. 5-69
Data Formats ............................................................................................................................ 5-77
I/O Refresh Timing .................................................................................................................... 5-81
@
@
Only) ............................................. 5-51
CJ2 CPU Unit Software User's Manual
Need help?
Do you have a question about the CJ2 CPU UNIT SOFTWARE and is the answer not in the manual?
Questions and answers
How do I retrieve fault codes from plc: CJ2M-CPU35