2 2 REPLACEMENT OF CPU MODULE
2.3 Functional Comparison of CPU Module
2 REPLACEMENT OF CPU MODULE
2 - 13
2.3.1 Comparison of the functions between the AnS series and L series
: Available : Although available, specifications such as setting method partially differ. ×: Not available
*1 Device numbers are converted upon the programmable controller type change by GX Developer.
2 REPLACEMENT OF CPU MODULE
: Available : Although available, specifications such as setting method partially differ. ×: Not available
*1 Setting the reserved capacity for the write during RUN in advance is required. (Default-set to 500 steps.)
*2 Only the L26CPU-BT and L26CPU-PBT are acceptable.
Function Description
AnS series
LCPU Precautions for replacement Reference AnSHCPU
AnSCPU (C24-R2)
A2US(H) CPU(-S1) A2ASCPU (-S1/-S30)
Debug
Write during RUN
Changes the programs of (writes programs to) the running CPU module.
*1
For the L series, setting the reserved capacity for the write during RUN in advance is required.
Section 2.4.3
Status latch
Stores the data of the entire device memory area at the error occurrence in the built-in memory or a memory cassette and monitors the stored data by a peripheral.
× The L series does not support the status latch function.
Sampling trace
Stores the data of the specified device memory area in the built-in memory or a memory cassette at a set interval to check the changes of the device memory area and monitors the stored data by a peripheral.
Step operation Stops the execution of a sequence
program at the specified steps. ×
The L series does not support the step operation function.
Consider debugging with GX Simulator.
Off-line switch
Separates the device memory area used for the OUT instruction from the operation processing of sequence program.
×
The L series does not support the off-line switch function.
Consider using the forced on/off function of external I/O, instead.
Maintenance
Online I/O module change
Replaces I/O modules while the CPU
module is in operation. × × × To replace the I/O modules
online, use the Process CPU.
Self-diagnostic function
Performs self-diagnostics to check for errors, detect errors, and stop the CPU module.
Error codes differ between the AnS series and L series.
Built-in function
Built-in I/O function
Enables a small-scale system composed of only a CPU module to be built up without individual function dedicated modules.
× ×
The built-in I/O function for an LCPU includes the following:
• General-purpose input function
• General-purpose output function
• Interrupt input function
• Pulse catch function
• Positioning function
• High-speed counter function
Section 1.2.1
Built-in Ethernet function
Serves for connecting programming tools and GOT, using the built-in Ethernet function.
× × Section
1.2.1 Built-in CC-Link
function
Serves for building up a CC-Link system without dedicated modules, using the built-in CC-Link function.
× × *2 Section
1.2.1
2 REPLACEMENT OF CPU MODULE
2 - 15
2.3.2 Comparison of the functions between the QnAS series and L series
: Available : Although available, specifications such as setting method partially differ. ×: Not available
Function Description
QnAS series
LCPU Precautions for replacement Reference Q2ASCPU(S1)/
Q2ASHCPU(S1)
Control
Constant scan
Executes the sequence program at the constant time intervals regardless of the processing time of the program.
Latch (data retention during power failure)
Holds the data of devices when power-off, reset, and a momentary power failure longer than the allowable momentary power failure time occurs.
Remote RUN/
STOP
Remotely runs or stops the program operations in the CPU module from external switches or peripherals.
PAUSE Stops operations while holding the
output status.
Interrupt processing
Executes the program that corresponds to the cause when an interrupt cause occurs.
Display priority
of ERROR LED
Sets the ERROR LED on/off status at an error.
Target errors vary by model, but no functional difference exists.
File management
Manages such as parameters, sequence programs, device comments, and file registers as files.
Memory configuration and data to be stored differ between the QnAS series and L series.
Section 2.4.1
Structured program
Allows to select an execution type which suits for the usage of the program. In addition, each program can be divided according to each designer and process.
I/O assignment Assigns I/O points for each module regardless of its mounted position.
The assignment of the XY addresses differ depending on the built-in I/O function. Configure the start XY setting with parameters (I/
O assignment setting).
Section 2.4.4
Boot operation (ROM-use operation)
Reads sequence programs stored in the memory card to the built-in memory of the CPU module when the operating status of the module is changed to RUN and executes the read programs.
For the LCPU, whose program memory is a Flash ROM, the ROM operation is not required.
Section 7.7.12
Data protection function (system protection, keyword registration/
password registration)
Prevents unauthorized access from peripherals to programs and comments in the built-in memory of a CPU module or memory cards.
The L series prohibits each file from being read/written by password registration, whereas the QnAS series prohibit the parameters and programs from being read/written to the user memory by keyword registration.
Section 2.4.2
Device initial value
Sets an initial value of device memory, file registers, and special function modules when the CPU module is set from STOP to RUN.
Memory configuration and data to be stored differ between the QnAS series and L series.
Section 2.4.1
Output status setting at changing from STOP to RUN
The settings for the output status at changing from STOP to RUN (Y) between "re-output operation status before STOP" and "output after operation execution".
To replace the QnAS series with L series, resetting the parameters is necessary.
2 REPLACEMENT OF CPU MODULE
: Available : Although available, specifications such as setting method partially differ. ×: Not available
*1 Setting the reserved capacity for the write during RUN in advance is required. (Default-set to 500 steps.)
*2 An SRAM card is required.
*3 SWIVD/NX-GPPQ is required.
Function Description
QnAS series
LCPU Precautions for replacement Reference Q2ASCPU(S1)
Q2ASHCPU(S1)
Control
Number of general data processing
Sets the number of general data processing executed in one END operation.
For the L series, use the COM instructions or set the
communication reserved time with the special register (SD315) as necessary.
Clock function
Reads or writes the internal clock data of the CPU module. The clock data consists of year, month, day, hour, minute, second and a day of the week.
The L series handles the year in four digits (western calendar), whereas the QnAS series handles the year in the last two digits.
Pay attention to the handling of the day of the week data.
Debug
Write during RUN
Changes the programs of (writes programs to) the running CPU module.
*1
Setting the reserved capacity for the write during RUN in advance is required.
Section 2.4.3
Status latch
Stores the data of the entire device memory area at the error occurrence in the built-in memory or a memory cassette and monitors the stored data by a peripheral.
*2*3 × The L series does not support the status latch function.
Program trace
Collects the execution status of the specified steps in specified program and stores it in a file.
*2*3 × The L series does not support the program trace function.
Simulation function
Detaches I/O modules or special modules from the CPU module and simulates the program upon the step operation.
*2*3 ×
The L series does not support the simulation function.
Consider debugging with GX Simulator.
Step operation Stops the execution of a sequence
program at the specified steps. ×
The L series does not support the step operation function.
Consider debugging with GX Simulator.
Execution time measurement (program monitor list, scan time measurement)
Measures the processing time for each program.
The execution time measurement can be checked on the Program monitor list window of GX Developer.
Module access interval read
Monitors the access interval of special function modules or peripherals.
It is referred to as "Module service interval time" in L series.
Maintenance
Online I/O module change
Replaces I/O modules while the CPU
module is in operation. × To replace the I/O modules online,
use the Process CPU.
Self-diagnostic function
Performs self-diagnostics to check for errors, detect errors, and stop the CPU module.
Error codes differ between the QnAS series and L series.
Error history
Stores errors that are detected with the diagnostic function in the CPU module or memory card. The stored history data can be monitored with a peripheral.
2 REPLACEMENT OF CPU MODULE
2 - 17
: Available : Although available, specifications such as setting method partially differ. ×: Not available
Function Description
QnAS series
LCPU Precautions for replacement Reference Q2ASCPU(S1)
Q2ASHCPU(S1)
Built-in function Built-in I/O
function
Individual function dedicated modules are not required by using the built-in I/O function. That enables a small-scale system composed of only a CPU module to be built up.
×
The built-in I/O function for an LCPU includes the following:
• General-purpose input function
• General-purpose output function
• Interrupt input function
• Pulse catch function
• Positioning function
• High-speed counter function
Section 1.2.1
Built-in Ethernet function
Serves for connecting programming tools and GOT, using the built-in Ethernet function.
× Section
1.2.1