64
CP1L CPU Unit Operation
Section 2-3
• When the power supply is turned ON, data is transferred from the
Memory Cassette to the built-in flash memory and RAM. Data can also
be transferred from the Memory Cassette to the built-in flash memory
and RAM using the CX-Programmer.
User Program
The user program consists of up to 288 tasks, including interrupt tasks. Each
task is programmed from the CX-Programmer and then transferred to the
CPU Unit.
There are two types of tasks: cyclic tasks and interrupt tasks. Cyclic tasks are
executed once each cycle and interrupt tasks are executed only when the
interrupt conditions are met. There can be up to 32 cyclic tasks and up to 256
interrupt tasks. Cyclic tasks are executed in the order of the task numbers.
Instructions programmed in the tasks are executed in order from the first
instruction and then I/O memory is refreshed. When all cyclic tasks have been
executed, I/O refreshing with PLC Units is performed and then the cyclic tasks
are executed again starting from the one with the lowest task number. This is
called the cyclic scan method.
I/O Memory
The I/O memory area is a RAM area read and written by the user. Some parts
of the I/O memory are cleared when the power is interrupted. Other parts are
maintained. There are parts that used for data exchange with PLC Units and
parts that are used internally.
There are two ways to refresh the parts of I/O memory used for data
exchange with PLC Units: Once each program execution cycle and immedi-
ately when needed when executing specific instructions.
Parameter Area
In addition to the I/O memory used as instructions operands by the user, there
is also a separate memory area that can be manipulated only from the CX-
Programmer. This area, called the parameter area, contains the following.
• PLC Setup
• Routing tables
PLC Setup
The PLC Setup contains configuration parameters that can be set by the user
to define the basic specifications of the CPU Unit. Included are serial port set-
tings, a minimum cycle time setting, and other parameters. For details, refer to
the
CX-Programmer Operation Manual.
Summary of Contents for CP1L-L14D Series
Page 2: ...CP1L L14D CP1L L20D CP1L M30D CP1L M40D CP1L CPU Unit Operation Manual Revised June 2007...
Page 3: ...iv...
Page 9: ...x...
Page 13: ...xiv TABLE OF CONTENTS...
Page 21: ...xxii...
Page 33: ...xxxiv Conformance to EC Directives 6...
Page 65: ...32 Function Blocks Section 1 5...
Page 153: ...120 CP CPM1A series Expansion I O Unit Wiring Section 3 6...
Page 523: ...490 Troubleshooting Unit Errors Section 9 4...
Page 531: ...498 Replacing User serviceable Parts Section 10 2...
Page 563: ...530 Auxiliary Area Allocations by Function Appendix C...
Page 611: ...578 Auxiliary Area Allocations by Address Appendix D...
Page 638: ...605 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 639: ...606 Connections to Serial Communications Option Boards Appendix F...
Page 669: ...636 Index...
Page 671: ...638 Revision History...