-2 REPLACEMENT OF CPU MODULE
2 REPLACEMENT OF CPU MODULE
: Available : Although available, specifications such as setting method partially differ. : Not available
Function Description
AnS series Q series
Precautions for replacement Reference AnSHCPU
A2USCPU A2USHCPU
-S1
Basic model
High Performance
model
Control
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, memory cassettes, or memory cards.
The Q series prohibits each file from being read/written by password registration, whereas the AnS series prohibit the parameters and programs from being read/written to the user memory by keyword registration.
Section 2.4.2
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 AnS series, resetting the parameters is necessary.
-Clock function
Reads or writes the internal clock data of the CPU module.
The clock data consists of year, month, date, hour, minute, second and a day of the week.
The Q series handles the year in four digits (western calendar), whereas the AnS series handles the year in the last two digits.
-Debug
Write during RUN
Changes the programs of (writes programs to) the running CPU module.
For the Q series, it is necessary to set the reserved capacity for the write during RUN in advance.
(default value is 500 steps.)
Section 2.4.3
Status latch
Stores the data of the entire device memory area at the time of error occurrence in the built-in memory or a memory cassette and monitors the stored data by a peripheral.
The Q 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.
The sampling trace function cannot be used with the Q00UJCPU.
-steps operation Stops the execution of a sequence
program at the specified steps.
The Q series does not support the steps 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 Q series does not support
the off-line switch function.
-Maintenanc
e Online I/O module change
Replaces input/output modules while the CPU module is in operation.
To replace the input/output 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 Q series.
-2 REPLACEMENT OF CPU MODULE
2.3.2 Functional comparison between QnAS series and Q series (1) Comparison between QnASCPU and Universal model QCPU
: Available : Although available, specifications such as setting method partially differ. : Not available
Function Description
QnAS
series Q series
Precautions for replacement Reference Q2ASCPU
(S1) Q2ASHCPU
(S1)
Universal model
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 turning off the power, resetting, 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 there is no
functional difference.
-File management
Manages such as parameters, sequence programs, device comments, file registers as files.
Memory configuration and data to be stored differ between the QnAS series and Q series.
Section 2.4.1
Structured program
Selects a suitable execution type for program application, and divides each program by designer, process or others.
-
-I/O assignment Assigns I/O points for each module
regardless of its mounted position.
When using a base unit with other than 8 slots, set the number of slots with the parameter (I/O assignment setting).
Section 2.4.4
Boot operation (ROM operation)
Reads sequence programs stored in the only or a 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.
The Universal model QCPU, whose program memory is a Flash ROM, does not have to perform the ROM operation.
Section 2.4.1 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 Q 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
Initial device 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 Q series.
Section 2.4.1
Output status setting at changing from STOP to RUN
Sets the output (Y) status at the change from STOP to RUN to reoutputting data before STOP or outputting data after the operation execution.
Resetting parameters is required to replace the
QnAS series with the Q series.
-2 REPLACEMENT OF CPU MODULE
: Available : Although available, specifications such as setting method partially differ. : Not available
*1 An SRAM card is required.
*2 SWIVD/NX-GPPQ is required.
*3 The High-speed Universal model QCPU (QnUDVCPU) is supported only by GX Works2.
Function Description
QnA
series Q series
Precautions for replacement Reference Q2ASCPU
(S1) Q2ASHCPU
(S1)
Universal model
Control
Number of general data processing
Sets the number of general data processing
executed in one END operation.
For the Q series, use the COM instructions or set the communication reserved time with special register (SD315) if 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 Q 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.
For the Q series, it is necessary to set the reserved capacity for the write during RUN in advance. (default value is 500 steps.)
Section 2.4.3
Status latch
Stores the data of the entire devices at the time of error occurrence to the memory cassette or built-in memory and monitors the stored data by a peripheral.
*1 *2 The Q series does not support the status latch
function.
-Sampling trace
Stores the data of the specified device memory area in a memory card at a set interval to check the changes of the device memory area and monitors the stored data by a peripheral.
*1 The Q00UJCPU does not support the sampling
trace function.
-Program trace
Collects the execution status of the specified steps in specified program and stores it in a file.
*1 *2 The Q 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 steps operation.
*1 *2
The Q series does not support the simulation function.
Consider debugging with GX Simulator.
-steps operation Stops the execution of a sequence program
at the specified steps.
The Q series does not support the steps 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 screen of GX Developer*3.
-Module access interval read
Monitors the access interval of special
function modules or peripherals. This function is the same as "module service
interval" of the Q series.
-Maintenance
Online I/O module change
Replaces input/output modules while the
CPU module is in operation. To replace the input/output 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
Q 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.
-