Академический Документы
Профессиональный Документы
Культура Документы
Page
Appendix 2 How to Use User ROM Card with the MICREX-SX SPH300 ............... App.2-1
1. Introduction .......................................................................................................................... App.2-1
2. How to offline download data to U_ROM ............................................................................. App.2-3
3. How to offline modify a project stored in a U_ROM ............................................................. App.2-3
4. How to online modify a program stored in a U_ROM .......................................................... App.2-5
Appendix 2 How to Use User ROM Card with the
MICREX-SX SPH300
Appendix 2 How to Use User ROM Card with
the MICREX-SX SPH300
MICREX-SX NP1PS-32R/74R/117R can transfer and save a project of zipped executable program, source program, comment,
variable names, etc. (hereinafter called zipped project) of PLC as well as executable program to a user ROM card. In addition,
even when the CPU module is running, it is possible to upload them or download only zipped project.
This appendix explains how to download or upload programs to or from a user ROM card. Hereinafter user ROM card is
referred to as “U_ROM”.
1. Introduction
1) Appearance of CPU module
2) Key switch
8) User Rom 1) Status indication LED
card (option) UROM
RUN ONL
ERR
UROM
3) CPU No.
User ROM card RUN
ALM
setting switch
STOP BAT
connector cover TERM
Specification plate
CPU
No. (on the right side panel of module)
User ROM card
LOADER
eject button
4) Loader connector
Loader connector
cover
7) Version seal
5) USB connector
(loader connector)
Battery
connector Battery cover
U_ROM is disabled when the key switch is set to a position other than “UROM”.
U_ROM can be mounted and removed, whether the CPU is running or stopped. Before mounting or removing U_ROM, be
sure to check that the key switch is set to “UROM” and that the “UROM” LED is unlit.
It is possible to offline upload or download executable program and/or zipped project to or from a U_ROM. “Offline” here
means the operation with a U_ROM that is mounted in the PC card slot or CF card reader of a personal computer in which
Expert (D300win) is installed. On the other hand, “online” means the operation with a U_ROM that is mounted on the CPU
module.
2) Preparation for using U_ROM online (proceed to 3) when U_ROM is used offline)
U_ROM needs to be initialized when it is used for the first time. For initialization, it is mounted on the CPU module.
1) Turn OFF the power supply to the CPU module.
2) Mount the U_ROM on the CPU module.
3) Set the key switch to “UROM”.
4) Turn the power supply ON, and the CPU module will recognize the U_ROM. (The “UROM” LED lights up.)
Then, the CPU module come in “fatal failure” condition (the ONL LED as well as the ALM LED lights up), which, however,
is the correct response when a U_ROM that is not yet initialized is mounted. The following are displayed on the [Failure
diagnosis] dialog box and the [Detail RAS] dialog box:
Fatal failure CPU module memory error (*)
User program saving ROM error (*)
ROM error
User ROM directory structure error
App.2-1
Appendix 2 How to Use User ROM Card with
the MICREX-SX SPH300
5) When [Resource initialization] is executed from Expert (D300win), the CPU module is initialized. At the same time, the
U_ROM is also initialized. (When the executable programs and data that you don’t want to delete are stored in the CPU
module, make their backup files in advance with SX control utility.)
[Caution] The format of U_ROM that can be recognized by the CPU module is only “FAT”. Neither “FAT32” nor “NTFS” can
be recognized by the CPU module. U_ROMs formatted by WindowsXP can be recognized only by the CPU module with
V59 or later software version. If a U_ROM with 32MB or greater memory capacity is formatted by WindowsXP, FAT32 is
selected as standard. So, it is necessary to change the selection to “FAT” before formatting is started.
Mount a U_ROM in your personal computer and check the drive in advance.
Menu for dealing with U_ROM on Expert (D300win)
To initialize a U_ROM that is used for the first time, see the following figure.
App.2-2
Appendix 2 How to Use User ROM Card with
the MICREX-SX SPH300
Select the
CPU module.
Check the
project name.
App.2-3
Appendix 2 How to Use User ROM Card with
the MICREX-SX SPH300
2) Program modification
When the retain area continues being used or when the “variable name linkage” function is used with POD, etc., it is possible to
set such that previous values continue to be used for the addresses of already existing variables.
4) With the power supply to the CPU turned OFF, operate as follows:
Remove the U_ROM from the personal computer, and mount it on the CPU module.
Set the key switch to “UROM”.
When the power is turned ON, the modified program is executed (see notes 1 and 2).
(When the power is turned once OFF and then ON again, the content of the U_ROM is transferred to the CPU module, and the
program is executed. If the content of the U_ROM coincides with that of the CPU module, no data is transferred.)
Notes: 1) In the following cases, the retain memory is initialized. When mechanical adjustment data and other important data
are stored in the retain memory, make backup files of the retain memory data with SX control utility and recover the
backup data after the user ROM starts running.
• When a U_ROM that is only formatted by Expert (D300win) and has no project is mounted
• When a U_ROM that is written a project whose memory allocation was changed with the [Memory allocation
setting…] function is mounted
2) If the program stored in the CPU does not coincide with the content of the U_ROM, the program stored in the
U_ROM is converted and transferred to the CPU. Here, it takes ordinary startup time plus several minutes (30
seconds for 32k steps to 90 seconds for 117K steps and additional 60 seconds when memory optimization is
necessary) for the CPU to start up. With multi-CPU system, disconnection is detected on the CPUs that start up
late, but the system can started normally when the power is turned once OFF and then ON again after all the CPUs
are started.
App.2-4
Appendix 2 How to Use User ROM Card with
the MICREX-SX SPH300
Note: With this setting, online change does not cause to download zipped project.
App.2-5
Appendix 2 How to Use User ROM Card with
the MICREX-SX SPH300
App.2-6
Appendix 3 CPU System Memory
page
Appendix 3 CPU System Memory ............................................................................ App.3-1
(1) Resource operating status %MW10.0 (read-only) ........................................................................ App.3-1
(2) Resource switch/user ROM status %MW10.1 (read-only) ............................................................ App.3-2
(3) Resource fatal failure factor %MW10.2 (read-only) ...................................................................... App.3-2
(4) Resource nonfatal failure factor %MW10.4 (read-only) ................................................................ App.3-3
(5) CPU error factor %MW10.6 (read-only) ........................................................................................ App.3-3
(6) Memory error factor %MW10.8, %MW10.9 (read-only) ................................................................ App.3-4
(7) SX bus error factor %MW10.10, %MW10.11 ................................................................................ App.3-4
(8) Application error factor %MW10.12, %MW10.13 (read-only) ....................................................... App.3-5
(9) User fatal failure %MW10.14 to %MW10.16 ................................................................................. App.3-5
(10) User nonfatal failure %MW10.18 to %MW10.20 ......................................................................... App.3-5
(11) System definition error factor %MW10.22 to %MW10.29 (read-only) ........................................ App.3-6
(12) Application program error factor %MW10.38, %MW10.39 ......................................................... App.3-8
Appendix 3 CPU System Memory
Appendix 3 CPU System Memory
Note: <When %MX10.0.13=0 (Fail-soft operation mode is disabled for the modules on the SX bus>
For common modules, fail-soft operation is not performed; for SX bus directly connected I/O modules, fail-soft operation
is not performed even when enabled from the loader (Expert (D300win)).
<When %MX10.0.13=1 (Fail-soft operation mode is enabled for the modules on the SX bus>
For common modules, fail-soft operation is performed; for SX bus directly connected I/O modules, fail-soft operation is
performed according to the fail-soft operation setting made from the loader (Expert (D300win)).
App.3-1
Appendix 3 CPU System Memory
%MX10.1.0 CPU number Indicates the 4-bit number (0 to F) that is set with the CPU No. setting
| switch on the CPU module front panel. However, the setting range of ---
%MX10.1.3 CPU module is 0 to 7.
%MX10.1.4 Not used --- ---
%MX10.1.5
%MX10.1.6 User ROM card mounting 1: Mounted, 0: Not mounted
condition Note 1
%MX10.1.7 User ROM card write protect 1: Write protected, 0: Write permitted (enabled when %MX10.1.6=1)
Note 1
%MX10.1.8 STOP position Set ON when the key switch is set to STOP.
%MX10.1.9 TERM position (lower) Set ON when the key switch is set to TERM (lower).
%MX10.1.10 TERM position (upper) Set ON when the key switch is set to TERM (upper).
(see notes 2 and 3)
%MX10.1.11 RUN position Set ON when the key switch is set to RUN.
%MX10.1.12 Not used
| --- ---
%MX10.1.15
Notes: 1) Applicable only to user ROM card (compact flash card) adapted models.
2) The TERM position flag is set ON also when the key switch is unfixed.
3) For user ROM card adapted high-performance CPU modules, this flag is set ON when the key switch is set to
UR8M_TERM.
(3) Resource fatal failure factor %MW10.2 (read-only)
This area indicates the failure factors that cause to stop the resource (one-CPU system).
SPH SPH
Address Name Description 300 200
%MX10.2.0 CPU error Set ON when a fatal failure occurs on the local CPU module.
%MX10.2.1 Power supply error Set ON when power-off occurs.
%MX10.2.2 Memory error Set ON when an error occurs on the local CPU module internal memory.
%MX10.2.3 SX bus error Set ON when SX bus error occurs, such as disconnection of cable or
loop-back plug.
%MX10.2.4 Application error Set ON when an error is found in application program or system definition.
%MX10.2.5 I/O module error Set ON if an I/O module under control of the local CPU module fails
when fail-soft operation mode is disabled.
When fail-soft operation mode is enabled for the failed I/O module, the
entire system continues to run.
%MX10.2.6 Common module error Set ON when a common module on the SX bus other than the local
CPU module fails.
%MX10.2.7 Redundancy relay switching Set ON if fails to switch over to the standby module while running in ---
error redundant operation mode.
%MX10.2.8 Not used --- ---
%MX10.2.9
%MX10.2.10 Remote I/O module error for Set ON when the system becomes down due to a failure of remote --- ---
remote I/O master board I/O unit or module.
%MX10.2.11 Driver error --- ---
%MX10.2.12 Not used --- ---
%MX10.2.13 Other hardware error Set ON when the CPU No. setting switch is abnormal.
%MX10.2.14 Not used --- ---
%MX10.2.15 User fatal failure Set ON when one bit of the user fatal failure flags (%MX10.14.0 to
%MX10.16.15) is set ON by application program.
App.3-2
Appendix 3 CPU System Memory
Note: Applicable only to user ROM card (compact flash card) adapted models.
* Common modules are those directly connected to the SX bus without occupying an I/O area (CPU module,
communication module, etc.)
%MX10.6.0 Arithmetic processor error Hardware error of arithmetic LSI in the CPU module
%MX10.6.1 OS processor error Hardware error of OS control LSI in the CPU module
%MX10.6.2 Not used
|
%MX10.6.15
App.3-3
Appendix 3 CPU System Memory
%MX10.8.0 System ROM error Set ON when an error occurs on the system ROM in the CPU module. Fatal failure
%MX10.8.1 System RAM error Set ON when an error occurs on the system RAM in the CPU module. Fatal failure
%MX10.8.2 Application ROM error Set ON when an error occurs on the application program ROM in the Fatal failure
CPU module. See note 1.
%MX10.8.3 Application RAM error Set ON when an error occurs on the application program RAM in the Fatal failure
CPU module.
%MX10.8.4 Not used
|
%MX10.8.14
%MX10.8.15 Memory backup error Set ON when no data is stored in the power-failure data retain memory. Fatal failure
See note 2.
%MX10.9.0 Not used
|
%MX10.9.14
%MX10.9.15 Memory backup error Set ON when no data is stored in the power-failure data retain memory. Nonfatal failure
Can be set OFF by application program. See note 2.
Notes: 1) Set ON also when an error occurs on the user ROM card.
2) For high-performance CPUs, which bit is set ON in case of memory backup error depends module version.
V**.25 or older: %MX10.8.15 is set ON, V10.30 or later: %MX10.9.15 is set ON.
Operation after the occurrence of memory error
In case of memory backup error, the entire user memory area is cleared to zero. However, in case %MX10.8.0 to 3 is set ON,
because of high probability of hardware failure, it is highly probable that the fatal failure recur due to memory error even when
the power is turned once OFF and then ON again.
(7) SX bus error factor %MW10.10, %MW10.11
SPH SPH
Address Name Description Level 300 200
%MX10.10.0 SX bus LSI error Set ON when an error occurs on the SX bus control LSI. Fatal failure
%MX10.10.1 Duplicate station No. Set ON when there are multiple modules having the same SX bus Fatal failure
station No. in one configuration.
%MX10.10.2 Connected module Set ON when the number of modules connected to the SX bus Fatal failure
count over exceeds 254.
%MX10.10.3 Not used --- ---
|
%MX10.10.12
%MX10.10.13 SX bus transmission Set ON when a transmission error occurs on the SX bus. Fatal failure
error
%MX10.10.14 Processor bus access Set ON when an error occurs in accessing the processor bus. Fatal failure
error (When access error factor exists on the local module)
%MX10.10.15 I/O refresh slow-down Set ON when input/output data is not updated via the SX bus for Fatal failure
128 ms or longer time.
%MX10.11.0 Not used --- ---
|
%MX10.11.13
%MX10.11.14 Processor bus access Set ON when an error occurs in accessing the processor bus. Fatal failure
error (When access error factor exists on the remote module)
Can be set OFF by application program.
%MX10.11.15 Not used --- ---
App.3-4
Appendix 3 CPU System Memory
%MX10.12.0 System definition error Set ON when an error is found in the system definition. Fatal failure
%MX10.12.1 Application program Set ON when an error is found in the application program. Fatal failure
error
%MX10.12.2 Not used --- ---
|
%MX10.12.15
%MX10.13.0 Not used --- ---
%MX10.13.1 Application program Set ON when an error is found in the application program. Nonfatal
error failure
%MX10.13.2 Not used --- ---
|
%MX10.13.15
%MX10.14.0 User fatal failure factor 0 If one of these bits is set ON by application program, the CPU becomes
| | down due to fatal failure.
App.3-5
Appendix 3 CPU System Memory
App.3-6
Appendix 3 CPU System Memory
SPH SPH
Address Name Description Level 300 200
%MX10.24.0 I/O module hold Set ON when hold is defined for a module other than output Fatal failure
definition error modules or for an output module set for system DO.
%MX10.24.1 Direct I/O running Set ON when an error is found in the operation setting for a Fatal failure
definition error module directly connected to the SX bus.
%MX10.24.2 Not used --- ---
|
%MX10.24.15
%MX10.25.0 Remote I/O master 0 Set ON when an error is found in the running definition for remote Fatal failure
running definition error I/O master.
%MX10.25.1 Remote I/O master 1
running definition error
%MX10.25.2 Remote I/O master 2
running definition error
%MX10.25.3 Remote I/O master 3
running definition error
%MX10.25.4 Remote I/O master 4
running definition error
%MX10.25.5 Remote I/O master 5
running definition error
%MX10.25.6 Remote I/O master 6
running definition error
%MX10.25.7 Remote I/O master 7
running definition error
%MX10.25.8 Not used --- ---
|
%MX10.25.15
%MX10.26.0 Processor-link 0 Set ON when an error is found in the running definition for P-link, Fatal failure
running definition error PE-link or FL-net.
%MX10.26.1 Processor-link 1 Processor-link 0 corresponds to the module of line No. "8";
running definition error processor-link 1, to the module of line No. "9".
%MX10.26.2 Processor-link 2
running definition error
%MX10.26.3 Processor-link 3
running definition error
%MX10.26.4 Processor-link 4
running definition error
%MX10.26.5 Processor-link 5
running definition error
%MX10.26.6 Processor-link 6
running definition error
%MX10.26.7 Processor-link 7
running definition error
%MX10.26.8 Not used --- ---
|
%MX10.29.15
Note: The system definition error factors include the errors that are blocked by Expert (D300win) and therefore do not occur
during ordinary operation.
App.3-7
Appendix 3 CPU System Memory
%MX10.38.0 Application program Set ON when the execution time of default task exceeds the set Fatal failure
WDT error value of watchdog timer.
%MX10.38.1 Application execution Set ON when an error, such as temporary size over, occurs when Fatal failure
error executing a user program.
%MX10.38.2 Not used --- ---
|
%MX10.38.10
%MX10.38.11 FB instance setting Set ON when specified storage address does not exist. Fatal failure
error
%MX10.38.12 Initial value setting Set ON when the set initial value exceeds the defined range of Fatal failure
error storage area.
%MX10.38.13 SFM boundary Set ON when a memory size greater than the maximum capacity Fatal failure
definition error of system FB instance memory is set.
%MX10.38.14 POU instruction error Set ON when an error is found in the POU. Fatal failure
%MX10.38.15 Task registration error Set ON when an error is found in the task registration. Fatal failure
%MX10.39.0 Missing level 0 task Set ON when a task is omitted from execution. Nonfatal
%MX10.39.1 Missing level 1 task Can be set OFF by application program. failure
Note: The error factors include the errors that are blocked (by checking during compilation, for example) by Expert (D300win)
and therefore do not occur during ordinary operation.
App.3-8
Mitsui Sumitomo Bank Ningyo-cho Bldg.,
5-7, Nihonbashi Odemma-cho, Chuo-ku, Tokyo 103-0011, Japan
Phone: +81-3-5847-8011
Fax: +81-3-5847-8172
URL http://www.fujielectric.co.jp/fcs/eng/