MITSUBISHI Manual PLC Fx5 Application
MITSUBISHI Manual PLC Fx5 Application
MITSUBISHI Manual PLC Fx5 Application
[DESIGN PRECAUTIONS]
WARNING
● Make sure to set up the following safety circuits outside the PLC to ensure safe system operation
even during external power supply problems or PLC failure. Otherwise, malfunctions may cause
serious accidents.
- Most importantly, set up the following: an emergency stop circuit, a protection circuit, an interlock
circuit for opposite movements (such as forward vs. reverse rotation), and an interlock circuit to
prevent damage to the equipment at the upper and lower positioning limits.
- Note that when the CPU module detects an error, such as a watchdog timer error, during self-
diagnosis, all outputs are turned off. Also, when an error that cannot be detected by the CPU
module occurs in an input/output control block, output control may be disabled. External circuits
and mechanisms should be designed to ensure safe machine operation in such a case.
- Note that the output current of the 24 V DC service power supply varies depending on the model
and the absence/presence of extension modules. If an overload occurs, the voltage automatically
drops, inputs in the PLC are disabled, and all outputs are turned off. External circuits and
mechanisms should be designed to ensure safe machine operation in such a case.
- Note that when an error occurs in a relay or transistor of an output circuit, the output might stay on
or off. For output signals that may lead to serious accidents, external circuits and mechanisms
should be designed to ensure safe machine operation.
● Construct an interlock circuit in the program to ensure safe operation for the whole system when
executing control (for data change) of the PLC in operation.
Read the manual thoroughly and ensure complete safety before executing other controls (for program
change, parameter change, forced output and operation status change) of the PLC in operation.
Otherwise, the machine may be damaged and accidents may occur due to erroneous operations.
● In an output circuit, when a load current exceeding the current rating or an overcurrent caused by a
load short-circuit flows for a long time, it may cause smoke and fire. To prevent this, configure an
external safety circuit, such as a fuse.
● For the operating status of each station after a communication failure of the network, refer to relevant
manuals for the network. Incorrect output or malfunction may result in an accident.
1
[DESIGN PRECAUTIONS]
CAUTION
● After the CPU module is powered on or is reset, the time taken to enter the RUN status varies
depending on the system configuration, parameter settings, and/or program size.
Design circuits so that the entire system will always operate safely, regardless of this variation in time.
[INSTALLATION PRECAUTIONS]
CAUTION
● Connect the expansion board and expansion adapter securely to their designated connectors. Loose
connections may cause malfunctions.
● Connect the extension cables, peripheral device cables, input/output cables and battery connecting
cable securely to their designated connectors. Loose connections may cause malfunctions.
● When using an SD memory card, insert it into the SD memory card slot. Check that it is inserted
completely. Poor contact may cause malfunction.
● Turn off the power to the PLC before attaching or detaching the following devices. Failure to do so
may cause device failures or malfunctions.
- Peripheral devices, expansion board and expansion adapter
- Extension modules, bus conversion module and connector conversion module
- Battery
[WIRING PRECAUTIONS]
CAUTION
● Do not bundle the power line, control line and communication cables together with or lay them close to
the main circuit, high-voltage line, load line or power line. As a guideline, lay the power line, control
line and connection cables at least 100 mm (3.94") away from the main circuit, high-voltage line, load
line or power line. Noise may cause malfunctions.
2
[STARTUP AND MAINTENANCE PRECAUTIONS]
WARNING
● Do not touch any terminal while the PLC's power is on. Doing so may cause electric shock or
malfunctions.
● Before modifying the program in mid-operation, forcing output, running or stopping the PLC, read this
manual and the associated manuals carefully and ensure complete safety. An operation error may
damage the machinery or cause accidents.
● Do not change the program in the PLC from two or more peripheral equipment devices (such as an
engineering tool and a GOT) at the same time. Doing so may cause destruction or malfunction of the
PLC program.
● Use the battery for memory backup in conformance to the FX5 User's Manual (Hardware).
- Use the battery for the specified purpose only.
- Connect the battery correctly.
- Do not charge, disassemble, heat, put in fire, short-circuit, connect reversely, weld, swallow or
burn the battery, or apply excessive force (vibration, impact, drop, etc.) to the battery.
- Do not store or use the battery at high temperatures or expose to direct sunlight.
- Do not expose to water, bring near fire or touch liquid leakage or other contents directly.
Incorrect handling of the battery may cause excessive heat, bursting, ignition, liquid leakage or
deformation, and lead to injury, fire or failures and malfunction of facilities and other equipment.
[PRECAUTIONS IN OPERATION]
CAUTION
● Construct an interlock circuit in the program to ensure safe operation for the whole system when
executing control (for data change) of the PLC in operation. Read the manual thoroughly and ensure
complete safety before executing other controls (for program change, parameter change, forced
output and operation status change) to the PLC in operation. Otherwise, the machine may be
damaged and accidents may occur by erroneous operations.
3
INTRODUCTION
This manual contains text, diagrams and explanations which will guide the reader in the correct installation, safe use and
operation of the FX5 Programmable Controllers and should be read and understood before attempting to install or use the
module.
Always forward it to the end user.
Note
• If in doubt at any stage during the installation of the product, always consult a professional electrical engineer who is
qualified and trained in the local and national standards. If in doubt about the operation or use, please consult the nearest
Mitsubishi Electric representative.
• Since the examples indicated by this manual, technical bulletin, catalog, etc. are used as a reference, please use it after
confirming the function and safety of the equipment and system. Mitsubishi Electric will accept no responsibility for actual
use of the product based on these illustrative examples.
• This manual content, specification etc. may be changed without a notice for improvement.
• The information in this manual has been carefully checked and is believed to be accurate; however, if you notice a doubtful
point, an error, etc., please contact the nearest Mitsubishi Electric representative. When doing so, please provide the
manual number given at the end of this manual.
4
MEMO
5
CONTENTS
SAFETY PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4
RELEVANT MANUALS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12
TERMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12
PART 1 PROGRAMMING
PART 2 FUNCTIONS
6
CHAPTER 6 CLOCK FUNCTION 46
6.1 Time Setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Clock data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Changing the clock data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Reading clock data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
6.2 Setting Time Zone . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
6.3 System clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Special relay used for system clock. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
CONTENTS
Special register used for system clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
7
CHAPTER 10 CONSTANT SCAN 84
10.1 Constant scan settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
8
CHAPTER 18 SECURITY FUNCTIONS 113
CONTENTS
High-speed counter (normal mode). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
High-speed counter (pulse density measurement mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
High-speed counter (rotational speed measurement mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
High-speed comparison table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
Multiple point output, high-speed comparison tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
Special relay list. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
Special relay details. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
Special registers list. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
Special register details. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
Special relays/special registers capable of high-speed transfers with the HCMOV instruction. . . . . . . . . . . . . 161
Precautions when using high-speed counters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
19.2 FX3-compatible high-speed counter function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
FX3-compatible high-speed counter function overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
How to start/stop the high-speed counter using the LC device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
The elements of the composition of the LC device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
The comparison between the UDCNTF instruction and HIOEN instruction . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
Assignment for FX3-compatible high-speed counters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
FX3-compatible high-speed counter setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
FX3-compatible high-speed counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
Special relay list. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
Special relays/LC devices capable of high-speed transfers with the HCMOV instruction . . . . . . . . . . . . . . . . . 172
Precautions when using FX3-compatible high-speed counters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173
19.3 Pulse Width Measurement Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174
Pulse width measurement function overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174
Pulse width measurement specifications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174
Pulse measurement function execution procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
Pulse width measurement parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
List of special relays/special registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
Details of special relays/special registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
Cautions when using the pulse width measurement function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
Examples of program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
19.4 Pulse Catch Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
Outline of pulse catch function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
Specifications of pulse catch function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
Pulse catch function execution procedure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
Pulse catch parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
Operation of pulse catch function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
Cautions when using the pulse catch function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
19.5 FX3-Compatible Pulse Catch Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
Outline of FX3-compatible pulse catch function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
Specifications of FX3-compatible pulse catch function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
9
FX3-compatible pulse catch function execution procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
FX3-compatible pulse catch parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
Operation of FX3-compatible pulse catch function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
Cautions when using the FX3-compatible pulse catch function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
19.6 General-purpose Input Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
Outline of general-purpose input functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
Specifications of general-purpose inputs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
General-purpose input function parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
19.7 PWM Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
Outline of PWM output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
PWM output specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
PWM output function execution procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
PWM output parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195
List of Special relays/special registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
Details of special relays/special registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
Cautions when using the PWM function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199
Examples of program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199
PART 3 DEVICES/LABELS
10
21.5 Index Registers (Z/LZ). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217
Types of index registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217
Index register setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217
21.6 File Register (R) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
21.7 Nesting (N) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
21.8 Pointer (P) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219
Global pointers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219
Label assignment pointers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219
21.9 Interrupt Pointer (I) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219
CONTENTS
Interrupt causes of the interrupt pointer numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
The priority for the interrupt pointer numbers and interrupt factors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
21.10 Constant . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
Decimal constant (K) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
Hexadecimal constant (H) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
Real constant (E). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
Character string constant . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
APPENDIX 224
Appendix 1 Special Relay List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
Appendix 2 Special Register List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240
Appendix 3 Error Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274
Error code system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274
Operation when an error occurs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274
How to clear errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275
List of error codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275
Appendix 4 Parameter List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291
System parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291
CPU parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291
Module parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292
Memory card parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297
INDEX 298
REVISIONS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .300
WARRANTY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .301
TRADEMARKS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .302
11
RELEVANT MANUALS
User's manuals for the applicable modules
Manual name <manual number> Description
MELSEC iQ-F FX5 User's Manual (Startup) Performance specifications, procedures before operation, and troubleshooting of the
<JY997D58201> CPU module.
MELSEC iQ-F FX5U User's Manual (Hardware) Describes the details of hardware of the FX5U CPU module, including input/output
<JY997D55301> specifications, wiring, installation, and maintenance.
MELSEC iQ-F FX5UC User's Manual (Hardware) Describes the details of hardware of the FX5UC CPU module, including input/output
<JY997D61401> specifications, wiring, installation, and maintenance.
MELSEC iQ-F FX5 User's Manual (Application) Describes basic knowledge required for program design, functions of the CPU
<JY997D55401> (This manual) module, devices/labels, and parameters.
MELSEC iQ-F FX5 Programming Manual (Program Design) Describes specifications of ladders, ST, FBD/LD, and other programs and labels.
<JY997D55701>
MELSEC iQ-F FX5 Programming Manual (Instructions, Standard Describes specifications of instructions and functions that can be used in programs.
Functions/Function Blocks)
<JY997D55801>
MELSEC iQ-F FX5 User's Manual (Serial Communication) Describes N:N network, MELSEC Communication protocol, inverter communication,
<JY997D55901> non-protocol communication, and predefined protocol support.
MELSEC iQ-F FX5 User's Manual (MODBUS Communication) Describes MODBUS serial communication.
<JY997D56101>
MELSEC iQ-F FX5 User's Manual (Ethernet Communication) Describes the functions of the built-in Ethernet port communication function.
<JY997D56201>
MELSEC iQ-F FX5 User's Manual (SLMP) Explains methods for the device that is communicating with the CPU module by
<JY997D56001> SLMP to read and write the data of the CPU module.
MELSEC iQ-F FX5 User's Manual (Positioning Control) Describes the built-in positioning function.
<JY997D56301>
MELSEC iQ-F FX5 User's Manual (Analog Control) Describes the analog function.
<JY997D60501>
GX Works3 Operating Manual System configuration, parameter settings, and online operations of GX Works3.
<SH-081215ENG>
TERMS
Unless otherwise specified, this manual uses the following terms.
• indicates a variable portion used to collectively call multiple models or versions.
(Example) FX5U-32MR/ES, FX5U-32MT/ES FX5U-32M/ES
• For details on the FX3 devices that can be connected with the FX5, refer to FX5 User’s Manual (Hardware).
Terms Description
■Devices
FX5 Generic term for FX5U and FX5UC PLCs
FX3 Generic term for FX3S, FX3G, FX3GC, FX3U, and FX3UC PLCs
FX5 CPU module Generic term for FX5U CPU module and FX5UC CPU module
FX5U CPU module Generic term for FX5U-32MR/ES, FX5U-32MT/ES, FX5U-32MT/ESS, FX5U-64MR/ES, FX5U-64MT/ES,
FX5U-64MT/ESS, FX5U-80MR/ES, FX5U-80MT/ES, and FX5U-80MT/ESS
FX5UC CPU module Generic term for FX5UC-32MT/D and FX5UC-32MT/DSS
Extension module Generic term for FX5 extension modules and FX3 function modules
• FX5 extension module Generic term for I/O modules, FX5 extension power supply module, and FX5 intelligent function module
• FX3 extension module Generic term for FX3 extension power supply module and FX3 intelligent function module
Extension module (extension cable type) Input modules (extension cable type), Output modules (extension cable type), Bus conversion module
(extension cable type), and Intelligent function modules
Extension module (extension connector type) Input modules (extension connector type), Output modules (extension connector type), Input/output
modules, Bus conversion module (extension connector type), and Connector conversion module (extension
connector type)
I/O module Generic term for input modules, output modules, Input/output modules, and powered input/output modules
Input module Generic term for Input modules (extension cable type) and Input modules (extension connector type)
• Input module (extension cable type) Generic term for FX5-8EX/ES and FX5-16EX/ES
12
Terms Description
• Input module (extension connector type) Generic term for FX5-C32EX/D and FX5-C32EX/DS
Output module Generic term for output modules (extension cable type) and output modules (extension connector type)
• Output module (extension cable type) Generic term for FX5-8EYR/ES, FX5-8EYT/ES, FX5-8EYT/ESS, FX5-16EYR/ES, FX5-16EYT/ES, and
FX5-16EYT/ESS
• Output module (extension connector type) Generic term for FX5-C32EYT/D and FX5-C32EYT/DSS
Input/output modules Generic term for FX5-C32ET/D and FX5-C32ET/DSS
Powered input/output module Generic term for FX5-32ER/ES, FX5-32ET/ES, and FX5-32ET/ESS
Extension power supply module Generic term for FX5 extension power supply module and FX3 extension power supply module
• FX5 extension power supply module Different name for FX5-1PSU-5V
• FX3 extension power supply module Different name for FX3U-1PSU-5V
Intelligent module The abbreviation for intelligent function modules
Intelligent function module Generic term for FX5 intelligent function modules and FX3 intelligent function modules
• FX5 intelligent function module Generic term for FX5 intelligent function modules
• FX3 intelligent function module Different name for FX3 special function blocks
Simple motion module Different name for FX5-40SSC-S
Expansion board Generic term for board for FX5U CPU module
• Communication board Generic term for FX5-232-BD, FX5-485-BD, and FX5-422-BD-GOT
Expansion adapter Generic term for adapter for FX5 CPU module
• Communication adapter Generic term for FX5-232ADP and FX5-485ADP
• Analog adapter Generic term for FX5-4AD-ADP and FX5-4DA-ADP
Bus conversion module Generic term for Bus conversion module (extension cable type) and Bus conversion module (extension
connector type)
• Bus conversion module (extension cable Different name for FX5-CNV-BUS
type)
• Bus conversion module (extension connector Different name for FX5-CNV-BUSC
type)
Battery Different name for FX3U-32BL
SD memory card Generic term for NZ1MEM-2GBSD, NZ1MEM-4GBSD, L1MEM-2GBSD and L1MEM-4GBSD SD memory
cards
Abbreviation of Secure Digital Memory Card. Device that stores data using flash memory.
Peripheral device Generic term for engineering tools and GOTs
GOT Generic term for Mitsubishi Graphic Operation Terminal GOT1000 and GOT2000 series
■Software packages
Engineering tool The product name of the software package for the MELSEC programmable controllers
GX Works3 The product name of the software package, SWnDND-GXW3, for the MELSEC programmable controllers
(The 'n' represents a version.)
■Manuals
User's manual Generic term for separate manuals
• User's manual (Startup) Abbreviation of MELSEC iQ-F FX5 User's Manual (Startup)
• FX5 User's manual (Hardware) Generic term for MELSEC iQ-F FX5U User's Manual (Hardware) and MELSEC iQ-F FX5UC User's Manual
(Hardware)
• FX5U User's manual (Hardware) Abbreviation of MELSEC iQ-F FX5U User's Manual (Hardware)
• FX5UC User's manual (Hardware) Abbreviation of MELSEC iQ-F FX5UC User's Manual (Hardware)
• User's manual (Application) Abbreviation of MELSEC iQ-F FX5 User's Manual (Application)
Programming manual (Program Design) Abbreviation of MELSEC iQ-F FX5 Programming Manual (Program Design)
Programming manual (Instructions, Standard Abbreviation of MELSEC iQ-F FX5 Programming Manual (Instructions, Standard Functions/Function Blocks)
Functions/Function Blocks)
Communication manual Generic term for MELSEC iQ-F FX5 User's Manual (Serial Communication), MELSEC iQ-F FX5 User's
Manual (MODBUS Communication), MELSEC iQ-F FX5 User's Manual (Ethernet Communication), and
MELSEC iQ-F FX5 User's Manual (SLMP)
• Serial communication manual Abbreviation of MELSEC iQ-F FX5 User's Manual (Serial Communication)
• MODBUS communication manual Abbreviation of MELSEC iQ-F FX5 User's Manual (MODBUS Communication)
• Ethernet communication manual Abbreviation of MELSEC iQ-F FX5 User's Manual (Ethernet Communication)
• SLMP manual Abbreviation of MELSEC iQ-F FX5 User's Manual (SLMP)
Positioning manual Abbreviation of MELSEC iQ-F FX5 User's Manual (Positioning Control)
Analog manual Abbreviation of MELSEC iQ-F FX5 User's Manual (Analog Control)
13
MEMO
14
PART 1
PART 1 PROGRAMMING
1 PROGRAM EXECUTION
15
1 PROGRAM EXECUTION
I/O refresh
Program operations
END processing
*1 Indicates an instance of power OFFON or setting to RUN status without a reset after modifying parameters or program in STOP
status.
1 PROGRAM EXECUTION
16 1.1 Scan Configuration
I/O refresh
Execute I/O refresh before starting program operations. 1
• Input ON/OFF data input from input module/intelligent function module to CPU module
• Output ON/OFF data input from CPU module to output module/intelligent function module
When executing constant scan, I/O refresh is executed after the constant scan waiting time ends.
Program operations
Step 0 of each program up to the END/FEND instruction is executed according to program settings. This program is called the
"main routine." Main routine programs can be divided into subroutines. (Page 29 Subroutine program)
END processing
END processing involves the following processes:
• Refreshing of network modules
• Refreshing of intelligent function modules
• Instruction termination processing
• Device/label access service processing
• Resetting of the watchdog timer
• Self-diagnostic processing
• Setting of values to special relays/special registers (set timing: when END processing is executed)
1 PROGRAM EXECUTION
1.1 Scan Configuration 17
1.2 Scan Time
The CPU module repeats the following processing. The scan time is the sum total of each process and execution time.
RUN time
I/O refresh
Program operations
Scan time
END processing
1 PROGRAM EXECUTION
18 1.2 Scan Time
1.3 Program Execution Sequence
When the CPU module enters the RUN status, the programs are executed successively according to the execution type of the
1
programs and execution order setting.
STOP/PAUSE→RUN
Does an initial
Exists
execution type
program exist?
Scan execution
type program Fixed scan
execution type
program
Event execution
END processing type program
When the execution type of the programs is the same, the programs are executed in the order in which the
execution order was set.
1 PROGRAM EXECUTION
1.3 Program Execution Sequence 19
1.4 Execution Type of Program
Set the program execution conditions.
Also, the execution time of initial execution type programs is the same as the initial scan time.
When multiple initial execution type programs are executed, the execution time of the initial execution type programs
becomes the time until execution of all initial execution type programs is completed.
STOP/PAUSE→RUN
1st scan 2nd scan 3rd scan
END processing
0 END
Initial execution type program A
0 END
Initial execution type program B
0 END
Initial execution type program C
0 END 0 END 0
Scan execution type program
Initial scan time is the sum of the execution time of initial execution type programs
and the END processing time.
Precautions
The precautions for initial execution type programs are explained below.
■Restrictions in programming
With initial execution type programs, do not use instructions that require several scans to complete execution (instructions for
which completion devices exist).
Ex.
e.g. RBFM and WBFM instructions
1 PROGRAM EXECUTION
20 1.4 Execution Type of Program
Scan execution type program
This program type is executed only once per scan from the scan following the scan where an initial execution type program 1
was executed.
STOP/PAUSE→RUN
1st scan 2nd scan 3rd scan 4th scan
END processing
0 END 0 END 0
Scan execution type program B
0 END END
Scan execution type program C
Scan time
When multiple scan execution type programs are executed, the execution time of the scan execution type programs becomes
the time until execution of all scan execution type programs is completed. Note, however, that when an program/event
execution type program is executed before a scan execution type program is completed, the execution time of these
programs is included in the scan time.
To execute a fixed scan execution type program, the EI instruction must be used to enable interrupts.
1 PROGRAM EXECUTION
1.4 Execution Type of Program 21
Make the following settings for fixed scan execution type program in CPU parameter.
• Interrupt pointer setting (Interrupt from internal timer: I28 to I31)
• Fixed scan interval setting
Window
Displayed items
Item Description Setting range Default
Interrupt Pointer Set the interrupt pointer which is assigned to fixed scan • I28 I31
execution type program. • I29
• I30
• I31
Specified Time Intervals Fixed scan interval setting value is displayed.
Setup is performed on another screen. (Page 22 Fixed
scan interval setting)
Window
Displayed items
Item Description Setting range Default
Interrupt Setting from Internal I28 Sets the execution interval of I28. 1 to 60000 ms (1 ms units) 100 ms
Timer
I29 Sets the execution interval of I29. 1 to 60000 ms (1 ms units) 40 ms
I30 Sets the execution interval of I30. 1 to 60000 ms (1 ms units) 20 ms
I31 Sets the execution interval of I31. 1 to 60000 ms (1 ms units) 10 ms
1 PROGRAM EXECUTION
22 1.4 Execution Type of Program
Action when the execution condition is satisfied
Performs the following action.
1
■If the execution condition is satisfied before the interrupt is enabled by the EI instruction
The program enters the waiting status and is executed when the interrupt is enabled. Note that if the execution condition for
this fixed scan execution type program is satisfied more than once during the waiting status, the program is executed only
once when the interrupt is enabled.
■When there are two or more fixed scan execution type programs
When the specified time intervals expire in the same timing, the programs are executed in order according to the priority (I31
> I30 > I29 > I28) of the periodic interrupt pointer.
■If another or the same execution condition is satisfied while the fixed scan execution type
program is being executed
Operates according to the fixed scan execution mode setting.
■If the execution condition is satisfied while the interrupt is disabled by the system
Operates according to the fixed scan execution mode setting.
Constant scan
*1
Waiting time
*1 If processing does not finish during the waiting time, the scan time is extended.
■If another interrupt occurs while the fixed scan execution type program is being executed
If an interrupt program is triggered while the fixed scan execution type program is being executed, the program operates in
accordance with the interrupt priority.
1 PROGRAM EXECUTION
1.4 Execution Type of Program 23
■Operation in the fixed scan execution mode
This section describes the operation which can be performed in the fixed scan execution mode.
• Execution Count Takes Priority
The program is executed for all the pending number of executions so that it can be executed the same number of times as
execution condition was satisfied.
Execution condition satisfied:
Cycle interval of TEISYU 6 times
Window
Displayed items
Item Description Setting range Default
Fixed Scan Execution For Precede Fixed Scan, the periodicity of the program is maintained. For • Precede Fixed Scan Precede Fixed Scan
Mode Execution Count Takes Priority, the program is executed for all pending number • Execution Count
of executions. Takes Priority
1 PROGRAM EXECUTION
24 1.4 Execution Type of Program
Event execution type program
Execution of this program type is triggered by a user-specified event. (Page 25 Trigger type) 1
STOP/PAUSE→RUN
1st scan 2nd scan 3rd scan 4th scan 5th scan
Execution order
I60 interrupt occurs
Scan execution type program A
*1 Measurement of elapsed time is 10 ms or more because it is determined depending on the scan time.
Trigger type
Triggers for event execution type programs are explained below. (Page 27 Trigger setting)
STOP/PAUSE→RUN
END processing
(1) Event execution type program C is executed immediately when the specified event is generated.
Execution conditions for the event execution type program which is triggered by interrupt occurred by the
interrupt pointer (I) are the same as those for general interrupt programs. (Page 31 Operation when an
interrupt is generated)
1 PROGRAM EXECUTION
1.4 Execution Type of Program 25
■Bit data ON (TRUE)
When it is the turn of the corresponding program to be executed, the program is executed if the specified bit data is ON. This
eliminates the need for creating a program for monitoring triggers in a separate program.
STOP/PAUSE→RUN
END processing
(1) The program is executed if Y50 is ON when it is the turn of event execution type program C to be executed.
■Elapsed time
The program is executed once when it is the turn of the corresponding program to be executed first after the CPU module is
run and the specified time has elapsed. For second execution onwards, the time is re-calculated from the start of the previous
event execution type program. When it is the turn of the corresponding program to be executed first after specified time has
elapsed, program execution is repeated. Output (Y) currently used in the corresponding program and the current values of
timer (T) can be cleared at the next scan following execution of the corresponding program. This will not be always executing
an interrupt at a constant cycle but can be used when executing a specified program after a specified time has elapsed.
STOP/PAUSE→RUN
END processing
Measurement interval 10 ms 10 ms
(1) When it is the turn of the first execution after the specified time has elapsed, event execution type program C is executed.
Output and timer current values are not cleared even when the program is set so that output and timer current
values are cleared, if the scan time is longer than the elapsed time set value.
1 PROGRAM EXECUTION
26 1.4 Execution Type of Program
Trigger setting
Use the event execution type detail setting.
1
Navigation window [Parameter] [FX5UCPU] [CPU Parameter] "Program Setting"
Operating procedure
"Program Setting" window 1. Click "Detailed Setting" on the Program Setting.
"Detailed Setting" window 2. Select the program name and set the execution type to
"Event".
"Event Execution Type Detailed Setting" window 4. Set the trigger type to execute the event execution type
program.
Displayed items
Item Description Setting range Default
Interruption Occurrence Sets the interrupt pointer used as the trigger. I0 to I23, I50 to I177
ON of Bit Data (TRUE) Sets the device used as the trigger. Page 26 Bit data ON (TRUE)
Passing Time Sets the elapsed time. • When "ms" is selected: 1 to
65535 ms (in 1 ms units)
• When "s" is selected: 1 to
65535 s (in 1 s units)
When "Clear Output and Current Value of Timer" is enabled together with "ON of Bit Data (TRUE)" or
"Passing Time", the current values of the output (Y) and timer (T) of this program can be cleared at the first
execution turn of this program that comes after the trigger turns OFF.
1 PROGRAM EXECUTION
1.4 Execution Type of Program 27
Stand-by type program
This program is executed only when there is an execution request.
P100 Subroutine
program Stand-by type program
I0 Interrupt Subroutine
P100
program program
I0 Interrupt
program
How to execute
Execute standby type programs as follows.
• Create sub-routine programs and interrupt programs in the standby type program which is called up by a pointer, etc. or
when an interrupt is generated.
1 PROGRAM EXECUTION
28 1.4 Execution Type of Program
1.5 Program Type
Programs that use pointers (P) or interrupt pointers (I) are explained below.
1
Subroutine program
This is the program from pointer (P) up to the RET instruction. Subroutine programs are executed only when they are called
by the CALL instruction. Pointer type labels also can be used instead of pointers (P). The applications of subroutine programs
are as follows:
• By grouping programs that are executed multiple times in one scan into a single subroutine program, the number of steps
in the entire program can be reduced.
• A program that is executed only under certain conditions can be saved as a subroutine program which shortens the scan
time proportionately.
FEND
P0
Y10
Subroutine program 1
RET
P8
Y11
Subroutine program 2
RET
P1
Y12
Subroutine program 3
RET
END
Pointer
• Subroutine programs can also be managed as separate programs by turning them into standby type
programs. (Page 28 Stand-by type program)
• Pointers need not be programmed starting with the smallest number.
Precautions
The precautions when using subroutine programs are explained below.
• Do not use timers (T, ST). Note, however, that timers can be used when a timer coil (OUT T instruction) is always
executed only once in one scan.
• An error occurs when program execution returns to the call source program and the program is terminated without using
the RET instruction.
• An error occurs when there is no pointer (P) or pointer type global label in FB or FUN.
1 PROGRAM EXECUTION
1.5 Program Type 29
Interrupt program
This is the program from interrupt pointer (I) up to the IRET instruction.
El
Y10
FEND
I0 Y12
I0 interrupt program
IRET
I29 Y13
END
Interrupt pointer
When an interrupt is generated, the interrupt program corresponding to that interrupt pointer number is executed. Note,
however, that interrupt enabled status must be set with the EI instruction before executing the interrupt program.
Interrupt Interrupt
occurs for I0 occurs for I29
IRET
IRET Time
• Only one interrupt program can be created with one interrupt pointer number.
• Interrupt pointers need not be programmed starting with the smallest number.
• Interrupt programs can also be managed as separate programs by turning them into standby type
programs. (Page 28 Stand-by type program)
1 PROGRAM EXECUTION
30 1.5 Program Type
Operation when an interrupt is generated
Operation when an interrupt is generated is explained below.
1
■If an interrupt cause occurs when interrupt is disabled (DI)
The interrupt that was generated is stored, and the stored interrupt program is executed the moment that the status changes
to interrupt enabled. An interrupt is stored only once even if the same interrupt is generated multiple times. Note, however,
that all interrupts cause are discarded when interrupt disable is specified by the IMASK and SIMASK instructions.
Execution
Interrupt Program
Not executed because the interrupt program Executed as soon as the interrupt program
execution is in disabled status (DI). execution status changes to enabled.
PAUSE→ RUN
Interrupt occurrence Enable Interrupt (EI)
Main routine program
Execution
Interrupt Program
Not executed because the CPU module Executed as soon as PAUSE → RUN and
is in the STOP status. the interrupt program execution status
changes to enabled.
■When multiple interrupts are generated at the same time while in an interrupt enabled status
Interrupt programs are executed in order starting from program having the highest priority. Interrupt programs also run in order
of priority rank when multiple interrupt programs having the same priority are generated simultaneously.
Simultaneous occurrence of
Enable Interrupt (EI) multiple interrupt factors
IRET
Priority I10 interrupt program Execution
rank
Wait status
IRET
1 PROGRAM EXECUTION
1.5 Program Type 31
■If an interrupt cause with the same or a lower priority occurs while the interrupt program is
being executed
• For I0 to I23 and I50 to I177
The occurred interrupt cause is memorized, and the interrupt program corresponding to the factor will be executed after the
running interrupt program finishes. Even if the same interrupt factor occurs multiple times, it will be memorized only once.
Higher
I0 interrupt program
I100 is executed.
(I80 is not executed for
Priority I50 interrupt program the second time.)
rank
I80 interrupt program After the interruption being
executed is completed, the
I100 interrupt program interruptions are executed
from I0, which has higher I80 is executed.
Lower priority level. I50, which (I50 is not executed for
has higher priority rank, is the second time.)
executed ahead of I80,
which has the same
priority.
Time
• For I28 to I31
The interrupt cause that occured is memorized, and the interrupt program corresponding to the cause will be executed after
the running interrupt program finishes. If the same interrupt cause occurs multiple times, it will be memorized once but
operation at the second and later occurrences depends on setting of the fixed scan execution mode. (Page 23 Fixed scan
execution mode)
When "Execution Count Takes Priority" is enabled, the interrupt program corresponding to the memorized interrupt causes will
be executed after the running interrupt program finishes. When "Precede Fixed Scan" is enabled, the second and later
occurrences will not be memorized.
The second
TO A TO B interruption is
Priority not executed.
rank
I31 interrupt program*
1 PROGRAM EXECUTION
32 1.5 Program Type
■If the same interrupt cause occurs while the interrupt program is being executed
• For I0 to I23 and I50 to I177
The interrupt cause that occured is memorized, and the interrupt program corresponding to the cause will be executed after 1
the running interrupt program finishes. Even if the same interrupt cause occurs multiple times, it will be memorized only once.
I0 interrupt program
The second and following interruption causes, which occur while an interruption
I31 I31 I31 is executed, operate according to the setting of the fixed scan execution mode.
Window
Displayed items
Item Description Setting range Default
Interrupt Setting from Internal I28 Sets the execution interval of I28. 1 to 60000 ms (1 ms units) 100 ms
Timer
I29 Sets the execution interval of I29. 1 to 60000 ms (1 ms units) 40 ms
I30 Sets the execution interval of I30. 1 to 60000 ms (1 ms units) 20 ms
I31 Sets the execution interval of I31. 1 to 60000 ms (1 ms units) 10 ms
1 PROGRAM EXECUTION
1.5 Program Type 33
Processing at startup of interrupt program
Processing is as follows when an interrupt program is started up.
• Purge/restore of index registers (Z, LZ)
Precautions
The precautions for interrupt programs are explained below.
■Restrictions in programming
• The PLS/PLF instructions execute OFF processing at the scan following instruction execution. ON devices remain ON until
the interrupt program runs again and the instruction is executed.
• Only a routine timer can be used in an interrupt program. Timers (T, ST) cannot be used.
■Splitting of data
Processing may be interrupted during instruction execution and an interrupt programs can be executed. Accordingly, splitting
of data might occur if the same devices are used by both the interrupt program and the program that is aborted by the
interrupt. Implement the following preventive measure.
• Set instructions that will result in inconsistencies if interrupted to "interrupt disabled" using the DI instruction.
• When using bit data, ensure that the same bit data is not used by both the interrupt program and the program that is
aborted by the interrupt.
1 PROGRAM EXECUTION
34 1.5 Program Type
2 PROCESSING OF OPERATIONS ACCORDING
TO CPU MODULE OPERATION STATUS
The CPU module has three operation statuses as follows:
2
• RUN status
• STOP status
• Paused
Processing of operations on the CPU module in each status is explained below.
The CPU module performs the following processing regardless of RUN or STOP status or paused status.
• Refreshing of input/output modules
• Automatic refreshing of intelligent function modules
• Self-diagnostic processing
• Device/label access service processing
• Setting of values to special relays/special registers (set timing: when END processing is executed)
For this reason, the following operations can be performed even in the STOP status or paused status:
• Monitoring of I/O or test operations by the engineering tool
• Reading/writing from external device using SLMP
• N:N Network
• MODBUS RTU slave
Memory configuration
3
The configuration of CPU module memory is explained below.
Memory type Application
CPU built-in memory Data memory The following files are stored in this memory:
• Program files, FB files
• Restored information files
• Parameter files
• Files that contain device comments, etc.
Device/label memory Data areas for internal devices/labels, etc. are located in this memory.
SD memory card This is for storing files that contain device comments, etc. and folders and files that are created
by SD memory card functions.
Data memory
The following files are stored in data memory.
Category File type Max. number of files Storage area size Remarks
Program Program file 32 1 Mbytes
FB files 16 (Up to 15 for user)
Restored information Restored information files 48 1 Mbytes
Parameters Parameter files common to system 1 1 Mbytes
CPU parameter file 1
Module parameter file 1
Remote password 1
Global label setting file 1
Module extension parameter (for protocol setting) 2
Device initial values file 1
Comments Device comment file 1 2 Mbytes
Device/label memory
Device/label memory has the following areas.
Area Storage area size Application
Device/label memory (standard) 96 Kbytes R, W, SW, labels, and latch labels can be placed in this memory in variable lengths.
R and W can be backed up in the event of a power interruption only when the optional battery
is installed. Also, latch label capacity can be increased when the battery is installed.
Device/label memory (fast) 24 Kbytes Bit devices, T, ST, C, LC, D, Z, LZ, labels, and latch labels can be placed in this memory in
variable lengths.
For saving device/label memory 25 Kbytes This memory is for saving latch devices and devices in fast area that require a latch in the
event of a power interruption.
4 FUNCTION LIST
6 CLOCK FUNCTION
7 ONLINE CHANGE
8 INTERRUPT FUNCTION
10 CONSTANT SCAN
11 REMOTE OPERATION
14 LATCH FUNCTION
17 RAS FUNCTIONS
18 SECURITY FUNCTIONS
41
4 FUNCTION LIST
The following table lists the functions of the CPU module.
Function Description Reference
Scan monitoring function Detects an error in the hardware and program of the CPU module by Page 44
(Watchdog timer setting) monitoring the scan time.
Clock function This function is used for the time management in the function which Page 46
the system operates such as the date of the error history.
Online change Changing ladder blocks Writes the part of a program edited on the ladder editor using the Page 50
while online engineering tool to the CPU module in units of ladder blocks. Edited
contents spanning multiple portions can be written to the CPU
module at once.
Interrupt function Multiple interrupt function When an interrupt occurs while an interrupt program triggered by Page 53
another cause is running, stops the program if its priority is lower
than that of the new interrupt, and runs the higher-priority program
whenever its execution condition is satisfied.
PID control function Performs PID control by the PID control instruction. Page 55
Constant scan Keeps the scan time constant and executes program repeatedly. Page 84
Remote operation Remote RUN/STOP Changes the CPU module status to the RUN/STOP/PAUSE status Page 86
externally while the RUN/STOP/RESET switch of the CPU module is
Remote PAUSE
in RUN status.
Remote RESET Resets the CPU module externally while the CPU module is in the
STOP status.
Device/label memory area setting Sets the capacity of each area in the device/label memory. Page 92
Initial device value setting Sets the initial values of devices used in the program directly (not via Page 97
the program) to the devices.
Latch function Holds the contents of the device and label of the CPU module when Page 99
the power is turned ON etc.
Memory card function SD memory card forced Makes the SD memory card unavailable without turning OFF the Page 103
stop power even when the function accessing the SD memory card is
executed.
Boot operation Transfers the file stored in the SD memory card to the transfer
destination memory judged automatically by the CPU module when
the power is turned ON or is reset.
Device/label access service processing setting Sets the number of execution times of the device/label access Page 107
service processing executed by END processing, with parameter.
RAS function Self-diagnostics function Self-diagnoses the CPU module to see whether an error exist or not. Page 109
Error clear Batch-clears all the continuation errors being detected.
Security function Protects resources stored in PCs and resources in the units in the Page 113
system of the FX5 from illegal access by a third party such as theft, GX Works3 Operating
alteration, accidental operation and unauthorized execution. Manual
Built-in High-speed counter function Performs high-speed counter, pulse width measurement, input Page 114
input/ interruption, timer interruption, high-speed counter interruption, etc.
Pulse width measurement function
output by using the input of the CPU module.
function Input interrupt function
Timer interrupt function
High-speed counter interrupt function
Built-in positioning function Executes positioning operation of up to 4 axes by using the MELSEC iQ-F FX5 User's
transistor output of the CPU module. Manual (Positioning
Control)
PWM output function Executes a PWM output by using the transistor output of the CPU Page 193
module.
Built-in Analog input function Two analog inputs and one analog output are built in the FX5U CPU Page 201
analog module so that voltage input/voltage output can be performed. MELSEC iQ-F FX5 User's
Analog output function
function Manual (Analog Control)
Built-in Ethernet function A function related to the Ethernet such as the connection with the MELSEC iQ-F FX5 User's
MELSOFT products and GOTs, and socket communication. Manual (Ethernet
Communication)
Serial communication function A function related to the serial communication such as N:N Network, MELSEC iQ-F FX5 User's
MC protocol, inverter communication function and non-protocol Manual (Serial
communication. Communication)
4 FUNCTION LIST
42
Function Description Reference
MODBUS RTU communication function Connection with the products which support MODBUS RTU is MELSEC iQ-F FX5 User's
available. The master and slave functions can be used. Manual (MODBUS
Communication)
4 FUNCTION LIST
43
5 SCAN MONITORING FUNCTION
This function detects CPU module hardware or program errors by monitoring the scan time. Using the watchdog timer, which
is an internal timer in the CPU module, the following scans are monitored.
• Initial scan (1st scan)
• 2nd scan and after
Window
Displayed items
Item Description Setting range Default
Initial Scan Sets the scan-time monitoring time (WDT) for the initial scan (first 10 to 2000 ms (10 ms units) 2000 ms
scan).
After 2nd Scan Sets the scan-time monitoring time (WDT) for the second and later 10 to 2000 ms (10 ms units) 200 ms
scans.
5.3 Precautions
The following precautions relate to the scan monitoring function.
FOR K1000
Clock data
The clock data handled in the CPU unit is described below.
Data name Description
Year 4 digits in calendar year (1980 to 2079)
Month 1 to 12
Day 1 to 31 (Leap year auto detect)
Hour 0 to 23 (24-hour system)
Minute 0 to 59
Second 0 to 59
Day-of-the-week 0: Sunday, 1: Monday, 2: Tuesday, 3: Wednesday, 4: Thursday, 5: Friday, 6: Saturday
Using SM/SD
The values stored in SD210 (clock data) to SD216 (clock data) are written to the CPU module after END processing execution
of scan when SM210 (clock data set request) is changed from OFFON. If the data from SD210 to SD216 is out of the valid
range, SM211 (clock data set error) is turned ON, the values from SD210 to SD216 are not written in the CPU module.
ON
SM210
OFF
SM211
OFF
Using instructions
Writes the clock data to the CPU module, using the TWR(P) instruction. (MELSEC iQ-F FX5 Programming Manual
(Instructions, Standard Functions/Function Blocks))
6 CLOCK FUNCTION
46 6.1 Time Setting
Reading clock data
There are the following methods to read clock data.
• Using SM/SD
• Using instructions
Using SM/SD
Clock data is read to SD210 to SD216 when SM213 (clock data read request) is turned ON.
Using instructions
Clock data is read from the CPU module using the TRD(P) instruction. (MELSEC iQ-F FX5 Programming Manual
(Instructions, Standard Functions/Function Blocks))
Precautions
The following describes precautions when setting the time.
6 CLOCK FUNCTION
6.1 Time Setting 47
6.2 Setting Time Zone
The time zone used for the CPU module can be specified. Specifying the time zone enables the clock of the CPU module to
work in the local time zone.
Navigation window [Parameter] [FX5UCPU] [CPU Parameter] "Operation Related Setting" "Clock Related
Setting"
Window
Displayed items
Item Description Setting range Default
Time Zone Sets the time zone used by the CPU module. • UTC+13 UTC+9
• UTC+12
• UTC+11
• UTC+10
• UTC+9:30
• UTC+9
• UTC+8
• UTC+7
• UTC+6:30
• UTC+6
• UTC+5:45
• UTC+5:30
• UTC+5
• UTC+4:30
• UTC+4
• UTC+3:30
• UTC+3
• UTC+2
• UTC+1
• UTC
• UTC-1
• UTC-2
• UTC-3
• UTC-3:30
• UTC-4
• UTC-4:30
• UTC-5
• UTC-6
• UTC-7
• UTC-8
• UTC-9
• UTC-10
• UTC-11
• UTC-12
Comment Enters a comment for the time zone (e.g., name of the city). 1 to 32 letters
To reflect the time zone setting on the CPU module, the module must be restarted. If no parameter is set for
the CPU module (factory setting), it operates with "UTC+9".
6 CLOCK FUNCTION
48 6.2 Setting Time Zone
6.3 System clock
There are two types of system clocks, one is to execute ON/OFF by the system and the other is to execute ON/OFF in the
intervals specified by the user.
SM420 to SM424, SM8330 to SM8334, and SD8330 to SD8334 are used by the DUTY instruction.
For the DUTY instruction, refer to the following.
MELSEC iQ-F FX5 Programming Manual (Instructions, Standard Functions/Function Blocks)
6 CLOCK FUNCTION
6.3 System clock 49
7 ONLINE CHANGE
This chapter describes online change.
For details on the operating procedure of online ladder block change on engineering tools, refer to the
following.
GX Works3 Operating Manual
Editable contents
Within a program block, instructions and pointers (P, I) can be added, changed, or deleted. Also, as POU unit, program blocks
can be added, changed, or deleted. However, when the program/FB file is not in agreement between engineering tool and a
CPU module, it cannot be added, changed, or deleted.
Precautions
This section describes the precautions on using online ladder block change.
Initializing the last execution if the ladder at online ladder block change has an FB call
• If a subroutine type FB is called in a FB definition, the execution information of the previous time in the FB definition of the
subroutine type FB is not initialized.
• If a macro type FB is called in the FB definition of a subroutine type, the execution information of the previous time in the
part equivalent to the macro type FB is not initialized either.
7 ONLINE CHANGE
50 7.1 Online Ladder Block Change
Instructions not compatible with online ladder block change
Do not execute online change to ladder block including the following instruction.
DSZR instruction, DVIT instruction, TBL instruction, DRVTBL instruction, PLSV instruction, DRVI instruction, DRVA
instruction, DRVMUL instruction, PLSY instruction, PWM instruction, SPD instruction, HIOEN instruction, UDCNTF LC
instruction, ABS instruction, ADPRW instruction, IVCK instruction, IVDR instruction, IVRD instruction, IVWR instruction,
IVBWR instruction, IVMC instruction, S.CPRTCL instruction, SP.CPRTCL instruction, RS2 instruction, SP.SOCOPEN
instruction, SP.SOCCLOSE instruction, SP.SOCSND instruction, SP.SOCRCV instruction, SP.ECPRTCL instruction, RBFM
instruction, WBFM instruction
The operation when a pulse type instruction is included in the range of an online ladder
block change
The operation when a pulse related instruction is included in the range of an online ladder block change is as follows.
Pulse type instruction Description
Rising instruction (PLS and P When a rising instruction exists within the range to be changed, the rising instruction will not be executed if the
instructions) execution condition (OFF to ON) is fulfilled at completion of online program change.
Falling instruction (PLF and F
instructions)
When a falling instruction exists within the range to be changed, the falling instruction will not be executed even if the
execution condition (ON to OFF) is fulfilled at completion of online program change.
7
■Rising instruction
When a rising instruction exists within the range to be changed, the rising instruction will not be executed if the execution
condition (OFF to ON) is fulfilled at completion of online program change.
Online change completion X0 (1) The rising instruction will not be executed even if the execution condition is
[ PLS M0 ] OFF to ON.
1 scan
Status of X0
ON
X0
OFF
OFF→OFF
ON
M0
OFF
ON
X0
OFF
ON→ON M0 ON
OFF
ON
X0
OFF
(1)
OFF→ON
ON
M0
OFF
7 ONLINE CHANGE
7.1 Online Ladder Block Change 51
■Falling instruction
When a falling instruction exists within the range to be changed, the falling instruction will not be executed even if the
execution condition (ON to OFF) is fulfilled at completion of online program change.
Online change completion X0 (1) The falling instruction will not be executed even if the execution condition is
[ PLF M0 ] OFF to OFF.
(2) If online program change and transition of ON to OFF occur simultaneously,
the falling instruction will not be executed.
END 0 A END 0 A END 0
1 scan
Status of X0 (1)
ON
X0
OFF
OFF→OFF ON
M0
OFF
ON
X0
OFF
ON→OFF (2)
ON
M0
OFF
7 ONLINE CHANGE
52 7.1 Online Ladder Block Change
8 INTERRUPT FUNCTION
This chapter describes the interrupt function.
8 INTERRUPT FUNCTION
8.1 Multiple Interrupt Function 53
Interrupt priority setting
The interrupt priority (1 to 3) of interruptions from modules can be changed.
Navigation window [Parameter] [FX5UCPU] [CPU Parameter] "Interrupt Settings" "Interrupt Priority Setting
from Module"
Operating procedure
"Interrupt Settings" window 1. Set Multiple Interrupt to "Enable" on the "Interrupt
Settings" window, and click "Detailed Setting".
Displayed items
Item Description Setting range Default
Multiple Interrupt Sets whether or not to enable multiple interrupt. • Disable Disable
• Enable
Interrupt Priority Detailed Setting Sets the priority of the interrupt pointers I0 to I31. 1 to 3*1 2
*1 The lower the numerical value, the higher the interrupt priority.
Disabled interrupt priorities and the current interrupt priority can be checked in SD758 (Interrupt disabling for
each priority setting value) and SD757 (Current interrupt priority) respectively.
8 INTERRUPT FUNCTION
54 8.1 Multiple Interrupt Function
9 PID CONTROL FUNCTION
9
9.1 Outline of Function
PID control is performed by PID control instruction. The PID instruction requires the system to calculate the output (MV) value
from the measured (PV) value. Through combining the P (proportional) action, I (integral) action, and D (derivative) action the
target (SV) value can be obtained.
• Alarm output function
The alarm function can be set for input variation (measured value) or output variation (value).
• Setting limit values
The upper limit and lower limit can be set for the output value.
• Auto-tuning function
The proportional gain (KP), integral time (TI) and differential time (TD) can be set automatically for both the limit cycle method
and step response method.
• Operation method of the PID instruction
Both PID speed type operation and measured value differential type operation are executed.
Measured value (PV)
CPU module
FBD/LD
EN ENO
s1 d
s2
s3
Setting data
■Descriptions, ranges, and data types
Operand Description Range Data type Data type (label)
(s1) Device number storing the target value (SV) -32768 to +32767 16-bit signed binary ANY16
(s2) Device number storing the measured value (PV) -32768 to +32767 16-bit signed binary ANY16
(s3) Device number storing PID parameters 1 to 32767 16-bit signed binary ANY16
(d) Device number storing the output value (MV) -32768 to +32767 16-bit signed binary ANY16
■Applicable devices
Operand Bit Word Double word Indirect Constant Others
X, Y, M, L, SM, U\G T, ST, T, ST, C, D, U\G Z LC LZ specification K, H E $
F, B, SB, S C, LC W, SD, SW, R
(s1) *1
*1
(s2)
(s3) *1
(d) *1
Processing details
• Once the target value (s1), measured value (s2) and PID parameters (s3) to (s3)+6 are set and the program is executed,
the operation result (MV) is transferred to the output value (d) at every sampling time. The sampling time is specified by
(s3)
Command input
PID (s1) (s2) (s3) (d)
*1 (s3)+20 to +24 become used only if b1, b2, or b5 are set to "1" to determine the action (ACT) (s3) of +1.
Maximum error
The maximum error of the sampling time (TS) is from "- (one operation cycle+1 ms)" to "+ (one operation cycle)."
• When the sampling time (TS) is a small value
Fluctuation of the maximum error described above may cause a problem. In such a case, execute the PID instruction in the
constant scan mode, or program it in a timer interrupt routine.
• When the sampling time (TS) is shorter than one operation cycle of the PLC
A PID operation error occurs, however when PID operation is executed, the sampling time (TS) is equal to the operation cycle
of the PLC. In such a case, use the PID instruction in a timer interrupt, and clear (s3)+7 just before executing the PID
instruction.
Backward As the measured value (PV) becomes smaller than the target value
Temperature
operation (SV), the output (MV) increases.
(b0=ON) For example, heating is a backward operation. Target value (SV)
Time
Backward Forward
operation operation
• Output variation
If the output variation alarm is used, turn ON b1 in (s3) +1, and specify the output variation alarm set value.
When this function is used, make sure to turn OFF b5 of (s3) +1.
Set item Setting description/Setting range
Operation setting (s3)+1: b2 Output variation alarm ON: Used
OFF: Not used
(s3)+1: b5 Output value upper/lower limit setting Make sure to set it to OFF
Output variation alarm set value (s3)+22 Output variation (incremental) alarm set value 0 to 32767
(s3)+23 Output variation (decremental) alarm set value 0 to 32767
When the upper limit and These values are not output
lower limit of output value are not set
(s3)+22
Output value upper limit
(s3)+23
Output value lower limit
These values are not output
Time Time
Time Time
Ex.
Proportional operation (P operation) in backward operation (heating)
Temperature
Target value (SV)
Measured value (PV)
Remaining deviation
KP3 KP2 KP1 Proportional gain
KP3>KP2>KP1
Time
Proportional gain
KP3>KP2>KP1
KP3 KP2 KP1
Time
Ex.
Proportional operation (P operation) in forward operation (cooling)
Temperature
Proportional gain
KP3>KP2>KP1
KP3 KP2 KP1
Measured value (PV)
Proportional gain
KP3 KP2 KP1 KP3>KP2>KP1
Time
Ex.
PI operation in backward operation (heating)
Temperature
TI3
Measured value in PI operation
Target Measured value in proportional operation
TI2 TI1
value Integral time (TI)
(SV) 0<TI3<TI2<TI1
Time
Ex.
PI operation in forward operation (cooling)
Temperature
Integral time (TI)
TI3 0<TI3<TI2<TI1
Target TI2
value TI1
(SV) Measured value in proportional operation
Measured value in PI operation
Time
Deviation
Deviation (EV)
Time
Time
Set the differential gain (KD) to "0", and then adjust the operation using the input filter ().
If the output response is too close to the disturbance, increase the differential gain (KD).
Disturbance
TD1 (PID operation) Deviation (EV)
TD2 (PID operation)
Time
Output value (MV)
Time
Ex.
PID operation in backward operation (heating)
Temperature Changes caused by disturbance
TD3 (PID operation)
Target value (SV)
TD3>TD2>TD1
Time
Output value (MV)
TD3>TD2>TD1
PI operation (without differential operation)
TD3>TD2>TD1
Time
Time
ON
(s3)+24: b1
Variation
Variation
Time
Sampling time (TS)
Alarm output
ON
(s3)+24: b2
ON
(s3)+24: b3
Output upper
limit value (ULV)
Output lower
limit value (LLV)
Time
Input value
SV+SHPV
SV (target value) a
SV-SHPV
on W
Time (s)
0 1 2
SHPV: PV Input threshold (hysteresis)
Auto-tuning procedure
1. Set forward or backward operation
Set the operation direction flag (b0) in the operation setting parameter (ACT) (s3)+1.
■Operation characteristics
100 %
Output value (MV) Output value (MV)
0% Time
Time (s)
2. Setting the parameter (s3), target value (SV), etc. that cannot be set in autotuning according to the system
System configuration
COM0 Y0 Y1 1 4 5
FX5U-32MT/ES
Error indication
24 V DC
power supply
Temperature chamber
Electric heater
OFF ON ON ON ON ON
1.8 sec (1800 ms) 1.8 sec (1800 ms) 1.8 sec (1800 ms)
Program examples
Program example Description Reference
Program example 1 This is an example of the sample program for PID control. Page 74
Program example 2 This is an example of the sample program for auto tuning (limit cycle method). Page 76
Program example 3 This is an example of the sample program for auto tuning (step response method). Page 78
Program example 4 This is an example of the sample program for auto tuning (limit cycle method) + PID Page 80
control.
Program example 5 This is an example of the sample program for auto tuning (step response method) + PID Page 82
control.
Use device
The content of the devices used for the program is as follows.
Item Device Setting value
During auto-tuning During PID control
Target value (SV)*1 (s1) D500 Not used 5000 (50.0)
Measured value (PV)*1 (s2) SD6022 Not used According to input value*2
Parameter Sampling time (TS)*1 (s3) D510 Not used 500 (500 ms)
Operation setting Operation direction*1 (s3)+1 b0 D511.0 Not used 1 (Backward operation)
(ACT) Input variation alarm (s3)+1 b1 D511.1 Not used 0 (Alarm is not provided)
Output variation alarm (s3)+1 b2 D511.2 Not used 0 (Alarm is not provided)
Auto-tuning (s3)+1 b4 D511.4 Not used 0 (AT is not provided)
Upper and lower limits of (s3)+1 b5 D511.5 Not used 1 (Setting is provided)
output value
Select auto-tuning mode (s3)+1 b6 D511.6 Not used Not used
Input filter constant () (s3)+2 D512 Not used 0 (Input filter is not provided)
Proportional gain (KP)*1 (s3)+3 D513 Not used 3000 (3000 %)
*1
Integral time (TI) (s3)+4 D514 Not used 2000 (2000100 ms)
Differential gain (KD) (s3)+5 D515 Not used 0 (Differential gain is not
provided)
Differential time (TD)*1 (s3)+6 D516 Not used 5000 (500010 ms)
Input variation (incremental) alarm set value (s3)+20 D530 Not used Not used
Input variation (decremental) alarm set value (s3)+21 D531 Not used Not used
Output variation (incremental) alarm set value (s3)+22 D532 Not used 2000 (2 second)
Output upper limit set value
Output variation (decremental) alarm set value (s3)+23 D533 Not used 0 (0 second)
Output lower limit set value
Alarm output Input variation (incremental) is (s3)+24 b0 D534.0 Not used Not used
exceeded
Input variation (decremental) (s3)+24 b1 D534.1 Not used Not used
is exceeded
Output variation (incremental) (s3)+24 b2 D534.2 Not used Not used
is exceeded
Output variation (decremental) (s3)+24 b3 D534.3 Not used Not used
is exceeded
PV value threshold (hysteresis) width (SHPV) (s3)+25 D535
Output value upper limit (ULV) (s3)+26 D536
Output value lower limit (LLV) (s3)+27 D537
Wait setting from end of tuning cycle to start of PID (s3)+28 D538
control (KW)
Output value (MV)*1 (d) D502 Not used According to operation
X011
PID control
is started
X011 Built-in analog monitor
PID D500 SD6022 D510 D502 PID instruction CH1: SD6022
PID control drive CH2: SD6062
is started
M3
The heater operation
OUTHS ST0 K2000
PID operation
cycle is set to 2 sec
is executed
ST0
RST ST0 Preset
Heater operation
cycle
M3 Heater output control
PID operation
is executed
M3
< ST0 D502 Y1 Heater output
ST0<D502 PID operation
is executed
END
Use device
The content of the devices used for the program is as follows.
Item Device Setting value
During auto-tuning During PID control
Target value (SV)*1 (s1) D500 5000 (50.0) Not used
Measured value (PV)*1 (s2) SD6022 According to input value Not used*2
*1
Parameter Sampling time (TS) (s3) D510 500 (500 ms) Not used
Operation setting Operation direction*1 (s3)+1 b0 D511.0 1 (Backward operation) Not used
(ACT) Input variation alarm (s3)+1 b1 D511.1 0 (Alarm is not provided) Not used
Output variation alarm (s3)+1 b2 D511.2 0 (Alarm is not provided) Not used
Auto-tuning (s3)+1 b4 D511.4 1 (AT is provided) Not used
Upper and lower limits of (s3)+1 b5 D511.5 0 (Setting is not provided) Not used
output value
Select auto-tuning mode (s3)+1 b6 D511.6 1 (Limit cycle method) Not used
Input filter constant () (s3)+2 D512 0 (Input filter is not Not used
provided)
Proportional gain (KP)*1 (s3)+3 D513 According to auto-tuning Not used
result
Integral time (TI)*1 (s3)+4 D514 According to auto-tuning Not used
result
Differential gain (KD) (s3)+5 D515 0 (Differential gain is not Not used
provided)
Differential time (TD)*1 (s3)+6 D516 According to auto-tuning Not used
result
Input variation (incremental) alarm set value (s3)+20 D530 Not used Not used
Input variation (decremental) alarm set value (s3)+21 D531 Not used Not used
Output variation (incremental) alarm set value (s3)+22 D532 Not used Not used
Output upper limit set value
Output variation (decremental) alarm set value (s3)+23 D533 Not used Not used
Output lower limit set value
Alarm output Input variation (incremental) is (s3)+24 b0 D534.0 Not used Not used
exceeded
Input variation (decremental) (s3)+24 b1 D534.1 Not used Not used
is exceeded
Output variation (incremental) (s3)+24 b2 D534.2 Not used Not used
is exceeded
Output variation (decremental) (s3)+24 b3 D534.3 Not used Not used
is exceeded
PV value threshold (hysteresis) width (SHPV) (s3)+25 D535 500 (5.0) Not used
Output value upper limit (ULV) (s3)+26 D536 2000 (2 second) Not used
Output value lower limit (LLV) (s3)+27 D537 0 (0 second) Not used
Wait setting from end of tuning cycle to start of PID (s3)+28 D538 -50 (Wait is not provided) Not used
control (KW)
Output value (MV)*1 (d) D502 According to operation Not used
X010
Auto-tuning is started
M4 Auto-tuning is executed
M4
The heater operation
OUTHS ST0 K2000
Auto-tuning is executed
cycle is set to 2 sec.
ST0
RST ST0 Preset
Heater operation
cycle
M4 Heater output control
Auto-tuning is executed
M4
< ST0 D502 Y1 Heater output
ST0<D502 Auto-tuning is executed
END
Use device
The content of the devices used for the program is as follows.
Item Device Setting value
During auto-tuning During PID control
Target value (SV)*1 (s1) D500 5000 (50.0) Not used
Measured value (PV)*1 (s2) SD6022 According to input value Not used*2
*1
Parameter Sampling time (TS) (s3) D510 500 (500 ms) Not used
Operation setting Operation direction*1 (s3)+1 b0 D511.0 According to auto-tuning Not used
(ACT) result
Input variation alarm (s3)+1 b1 D511.1 0 (Alarm is not provided) Not used
Output variation alarm (s3)+1 b2 D511.2 0 (Alarm is not provided) Not used
Auto-tuning (s3)+1 b4 D511.4 1 (AT is provided) Not used
Upper and lower limits of (s3)+1 b5 D511.5 0 (Setting is not provided) Not used
output value
Select auto-tuning mode (s3)+1 b6 D511.6 0 (Step response method) Not used
Input filter constant () (s3)+2 D512 0 (Input filter is not Not used
provided)
Proportional gain (KP)*1 (s3)+3 D513 According to auto-tuning Not used
result
Integral time (TI)*1 (s3)+4 D514 According to auto-tuning Not used
result
Differential gain (KD) (s3)+5 D515 0 (Differential gain is not Not used
provided)
Differential time (TD)*1 (s3)+6 D516 According to auto-tuning Not used
result
Input variation (incremental) alarm set value (s3)+20 D530 Not used Not used
Input variation (decremental) alarm set value (s3)+21 D531 Not used Not used
Output variation (incremental) alarm set value (s3)+22 D532 Not used Not used
Output upper limit set value
Output variation (decremental) alarm set value (s3)+23 D533 Not used Not used
Output lower limit set value
Alarm output Input variation (incremental) is (s3)+24 b0 D534.0 Not used Not used
exceeded
Input variation (decremental) (s3)+24 b1 D534.1 Not used Not used
is exceeded
Output variation (incremental) (s3)+24 b2 D534.2 Not used Not used
is exceeded
Output variation (decremental) (s3)+24 b3 D534.3 Not used Not used
is exceeded
PV value threshold (hysteresis) width (SHPV) (s3)+25 D535 Not used
Output value upper limit (ULV) (s3)+26 D536 Not used
Output value lower limit (LLV) (s3)+27 D537 Not used
Wait setting from end of tuning cycle to start of PID (s3)+28 D538 Not used
control (KW)
Output value (MV)*1 (d) D502 1800 (1.8 second) Not used
X010
Auto-tuning is started
M4 Auto-tuning is executed
M4
The heater operation
OUTHS ST0 K2000
Auto-tuning is executed
cycle is set to 2 sec.
ST0
RST ST0 Preset
Heater operation
cycle
M4 Heater output control
Auto-tuning is executed
M4
< ST0 D502 Y1 Heater output
ST0<D502 Auto-tuning is executed
END
Use device
The content of the devices used for the program is as follows.
Item Device Setting value
During auto-tuning During PID control
Target value (SV)*1 (s1) D500 5000 (50.0) 5000 (50.0)
Measured value (PV)*1 (s2) SD6022 According to input value According to input value*2
*1
Parameter Sampling time (TS) (s3) D510 500 (500 ms) 500 (500 ms)
Operation setting Operation direction*1 (s3)+1 b0 D511.0 1 (Backward operation) 1 (Backward operation)
(ACT) Input variation alarm (s3)+1 b1 D511.1 0 (Alarm is not provided) 0 (Alarm is not provided)
Output variation alarm (s3)+1 b2 D511.2 0 (Alarm is not provided) 0 (Alarm is not provided)
Auto-tuning (s3)+1 b4 D511.4 1 (AT is provided) 1 (AT is provided)
Upper and lower limits of (s3)+1 b5 D511.5 0 (Setting is not provided) 1 (Setting is provided)
output value
Select auto-tuning mode (s3)+1 b6 D511.6 1 (Limit cycle method) Not used
Input filter constant () (s3)+2 D512 0 (Input filter is not 0 (Input filter is not provided)
provided)
Proportional gain (KP)*1 (s3)+3 D513 According to auto-tuning According to auto-tuning
result result
Integral time (TI)*1 (s3)+4 D514 According to auto-tuning According to auto-tuning
result result
Differential gain (KD) (s3)+5 D515 0 (Differential gain is not 0 (Differential gain is not
provided) provided)
Differential time (TD)*1 (s3)+6 D516 According to auto-tuning According to auto-tuning
result result
Input variation (incremental) alarm set value (s3)+20 D530 Not used Not used
Input variation (decremental) alarm set value (s3)+21 D531 Not used Not used
Output variation (incremental) alarm set value (s3)+22 D532 Not used 2000 (2 second)
Output upper limit set value
Output variation (decremental) alarm set value (s3)+23 D533 Not used 0 (0 second)
Output lower limit set value
Alarm output Input variation (incremental) is (s3)+24 b0 D534.0 Not used Not used
exceeded
Input variation (decremental) (s3)+24 b1 D534.1 Not used Not used
is exceeded
Output variation (incremental) (s3)+24 b2 D534.2 Not used Not used
is exceeded
Output variation (decremental) (s3)+24 b3 D534.3 Not used Not used
is exceeded
PV value threshold (hysteresis) width (SHPV) (s3)+25 D535 500 (5.0) Not used
Output value upper limit (ULV) (s3)+26 D536 2000 (2 second) Not used
Output value lower limit (LLV) (s3)+27 D537 0 (0 second) Not used
Wait setting from end of tuning cycle to start of PID (s3)+28 D538 -50 (Wait is not provided) Not used
control (KW)
Output value (MV)*1 (d) D502 According to operation According to operation
X010 X011
ST0
RST ST0 Preset
Heater operation
cycle
M4 Heater output control
PID is executed
M4
< ST0 D502 Y1 Heater output
ST0<D502 Auto-tuning is executed
END
Use device
The content of the devices used for the program is as follows.
Item Device Setting value
During auto-tuning During PID control
Target value (SV)*1 (s1) D500 5000 (50.0) 5000 (50.0)
Measured value (PV)*1 (s2) SD6022 According to input value According to input value*2
*1
Parameter Sampling time (TS) (s3) D510 500 (500 ms) 500 (500 ms)
Operation setting Operation direction*1 (s3)+1 b0 D511.0 According to auto-tuning According to auto-tuning
(ACT) result result
Input variation alarm (s3)+1 b1 D511.1 0 (Alarm is not provided) 0 (Alarm is not provided)
Output variation alarm (s3)+1 b2 D511.2 0 (Alarm is not provided) 0 (Alarm is not provided)
Auto-tuning (s3)+1 b4 D511.4 1 (AT is provided) 0 (AT is not provided)
Upper and lower limits of (s3)+1 b5 D511.5 0 (Setting is not provided) Not used
output value
Select auto-tuning mode (s3)+1 b6 D511.6 0 (Step response method) Not used
Input filter constant () (s3)+2 D512 0 (Input filter is not 0 (Input filter is not provided)
provided)
Proportional gain (KP)*1 (s3)+3 D513 According to auto-tuning According to auto-tuning
result result
Integral time (TI)*1 (s3)+4 D514 According to auto-tuning According to auto-tuning
result result
Differential gain (KD) (s3)+5 D515 0 (Differential gain is not 0 (Differential gain is not
provided) provided)
Differential time (TD)*1 (s3)+6 D516 According to auto-tuning According to auto-tuning
result result
Input variation (incremental) alarm set value (s3)+20 D530 Not used Not used
Input variation (decremental) alarm set value (s3)+21 D531 Not used Not used
Output variation (incremental) alarm set value (s3)+22 D532 Not used 2000 (2 second)
Output upper limit set value
Output variation (decremental) alarm set value (s3)+23 D533 Not used 0 (0 second)
Output lower limit set value
Alarm output Input variation (incremental) is (s3)+24 b0 D534.0 Not used Not used
exceeded
Input variation (decremental) (s3)+24 b1 D534.1 Not used Not used
is exceeded
Output variation (incremental) (s3)+24 b2 D534.2 Not used Not used
is exceeded
Output variation (decremental) (s3)+24 b3 D534.3 Not used Not used
is exceeded
PV value threshold (hysteresis) width (SHPV) (s3)+25 D535 Not used
Output value upper limit (ULV) (s3)+26 D536 Not used
Output value lower limit (LLV) (s3)+27 D537 Not used
Wait setting from end of tuning cycle to start of PID (s3)+28 D538 Not used
control (KW)
Output value (MV)*1 (d) D502 1800 (1.8 second) According to operation
X010 X011
ST0
RST ST0 Preset
Heater operation
cycle
M4 Heater output control
PID is executed
M4
< ST0 D502 Y1 Heater output
ST0<D502 Auto-tuning is executed
END
END processing
1 ms 7 ms 2 ms 1 ms 8 ms 1 ms 2 ms 7 ms 1 ms
10 ms 10 ms 10 ms
• When constant scan time is not set
END processing
END 0 Program END 0 END 0
1 ms 7 ms 1 ms 8 ms 2 ms 7 ms
8 ms 9 ms 9 ms
Window
Displayed items
Item Description Setting range Default
Constant Scan Sets the constant scan time. 0.2 to 2000 ms (0.1 ms units)
10 CONSTANT SCAN
84 10.1 Constant scan settings
Conditions of setting time
Set a value that meets the following relational equation for the setting time of the constant scan.
"WDT setting time" > "Constant scan setting time" > "Maximum scan time of the program"
When the maximum scan time of the program is longer than the setting time of the constant scan, it results in error. The
constant scan time is ignored and it is executed with the scan time of the program.
10
Ex.
When the constant scan time is set to 4 ms
Constant scan (4 ms)
0 1 2 3 4 1 2 3 4 5 1 2 3 4 1 2 3 4 ms
1 ms 2 ms 1 ms 1 ms 2 ms 1 ms 1 ms 2 ms 1 ms
4 ms 5.3 ms 4 ms 4 ms
Wait time from the execution of END process until the beginning of the next scan
When there is a processing mentioned below requested during wait time, the processing of the program is interrupted and the
corresponding process is carried out.
• Interrupt program
• Event execution type program which triggers the generation of interruption
• Device/label access service processing
10 CONSTANT SCAN
10.1 Constant scan settings 85
11 REMOTE OPERATION
A remote operation is an operation to externally change the operation status of the CPU module with the RUN/STOP/RESET
switch of the CPU module set to the RUN position.
The following items show the types of remote operation.
• Remote RUN/STOP
• Remote PAUSE
• Remote RESET
At remote STOP
A program is executed up-to END instruction and changes to STOP status.
At remote RUN
When remote RUN is executed in the STOP status, once again the CPU module turns to RUN status and the program is
executed from step 0.
Contact method
Set the RUN contact in the parameter. The allowable device range is X0 to X17.
Execute remote RUN/STOP by contact ON/OFF. Set the correspondence of ON/OFF and RUN/STOP operation of the contact
in CPU parameters.
• When set to RUN at contact ON
When contact is set to OFF, the CPU module is in the STOP status.
When contact is set to ON, the CPU module is in the RUN status.
END END END/Step 0 END END END
ON
RUN contact
OFF
RUN
RUN/STOP status
STOP
RUN status
11 REMOTE OPERATION
86 11.1 Remote RUN/STOP
• When set to STOP at contact ON
When contact is set to OFF, the CPU module is in the RUN status.
When contact is set to ON, the CPU module is in the STOP status.
ON
RUN contact
OFF
RUN
RUN/STOP status
11
STOP
STOP status
ON
Remote STOP command
RUN
STOP status
11 REMOTE OPERATION
11.1 Remote RUN/STOP 87
11.2 Remote PAUSE
With the RUN/STOP/RESET switch set to the RUN position of the CPU module, the operation status is changed to PAUSE
status from outside. The PAUSE status is a status in which operation of the CPU module is stopped by holding the ON/OFF
status of all output (Y).
Step 0 END
Step 0 END Step 0
ON Step 0 END
SM204
OFF
Turns ON when the PAUSE
conditions are established
PAUSED
11 REMOTE OPERATION
88 11.2 Remote PAUSE
Precautions
■When keeping in forced ON or OFF status in advance
When keeping in forced ON or OFF status in advance, interlock using the PAUSE contact (SM204).
M20
The ON/OFF status of Y70 is determined by
Y70
the ON/OFF status of M20 in PAUSE status.
X0 SM204
Y71 Turns OFF in PAUSE status.
11
M0
Y72 Turns ON in PAUSE status.
SM204
Window
Displayed items
Item Description Setting range Default
Remote Reset Set whether or not to enable remote RESET. • Disable Disable
• Enable
11 REMOTE OPERATION
11.3 Remote RESET 89
Method of execution of remote RESET
The following are the methods of execution of remote RESET.
When executing remote RESET, the settings that allow the remote reset of the CPU parameter must be
written to CPU module beforehand. In the case that they are not set, remote RESET will not be possible.
Precautions
■Remote RESET in RUN status
When the CPU module is in RUN status, it cannot be reset by remote RESET. Change the CPU module to STOP status by
operations like remote STOP and then execute remote RESET.
• Note that if a remote RESET is executed when the CPU module has stopped due to an error, the CPU
module will change to an operation status set by the RUN/STOP/RESET switch, by reset process
completion.
• If status of CPU module does not change even after executing remote RESET by engineering tool, check
the remote reset settings in the CPU parameter. If it is not set, even after completion of the remote process
of engineering tool, reset process of the CPU module will not be carried out.
11 REMOTE OPERATION
90 11.3 Remote RESET
11.4 Relationship Between Remote Operation and CPU
Module
Relationship between remote operation and RUN/STOP status of the CPU module
The following table shows operation status of the CPU module by the combination of remote operation and RUN/STOP status
of the CPU module.
Switch RUN/STOP status Remote operation 11
*1 *2
RUN STOP PAUSE RESET
RUN RUN STOP PAUSE Operation not possible*3
STOP STOP STOP STOP RESET*4
*1 When executing by the RUN contact, setting of RUN contact is required in the CPU parameter.
*2 Remote reset setting is required in the CPU parameter.
*3 When a CPU module is changed to STOP status by a remote operation, remote reset is possible.
*4 Includes even the cases where CPU module has stopped due to an error.
11 REMOTE OPERATION
11.4 Relationship Between Remote Operation and CPU Module 91
12 DEVICE/LABEL MEMORY AREA SETTING
The capacity of each area in device/label memory can be specified.
(1)
(2)
(1) The capacity of each area can be changed. (Page 94 Device/Label Memory Area Setting)
(2) The number of points of user devices can be changed. (Page 95 Device Setting)
■When device area setting using by label/latch label is high speed area
Label Area Capacity + Latch Label Area Capacity + Device (high speed) Area Capacity 12 K Word (1 K word unit)
■When FB is used
In using FB, it consumes the margin area for a label addition in addition to the label defined for FB.
The following capacities are consumed per FB instance.
Label area: 48 words
Latch area: 16 words
Operating procedure
"Device/Label Memory Area Setting" window 1. In "Option Battery Setting", select whether or not to use
a option battery.
Displayed items
Item Description Setting range Default
Option Battery Setting Set when using option battery. • Not Mounted Not Mounted
The points which can be held can be increased by • Mounted
this setup.
The latch device of standard area can be held with a
battery.
The latch area of latch label can be changed to
battery latch area from standard latch area
(nonvolatile memory).
Device/Label Device Area Device (high speed) Set the capacity of device (high speed) area. Page 93 The 12 K word
Memory Area Area Capacity Setting Range of the
Capacity Setting Capacity of Each Area
Device (standard) Set the capacity of device (standard) area. Page 93 The 35 K word
Area Capacity Setting Range of the
Capacity of Each Area
Label Area Label/Latch Label Select the used device area of label and latch label • Standard Area Standard
Use Device Area from standard area and high speed area. • HighSpeed Area Area
Setting When device (high speed) area + label area + latch
label area is 12 K word or less, it is possible to set
label area/label latch area in high-speed area.
Label Area Capacity Sets the capacity of the label area to be used for Page 93 The 12 K word
non-latched labels. Setting Range of the
Capacity of Each Area
Latch Label Area Sets the capacity of the latch label area to be used Page 93 The 1 K word
Capacity for latch-type labels. Setting Range of the
Capacity of Each Area
High-speed area: Area which can be accessed at high speed. Latch is always held by nonvolatile memory.
Standard area: Area which can be held when option battery is used. In addition, about a latched type label,
when a latch area is set as a standard latch area, latch type label is held by nonvolatile memory.
Window
"Device (high speed) Setting" details window
12
Specify each item so that the total number of points for each user device does not exceed the capacity of the
device area. (Page 94 Device/Label Memory Area Setting)
MOV H2020 D0
(1)
13
CPU module
(1) If initial device values are used, a program to set data to the devices becomes unnecessary.
Setting procedure
The procedure for using initial device values is as follows.
1. First, the user must create an initial device value file. To set initial values to a global device, create an initial device value
file (with any name) which sets these initial values, and specify the range of the values.
2. On the device memory, set up initial device value data within the range specified in the initial device value file.
GX Works3 Operating Manual
3. In the "Device Memory Register Diversion", select the device memory which was set up in Step 2. Setting "Device
Memory Register Diversion" enables data set up on the device memory to be used as initial device values for the device
which is specified in the initial device value file.
GX Works3 Operating Manual
5. Write the set initial device value file and the CPU parameters to the CPU module.
GX Works3 Operating Manual
6. The data in the specified initial device value file is automatically set to the specified device when the CPU module is
powered off and on, reset, or the status changes from STOP to RUN.
Window
Displayed items
Item Description Setting range Default
Setting of Device Initial Sets whether or not to use initial device values. • Not Use Not Use
Value Use Or Not • Use
Target Memory Sets the storage memory for the initial device value file. • Memory card Data Memory
• Data Memory
Global Device Initial Sets the name of the initial global device value file.*1 60 characters or less
Value File Name
Number of initial device value settings and maximum range of one range
Up to 1000 ranges can be set in one initial device value file. Up to 8000 data points can be set in one range.
*1 Link register (W) and file register (R) can be latched only when an optional battery is used.
14 LATCH FUNCTION
14.1 Types of Latch 99
14.3 Latch Settings
Latch settings
This subsection describes the latch setting.
Operating procedure
"Device Setting" window 1. Click "Detailed Setting" on the
"Device Setting".
"Latch Range Setting" window 3. Check the tab for the latch
type, select the device to set
and set the latch range (Start,
End).
14 LATCH FUNCTION
100 14.3 Latch Settings
Setting latch on labels
This subsection describes latch setting on labels.
Operating procedure
Label edit window 1. In the label edit window, specify
"RETAIN" for label attribute.
"Device/Label Memory Area Detailed Setting" window 2. There are two types of latch for labels:
latch (1) and latch (2). Select one. The
selected latch type is applied to all
labels of with latch attribute.
Navigation window [Parameter]
[FX5UCPU] [CPU Parameter] 14
"Memory/Device Setting" "Device/
Label Memory Area Detailed Setting"
"Latch Label Latch Type"
14 LATCH FUNCTION
14.4 Clearing of Data of the Latch Range 101
14.5 Precautions
The precaution to be taken when using a latch function is described below.
• When latch range and device no. of points are changed in the parameter, the latching for devices other than link register
(W) and latch label will be the same as the latch settings before the change. Also, if the latch range setting parameter at the
time of previous operation is different from that at the time of the current operation after the CPU module is powered OFF
and ON or reset, the latch data is recovered only in the overlapping part of the latch ranges.
• When latch range and the number of devices are changed in the parameter, all latch labels are cleared to "0".
• When the CPU parameter, program file, FB file, and global label setting file are changed, all latch labels are cleared to "0".
• Special relays and special registers are not cleared even by performing CPU memory operation or special relay clearing.
14 LATCH FUNCTION
102 14.5 Precautions
15 MEMORY CARD FUNCTION
The following explains the functions that use SD memory card.
2. Check if CARD READY LED has turned off or SM607 (SD memory card forcibly disable status flag) has turned ON.
*1 Set whether an error due to accessing the SD memory card after SD memory card forced stop will be detected or not.
*2 Operation is same as when the SD memory card is not attached.
Precautions
The precaution regarding SD memory card forced stop is described below.
• When a forced stop operation is carried out by SD memory card disable switch and forced stop operation by SM606,
operation carried out earlier becomes valid, and the operation that is carried out later becomes invalid. For example, after
the forced stop by SD memory card disable switch, when SM606 is turned ONOFF without removing the SD memory
card, the disable status of the SD memory card can be released. After the forced stop by SD memory card disable switch,
when SD memory card is removed and then SM606 is turned ON, SM606 operation is ignored.
3. Write the boot file settings and boot file to the SD memory card.
Operating procedure
"Boot Setting" window 1. Click "Detailed Setting" on the "Boot File Setting".
"Boot File Setting" window 2. Click the "Type" column. The maximum number of boot
files that can be specified is the same as the number of
files that can be stored in the storage memory.
"Add Type" window 3. Select type for the boot file. (Multiple selection possible)
15
"Boot File Setting" window 4. Set the data name (file name).
Displayed items
Item Description Setting range Default
Clear the CPU built-in Sets whether or not to clear the CPU built-in memory upon file transfer • Do Not Clear Do Not Clear
memory before boot from the SD memory card. • Clear
Boot File Setting Sets the files used for boot operation from the SD memory card.
Precautions
The precautions on the boot operation are explained below.
• The parameter file existing on the module of the transfer destination is overwritten, when a parameter file is set to the boot
file. Further, if a parameter file is stored in the SD memory card, but not set to the boot file, the operation will follow the
parameter file on the module.
• Note that the model of the program written on the SD memory card (program specified in the boot file settings) and the
model of the CPU module must be the same.
When every request statement from all connected peripheral equipment is executed in each END process,
depending on the number of request statements arriving during 1 scan, the impact on scan time (delay,
scattering) may be big. Therefore, by setting the frequency (number of ports) of device/label access service
processing to be executed in 1 END processing and regulating the frequency of device/label access service
processing according to the system built, ensuring balance between scan time and response time to the
peripheral equipment can be achieved.
16
Compatibility of service process setting
The compatibility of service process setting is described below.
Communication type Function Compatibility
Serial communication MELSOFT connection
MC protocol communication
MODBUS communication (slave)
N:N Network
MODBUS communication (master)
Non-protocol communication
Inverter communication
Predefined protocol support
Ethernet communication MELSOFT connection
SLMP communication
Socket communication
Predefined protocol support
None Large Medium Fast High None Effective when service process is given
precedence.
Set the frequency of service process Medium High Medium Medium None Effective when scan process is given precedence.
Wait for request process will not be executed when there is no request data.
Setting method
The device/label access service processing can be configured as follows.
Navigation window [Parameter] [FX5UCPU] [CPU Parameter] "Service Processing Setting" "Device/Label
Access Service Processing Setting"
Window
Displayed items
Item Description Setting range Default
Specifying Method Set the method of device/label access service processing. • Set Processing Counts No Setting
• No Setting
Counts Set the number of executions of device/label access service 1 to 10 [Time] (1 time Unit)
processing.
Precautions
If "Set Processing Counts" is selected and many service process frequencies are set, when multiple requests are received at
the same time, scan time may be prolonged to a large extent, so please exercise caution.
Self-diagnostics timing
If an error occurs when the CPU module is powered on or while it is in the RUN/STOP state, the CPU module detects, and
displays it, and stops operation. However, depending on the error occurrence status or the instruction to execute, the CPU
module may not be able to detect the error. Configure safety circuits external to the programmable controller to ensure that
the entire system operates safely even in such a case.
■Existing errors
Up to 16 errors (description of errors) currently existing in the CPU module can be displayed. However, even when an
additional error occurs after a stop error, the error information is not refreshed.
The maximum number of displayable errors is 15 for continuation errors and 1 for stop errors. When 15
continuation errors are displayed and another one occurs, description of the new error is not displayed. Also,
when an error with the same code has already been displayed, the date and time of occurrence and detailed
information of the relevant error are not updated.
17 RAS FUNCTIONS
17.1 Self-Diagnostics Function 109
CPU Module Operation Upon Error Detection Setting
Configure each CPU Module Operation setting when an error is detected.
Window
Displayed items
Item Description Setting range Default
Battery Error Sets whether or not to detect the battery error. • Detect Detect
• Not Detected
Module Verify Error Sets whether or not to detect the module verification error. • Detect Detect
• Not Detected
Window
Displayed items
Item Description Setting range Default
Instruction Invalid module No. Sets the CPU module operation upon detection of an incorrect module • Continue Continue
Execution Error No. • Stop
Operation Error Sets the CPU module operation upon operation error. • Continue Continue
• Stop
Memory Card Error Sets the CPU module operation upon a memory card error. • Continue Continue
• Stop
Module Verify Error Sets the CPU module operation upon a module verification error. • Continue Stop
• Stop
System Configuration Error Sets the CPU module operation upon a system configuration error. • Continue Continue
• Stop
17 RAS FUNCTIONS
110 17.1 Self-Diagnostics Function
CPU Module Operation Setting
Specify the operation which the CPU module should perform when an error occurs on each intelligent function module.
17
Navigation window [Parameter] [System Parameter] [I/O Assignment Setting]
Window
Displayed items
Item Description Setting range Default
CPU Module Operation Sets the CPU module operation upon the detection of major or • Critical: Stop, Moderate: Critical: Stop,
Setting at Error moderate errors in the configured module. Continue Moderate: Continue
Detection • Critical: Stop, Moderate: Stop
• Critical: Continue, Moderate:
Continue
Window
Displayed items
Item Description Setting range Default
ERROR LED Minor Error (Continue Sets whether or not the ERROR LED is displayed when a minor error • Display Display
Error) occurs. • Do Not Display
BATTERY LED Battery Error Sets whether or not the BATTERY LED is displayed when a battery • Display Display
error occurs. • Do Not Display
17 RAS FUNCTIONS
17.1 Self-Diagnostics Function 111
Error Clear
This function clears all the existing continuation errors at once.
■Using SM/SD
Clear errors by operating SM/SD.
1. Check SD0 (Latest self-diagnostics error code) to identify what errors are detected.
Precautions
This section describes some precautions to take when using the error clear function:
• Since the function clears all of the currently detected continuation errors at once, errors that should not yet be cleared may
be cleared.
• Use the RST instruction to reset each annunciator individually.
17 RAS FUNCTIONS
112 17.1 Self-Diagnostics Function
18 SECURITY FUNCTIONS
These functions prevent theft, tampering, wrongful operation, illegal execution, etc. of a customer's assets saved on a
personal computer or in modules in the FX5 system as a result of illegal access by a third party. Use of the security functions
according to the following purposes. 18
(1) Protection of customer assets on PC
Prevents theft, tampering, or erroneous operation
through unauthorized access from third parties
Personal computer
(outside the company)
Inter-
net/In-
Precautions
When a personal computer registered with a security key is misused by a third party, the outflow of program assets cannot be
prevented. For this reason, the customer must adopt sufficient measures as explained below:
• Personal computer antitheft measures (using a wire lock, etc.)
• Management of personal computer users (deletion of unwanted accounts, strict control of login information, introduction of
fingerprint authentication, etc.)
Also, when a personal computer registered with a security key malfunctions, locked project data cannot be accessed/viewed
or edited. Mitsubishi Electric Corporation cannot be held responsible for any loss that may occur as a result of this with the
customer, other individuals or organizations. For this reason, the customer must adopt sufficient measures as explained
below:
• Export registered security keys and import them into another personal computer.
• Store files containing exported security keys in a safe location.
18 SECURITY FUNCTIONS
113
19 BUILT-IN I/O FUNCTION
The built-in input/output (I/O) function of the CPU module is explained below.
Each respective function is set by parameters in GX Works3.
Function Reference
High-speed counter function Normal mode Page 124
Pulse density measurement mode Page 126
Rotational speed measurement mode Page 129
FX3-compatible high-speed counter function Page 165
Pulse width measurement function Page 174
Pulse catch function Pulse catch function Page 184
FX3-compatible pulse catch function Page 188
General-purpose input functions Page 191
PWM function Page 193
Built-in positioning function MELSEC iQ-F FX5 User's Manual (Positioning Control)
Parameter setting and the HIOEN instruction are always required to use the high-speed counter.
■Normal mode
Select normal mode if you want to use as an ordinary high-speed counter. (Page 124 High-speed counter (normal mode))
ON
A-phase input
OFF
ON
A-phase input
OFF
B-phase input
OFF ON
(Count direction switching input)
Current value
A-phase input ON
Up-counting input
+1 when OFF→ON OFF
B-phase input ON
Down-counting input
-1 when OFF→ON OFF
Current value
At up-counting At down-counting
A-phase input
+1 +1 -1 -1
B-phase input
At up-counting At down-counting
A-phase input
+1 +1 -1 -1
B-phase input
A-phase input
+1 +1 +1 +1 -1 -1 -1 -1
B-phase input
■Internal clock
Counting method of internal clock is as follows.
OFF ON
Count direction switching bit
ON
OFF
Up counting Down counting
Current value
Under ordinary circumstances, the internal clock counts up/down by 1 MHz clock. External input is not used.
Maximum frequency
The maximum frequency that each type of counter can count is as follows.
For details concerning maximum frequency by input assignment, refer to Page 120 Input assignment-wise / maximum
frequency for high-speed counters.
Counter type Maximum frequency
1 phase, 1 input counter (S/W) 200 KHz
1 phase, 1 input counter (H/W) 200 KHz
1 phase, 2 input counter 200 KHz
2 phase, 2 input counter [1 edge count] 200 KHz
2 phase, 2 input counter [2 edge count] 100 KHz
2 phase, 2 input counter [4 edge count] 50 KHz
Internal clock 1 MHz (fixed)
• If input response time is set, maximum frequency is affected by the setting value.
• Under ordinary circumstances, the internal clock counts at 1 MHz (fixed) during operation.
Count range
-2147483648 to +2147483647. These are signed 32-bit ring counters.
Ring length setting is however in the range of 0 to 2147483647.
A: A phase input
B: Phase B input (direction switch input is however employed in the case of 1-phase 1-count [H/W])
P: External preset input
E: External enable input
■FX5U-32M, FX5UC-32M
CH High-speed counter X0 X1 X2 X3 X4 X5 X6 X7 X10 X11 X12 X13 X14 X15 X16 X17 Maximum
type frequency
CH1 1-phase 1-count (S/W) A P E 200 KHz
1-phase 1-count (H/W) A B P E 200 KHz
1-phase 2-count A B P E 200 KHz
2-phase 2-count [1 edge A B P E 200 KHz
count]
2-phase 2-count [2 edge A B P E 100KHz
count]
2-phase 2-count [4 edge A B P E 50 KHz
count]
CH2 1-phase 1-count (S/W) A P E 200 KHz
1-phase 1-count (H/W) A B P E 200 KHz
1-phase 2-count A B P E 200 KHz
2-phase 2-count [1 edge A B P E 200 KHz
count]
2-phase 2-count [2 edge A B P E 100 KHz
count]
2-phase 2-count [4 edge A B P E 50 KHz
count]
CH3 1-phase 1-count (S/W) A P E 200 KHz
1-phase 1-count (H/W) A B P E 200 KHz
1-phase 2-count A B P E 200 KHz
2-phase 2-count [1 edge A B P E 200 KHz
count]
2-phase 2-count [2 edge A B P E 100 KHz
count]
2-phase 2-count [4 edge A B P E 50 KHz
count]
CH4 1-phase 1-count (S/W) A P E 200 KHz
1-phase 1-count (H/W) A B P E 10 KHz
1-phase 2-count A B P E 10 KHz
2-phase 2-count [1 edge A B P E 10 KHz
count]
2-phase 2-count [2 edge A B P E 5 KHz
count]
2-phase 2-count [4 edge A B P E 2.5 KHz
count]
CH5 1-phase 1-count (S/W) A P E 200 KHz
1-phase 1-count (H/W) A B P E 10 KHz
1-phase 2-count A B P E 10 KHz
2-phase 2-count [1 edge A B P E 10 KHz
count]
2-phase 2-count [2 edge A B P E 5 KHz
count]
2-phase 2-count [4 edge A B P E 2.5 KHz
count]
A: A phase input, B: B phase input, P: External preset input, E: External enable input
■FX5U-64M, FX5U-80M
• X10 to X17 are input frequencies up to 10 KHz, regardless of maximum frequency value.
• Preset input and Enable Input are input frequencies up to 10 KHz, regardless of maximum frequency value.
CH High-speed counter X0 X1 X2 X3 X4 X5 X6 X7 X10 X11 X12 X13 X14 X15 X16 X17 Maximum
type frequency
CH1 1-phase 1-count (S/W) A P E 200 KHz
1-phase 1-count (H/W) A B P E 200 KHz
1-phase 2-count A B P E 200 KHz
2-phase 2-count [1 edge A B P E 200 KHz
count]
2-phase 2-count [2 edge A B P E 100KHz
count]
2-phase 2-count [4 edge A B P E 50 KHz
count]
CH2 1-phase 1-count (S/W) A P E 200 KHz
1-phase 1-count (H/W) A B P E 200 KHz
1-phase 2-count A B P E 200 KHz
2-phase 2-count [1 edge A B P E 200 KHz
count]
2-phase 2-count [2 edge A B P E 100 KHz
count]
2-phase 2-count [4 edge A B P E 50 KHz
count]
A: A phase input, B: B phase input, P: External preset input, E: External enable input
Outline of parameters
High-speed counter settings, high-speed comparison table, multiple point high-speed comparison table setting and input
response time are set by parameters.
The primary items that can be set by parameters are as follows. 19
• Basic settings
• High-speed comparison table setting
• Multiple point output high-speed table setting
• Input response time setting
Parameter setting
High-speed counter parameter setting method is explained below.
For parameter setting of each operation, refer to the following.
• For high-speed counters (normal mode), refer to Page 124 High-speed counter (normal mode).
• For high-speed counter (pulse density measurement mode), refer to Page 126 High-speed counter (pulse density
measurement mode).
• For high-speed counter (rotational speed measurement mode), refer to Page 129 High-speed counter (rotational
speed measurement mode).
• For high-speed comparison table, refer to Page 132 High-speed comparison table.
• For multiple point output, high-speed comparison tables, refer to Page 134 Multiple point output, high-speed
comparison tables.
• For input response time, refer to Page 191 General-purpose Input Functions.
Parameters are enabled when the CPU module is powered ON or after a reset. In addition, operations
different from the parameter settings are possible by transferring values to special relays and special registers
while changing these values in the program.
For details concerning special relays and specials registers for high-speed counters, refer to Page 137
Special relay list, Page 148 Special registers list.
Window
Displayed items
Item Description Setting range Default
Use/Not Use Set whether use counter or not. • Disable Disable
• Enable
Operation Mode Set operation mode. • Normal Mode
• Pulse Density Assumption Mode
• Rotation Speed Measurement
Mode
Pulse Input Mode Set pulse input mode. • 1-Phase 1 Input (S/W Up/Down
Switch)
• 1-Phase 1 Input (H/W Up/Down
Switch)
• 1 Phase 2 Input
• 2 Phase 1 Multiple
• 2 Phase 2 Multiple
• 2 Phase 4 Multiple
• Internal Clock (1MHz)
Preset Input Enable/ Set whether to "enable" or "disable" the preset input of counter. • Disable
Disable • Enable
Input Logic Sets preset input logic when preset input is enabled. • Positive Logic
• Negative Logic
Parameters are enabled when the CPU module is powered ON or after a reset. In addition, operations
different from the parameter settings are possible by transferring values to special relays and special registers
while changing these values in the program.
For details concerning special relays and specials registers for high-speed counters, refer to Page 137
Special relay list, Page 148 Special registers list.
Precautions
• Input used varies according to channel selected and pulse input mode.
• If not using preset input or enable input, you can use it as input for other functions.
• If mode is other than normal mode, preset input cannot be used.
• Use the HIOEN instruction to start high-speed counter measurement.
• There are common precautions when using high-speed counters. For details, refer to Page 163 Precautions when
using high-speed counters.
Window
Displayed items
Item Description Setting range Default
Use/Not Use Set whether use counter or not. • Disable Disable
• Enable
Operation Mode Set operation mode. • Normal Mode
• Pulse Density
Assumption Mode
• Rotation Speed
Measurement Mode
Pulse Input Mode Set pulse input mode. • 1-Phase 1 Input (S/W
Up/Down Switch)
• 1-Phase 1 Input (H/W
Up/Down Switch)
• 1 Phase 2 Input
• 2 Phase 1 Multiple
• 2 Phase 2 Multiple
• 2 Phase 4 Multiple
• Internal Clock (1MHz)
Parameters are enabled when the CPU module is powered ON or after a reset. In addition, operations
different from the parameter settings are possible by transferring values to special relays and special registers
while changing these values in the program.
For details concerning special relays and specials registers for high-speed counters, refer to Page 137
Special relay list, Page 148 Special registers list.
Pulse density
Pulse density is stored in the special register for each channel.
For details concerning specials registers for high-speed counters, refer to Page 148 Special registers list.
Ex.
When pulse density is measured, 14 pulses are input within measuring unit time, but the current value of the high-speed
counter remains "0", as shown in the following figure. As a result, pulse density is "0" for this measuring unit time.
Measurement
intervals
Direction
switching
Count input
Current value
10
9
8
7
6
5
4
3
2
1
0
■Other precautions
There are common precautions when using high-speed counters. For details, refer to Page 163 Precautions when using
high-speed counters.
Displayed items
Item Description Setting range Default
Use/Not Use Set whether use counter or not. • Disable Disable
• Enable
Operation Mode Set operation mode. • Normal Mode
• Pulse Density Assumption Mode
• Rotation Speed Measurement
Mode
Pulse Input Mode Set pulse input mode. • 1-Phase 1 Input (S/W Up/Down
Switch)
• 1-Phase 1 Input (H/W Up/Down
Switch)
• 1 Phase 2 Input
• 2 Phase 1 Multiple
• 2 Phase 2 Multiple
• 2 Phase 4 Multiple
• Internal Clock (1MHz)
Parameters are enabled when the CPU module is powered ON or after a reset. In addition, operations
different from the parameter settings are possible by transferring values to special relays and special registers
while changing these values in the program.
For details concerning special relays and specials registers for high-speed counters, refer to Page 137
Special relay list, Page 148 Special registers list.
Rotational speed
Rotational speed is stored in the special register for each channel.
For details concerning specials registers for high-speed counters, refer to Page 148 Special registers list.
■Other precautions
There are common precautions when using high-speed counters. For details, refer to Page 163 Precautions when using
high-speed counters.
Window
Displayed items
Item Description Setting range Default
Counter CH Set the counter CH of coincidence output target. Disable, CH1 to CH8 Disable
Comparison Type Set comparison type. • Set Set
• Reset
• Self Reset
• Band Area Comparison
Output Destination Device Sets output destination device for output comparison Bit device (Y, M), Interrupt pointer (I16 to I23)
results of comparison value 1 and comparison value 2.
Comparison Value 1 Sets the specification method of comparison value 1. • Direct Specification Direct
Specification Method • Indirect Specification Specificati
on
Comparison Value 1 Direct Sets value (comparison value 1) to be compared with -2147483648Comparison value 1+2147483647 0
current value of high-speed counter. (When direct
specification is selected)
Comparison Value 1 Indirect Sets device (comparison value 1) to be compared with Word device (D, R)
current value of high-speed counter. (When indirect
specification is selected)
Comparison Value 2 If band comparison is set to comparison type, sets the • Direct Specification
Specification Method specification method of comparison value 2. • Indirect Specification
Comparison Value 2 Direct If band comparison is set to comparison type, sets value Comparison value 1Comparison value
(comparison value 2) to be compared with current value 2+2147483647
of high-speed counter. (When direct specification is
selected)
Comparison Value 2 Indirect If band comparison is set to comparison type, sets Word device (D, R)
device (comparison value 2) to be compared with
current value of high-speed counter. (When indirect
specification is selected)
• You can create an open table entry before table setting is complete.
• Table settings can be made in any order. Be careful when the current value is changed by self-reset at a
table along the way, as table processing starts with the first table then the following tables in order.
■Set to ON
When comparison value 1 matches the current value of the set high-speed counter, the bit device specified as the output
destination device is set. If interrupt pointer has been specified for output destination device, the interrupt program of the
specified interrupt pointer is run simultaneously when it matches comparison value 1.
Operation is the same as for the DHSCS instruction. For information on the DHSCS instruction, refer to MELSEC iQ-F
FX5 Programming Manual (Instructions, Standard Functions/Function Blocks).
■Self-reset
When comparison value 1 matches the current value of the set high-speed counter, the current value becomes the preset
value. When the preset value is set by self-reset, comparison processing is not performed.
Operation is the same as self-reset for the DHSCR instruction. For information on the DHSCR instruction, refer to 19
MELSEC iQ-F FX5 Programming Manual (Instructions, Standard Functions/Function Blocks).
■Zone Compare
Based on the current high-speed counter value, comparison value 1, and comparison value 3, one of the three output devices
from the head output device will be set. The rest are reset.
Set
Comparison value 1 Current value Head output device
Comparison value 1 Current value Comparison value 2 Head output device +1
Current value Comparison value 2 Head output device +2
Operation is the same as for the DHSZ instruction. For information on zone comparison and DHSZ instruction, refer to
MELSEC iQ-F FX5 Programming Manual (Instructions, Standard Functions/Function Blocks).
The DHIOEN instruction is required to start/stop high-speed counters as well when using a high-speed
comparison table.
Measurement is not conducted by starting the high-speed comparison table alone, and the high-speed
comparison table therefore does not operate.
Precautions
■Number of tables that can be set
Up to 4 tables can be set. Empty tables are not included in the number of tables.
■Processing order
High-speed comparison tables are processed in sequence starting from the first table.
Ex.
Table operation is as follows when multiple DHIOEN instructions are executed within the same scan.
Tables 1, 2 and 4 are started at the 1st DHIOEN instruction.
Tables 3 and 5 are started, and 2 and 4 are stopped at the 2nd DHIOEN instruction.
Table 2 is started and 5 is stopped at the 3rd DHIOEN instruction.
Tables 1, 2 and 3 operate.
Window
Displayed items
Item Description Setting range Default
Table Data Sets whether or not to use user device for table data. • Do Not Use Device Do Not Use
• Use Device Device
Counter CH Set Comparison Target CH. CH1 to CH8 CH1
Output Data Sets the type of output data. • Bit Output Bit Output
• Word Output
Points Sets the number of output data points. • Bit Output 1
1 to 16
• Word Output
1 to 2
Enable/Disable Sets whether to "enable" or "disable" table data. • Disable Disable
• Enable
Device Set the device used for table data. Word device (D, R)
Comparison Value Sets value (comparison value) to be compared with -2147483648Comparison
current value of high-speed counter. value+2147483647
Output Device Sets the output destination device of output data. • Bit Output
Y, M
• Word Output
D, R
Output Data (HEX) Sets output data. According to output device
• When using user devices, you can change comparison value or output data while the program is running.
• When using user devices, each table occupies 4 devices. Word devices are used in order starting from the
initial device.
■Bit output
When comparison value 1 matches the current value of the set high-speed counter, output data is transferred to the output
devices.
Ex.
Bit output, initial output device: Y0, Output points: 16
Table number Comparison value Output data
19
Table 1 10 H0001
Table 2 13 HAAAA
Table 3 19 H0100
Current value 0 to 9 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Current value 10 to 12 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
Current value 13 to 18 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0
Current value 19 to 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0
■Word output
When comparison value 1 matches the current value of the set high-speed counter, output data is transferred to the output
devices.
Ex.
Word output, initial output device: D0, Output points: 1
Table number Comparison value Output data
Table 1 10 K100
Table 2 13 K300
Table 3 19 K10
Current value 0 to 9 D0 = 0
Current value 19 to D0 = 10
The HIOEN instruction is required to start/stop high-speed counters as well when using a multiple point
output, high-speed comparison table.
Measurement is not conducted by starting the multiple point output, high-speed comparison table alone, and
the high-speed comparison table therefore does not operate.
Precautions
■Setting number
Up to 128 tables can be set.
Ex.
If D0 is set to initial device
Table number User device
Comparison value Output data
Table 1 D1, D0 D3, D2
Table 2 D5, D4 D7, D6
Table 3 D9, D8 D11, D10
Table 4 D13, D12 D15, D14
Table 5 D17, D16 D19, D18
■Processing order
Multiple point output, high-speed comparison tables are processed in sequence starting from the first table. Only 1 table per
count is processed.
■Other precautions
There are common precautions when using high-speed counters. For details, refer to Page 163 Precautions when using
high-speed counters.
■Corresponding devices
The device numbers corresponding to each channel are as follows.
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
SM4500 SM4501 SM4502 SM4503 SM4504 SM4505 SM4506 SM4507
■Operation Description
The content of the operation when ON and when OFF is as follows.
Operation when ON Operation when OFF
High-speed counter operating High-speed counter stopped
These devices also operate when the FX3 compatible high-speed counter function is valid.
■Update timing
The timing of device update is as follows.
ON OFF
• High-speed counter driven by the HIOEN instruction • High-speed counter stopped by the HIOEN instruction
• SPD instruction ON execution • Power ON, reset, STOP, PAUSE
• UDCNTF instruction is executed ON (when the FX3 compatible high-speed • UDCNTF instruction is executed OFF (when the FX3 compatible high-
counter function is valid) speed counter function is valid)
■Corresponding devices
The device numbers corresponding to each channel are as follows.
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
SM4516 SM4517 SM4518 SM4519 SM4520 SM4521 SM4522 SM4523
■Operation Description
The content of the operation when ON and when OFF is as follows.
Operation when ON Operation when OFF
Pulse density/rotational speed measurement mode operating Pulse density/rotational speed measurement mode stopped or not being used
Updates measurement results by measuring unit time.
If the FX3 compatible high-speed counter function is valid, these devices operate only when the SPD
instruction operates.
■Update timing
The timing of device update is as follows.
ON OFF
• Pulse density/rotational speed measurement mode is set in parameter and • Pulse density/rotational speed measurement mode is set in parameter and
pulse density/rotational speed measurement is driven by the HIOEN pulse density/rotational speed measurement is stopped by the HIOEN
instruction. instruction.
• SPD instruction ON execution • Power ON, reset, STOP, PAUSE
■Corresponding devices
The device numbers corresponding to each channel are as follows.
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
SM4532 SM4533 SM4534 SM4535 SM4536 SM4537 SM4538 SM4539
■Operation Description 19
The content of the operation when ON and when OFF is as follows.
Operation when ON Operation when OFF
Overflow occurs Overflow does not occur
(Current value counted = +1 past maximum positive value)
■Update timing
The timing of device update is as follows.
ON OFF
• Overflow occurs (This is updated with the END processing. When the FX3 • When OFF by the user
compatible high-speed counter function is valid, the updating is made also • Power ON, reset
when instruction UDCNTF instruction is executed ON.) • STOP/PAUSERUN
• SM50 turned ON
■Corresponding devices
The device numbers corresponding to each channel are as follows.
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
SM4548 SM4549 SM4550 SM4551 SM4552 SM4553 SM4554 SM4555
■Operation Description
The content of the operation when ON and when OFF is as follows.
Operation when ON Operation when OFF
Underflow occurs Underflow does not occur
(Current value counted = -1 past maximum negative value)
■Update timing
The timing of device update is as follows.
ON OFF
• Underflow occurs (This is updated with the END processing. When the FX3 • When OFF by the user
compatible high-speed counter function is valid, the updating is made also • Power ON, reset
when UDCNTF instruction is executed ON.) • STOP/PAUSERUN
• SM50 turned ON
■Corresponding devices
The device numbers corresponding to each channel are as follows.
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
SM4564 SM4565 SM4566 SM4567 SM4568 SM4569 SM4570 SM4571
■Operation Description
The content of the operation when ON and when OFF is as follows.
Operation when ON Operation when OFF
High-speed counter counting in direction whereby current value is reduced High-speed counter counting in direction whereby current value is increased
(Down-counting) (Up-counting)
These devices also operate when the FX3 compatible high-speed counter function is valid.
■Update timing
The timing of device update is as follows.
ON OFF
Down-counting (This is updated with the END processing. When the FX3 • Up-counting (When the FX3 compatible high-speed counter function is
compatible high-speed counter function is valid, the updating is made also valid, the updating is made also when UDCNTF instruction is executed ON.)
when UDCNTF instruction is executed ON.) • Power ON, reset
• STOP/PAUSERUN
High-speed counter (1-phase 1-input S/W) (internal clock) count direction switch
Device for switching counter direction when using 1-phase 1-input (S/W) counter or internal clock.
■Corresponding devices
The device numbers corresponding to each channel are as follows.
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
SM4580 SM4581 SM4582 SM4583 SM4584 SM4585 SM4586 SM4587
■Operation Description
The content of the operation when ON and when OFF is as follows.
Operation when ON Operation when OFF
High-speed counter current value counted -1 when phase A input ON High-speed counter current value counted +1 when phase A input ON
• Setting is ignored for counter other than 1-phase 1-input (S/W), internal clock.
• These devices also operate when the FX3 compatible high-speed counter function is valid.
■Update timing
The timing of device update is as follows.
ON OFF
When ON by the user (update by END processing) • When OFF by the user (update by END processing)
• Power ON, reset
• STOP/PAUSERUN
■Corresponding devices
The device numbers corresponding to each channel are as follows.
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
SM4596 SM4597 SM4598 SM4599 SM4600 SM4601 SM4602 SM4603
■Operation Description 19
The content of the operation when ON and when OFF is as follows.
Operation when ON Operation when OFF
The preset input operates with negative logic The preset input operates with positive logic
• The timing to execute the preset is determined by the preset input logic and the preset control switch.
• These devices also operate when the FX3 compatible high-speed counter function is valid.
■Update timing
The timing of device update is as follows.
ON OFF
• When ON by the user • When OFF by the user
• When set to negative logic with parameters • When set to positive logic with parameters
Cannot be modified while the high-speed counter is operating. Operates in the configured status when the
high-speed counter starts.
■Corresponding devices
The device numbers corresponding to each channel are as follows.
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
SM4612 SM4613 SM4614 SM4615 SM4616 SM4617 SM4618 SM4619
■Operation Description
The content of the operation when ON and when OFF is as follows.
Operation when ON Operation when OFF
Execute comparison processing with the preset value when there is preset Do not execute comparison processing when there is preset input
input
These devices also operate when the FX3 compatible high-speed counter function is valid.
• Cannot be modified while the high-speed counter is operating. Operates in the configured status when the
high-speed counter starts.
• When the current value of a high-speed counter is rewritten with the DHCMOV instruction, the comparison
process is not executed.
• When the preset control switch is set to "Constant when ON", the preset input comparison is disabled.
■Corresponding devices
The device numbers corresponding to each channel are as follows.
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
SM4628 SM4629 SM4630 SM4631 SM4632 SM4633 SM4634 SM4635
■Operation Description
The content of the operation when ON and when OFF is as follows.
Operation when ON Operation when OFF
The enable input operates with negative logic The enable input operates with positive logic
(Enabled when the enable input is OFF) (Enabled when the enable input is ON)
These devices also operate when the FX3 compatible high-speed counter function is valid.
■Update timing
The timing of device update is as follows.
ON OFF
• When ON by the user • When OFF by the user
• When set to negative logic with parameters • When set to positive logic with parameters
Cannot be modified while the high-speed counter is operating. Operates in the configured status when the
high-speed counter starts.
■Corresponding devices
The device numbers corresponding to each channel are as follows.
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
SM4644 SM4645 SM4646 SM4647 SM4648 SM4649 SM4650 SM4651
These devices do not operate when the FX3 compatible high-speed counter function is valid.
■Update timing
19
The timing of device update is as follows.
ON OFF
• When ON by the user • When OFF by the user
• When set to enabled with parameters • When set to disabled with parameters
• Cannot be modified while the high-speed counter is operating. Operates in the configured status when the
high-speed counter starts.
• The ring length setting is disabled if the pulse density measurement mode or rotational speed measurement
mode is selected.
Precautions
If these devices are turned on when a high-speed counter's current value is out of the ring length range, the current value
when the high-speed counter is operated is as follows.
• Lower than lower limit value Lower limit value
• Higher than upper limit value Upper limit value
■Corresponding devices
The device number is shared for all channels.
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
SM4980
■Operation Description
The content of the operation when ON and when OFF is as follows.
Operation when ON Operation when OFF
High-speed comparison table operating High-speed comparison table stopped
When the high-speed counter current value and the high-speed comparison Even when the high-speed counter current value and the high-speed
table set value or the DHSCS, DHSCR, DHSZ instruction set value are equal, comparison table set value or the DHSCS, DHSCR, DHSZ instruction set
the specified bit device is set or reset. value are equal, the specified bit device does not change.
These devices also operate when the FX3 compatible high-speed counter function is valid.
■Update timing
The timing of device update is as follows.
ON OFF
• Match output driven by the DHIOEN instruction • Match output stopped by the DHIOEN instruction and DHSCS, DHSCR,
• ON execution by DHSCS, DHSCR, DHSZ instruction DHSZ instructions all OFF
• Power ON, reset, STOP, PAUSE
■Corresponding devices
The device number is shared for all channels.
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
SM4982
■Operation Description
The content of the operation when ON and when OFF is as follows.
Operation when ON Operation when OFF
DHSCS, DHSCR, DHSZ instructions operated in excess of the limitation of When there is no error
the number of instructions driven at the same time DHSCS, DHSCR, DHSZ instructions can operate
• Even when this device turns ON, the DHSCS, DHSCR, DHSZ instructions within the range of the number of
instructions driven at the same time will operate. For the limitation of the number of instructions driven at the
same time, refer to MELSEC iQ-F FX5 Programming Manual (Instructions, Standard Functions/Function
Blocks).
• These devices also operate when the FX3 compatible high-speed counter function is valid.
■Update timing
The timing of device update is as follows.
ON OFF
• Updated in END processing • When OFF by the user
• If an error occurs while the FX3 compatible DHSCS,DHSCR,and DHSZ • Power ON, reset
instruction ON execution, an operation is made also when the high-speed
counter function is valid.
■Corresponding devices
The device number is shared for all channels.
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
SM5000
■Operation Description
The content of the operation when ON and when OFF is as follows.
Operation when ON Operation when OFF
Multi-point output high-speed comparison table operating Multi-point output high-speed comparison tables stopped
When the high-speed counter current value is equal to the set value specified Even when the high-speed counter current value is equal to the set value
in the multi-point output high-speed comparison table parameters, the specified in the multi-point output high-speed comparison table parameters,
specified pattern of output or the data transfer operates. the specified pattern of output or the data transfer is not executed.
These devices also operate when the FX3 compatible high-speed counter function is valid.
■Corresponding devices
The device number is shared for all channels.
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
SM5001
■Operation Description
The content of the operation when ON and when OFF is as follows.
Operation when ON Operation when OFF
Multi-point output high-speed comparison table completion Multi-point output high-speed comparison tables not finished
The comparison of the final table has finished The comparison has not finished up to the final table
These devices also operate when the FX3 compatible high-speed counter function is valid.
■Update timing
The timing of device update is as follows.
ON OFF
When multi-point output high-speed comparison tables have finished • When OFF by the user
processing the set amount of tables • Power ON, reset, STOP, PAUSE
■Corresponding devices
The device numbers corresponding to each channel are as follows.
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
SD4501, SD4531, SD4561, SD4591, SD4621, SD4651, SD4681, SD4711,
SD4500 SD4530 SD4560 SD4590 SD4620 SD4650 SD4680 SD4710
■Description
These devices stores the current values of the high-speed counters.
These are signed 32-bit ring counters. (Upper limit value+1 changes to lower limit value, lower limit value-1 changes to
upper limit value.)
When the ring length is not set, lower limit value: -2147483648, upper limit value: 2147483647.
When the ring length is set, lower limit value: 0, upper limit value: ring length-1.
• To rewrite the current value, use the HCMOV instruction and transfer the desired value. However, this is the
upper limit when set to a value that exceeds the upper limit value, and this is the lower limit value when set
to a value that is less than the lower limit value.
• If the current value falls outside the ring length range when the ring length is set, the upper and lower limit
values of the ring length are ignored and the current value is used.
• The current value is retained even when the power is OFF.
■Update timing
The current value of the high-speed counter is updated in END processing or when the HCMOV instruction is executed.
Further, when the FX3 compatible high-speed counter function is valid, the value is updated also when UDCNTF instruction is
executed.
■Clear timing
The timing when the device is cleared is as follows.
• Cleared by the DHCMOV instruction
• When the RST LC instruction executes ON (only when the FX3 compatible high-speed counter function is valid and the
applicable LC device is used)
• Power ON, reset, RUN→STOP (only when the FX3 compatible high-speed counter function is valid and the applicable LC
device is used)
■Corresponding devices
The device numbers corresponding to each channel are as follows.
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
SD4503, SD4533, SD4563, SD4593, SD4623, SD4653, SD4683, SD4713,
SD4502 SD4532 SD4562 SD4592 SD4622 SD4652 SD4682 SD4712
■Description
These devices stores the maximum values of the high-speed counters.
• To rewrite the maximum value, only the HCMOV instruction can be used.
• These devices also operate when the FX3 compatible high-speed counter function is valid.
■Clear timing
The timing when the device is cleared is as follows.
• Power ON, Reset
■Corresponding devices
The device numbers corresponding to each channel are as follows.
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
SD4505, SD4535, SD4565, SD4595, SD4625, SD4655, SD4685, SD4715,
SD4504 SD4534 SD4564 SD4594 SD4624 SD4654 SD4684 SD4714
■Description
These devices stores the minimum values of the high-speed counters.
• To rewrite the minimum value, only the HCMOV instruction can be used.
• These devices also operate when the FX3 compatible high-speed counter function is valid.
■Update timing
When the current value of a high-speed counter becomes less than the minimum value, the value is updated in END
processing. When the value is read using the HCMOV instruction, it is first updated to the latest value and then read. Further,
when the FX3 compatible high-speed counter function is valid, the value is updated also when UDCNTF instruction is
executed.
■Clear timing
The timing when the device is cleared is as follows.
• Power ON, Reset
■Corresponding devices
The device numbers corresponding to each channel are as follows.
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
SD4507, SD4537, SD4567, SD4597, SD4627, SD4657, SD4687, SD4717,
SD4506 SD4536 SD4566 SD4596 SD4626 SD4656 SD4686 SD4716
■Description
These devices store the measurement results of pulse density measurement mode (rotational speed measurement mode).
• These devices also store the pulse density measurement when in rotational speed measurement mode.
• If the FX3 compatible high-speed counter function is valid, these devices operate only when the SPD
instruction operates.
■Update timing
The pulse density is updated at each measurement unit time when set to pulse density measurement mode (rotational speed
measurement mode) with parameters.
■Clear timing
The timing when the device is cleared is as follows.
■Corresponding devices
The device numbers corresponding to each channel are as follows.
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
SD4509, SD4539, SD4569, SD4599, SD4629, SD4659, SD4689, SD4719,
SD4508 SD4538 SD4568 SD4598 SD4628 SD4658 SD4688 SD4718
■Description
These devices store the measurement results of rotational speed measurement mode.
• These devices also store the rotational speed when in pulse density measurement mode.
• These devices do not operate when the FX3 compatible high-speed counter function is valid.
■Update timing
The rotational speed is updated at each measurement unit time when set to rotational speed measurement mode with
parameters.
■Clear timing
The timing when the device is cleared is as follows.
• Power ON, Reset, STOP/PAUSERUN
■Corresponding devices
The device numbers corresponding to each channel are as follows.
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
SD4510 SD4540 SD4570 SD4600 SD4630 SD4660 SD4690 SD4720
■Description
These devices set the timing to execute preset input. The table below shows the operations of the setting values.
Setting value Description
0 Executes the preset on the rising edge.
1 Executes the preset on the falling edge.
2 Executes the preset on both edges.
3 Constantly executes the preset when ON.*1
Other than above Operates as the rising edge.
Executes the preset on the rising edge.
*1 When the preset control switch is set to "3: Constant when ON", the preset input comparison cannot be used even if the parameter of
the preset input comparison (special relay) is enabled.
• While the high-speed counter is operating, the value is not reflected even if modified. It operates in the
status when the high-speed counter starts.
• These devices also operate when the FX3 compatible high-speed counter function is valid.
■Clear timing
The timing when the device is cleared is as follows.
• Power ON, Reset, STOPRUN
ON
Preset input OFF
Count input
ON 19
OFF
Current value 10
9
8
7
6
5
4
3
2
1
0
• Operation when preset input logic: positive logic, preset control switch: falling edge
The preset is executed when the preset input changes ONOFF.
ON
Preset input OFF
ON
Count input
OFF
Current value 10
9
8
7
6
5
4
3
2
1
0
• Operation when preset input logic: positive logic, preset control switch: rising edge + falling edge
The preset is executed when the preset input changes OFFON and when it changes ONOFF.
ON
Preset input OFF
ON
Count input
OFF
Current value 10
9
8
7
6
5
4
3
2
1
0
ON
Preset input OFF
ON
Count input
OFF
Current value 10
9
8
7
6
5
4
3
2
1
0
• Operation when preset input logic: negative logic, preset control switch: rising edge
The preset is executed when the preset input changes ONOFF.
ON
Preset input OFF
ON
Count input
OFF
Current value 10
9
8
7
6
5
4
3
2
1
0
• Operation when preset input logic: negative logic, preset control switch: falling edge
The preset is executed when the preset input changes OFFON.
ON
Preset input OFF
ON
Count input
OFF
Current value 10
9
8
7
6
5
4
3
2
1
0
ON
Preset input OFF
ON
Count input
OFF
Current value 10
9
8 19
7
6
5
4
3
2
1
0
• Operation when preset input logic: negative logic, preset control switch: constant when ON
The preset is constantly executed while the preset input is OFF.
ON
Preset input OFF
ON
Count input
OFF
Current value 10
9
8
7
6
5
4
3
2
1
0
■Corresponding devices
The device numbers corresponding to each channel are as follows.
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
SD4513, SD4543, SD4573, SD4603, SD4633, SD4663, SD4693, SD4723,
SD4512 SD4542 SD4572 SD4602 SD4632 SD4662 SD4692 SD4722
■Description
These devices set the values to set for the current values when presets are executed.
If the preset value is set to be greater than the ring length, an error occurs when the high-speed counter is started.
• The preset value can also be modified while the high-speed counter is operating. The update timing is END
processing.
• These devices also operate when the FX3 compatible high-speed counter function is valid.
■Clear timing
The timing when the device is cleared is as follows.
• Power ON, Reset, STOPRUN
■Corresponding devices
The device numbers corresponding to each channel are as follows.
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
SD4515, SD4545, SD4575, SD4605, SD4635, SD4665, SD4695, SD4725,
SD4514 SD4544 SD4574 SD4604 SD4634 SD4664 SD4694 SD4724
■Description
These devices set the ring length of the high-speed counters.
These set values are valid when the ring length setting is set to enabled.
• While the high-speed counter is operating, the value is not reflected even if modified. It operates in the
status when the high-speed counter starts.
• These devices do not operate when the FX3 compatible high-speed counter function is valid.
■Clear timing
The timing when the device is cleared is as follows.
• Power ON, Reset, STOPRUN
Precautions
If the ring length is set to less than the lower limit value or more than the upper limit value, the ring length operates at the lower
limit value or the upper limit value. However, the set value is stored as is.
■Corresponding devices
The device numbers corresponding to each channel are as follows.
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
SD4517, SD4547, SD4577, SD4607, SD4637, SD4667, SD4697, SD4727,
SD4516 SD4546 SD4576 SD4606 SD4636 SD4666 SD4696 SD4726
■Description
These devices set the time to measure pulse density (rotational speed) in 1 ms units when high-speed counters are operating
in pulse density measurement mode.
• If the value is modified while the high-speed counter is operating, the rewritten value is reflected after the
measurement before the value was modified is finished.
• If the FX3 compatible high-speed counter function is valid, these devices operate only when the SPD
instruction operates. The value in the operand of the SPD instruction is written.
■Clear timing
The timing when the device is cleared is as follows.
• Power ON, Reset, STOPRUN
Precautions
If the set value for the measurement unit time is set to less than the lower limit value or more than the upper limit value, the
measurement unit time operates at the lower limit value or the upper limit value. However, the set value is stored as is.
■Corresponding devices
The device numbers corresponding to each channel are as follows.
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
SD4519, SD4549, SD4579, SD4609, SD4639, SD4669, SD4699, SD4729,
SD4518 SD4548 SD4578 SD4608 SD4638 SD4668 SD4698 SD4728
■Description
19
These devices set the number of pulses per rotation when a high-speed counter operates in rotational speed measurement
mode. The rotational speed is measured with the set value.
• If the value is modified while the high-speed counter is operating, the rewritten value is reflected after the
measurement before the value was modified is finished.
• These devices do not operate when the FX3 compatible high-speed counter function is valid.
■Clear timing
The timing when the device is cleared is as follows.
• Power ON, Reset, STOPRUN
Precautions
If the set value for the number of pulses per rotation is set to less than the lower limit value or more than the upper limit value,
the number of pulses per rotation operates at the lower limit value or the upper limit value. However, the set value is stored as
is.
■Corresponding devices
The device number is shared for all channels.
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
SD4982
■Description
This device stores the error code when an error occurs in the high-speed comparison table, high-speed comparison
instruction.
These devices also operate when the FX3 compatible high-speed counter function is valid.
■Clear timing
The timing when the device is cleared is as follows.
• Power ON, Reset, SM50 turned ON
■Error code
Over the upper limit of the number of instructions driven at the same time: 1811H
■Corresponding devices
The device number is shared for all channels.
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
SD5000
■Description
This device stores the number of the table currently being compared in the multi-point output high-speed comparison tables. If
0, the multi-point output high-speed comparison tables have stopped.
• When rewriting the comparison value or output data for the multi-point output high-speed comparison
tables, the table numbers from the table numbers that follow after the next table number of the table being
compared can be rewritten.
• The table number being compared and the next table number after that can be rewritten, but they will not be
compared.
• These devices also operate when the FX3 compatible high-speed counter function is valid.
■Clear timing
The timing when the device is cleared is as follows.
• Power ON, Reset, STOPRUN
Always use DHCMOV (32-bit instruction) for devices that use 2 words. When the HCMOV instruction (16-bit
instruction) is used, it operates the same as the normal MOV instruction.
*1 Can be stopped when counting was started with the SPD instruction.
*2 Can be stopped when the high-speed comparison table is not set with parameters.
■Precautions for the counting operation when the current value is changed
For the high-speed counter instructions, high-speed comparison tables, and multi-point output high-speed comparison tables,
comparison processing is performed when the current value of the high-speed counter has changed due to pulse input. When
the preset input comparison function is also enabled, comparison processing is also performed when the preset is executed.
However, please note that the comparison processing is not performed when the current value of the high-speed counter is
changed with the following methods.
• When the current value of a high-speed counter was rewritten with the HCMOV instruction.
• When the current value of the high-speed counter is reset with the RST instruction or the ZRST instruction (when the FX3
compatible high-speed counter function is valid)
• When the current value of the high-speed counter was changed by a self-reset. (When the preset input comparison function
is disabled)
• When high-speed counter current value is the ON or OFF output result of the comparison of the DHSCS, DHSCR, DHSZ
instructions.
• When high-speed counter current value is the ON or OFF output result of the comparison of a high-speed comparison
table.
DHSZ
Set up the program and configure the settings within the range calculated with the following equation due to
the limitations described above.
4 Number of driven high-speed comparison tables + Number of DHSCS, DHSCR, DHSZ instructions driven
at the same time
The FX3 compatible high-speed counter is convenient if it is used when a replacement is made from FX3 or
for a similar occasion. If a high-speed counter is newly used, use the high-speed counter function of FX5.
(Page 114 High-speed Counter Function)
Programs example
In the case of a program shown below, the counting starts when M0 turns ON, and the counting stops when M0 turns OFF.
When the counter increases from -6 or less to -5 or higher during an execution of the UDCNTF instruction, the counter contact
turns ON, and the counter contact turns OFF when the counter decreases from -5 or higher to -6 or lower.
M0
UNCNTF LC35 K-5
• The current value of LC35 is updated when the UDCNTF instruction is executed.
• When LC35 is set to (s) of the DHCMOV instruction, the newest value can be read out.
• When a high-speed comparison instruction (DHSCS instruction, DHSCR instruction, DHSZ instruction), a
high-speed comparison table, or a multi-point output high-speed comparison table are used, an accurate
comparison and matched output processing can be executed.
The set value (positive or negative) can be specified by a constant (K) or the contents of data registers (D). When data
registers are used, 32-bit data composed of two consecutive devices are treated as set values. If D0 is specified, the pair of
D1 and D0 are the setting value of 32 bits.
Operation example
The operation of LC35 in the programming example described above is as shown below.
5
4 4
3 3
2 2
1 1
LC35 Current value 0 0 0
-1 -1
-2 -2
-3 -3
When output has operated -4 -4
-5 -5
-6 -6
LC35 Count contact -7
-8
-7
= Y001
: Use
: Not use
The LC device can be used as a high-speed counter only when the FX3 compatible function is valid. However,
this is only the LC device that is set up with parameter. Also, it is possible to use the HIOEN instruction.
: Supported
: Not supported
: Not applicable
The operation of each element of the current value of a started counter and the LC
device 19
Shown below is the operations of the SD device, the current value of the LC device, and each element of the LC device when
the counting is started with UDCNTF instructions or is started with the HIOEN instruction while the FX3 compatible function is
valid.
The current value of the SD device, each element of the LC device The start with UDCNTF The start with HIOEN
instruction instruction
The current value of the SD device
The current value of the LC device
The LC device counting coil
The counter contact point of the LC device
The reset coil of the LC device
: Operate
: Not operate
• When a count is started by HIOEN instruction, although LC device changes, neither a counting coil nor the
counter contact operates. Moreover, when operation is started by HIOEN instruction and LC
corresponding to CH is reset, during the RST instruction ON, operation is stopped and calculation is
resumed in OFF of the RST instruction.
: Change is possible
: Change is impossible
The assignment of the high-speed counter and the maximum frequency when the FX3
compatible function is valid
Shown below is the assignment of the high-speed counter and the maximum frequency when the FX3 compatible function is
valid.
CH High-speed counter No. FX5 X0 X1 X2 X3 X4 X5 X6 X7 Maximum frequency
corresponding CPU module CPU module
devices (32 points (64 points or
type) more type)
CH1 C235 LC35 A 200 KHz 200 KHz
CH2 C236 LC36 A 200 KHz 200 KHz
CH3 C237 LC37 A 200 KHz 200 KHz
CH4 C238 LC38 A 200 KHz 200 KHz
CH5 C239 LC39 A 200 KHz 200 KHz
CH6 C240 LC40 A 200 KHz 200 KHz
CH1 C241 LC41 A P 200 KHz 200 KHz
CH3 C242 LC42 A P 200 KHz 200 KHz
CH5 C243 LC43 A P 200 KHz 200 KHz
CH1 C244 LC44 A P E 200 KHz 200 KHz
CH7 C244 (OP) LC44 A 10 KHz 200 KHz
CH3 C245 LC45 A P E 200 KHz 200 KHz
CH8 C245 (OP) LC45 A 10 KHz 200 KHz
CH1 C246 LC46 A B 200 KHz 200 KHz
CH1 C247 LC47 A B P 200 KHz 200 KHz
CH4 C248 LC50 A B P 200 KHz 200 KHz
CH4 C248 (OP) LC50 A B 200 KHz 200 KHz
CH1 C249 LC49 A B P E 200 KHz 200 KHz
CH4 C250 LC50 A B P E 200 KHz 200 KHz
CH1 C251 (1 edge count) LC51 A B 200 KHz 200 KHz
CH1 C251 (4 edge count) LC51 A B 50 KHz 50 KHz
CH1 C252 (1 edge count) LC52 A B P 200 KHz 200 KHz
CH1 C252 (4 edge count) LC52 A B P 50 KHz 50 KHz
CH4 C253 (1 edge count) LC53 A B P 200 KHz 200 KHz
CH4 C253 (4 edge count) LC53 A B P 50 KHz 50 KHz
CH4 C253 (OP) (1 edge count) LC53 A B 200 KHz 200 KHz
CH4 C253 (OP) (4 edge count) LC53 A B 50 KHz 50 KHz
CH1 C254 (1 edge count) LC54 A B P E 200 KHz 200 KHz
CH1 C254 (4 edge count) LC54 A B P E 50 KHz 50 KHz
CH7 C254 (OP) LC54 A B 10 KHz 200 KHz
CH4 C255 (1 edge count) LC55 A B P E 200 KHz 200 KHz
CH4 C255 (1 edge count) LC55 A B P E 50 KHz 50 KHz
A: A phase input, B: Phase B input, P: External preset input, E: External enable input
1. Set the method of specifying the high-speed counter to "long counter setting".
Navigation window [Parameter] [FX5UCPU] [Module Parameter] [High Speed I/O] “Input Function" “High
Speed Counter" "Detail Setting" “Other"
Window
Displayed items
Item Description Setting range Default
Specification method for high speed Set up whether or not to use FX3 compatibility assignment for • Normal Normal
counter high speed counter. • Long Counter Specification
• When using FX5 high-speed counter, choose "normal".
• When using FX3 compatible high-speed counter, choose
"long counter specification".
Displayed items
Item Description Setting range Default
Use/Not Use Set whether use counter or not. • Disable
• Enable
Counter device Select the high speed counter of input assignment which CH1 • LC35 (Operation equivalent to C235)
is compatible with FX3. • LC41 (Operation equivalent to C241)
• LC44 (Operation equivalent to C244)
• LC46 (Operation equivalent to C246)
• LC47 (Operation equivalent to C247)
• LC49 (Operation equivalent to C249)
• LC51 (Operation equivalent to C251)
• LC52 (Operation equivalent to C252)
• LC54 (Operation equivalent to C254)
CH2 • LC36 (Operation equivalent to C236)
CH3 • LC37 (Operation equivalent to C237)
• LC42 (Operation equivalent to C242)
• LC45 (Operation equivalent to C245)
CH4 • LC38 (Operation equivalent to C238)
• LC48 (Operation equivalent to C248)
• LC50 (Operation equivalent to C250)
• LC53 (Operation equivalent to C253)
• LC55 (Operation equivalent to C255)
• LC48 (Operation equivalent to C248(OP))
• LC53 (Operation equivalent to C253(OP))
CH5 • LC39 (Operation equivalent to C239)
• LC43 (Operation equivalent to C243)
CH6 • LC40 (Operation equivalent to C240)
CH7 • LC44 (Operation equivalent to C244(OP))
• LC54 (Operation equivalent to C254(OP))
CH8 • LC45 (Operation equivalent to C245)
Operation Mode Not available for FX3-compatible high-speed counters.
Pulse Input Mode Set pulse input mode. • 2 Phase 1 Multiple
• 2 Phase 4 Multiple
Parameters are enabled when the CPU module is powered ON or after a reset.
■Operation Description
The content of the operation when ON and when OFF is as follows.
Operation when ON Operation when OFF
High-speed counter counting in direction whereby current value is reduced High-speed counter counting in direction whereby current value is increased
(Down-counting) (Up-counting)
■Update timing
The timing of device update is as follows.
ON OFF
Down-counting (This is updated with the END processing. When the FX3 • Up-counting (This is updated with the END processing. When the FX3
compatible high-speed counter function is valid, the updating is made also compatible high-speed counter function is valid, the updating is made also
when UDCNTF instruction is executed ON.) when UDCNTF instruction is executed ON.)
• Power ON, reset
• STOP/PAUSERUN
Special relay
: High-speed transfer capable (special relay is immediately updated)
: Normal transfer capable (special relay is updated in END processing)
: Transfer not possible (read-only)
Special relay Function Compatible with Compatible with
HCMOV instruction MOV instruction
(s) (d) (s) (d)
SM8246 LC46 counting direction monitoring
SM8247 LC47 counting direction monitoring
SM8248 LC48 counting direction monitoring
SM8249 LC49 counting direction monitoring
SM8250 LC50 counting direction monitoring
SM8251 LC51 counting direction monitoring
SM8252 LC52 counting direction monitoring
SM8253 LC53 counting direction monitoring
SM8254 LC54 counting direction monitoring
SM8255 LC55 counting direction monitoring
To use the pulse width measurement function, parameter settings and the HIOEN instruction are always
required.
■Measurement frequencies
The table below shows the measurement frequencies.
FX5U-32M, FX5UC-32M FX5U-64M, FX5U-80M Measurement frequencies
X0 to X5 X0 to X7 200 KHz
X6 to X17 X10 to X17 10 KHz
■Measurement precision
The table below shows the measurement precision.
Item Description
Possible measurement range Cycle 5 s
Pulse width 5 s
Maximum measurable signal width 1073s741ms823s
Resolution 0.5 s
Pulse measurements
The pulse width and period are stored in special devices by the END instruction. (Page 177 List of special relays/special
registers)
Pulse width
Pulse input
Cycle
The measurement mode can be changed during pulse measurements by using a special relay. (Page 177
List of special relays/special registers)
Outline of parameters
Parameters for pulse width measurement are input allocation, logical switch ,measurement modes and input response time.
Parameter setting
The following explains how to set the parameters for pulse width measurement.
For input response time, refer to Page 191 General-purpose Input Functions.
Navigation window [Parameter] [FX5UCPU] [Module Parameter] [High Speed I/O] “Input Function"
"Pulse Width Measurement" "Detail Setting"
Window
Displayed items
Item Description Setting range Default
Use Pulse Width Set whether to use pulse width measurement or not. • Disable Disable
Measurement • Enable
Input Signal Set input signal. X0 to X7
Logical Switch Set logical switch. • Positive Logic
• Negative Logic
Measurement Mode Set measurement mode. • Always Measurement Mode
• 1 Time Measurement Mode
The items specified in the parameters are stored in special devices when the CPU module is set from STOP
to RUN.
SD5021, SD5020 CH1 rising edge ring counter value The ring counter value when the rising edge is detected is stored. 00000000H R/W
SD5023, SD5022 CH1 falling edge ring counter value The ring counter value when the falling edge is detected is stored. 00000000H R/W
SD5025, SD5024 CH1 pulse width latest value The latest value of the pulse width is stored. 00000000H R/W
SD5027, SD5026 CH1 pulse width maximum value The maximum value of the pulse width is stored. 00000000H R/W
SD5029, SD5028 CH1 pulse width minimum value The minimum value of the pulse width is stored. FFFFFFFFH R/W
SD5031, SD5030 CH1 period latest value The latest value of the period is stored. 00000000H R/W
SD5033, SD5032 CH1 period maximum value The maximum value of the period is stored. 00000000H R/W
SD5035, SD5034 CH1 period minimum value The minimum value of the period is stored. FFFFFFFFH R/W
SD5041, SD5040 CH2 rising edge ring counter value The ring counter value when the rising edge is detected is stored. 00000000H R/W
SD5043, SD5042 CH2 falling edge ring counter value The ring counter value when the falling edge is detected is stored. 00000000H R/W
SD5045, SD5044 CH2 pulse width latest value The latest value of the pulse width is stored. 00000000H R/W
SD5047, SD5046 CH2 pulse width maximum value The maximum value of the pulse width is stored. 00000000H R/W
SD5049, SD5048 CH2 pulse width minimum value The minimum value of the pulse width is stored. FFFFFFFFH R/W
SD5051, SD5050 CH2 period latest value The latest value of the period is stored. 00000000H R/W
SD5053, SD5052 CH2 period maximum value The maximum value of the period is stored. 00000000H R/W
SD5055, SD5054 CH2 period minimum value The minimum value of the period is stored. FFFFFFFFH R/W
SD5061, SD5060 CH3 rising edge ring counter value The ring counter value when the rising edge is detected is stored. 00000000H R/W
SD5063, SD5062 CH3 falling edge ring counter value The ring counter value when the falling edge is detected is stored. 00000000H R/W
SD5065, SD5064 CH3 pulse width latest value The latest value of the pulse width is stored. 00000000H R/W
SD5067, SD5066 CH3 pulse width maximum value The maximum value of the pulse width is stored. 00000000H R/W
SD5069, SD5068 CH3 pulse width minimum value The minimum value of the pulse width is stored. FFFFFFFFH R/W
SD5071, SD5070 CH3 period latest value The latest value of the period is stored. 00000000H R/W
SD5073, SD5072 CH3 period maximum value The maximum value of the period is stored. 00000000H R/W
SD5075, SD5074 CH3 period minimum value The minimum value of the period is stored. FFFFFFFFH R/W
SD5081, SD5080 CH4 rising edge ring counter value The ring counter value when the rising edge is detected is stored. 00000000H R/W
SD5083, SD5082 CH4 falling edge ring counter value The ring counter value when the falling edge is detected is stored. 00000000H R/W
SD5085, SD5084 CH4 pulse width latest value The latest value of the pulse width is stored. 00000000H R/W
■Corresponding devices
The device numbers corresponding to each channel are as follows.
CH1 CH2 CH3 CH4
SM5020 SM5021 SM5022 SM5023
■Update timing
This device turns ON when the HIOEN instruction is executed. It turns OFF at the END instruction when the measurement
mode is the 1 time measurement mode.
■Clear timing
The timing when the device is cleared is as follows.
• Power OFFON
• Reset
• STOP/PAUSERUN
• RUNSTOP/PAUSE
• When measurement is stopped by the HIOEN instruction
■Corresponding devices
The device numbers corresponding to each channel are as follows.
CH1 CH2 CH3 CH4
SM5036 SM5037 SM5038 SM5039
■Update timing
Devices are updated by the END instruction.
■Clear timing
The timing when the device is cleared is as follows.
• Power OFFON
• Reset
• STOP/PAUSERUN
• When measurement is started by the HIOEN instruction
When the HCMOV instruction is used, the latest value can be read.
■Corresponding devices
The device numbers corresponding to each channel are as follows.
CH1 CH2 CH3 CH4
SM5052 SM5053 SM5054 SM5055
19
■Update timing
Devices are updated by the END instruction.
■Clear timing
The timing when the device is cleared is as follows.
• Power OFFON
• Reset
• STOP/PAUSERUN
• When measurement is started by the HIOEN instruction
When the HCMOV instruction is used, the latest value can be read.
Measurement mode
The measurement mode can be checked. The measurement mode can also be changed during operation by turning special
relays ON/OFF.
OFF: Always measurement mode
ON: 1 time measurement mode
■Corresponding devices
The device numbers corresponding to each channel are as follows.
CH1 CH2 CH3 CH4
SM5058 SM5059 SM5060 SM5061
■Update timing
After the measurement mode is changed, devices are updated by the next END instruction.
When the HCMOV instruction is executed, devices are updated immediately.
■Clear timing
The timing when the device is cleared is as follows.
• Power OFFON
• Reset
• STOP/PAUSERUN
• When the measurement mode is changed by the HCMOV instruction
■Corresponding devices
The device numbers corresponding to each channel are as follows.
CH1 CH2 CH3 CH4
SD5021, SD5020 SD5041, SD5040 SD5061, SD5060 SD5081, SD5080
■Update timing
Devices are updated by the END instruction.
When the HCMOV instruction is executed, devices are updated immediately.
■Clear timing
The timing when the device is cleared is as follows.
• Power OFFON
• Reset
• STOP/PAUSERUN
• When "0" is written by the HCMOV instruction
■Corresponding devices
The device numbers corresponding to each channel are as follows.
CH1 CH2 CH3 CH4
SD5023, SD5022 SD5043, SD5042 SD5063, SD5062 SD5083, SD5082
• When logic switching is set to positive logic, the difference from the rising edge up to the falling edge.
• When logic switching is set to negative logic, the difference from the falling edge up to the rising edge.
• The latest value of the pulse width can be changed only by the HCMOV instruction.
■Corresponding devices
The device numbers corresponding to each channel are as follows.
CH1 CH2 CH3 CH4
SD5025, SD5024 SD5045, SD5044 SD5065, SD5064 SD5085, SD5084
• When logic switching is set to positive logic, the difference from the rising edge up to the falling edge.
• When logic switching is set to negative logic, the difference from the falling edge up to the rising edge.
• The maximum value of the pulse width can be changed only by the HCMOV instruction.
■Corresponding devices 19
The device numbers corresponding to each channel are as follows.
CH1 CH2 CH3 CH4
SD5027, SD5026 SD5047, SD5046 SD5067, SD5066 SD5087, SD5086
• When logic switching is set to positive logic, the difference from the rising edge up to the falling edge.
• When logic switching is set to negative logic, the difference from the falling edge up to the rising edge.
• The minimum value of the pulse width can be changed only by the HCMOV instruction.
■Corresponding devices
The device numbers corresponding to each channel are as follows.
CH1 CH2 CH3 CH4
SD5029, SD5028 SD5049, SD5048 SD5069, SD5068 SD5089, SD5088
• When logic switching is set to positive logic, the difference from the previous rising edge up to the latest
rising edge.
• When logic switching is set to negative logic, the difference from the previous falling edge up to the latest
falling edge.
• The latest value of the period can be changed only by the HCMOV instruction.
■Corresponding devices
The device numbers corresponding to each channel are as follows.
CH1 CH2 CH3 CH4
SD5031, SD5030 SD5051, SD5050 SD5071, SD5070 SD5091, SD5090
• When logic switching is set to positive logic, the difference from rising edge to rising edge.
• When logic switching is set to negative logic, the difference from falling edge to falling edge.
• The maximum value of the period can be changed only by the HCMOV instruction.
■Corresponding devices
The device numbers corresponding to each channel are as follows.
CH1 CH2 CH3 CH4
SD5033, SD5032 SD5053, SD5052 SD5073, SD5072 SD5093, SD5092
• When logic switching is set to positive logic, the difference from rising edge to rising edge.
• When logic switching is set to negative logic, the difference from falling edge to falling edge.
• The minimum value of the period can be changed only by the HCMOV instruction.
■Corresponding devices
The device numbers corresponding to each channel are as follows.
CH1 CH2 CH3 CH4
SD5035, SD5034 SD5055, SD5054 SD5075, SD5074 SD5095, SD5094
Outline of operation
A program for measuring the delay time between the rising edges of input signals X1 and X2 on the CPU module is explained
below.
Parameter setting 19
This program assumes that parameters are set as follows.
Input signals X1 and X2 are assigned to CH1 (X1) and CH2 (X2) by parameters. CH3 and CH4 need not be set.
Item CH to be used
CH1 CH2
Input signal X1 X2
Input logic switching Positive logic Positive logic
Measurement mode Always measurement mode Always measurement mode
Program
An operation diagram and program are shown below.
■Operation diagram
ON
CH1(X1)
OFF
ON
CH2(X2)
OFF
This duration is measured
■Program
Command
input
HIOEN K40 H3 H0 Measurement of the CH1 and CH2 pulse width starts
FEND
SM400
Interrupt
pointer DHCMOV SD5020 D0 K0 The latest rising edge value of CH1 is transferred to D1 and D0
I002
DHCMOV SD5040 D2 K0 The latest rising edge value of CH2 is transferred to D3 and D2
The value "Ring counter value at the rising edge of the input signal
D- D2 D0 D8 from CH2 - Ring counter value at the rising edge of the input
signal from CH1 is stored in D9 and D8
D/ D8 K2 D10 Signals are converted to units of 1 μs and is stored in D11 and D10
User program
END
The pulse catch function and FX3-compatible pulse catch function can be used simultaneously.
Performance specifications
Pulse catches can be used on inputs X0 to X17.
Pulses cannot be detected normally if the above condition is not satisfied. Set the input response time so that
the above condition is satisfied.
Outline of parameters
Pulse catch parameters are pulse catch setting and input response time.
Parameter setting 19
This section explains how to set pulse catch parameters.
For input response time, refer to Page 191 General-purpose Input Functions.
Navigation window [Parameter] [FX5UCPU] [Module Parameter] [High Speed I/O] “Input Function"
"General/Interrupt/Pulse Catch" "Detail Setting"
Window
Displayed items
Item Description Setting range Default
General/Interrupt/Pulse Set the function to be used. • General-purpose Input General-purpose
Catch Set to “Interrupt (Rising) + Pulse Catch”. • Interrupt (Rising) Input
• Interrupt (Falling)
• Interrupt (Rising + Falling)
• Interrupt (Rising) + Pulse Catch
Parameters are enabled when the CPU module is powered ON or after a reset.
Program
Input device
OFF
X0
1 scan ON
Program
Input signal turns ON
ON
External input Pulse of this section is ignored.
signal
OFF
X0
ON
Input device
OFF
X0
1 scan ON
Program
Input device
OFF
X0
1 scan ON 1 scan ON
2 scans ON
Program
ON
External Input signal turns ON
input signal
OFF
X0
ON
Input device
OFF
X0
1 scan ON
The pulse catch function and FX3-compatible pulse catch function can be used simultaneously.
Performance specifications
FX3-compatible pulse catches can be used on inputs X0 to X7.
Outline of parameters
FX3-compatible pulse catch parameters are pulse catch setting and input response time.
Parameter setting
This section explains how to set FX3-compatible pulse catch parameters.
For input response time, refer to Page 191 General-purpose Input Functions.
Navigation window [Parameter] [FX5UCPU] [Module Parameter] [High Speed I/O] “Input Function"
"General/Interrupt/Pulse Catch" "Detail Setting"
Window
Parameters are enabled when the CPU module is powered ON or after a reset.
■Examples of program
When the status of the X0 changes OFFON after execution of the EI instruction, SM8170 is immediately set to ON by
interrupt processing. To capture input again, turn X2 ON to reset SM8170. (X0 is assumed to be set with parameters.)
EI
X0
Y2 It can be simultaneously used in a program.
SM8170
Y0
X2
RST SM8170
Reset input
■Operation diagram
An operation diagram of the above program example is shown below.
EI
X0 (input)
SM8170
X2 (reset)
The value obtained by adding on the value of the hardware filter is the actual input response time.
*1 When 1 point unit is set for the input response time using GX Works3, X41 to X47 operate with the input response time set to X40.
Parameter setting
This section explains how to set the input response time parameters.
Set the input response time.
Navigation window [Parameter] [FX5UCPU] [Module Parameter] [Input Response Time]
Window
Displayed items
Item Description Setting range Default
Response Type Select the input response time between 1 point unit and 8 • High-Speed
point unit. • Normal
High-Speed: Unit of 1 point
Normal: Unit of 8 points
X0 to X377 Set the input response time. • No Setting 10ms
• 10micro-s (s)
• 50micro-s (s)
• 0.1ms
• 0.4ms
• 0.6ms
• 1ms
• 5ms
• 10ms
• 20ms
• 70ms
Parameters are enabled when the CPU module is powered ON or after a reset.
Outputs (Y) assigned for PWM output in parameter settings cannot be used by the positioning function.
Cycle
ON width
Output pulse
• When positive logic is set, PWM output begins from output ON.)
• Pulse output is stopped at the specified number of pulses.
• Pulse output stops in the output (Y) status of before PWM output was started.
Cycle
OFF width
Output pulse
• When negative logic is set, PWM output begins when the output pulse turns OFF.
• Pulse output is stopped at the specified number of pulses.
• Pulse output stops in the output (Y) status of before PWM output was started.
Outline of parameters
PWM output parameters are output destination, pulse width/cycle unit, output pulse logic, pulse width, and period.
Parameter setting 19
This section explains how to set the PWM output parameters.
Set the output destination, pulse width/cycle unit, output pulse logic, pulse width, period, etc. of the channel to be used.
Navigation window [Parameter] [FX5UCPU] [Module Parameter] [High Speed I/O] “Output Function"
“PWM" "Detail Setting"
Window
Displayed items
Item Description Setting range Default
Use PWM Output Set whether to use PWM output or not. • Disable Enable
• Enable
Output Signal Set the output destination device of output signal. Y0 to Y7
Pulse Width/Cycle Unit Set pulse width/cycle unit. • 1ms
• 1micro-s (s)
Output Pulse Logic Sets output pulse logic. • Positive Logic
• Negative Logic
Pulse Width Sets the ON/OFF width of the pulse. • When pulse width/period unit is set to 1 ms
1 to 2147483 ms
• When pulse width/period unit is set to 1 micro-s
(s)
1 to 2147483647 micro-s (s)
Cycle Sets cycle. • When pulse width/cycle unit is set to 1 ms
1 to 2147483 ms
• When pulse width/cycle unit is set to 1 micro-s
(s)
1 to 2147483647 micro-s (s)
The items specified in the parameters are stored in special devices when the CPU module is set from STOP
to RUN.
Operation monitor
This monitor is a device for monitoring the in operation/stopped status of PWM output.
■Corresponding devices
The device numbers corresponding to each channel are as follows.
CH1 CH2 CH3 CH4
SM5300 SM5301 SM5302 SM5303
■Update timing
The timing of device update is as follows.
ON OFF
• PWM output driven by HIOEN instruction • PWM output stopped by HIOEN instruction
• PWM instruction ON execution • After end of output of the specified number of pulses
• PWM instruction OFF execution
• Activation contact turned OFF
• Power OFFON, reset, RUNSTOP/PAUSE
■Corresponding devices
The device numbers corresponding to each channel are as follows.
CH1 CH2 CH3 CH4
SD5301, SD5300 SD5317, SD5316 SD5333, SD5332 SD5349, SD5348
19
■Update timing
The timing to reflect the device in operation is as follows.
• When the HCMOV instruction is executed (values updated immediately)
• When the PWM instruction is executed
• END processing
■Clear timing
The timing when the device is cleared is as follows.
• STOP/PAUSERUN
• If the number of output pulses written is equal to or smaller than the number of pulses that have already
been output, pulse output is stopped after the pulses being currently output are completed.
• If the number of output pulses written is greater than the number of pulses that have already been output,
pulse output is stopped after the specified number of pulses are output.
• If the number of output pulses is set to "0" (output without any limitation), the value cannot be changed while
pulses are being output.
• The number of output pulses cannot be changed to "0" (output without any limitation) while pulses are being
output.
Pulse width
The pulse width of PWM output is stored.
■Corresponding devices
The device numbers corresponding to each channel are as follows.
CH1 CH2 CH3 CH4
SD5303, SD5302 SD5319, SD5318 SD5335, SD5334 SD5351, SD5350
■Update timing
The timing to reflect the device in operation is as follows.
• When the HCMOV instruction is executed (values updated immediately)
• When the PWM instruction is executed
• END processing
■Clear timing
The timing when the device is cleared is as follows.
• STOP/PAUSERUN
• The pulse width and cycle can be changed even while pulses are being output.
• The pulse width and cycle are stored in the unit specified by the parameter (ms or s).
■Corresponding devices
The device numbers corresponding to each channel are as follows.
CH1 CH2 CH3 CH4
SD5305, SD5304 SD5321, SD5320 SD5337, SD5336 SD5353, SD5352
■Update timing
The timing to reflect the device in operation is as follows.
• When the HCMOV instruction is executed (values updated immediately)
• When the PWM instruction is executed
• END processing
■Clear timing
The timing when the device is cleared is as follows.
• STOP/PAUSERUN
• The pulse width and cycle can be changed even while pulses are being output.
• The pulse width and cycle are stored in the unit specified by the parameter (ms or s).
■Corresponding devices
The device numbers corresponding to each channel are as follows.
CH1 CH2 CH3 CH4
SD5307, SD5306 SD5323, SD5322 SD5339, SD5338 SD5355, SD5354
■Update timing
The timing to reflect the device in operation is as follows.
• When the HCMOV instruction is executed (values updated immediately)
• When the PWM instruction is executed
• END processing
■Clear timing
The timing when the device is cleared is as follows.
• Power OFFON
• Reset
• STOP/PAUSERUN
• If the number of output pulses is set to "0" (output without any limitation), the number of output pulse current
value monitor is fixed at "0".
• The number of output pulse current value monitor can be changed even while pulses are being output.
Examples of program
An example of a program using the PWM function is explained below. 19
Outline of operation
An example of a program using output Y0 on the CPU module to output one pulse with a delay is explained below.
Parameter setting
This program assumes that parameters are set as follows.
CH2, CH3 and CH4 need not be set.
Item CH to be used
CH1
Output destination Y0
Output pulse logic Negative logic (Output from OFF)
Pulse width 50 ms
Cycle 60 ms
Program
An operation diagram and program are shown below.
■Operation diagram
X0 input
Y0 Delay time: 50 ms
PWM output
SM402
MOV H1 D0
SM400
EI
SM402
DHCMOV K1 SD5300 K0 The number of pulses to be output is set.
FEND
Interrupt
SM400 PWM output from CH1 starts by the rising
pointer
HIOEN K50 K1 K0 edge interrupt of X0.
I0
IRET
END
SM402
MOV H1 D0
SM400
EI
SM402
DHCMOV K1 SD5300 K0 The number of pulses to be output is set.
FEND
Interrupt
SM400 PWM output from CH1 starts by the rising
pointer
PWM K50 K60 K1 edge interrupt of X0.
I0
IRET
END
*1 There is a dead band near 0 V output, which is an area where some digital input values do not reflect analog output values.
*2 External load resistance is set to 2 k when shipped from the factory. Thus, output voltage will increase somewhat if the resistance is
set higher than 2 k. When the resistance is 1 M, output voltage increases by a maximum 2%.
*3 "Digit" refers to digital values.
21 DEVICES
22 LABELS
203
21 DEVICES
This chapter explains devices.
Specify code of timer/retentive timer/counter/long counter by T/ST/C/LC if type is determined like instruction
when specifying device. If type is not determined, specify by code from among contact, coil or current value
according to type. Current value can however also be specified by T/ST/C/LC.
21 DEVICES
204 21.1 List of Devices
21.2 User Devices
This section explains user devices.
Input (X)
Provides the CPU module with commands and data by external devices such as push buttons, selector switches, limit
switches, digital switches, etc.
Push-button switch
CPU Module
Digital switch 21
1 2 3
Concept of input
You can think each input point as having a virtual relay Xn built into a single CPU module. The program uses NO/NC contact
of Xn.
Virtual relay
PB1 X0
X0 PLCs
PB2 X1
X1
PB16 X7
X7
Output (Y)
Outputs program control results to external signal lamps, digital indicators, contactors, solenoids, etc.
Signal lamp
CPU Module
Contactor
21 DEVICES
21.2 User Devices 205
Internal relay (M)
Device intended to be used as an auxiliary relay inside the CPU module. All internal relays are turned OFF by the following
operation.
• CPU module power OFFON
• Reset
• Latch clear
Annunciator (F)
Internal relay used for program for detecting equipment errors/faults created by the user. When the annunciator (F) is turned
ON, SM62 (Annunciator (F) Detection) turns ON, and the number of annunciator devices that are ON and their numbers are
stored from SD62 (Annunciator (F) Detection No.) to SD79 (Annunciator (F) Detection No. Table).
Annunciator ON detection
21 DEVICES
206 21.2 User Devices
How to turn annunciator (F) ON
Use SET F instruction. The annunciator (F) turns ON only during the rise time of input conditions (OFFON); the
annunciator (F) remains ON even if the input condition is OFF.
• The annunciator (F) can also be turned ON by OUT F instruction, but because it is processed every scan,
scan time is slower than when using SET F instruction.
• If it is turned ON by means other than SET F instruction or OUT F instruction (e.g. MOV instruction),
operation is the same as for internal relay. Thus, in SM62 does not turn ON, and annunciator (F) numbers
are not stored in SD62 and SD64 (Annunciator (F) Detection No. table) to SD79.
SD79 0 0 0 0
1. Annunciator (F) numbers that are ON are stored in SD64 to SD79 in sequence.
2. Annunciator (F) numbers that are stored in SD64 are stored in SD62.
If 17 or more annunciator's are ON, the numbers are not stored in SD64 to SD79.
21 DEVICES
21.2 User Devices 207
How to turn annunciator (F) OFF
Annunciators (F) are turned OFF by the following instruction.
Instruction Application
RST F instruction Used to turn OFF annunciator (F) number set by SET F instruction.
BKRST instruction Used to turn a specified range of annunciator (F) numbers OFF in a batch.
You can turn OFF by OUT F as well, but "Processing when annunciator (F) is OFF" described below is not
carried out even if annunciator numbers are turned OFF by OUT F instruction. If annunciator (F) numbers
are turned OFF by OUT F instruction, you must execute the RST F/BKRST instruction given above.
1. Annunciator (F) numbers specified in the RST F instruction or the BKRST instruction are erased, and annunciator (F)
numbers stored subsequent to those erased are moved up.
2. If annunciator (F) numbers stored in SD64 are turned OFF, new annunciator (F) numbers stored in SD64 are stored in
SD62.
SD62 0 50 50 50 50
SD63 0 1 2 3 2
SD64 0 50 50 50 50
SD65 0 0 25 25 1023
SD66 0 0 0 1023 0
SD67 0 0 0 0 0
SD79 0 0 0 0 0
21 DEVICES
208 21.2 User Devices
Timer (T/ST)
Device whereby measurement starts when the timer coil is turned ON, time up occurs when current value reaches the setting
value, and the contact is turned ON. The timer is an addition type counter. When time is up, the current value and setting
value are the same value.
Types of timers
There are timers (T) for which current value is maintained in 16 bits, and retentive timers (ST) that maintain the current value
even when the coil is turned OFF.*1
*1 Current value of timers (T) becomes "0" when the coil is turned OFF.
■Timer (T)
Measurement starts when the timer's coil is turned ON. Time up occurs when the current value of the timer matches the
setting value and the timer's contact is turned ON. When the timer's coil is turned OFF, the current value becomes "0" and the
timer's contact is turned OFF.
21
ON
2) X0
X0 K10 OFF
ON
T0
1) T0 coil (1)) OFF
T0
1 ON
Y10 second
3)
T0 contact (3)) OFF
ON
X0 OFF
2) ON
X0 K200
ST0 coil (1)) OFF
ST0
1) 5
ST0 15 seconds seconds
Y10 Current value of
3) 0 1 150 150 151 199 200 0
ST0
X1 Current value is held even if
4) the coil (1)) is turned OFF.
RST ST0
ST0 contact (3)) OFF
21 DEVICES
21.2 User Devices 209
Current value and measurement range of timer
■Timer
The current value range is 0 to 32767.
21 DEVICES
210 21.2 User Devices
Routine timer setting
The setting of the routine timer is made.
Navigation window [Parameter] [FX5UCPU] [CPU Parameter] "Memory/Device Setting" "Device/Label
Memory Area Setting"
Window
21
Displayed items
Item Description Setting range Default
To use or not to use the Whether the routine timer is used is set. • Not use Not use
routine timer of timer (T) • Use
Start device No. of The initial device of the routine timer is set. 0 to 1023 0
routine timer of timer (T)
21 DEVICES
21.2 User Devices 211
Counter (C/LC)
Device that counts number of rises of input conditions in the program. Counters are addition type counters; they count up
when the count value matches the setting value, and the contact is turned ON.
For details on the FX3-compatible high-speed counter, refer to Page 165 FX3-compatible high-speed counter function.
Counter type
There is counter (C) that maintains the counter value in 16 bits and the long counter (LC) that maintains the counter value in
32 bits. Counter (C) and long counter (LC) are separate devices. You can set number of device points for each.
■Counter (C)
Uses 1 word as 1 point. The counting range is from 0 to 32767.
Count processing
Count processing is as follows when counter's coil is executed.
[Ladder example]
X0 K10
C0
21 DEVICES
212 21.2 User Devices
Counter reset
Current value of counters is not cleared even if its coil input is turned OFF. To clear (reset) the current value of the counter and
turn the contact OFF, use the RST C instruction/RST LC instruction. The counter value is cleared and the contact is
turned OFF as soon as the RST C instruction is executed.
[Ladder example]
X0
RST C0
ON
Reset image
OFF
C0
RST C0
In the example circuit given above, the C0 coil is turned ON by M0 turning OFFON, and the current value is updated. When
C0 counts up, the C0 contact turns ON, and current value of C0 is cleared by execution of the RST C0 instruction. The C0 coil
is also turned OFF at this time. If M0 is ON for the next scan, the C0 coil turns OFFON when the OUT C0 instruction is
executed, so the current value is updated. (Current value becomes "1".)
END OUT C0 RST C0 END OUT C0 RST C0 END
Program
ON
M0
OFF
ON
C0 coil
OFF
Turning OFF
Current value update, Current value is updated since
the coil of C0
turning ON the the coil of C0 turns OFFON
contact
RST C0
OFF
21 DEVICES
21.2 User Devices 213
To handle this, arrange so that C0 coil is not turned OFF while OUT C0 instruction execution condition (M0) is ON, by inserting
the NC contact execution condition of the OUT C0 instruction in the execution condition of the RST C0 instruction as shown
by the following circuit example.
M0 K10
C0
C0 M0
RST C0
• When a counter is reset by the RST instruction, it cannot count until the RST instruction is set to OFF.
[Program example]
X010
RST C0 C0 is reset while X010 turns ON.
[Timing chart]
X000
X010
RST
C0 C0 remains reset
• When the counter is set as a latch device, the current value of a counter, output contact operation, and the reset image are
latched.
• If the ZRST instruction is used, the RST image of a counter is reset.
21 DEVICES
214 21.2 User Devices
Data register (D)
Device capable of storing numerical data.
21 DEVICES
21.3 System Devices 215
21.4 Module Access Device
Device that allows you to directly access the buffer memory of intelligent function modules connected to the CPU module from
the CPU module.
Specification method
Specified by U [module number of intelligent function modules]\[buffer memory address].
(Example: U5\G11)
Processing speed
Processing speed of reading/writing by module access device is slightly faster than using FROM/TO instruction. (Example:
MOV U2\G11 D0) When reading the buffer memory of a module access device and executing another process by 1
instruction, the processing speed would be approximately the total of processing speed of FROM/TO instruction and
processing speed of instruction. (Example: +U2\G11 D0 D10)
If reading/writing data of the buffer memory using module access device at least 2 times in the program, you
can speed up processing time by reading/writing at a single place in the program using a FROM/TO
instruction.
• Writing using multiple module access devices
U1\
MOVP K0
G10
U1\
MOVP K10
G11
U1\
MOVP K5
G12
U1\
MOVP K100
G13
MOVP K0 D0
MOVP K10 D1
Stores data to a device such as data register (D).
MOVP K5 D2
MOVP K100 D3
21 DEVICES
216 21.4 Module Access Device
21.5 Index Registers (Z/LZ)
Device used for indexing of devices.
SM402
MOV K100 Z0
M10
MOV W0 D0Z0
Access D0Z0 = D100.
21
INC Z0
SM402
DMOV K50000 LZ0
M10
MOV D0 U1\G0LZ0
Access U1\G0LZ0 = U1\G50000.
DINC LZ0
Window
Displayed items
Item Description Setting range Default
Total Points Show the total number of points for index register and long index register.
Index Register (Z) Set the number of points for index registers. 0 to 24 points (2 point unit) 20 points
Long Index Register (LZ) Set the number of points for long index registers. 0 to 12 points (1 point unit) 2 points
21 DEVICES
21.5 Index Registers (Z/LZ) 217
21.6 File Register (R)
Device capable of storing numerical data.
Designated in
ascending No. order
A
MC N0 M15
N0 M15
Executed regardless of
conditions A, B, and C
*1 Instruction for creating an efficient circuit switching program by switching common bus of the circuit.
21 DEVICES
218 21.6 File Register (R)
21.8 Pointer (P)
Device used by instructions such as jump instruction (CJ instruction) and subroutine program call instruction (CALL
instruction, etc.). Types of pointers are as follows.
Pointer Description
Global pointers Pointers that can be referred to from all programs.
Label assignment pointers Pointers used by assignment to labels. Pointer numbers assigned to labels are automatically determined by engineering
tool; the user cannot specify pointer numbers to be assigned.
Global pointers
Pointer for calling subroutine from all programs being run. 21
Program 1 (program group A) Program 3 (program group C)
RET
Program 2 (program group B)
RET
Interrupt Program
IRET
Setting the execution type of program to the event execution type eliminates the need to write (I) the
interrupt pointer. (Page 25 Generation of interrupt by interrupt pointer (I))
21 DEVICES
21.8 Pointer (P) 219
Interrupt causes of the interrupt pointer numbers
A list of interrupts is provided below.
Interrupt Interrupt pointer number Description
Input interrupt I0 to I15 interrupt pointer used for input interrupt of CPU module. Up to 8 points can be used.
High-speed comparison I16 to I23 Interrupt pointer used for high-speed comparison match interrupt of CPU module.
match interrupt
Interrupt by internal timer I28 to I31 Interrupt pointer used for fixed cycle interrupt by internal timer.
Interrupt from module I50 to I177 interrupt pointer used for interrupt from intelligent function module.
• The interrupt priority is the order which is executed at the time of the multiple interrupt. The lower the
numerical value, the higher the interrupt priority.
• The interrupt priority order is the order which is executed when the interrupt factor with the same interrupt
priority is generated.
21 DEVICES
220 21.9 Interrupt Pointer (I)
21.10 Constant
This section explains constants.
21
Hexadecimal constant (H)
Device that specifies hexadecimal data for the program. Specified by H. (Example: H1234)
When specifying BCD data, specify each digit of hexadecimal number in 0 to 9. The specification range is determined by type
of argument data of instruction using a hexadecimal constant. If data size is 16 bits, H0 to HFFFF; if 32 bits, H0 to
HFFFFFFFF.
Programming expressions
Real numbers can be specified by the following expressions.
• Normal expression: Specify a numeric value as it is. (Example: E10.2345 in the case of 10.2345)
• Scientific notation: Specify a numeric value in the format "numeric value" 10n. (Example: E1.234+3 in the case of 1234.
"+3" represents "103".)
21 DEVICES
21.10 Constant 221
22 LABELS
Label is identifier (character string) that specifies a character string in I/O data or internal processing. When a label is used in
programming, a program can be created without being conscious about the device No.*1
*1 Label and device can be used in mixed manner.
22 LABELS
222
MEMO
22
22 LABELS
223
APPENDIX
Appendix 1 Special Relay List
Diagnostic information
The special relays for diagnostic information are shown below.
R: Read only, R/W: Read/Write
No. Name Description R/W
SM0 Latest self diagnostics error (including annunciator ON) OFF: No error R
ON: Error
SM1 Latest self diagnostics error (not including annunciator OFF: No self-diagnosis errors R
On) ON: Self-diagnosis error
SM50 Error reset OFFON: Error reset request R/W
ONOFF: Error reset completion
SM51 Battery low latch OFF: Normal R
ON: Battery low
SM52 Battery low OFF: Normal R
ON: Battery low
SM53 AC/DC DOWN OFF: No AC/DC down detection R
ON: AC/DC down is detected
SM56 Instruction execution fault OFF: Normal R
ON: Operation error
SM61 I/O module verify error OFF: Normal R
ON: Error
SM62 Annunciator OFF: Not detected R
ON: Detected
SM80 Detailed information 1: Flag in use OFF: Not used R
ON: In use
SM112 Detailed information 2: Flag in use OFF: Not used R
ON: In use
System information
The special relays for system information are shown below.
R: Read only, R/W: Read/Write
No. Name Description R/W
SM203 STOP contact OFF: Other than STOP state R
ON: STOP state
SM204 PAUSE contact OFF: Other than PAUSE state R
ON: PAUSE state
SM210 Clock data set request OFFON: Set Request R/W
ONOFF: Set completed
SM211 Clock data set error OFF: No error R
ON: Error
SM213 Clock data read request OFF: Ignored R/W
ON: Read request
System clock
The special relay about system clock is shown below.
R: Read only, R/W: Read/Write
No. Name Description R/W
SM400 Always ON R
ON
OFF
APPENDIX
224 Appendix 1 Special Relay List
No. Name Description R/W
SM401 Always OFF R
ON
OFF A
SM402 After RUN, ON for one scan only R
ON
1 scan
OFF
SM415 2n ms clock R
n (ms)
n (ms)
Drive information
The special relays for drive information are shown below.
R: Read only, R/W: Read/Write
No. Name Description R/W
SM600 Memory card usable OFF: Unusable R
ON: Use enabled
SM601 Memory card protect OFF: Not protected R
ON: Protected
SM603 Memory card insertion OFF: No drive 2 R
ON: Drive 2 present
APPENDIX
Appendix 1 Special Relay List 225
No. Name Description R/W
SM605 Memory card interchange protect OFF: Remove/insert enabled R/W
ON: Remove/insert prohibited
SM606 Memory card disable request OFF: Clear command R/W
ON: Command
SM607 Memory card disable status OFF: Not disabled by SD memory card forced stop request R
ON: Disabled by SD memory card forced stop request
SM632 Data memory write error detection OFF: Write not executed/normal R
ON: Write error
SM633 Data memory writing OFF: Write not executed R
ON: Writing
SM634 Data memory write count error detection flag OFF: Overwrite count is less than 20,000 R
ON: Overwrite count is 20,000 or more
Instruction related
The special relays related to instruction execution are shown below.
R: Read only, R/W: Read/Write
No. Name Description R/W
SM700 Carry flag OFF: Carry OFF R
ON: Carry ON
SM701 Output characters selection OFF: NULL code output R/W
ON: No change
SM703 Sort order OFF: Ascending order R/W
ON: Descending order
SM704 Block comparison OFF: Non-match found R
ON: All match
SM709 DT/TM instruction improper data detection OFF: Improper data not detected R/W
ON: Improper data detected
APPENDIX
226 Appendix 1 Special Relay List
No. Name Description R/W
SM4521 High-speed counter pulse density/Rotation speed OFF: Stopped R
SM4522
measurement (CH6)
High-speed counter pulse density/Rotation speed
ON: Measurement
OFF: Stopped R
A
measurement (CH7) ON: Measurement
SM4523 High-speed counter pulse density/Rotation speed OFF: Stopped R
measurement (CH8) ON: Measurement
SM4532 High-speed counter overflow (CH1) OFF: No error R/W
ON: Overflow
SM4533 High-speed counter overflow (CH2) OFF: No error R/W
ON: Overflow
SM4534 High-speed counter overflow (CH3) OFF: No error R/W
ON: Overflow
SM4535 High-speed counter overflow (CH4) OFF: No error R/W
ON: Overflow
SM4536 High-speed counter overflow (CH5) OFF: No error R/W
ON: Overflow
SM4537 High-speed counter overflow (CH6) OFF: No error R/W
ON: Overflow
SM4538 High-speed counter overflow (CH7) OFF: No error R/W
ON: Overflow
SM4539 High-speed counter overflow (CH8) OFF: No error R/W
ON: Overflow
SM4548 High-speed counter underflow (CH1) OFF: No error R/W
ON: Underflow
SM4549 High-speed counter underflow (CH2) OFF: No error R/W
ON: Underflow
SM4550 High-speed counter underflow (CH3) OFF: No error R/W
ON: Underflow
SM4551 High-speed counter underflow (CH4) OFF: No error R/W
ON: Underflow
SM4552 High-speed counter underflow (CH5) OFF: No error R/W
ON: Underflow
SM4553 High-speed counter underflow (CH6) OFF: No error R/W
ON: Underflow
SM4554 High-speed counter underflow (CH7) OFF: No error R/W
ON: Underflow
SM4555 High-speed counter underflow (CH8) OFF: No error R/W
ON: Underflow
SM4564 High-speed counter count direction monitor (CH1) (1- OFF: Up-counting R
phase 2-input, 2-phase 2-input) ON: Down-counting
SM4565 High-speed counter count direction monitor (CH2) (1- OFF: Up-counting R
phase 2-input, 2-phase 2-input) ON: Down-counting
SM4566 High-speed counter count direction monitor (CH3) (1- OFF: Up-counting R
phase 2-input, 2-phase 2-input) ON: Down-counting
SM4567 High-speed counter count direction monitor (CH4) (1- OFF: Up-counting R
phase 2-input, 2-phase 2-input) ON: Down-counting
SM4568 High-speed counter count direction monitor (CH5) (1- OFF: Up-counting R
phase 2-input, 2-phase 2-input) ON: Down-counting
SM4569 High-speed counter count direction monitor (CH6) (1- OFF: Up-counting R
phase 2-input, 2-phase 2-input) ON: Down-counting
SM4570 High-speed counter count direction monitor (CH7) (1- OFF: Up-counting R
phase 2-input, 2-phase 2-input) ON: Down-counting
SM4571 High-speed counter count direction monitor (CH8) (1- OFF: Up-counting R
phase 2-input, 2-phase 2-input) ON: Down-counting
SM4580 High-speed counter count switching (CH1) (1-phase 1- OFF: Up-counting R/W
input S/W) ON: Down-counting
SM4581 High-speed counter count switching (CH2) (1-phase 1- OFF: Up-counting R/W
input S/W) ON: Down-counting
SM4582 High-speed counter count switching (CH3) (1-phase 1- OFF: Up-counting R/W
input S/W) ON: Down-counting
APPENDIX
Appendix 1 Special Relay List 227
No. Name Description R/W
SM4583 High-speed counter count switching (CH4) (1-phase 1- OFF: Up-counting R/W
input S/W) ON: Down-counting
SM4584 High-speed counter count switching (CH5) (1-phase 1- OFF: Up-counting R/W
input S/W) ON: Down-counting
SM4585 High-speed counter count switching (CH6) (1-phase 1- OFF: Up-counting R/W
input S/W) ON: Down-counting
SM4586 High-speed counter count switching (CH7) (1-phase 1- OFF: Up-counting R/W
input S/W) ON: Down-counting
SM4587 High-speed counter count switching (CH8) (1-phase 1- OFF: Up-counting R/W
input S/W) ON: Down-counting
SM4596 High-speed counter preset input logic (CH1) OFF: Positive logic R/W
ON: Negative logic
SM4597 High-speed counter preset input logic (CH2) OFF: Positive logic R/W
ON: Negative logic
SM4598 High-speed counter preset input logic (CH3) OFF: Positive logic R/W
ON: Negative logic
SM4599 High-speed counter preset input logic (CH4) OFF: Positive logic R/W
ON: Negative logic
SM4600 High-speed counter preset input logic (CH5) OFF: Positive logic R/W
ON: Negative logic
SM4601 High-speed counter preset input logic (CH6) OFF: Positive logic R/W
ON: Negative logic
SM4602 High-speed counter preset input logic (CH7) OFF: Positive logic R/W
ON: Negative logic
SM4603 High-speed counter preset input logic (CH8) OFF: Positive logic R/W
ON: Negative logic
SM4612 High-speed counter preset input comparison (CH1) OFF: Disabled R/W
ON: Enabled
SM4613 High-speed counter preset input comparison (CH2) OFF: Disabled R/W
ON: Enabled
SM4614 High-speed counter preset input comparison (CH3) OFF: Disabled R/W
ON: Enabled
SM4615 High-speed counter preset input comparison (CH4) OFF: Disabled R/W
ON: Enabled
SM4616 High-speed counter preset input comparison (CH5) OFF: Disabled R/W
ON: Enabled
SM4617 High-speed counter preset input comparison (CH6) OFF: Disabled R/W
ON: Enabled
SM4618 High-speed counter preset input comparison (CH7) OFF: Disabled R/W
ON: Enabled
SM4619 High-speed counter preset input comparison (CH8) OFF: Disabled R/W
ON: Enabled
SM4628 High-speed counter enable input logic (CH1) OFF: Positive logic R/W
ON: Negative logic
SM4629 High-speed counter enable input logic (CH2) OFF: Positive logic R/W
ON: Negative logic
SM4630 High-speed counter enable input logic (CH3) OFF: Positive logic R/W
ON: Negative logic
SM4631 High-speed counter enable input logic (CH4) OFF: Positive logic R/W
ON: Negative logic
SM4632 High-speed counter enable input logic (CH5) OFF: Positive logic R/W
ON: Negative logic
SM4633 High-speed counter enable input logic (CH6) OFF: Positive logic R/W
ON: Negative logic
SM4634 High-speed counter enable input logic (CH7) OFF: Positive logic R/W
ON: Negative logic
SM4635 High-speed counter enable input logic (CH8) OFF: Positive logic R/W
ON: Negative logic
SM4644 High-speed counter ring length (CH1) OFF: Disabled R/W
ON: Enabled
APPENDIX
228 Appendix 1 Special Relay List
No. Name Description R/W
SM4645 High-speed counter ring length (CH2) OFF: Disabled R/W
APPENDIX
Appendix 1 Special Relay List 229
No. Name Description R/W
SM5303 PWM function operation (CH4) OFF: Stopped R
ON: Operation
SM5500 Built-in positioning instruction activation (axis 1) OFF: Stopped R
ON: Operation
SM5501 Built-in positioning instruction activation (axis 2) OFF: Stopped R
ON: Operation
SM5502 Built-in positioning instruction activation (axis 3) OFF: Stopped R
ON: Operation
SM5503 Built-in positioning instruction activation (axis 4) OFF: Stopped R
ON: Operation
SM5516 Built-in positioning pulse output monitor (axis 1) OFF: Stopped R
ON: Output
SM5517 Built-in positioning pulse output monitor (axis 2) OFF: Stopped R
ON: Output
SM5518 Built-in positioning pulse output monitor (axis 3) OFF: Stopped R
ON: Output
SM5519 Built-in positioning pulse output monitor (axis 4) OFF: Stopped R
ON: Output
SM5532 Built-in positioning error (axis 1) OFF: No error R/W
ON: Error
SM5533 Built-in positioning error (axis 2) OFF: No error R/W
ON: Error
SM5534 Built-in positioning error (axis 3) OFF: No error R/W
ON: Error
SM5535 Built-in positioning error (axis 4) OFF: No error R/W
ON: Error
SM5580 Built-in positioning table shift instructions (axis 1) OFF: No table shift R/W
ON: Table shift start
SM5581 Built-in positioning table shift instructions (axis 2) OFF: No table shift R/W
ON: Table shift start
SM5582 Built-in positioning table shift instructions (axis 3) OFF: No table shift R/W
ON: Table shift start
SM5583 Built-in positioning table shift instructions (axis 4) OFF: No table shift R/W
ON: Table shift start
SM5596 Built-in positioning remaining distance operation enabled OFF: Remaining distance operation disabled R/W
(axis 1) ON: Remaining distance operation enabled
SM5597 Built-in positioning remaining distance operation enabled OFF: Remaining distance operation disabled R/W
(axis 2) ON: Remaining distance operation enabled
SM5598 Built-in positioning remaining distance operation enabled OFF: Remaining distance operation disabled R/W
(axis 3) ON: Remaining distance operation enabled
SM5599 Built-in positioning remaining distance operation enabled OFF: Remaining distance operation disabled R/W
(axis 4) ON: Remaining distance operation enabled
SM5612 Built-in positioning remaining distance operation start OFF: Remaining distance operation standby R/W
(axis 1) ON: Remaining distance operation start
SM5613 Built-in positioning remaining distance operation start OFF: Remaining distance operation standby R/W
(axis 2) ON: Remaining distance operation start
SM5614 Built-in positioning remaining distance operation start OFF: Remaining distance operation standby R/W
(axis 3) ON: Remaining distance operation start
SM5615 Built-in positioning remaining distance operation start OFF: Remaining distance operation standby R/W
(axis 4) ON: Remaining distance operation start
SM5628 Built-in positioning pulse output stop command (axis 1) OFF: Pulse output is not stopped R/W
ON: Pulse output immediate stop
SM5629 Built-in positioning pulse output stop command (axis 2) OFF: Pulse output is not stopped R/W
ON: Pulse output immediate stop
SM5630 Built-in positioning pulse output stop command (axis 3) OFF: Pulse output is not stopped R/W
ON: Pulse output immediate stop
SM5631 Built-in positioning pulse output stop command (axis 4) OFF: Pulse output is not stopped R/W
ON: Pulse output immediate stop
SM5644 Built-in positioning pulse decelerates stop command (axis OFF: Pulse output is not stopped R/W
1) (With remaining distance operation) ON: Pulse output decelerates stop
APPENDIX
230 Appendix 1 Special Relay List
No. Name Description R/W
SM5645 Built-in positioning pulse decelerates stop command (axis OFF: Pulse output is not stopped R/W
SM5646
2) (With remaining distance operation)
Built-in positioning pulse decelerates stop command (axis
ON: Pulse output decelerates stop
OFF: Pulse output is not stopped R/W
A
3) (With remaining distance operation) ON: Pulse output decelerates stop
SM5647 Built-in positioning pulse decelerates stop command (axis OFF: Pulse output is not stopped R/W
4) (With remaining distance operation) ON: Pulse output decelerates stop
SM5660 Built-in positioning forward rotation limit (axis 1) OFF: Forward rotation limit OFF R/W
ON: Forward rotation limit ON
SM5661 Built-in positioning forward rotation limit (axis 2) OFF: Forward rotation limit OFF R/W
ON: Forward rotation limit ON
SM5662 Built-in positioning forward rotation limit (axis 3) OFF: Forward rotation limit OFF R/W
ON: Forward rotation limit ON
SM5663 Built-in positioning forward rotation limit (axis 4) OFF: Forward rotation limit OFF R/W
ON: Forward rotation limit ON
SM5676 Built-in positioning reverse rotation limit (axis 1) OFF: Reverse rotation limit OFF R/W
ON: Reverse rotation limit ON
SM5677 Built-in positioning reverse rotation limit (axis 2) OFF: Reverse rotation limit OFF R/W
ON: Reverse rotation limit ON
SM5678 Built-in positioning reverse rotation limit (axis 3) OFF: Reverse rotation limit OFF R/W
ON: Reverse rotation limit ON
SM5679 Built-in positioning reverse rotation limit (axis 4) OFF: Reverse rotation limit OFF R/W
ON: Reverse rotation limit ON
SM5772 Built-in positioning rotational direction (axis 1) OFF: Forward rotation (Current address increases) R/W
ON: Reverse rotation (Current address increases)
SM5773 Built-in positioning rotational direction (axis 2) OFF: Forward rotation (Current address increases) R/W
ON: Reverse rotation (Current address increases)
SM5774 Built-in positioning rotational direction (axis 3) OFF: Forward rotation (Current address increases) R/W
ON: Reverse rotation (Current address increases)
SM5775 Built-in positioning rotational direction (axis 4) OFF: Forward rotation (Current address increases) R/W
ON: Reverse rotation (Current address increases)
SM5804 Built-in positioning zero return direction (axis 1) OFF: Zero return start (Reverse rotation direction) R/W
ON: Zero return start (Forward rotation direction)
SM5805 Built-in positioning zero return direction (axis 2) OFF: Zero return start (Reverse rotation direction) R/W
ON: Zero return start (Forward rotation direction)
SM5806 Built-in positioning zero return direction (axis 3) OFF: Zero return start (Reverse rotation direction) R/W
ON: Zero return start (Forward rotation direction)
SM5807 Built-in positioning zero return direction (axis 4) OFF: Zero return start (Reverse rotation direction) R/W
ON: Zero return start (Forward rotation direction)
SM5820 Built-in positioning clear signal function (axis 1) OFF: Clear signal disabled R/W
ON: Clear signal enabled
SM5821 Built-in positioning clear signal function (axis 2) OFF: Clear signal disabled R/W
ON: Clear signal enabled
SM5822 Built-in positioning clear signal function (axis 3) OFF: Clear signal disabled R/W
ON: Clear signal enabled
SM5823 Built-in positioning clear signal function (axis 4) OFF: Clear signal disabled R/W
ON: Clear signal enabled
SM5868 Built-in positioning zero-point signal count start (axis 1) OFF: Near point DOG backward end R/W
ON: Near point DOG forward end
SM5869 Built-in positioning zero-point signal count start (axis 2) OFF: Near point DOG backward end R/W
ON: Near point DOG forward end
SM5870 Built-in positioning zero-point signal count start (axis 3) OFF: Near point DOG backward end R/W
ON: Near point DOG forward end
SM5871 Built-in positioning zero-point signal count start (axis 4) OFF: Near point DOG backward end R/W
ON: Near point DOG forward end
APPENDIX
Appendix 1 Special Relay List 231
Built-in analog
The special relays for built-in analog are shown below.
R: Read only, R/W: Read/Write
No. Name Description R/W
SM6020 CH1 A/D conversion completed flag OFF: A/D conversion not completed R
ON: A/D conversion completed
SM6021 CH1 A/D conversion enable/disable setting OFF: A/D conversion enable R/W
ON: A/D conversion disable
SM6022 CH1 Over scaling detection flag OFF: No over scaling R
ON: Over Scaling
SM6024 CH1 Over scaling over detection setting OFF: Enable R/W
ON: Disable
SM6025 CH1 Maximum value/minimum value reset completed flag OFF: Reset not completed R
ON: Reset completed
SM6026 CH1 Maximum value reset request OFF: No reset request R
ON: Reset request
SM6027 CH1 Minimum value reset request OFF: No reset request R
ON: Reset request
SM6028 CH1 A/D scaling enable/disable setting OFF: Enable R/W
ON: Disable
SM6029 CH1 Digital clipping enable/disable setting OFF: Enable R/W
ON: Disable
SM6031 CH1 Warning output flag (Process alarm upper limit) OFF: No alarm R
ON: Alarm
SM6032 CH1 Warning output flag (Process alarm lower limit) OFF: No alarm R
ON: Alarm
SM6033 CH1 Warning output setting (Process alarm) OFF: Enabled R/W
ON: Disabled
SM6057 CH1 A/D alarm clear request OFF: No clear request R/W
ON: Clear request
SM6058 CH1 A/D alarm flag OFF: No alarm R
ON: Alarm
SM6059 CH1 A/D error flag OFF: No error R
ON: Error
SM6060 CH2 A/D conversion completed flag OFF: A/D conversion not completed R
ON: A/D conversion completed
SM6061 CH2 A/D conversion enable/disable setting OFF: A/D conversion enable R/W
ON: A/D conversion disable
SM6062 CH2 Over scaling detection flag OFF: No over scaling R
ON: Over scaling
SM6064 CH2 Over scaling over detection OFF: Enable R/W
ON: Disable
SM6065 CH2 Maximum value/minimum value reset completed flag OFF: Reset not completed R
ON: Reset completed
SM6066 CH2 Maximum value reset request OFF: No reset request R
ON: Reset request
SM6067 CH2 Minimum value reset request OFF: No reset request R
ON: Reset request
SM6068 CH2 A/D scaling enable/disable setting OFF: Enable R/W
ON: Disable
SM6069 CH2 Digital clipping enable/disable setting OFF: Enable R/W
ON: Disable
SM6071 CH2 Warning output flag (Process alarm upper limit) OFF: No alarm R
ON: Alarm
SM6072 CH2 Warning output flag (Process alarm lower limit) OFF: No alarm R
ON: Alarm
SM6073 CH2 Warning output setting (Process alarm) OFF: Enabled R/W
ON: Disabled
SM6097 CH2 A/D alarm clear request OFF: No clear request R/W
ON: Clear request
APPENDIX
232 Appendix 1 Special Relay List
No. Name Description R/W
SM6098 CH2 A/D alarm flag OFF: No alarm R/W
FX compatible area
The special relays of FX compatible area are shown below.
R: Read only, R/W: Read/Write
No. Name Description R/W
SM8000 RUN monitor NO contact OFF: STOP R
ON: RUN
SM8001 RUN monitor NC contact OFF: RUN R
ON: STOP
SM8002 Initial pulse NO contact OFF: SM8002 turns off except during 1 scan at the time of RUN R
ON: SM8002 turns on during 1 scan at the time of RUN
SM8003 Initial pulse NC contact OFF: SM8003 turns on during 1 scan at the time of RUN R
ON: SM8003 turns off except during 1 scan at the time of RUN
SM8004 Error occurrence OFF: No error R
ON: Error
SM8005 Battery voltage low OFF: Battery normal R
ON: Battery voltage low
SM8006 Battery error latch OFF: Battery normal R
ON: Battery voltage low latch
SM8007 Momentary power failure OFF: No momentary power failure R
ON: Momentary power failure detected
SM8008 Power failure detected OFF: No momentary power failure R
ON: During momentary power failure
SM8011 10 msec clock pulse ON and OFF in 10 ms cycles R
OFF: 5 ms
ON: 5 ms
SM8012 100 msec clock pulse ON and OFF in 100 ms cycles R
OFF: 50 ms
ON: 50 ms
SM8013 1 sec clock pulse ON and OFF in 1 sec cycles R
OFF: 500 ms
ON: 500 ms
SM8014 1 min clock pulse ON and OFF in 1 min cycles R
OFF: 30 s
ON: 30 s
SM8015 Clock stop and preset When SM8015 turns ON, the real time clock is stopped. R/W
At the edge from ON to OFF, the time from SD8013 to SD8019 is
written to the PLC and the clock is started again.
APPENDIX
Appendix 1 Special Relay List 233
No. Name Description R/W
SM8016 Time read display is stopped When SM8016 turns ON, the time display is stopped. R/W
SM8017 30 seconds correction At the edge from OFF to ON, the RTC is set to the nearest minute. R/W
(When the second data is from 0 to 29, it is set to 0. When the
second data is from 30 to 59, it is set to 0 and the minute data is
incriminated by "1".)
SM8019 Real time clock error When the data stored in special registers is outside the allowable R
time setting range, this device turns ON.
SM8020 Zero OFF: Zero flag OFF R
ON: Zero flag ON
SM8021 Borrow OFF: Borrow flag OFF R
ON: Borrow flag ON
SM8022 Carry OFF: Carry flag OFF R
ON: Carry flag ON
SM8023 Real time clock access error SM8023 turns ON at the time of RTC access (reading/writing) R
error occurrence.
SM8026 RAMP mode OFF: Standard mode R
ON: RAMP mode
SM8029 Instruction execution complete OFF: Instruction execution not complete R
ON: Instruction execution complete
SM8031 Non-latch memory all clear OFF: No clear R
ON: Non-latch memory all clear
SM8032 Latch memory all clear OFF: No clear R
ON: Latch memory all clear
SM8033 Memory hold stop OFF: Clear R
ON: Hold
SM8034 All output disable OFF: Normal operation R
ON: All output disable
SM8039 Constant scan mode OFF: Normal operation R/W
ON: Constant scan mode
SM8040 STL transfer disable OFF: Normal operation R/W
ON: Transfer disable
SM8041 Transfer start Transfer from initial state is enabled in automatic operation mode R
SM8042 Start pulse Pulse output is given in response to a start input R
SM8043 Zero return complete Set this in the last state of zero return mode R/W
SM8044 Zero point condition Set this when machine zero return is detected R/W
SM8045 All output reset disable Disables the 'all output reset' function when the operation mode is R/W
changed
SM8046 STL state ON ON when SM8047 is ON and any state (S) is active R/W
SM8047 Enable STL monitoring SD8040 to SD8047 are enabled when SM8047 is ON R/W
SM8048 Annunciator ON ON when SM8049 is ON and any state (S900 to S999) is ON. R/W
SM8049 Enable annunciator monitoring SD8049 is enabled when SM8049 is ON. R/W
SM8050 I00 disable OFF: Interrupt enabled R/W
ON: Interrupt disabled
SM8051 I10 disable OFF: Interrupt enabled R/W
ON: Interrupt disabled
SM8052 I20 disable OFF: Interrupt enabled R/W
ON: Interrupt disabled
SM8053 I30 disable OFF: Interrupt enabled R/W
ON: Interrupt disabled
SM8054 I40 disable OFF: Interrupt enabled R/W
ON: Interrupt disabled
SM8055 I50 disable OFF: Interrupt enabled R/W
ON: Interrupt disabled
SM8056 I60 disable OFF: Interrupt enabled R/W
ON: Interrupt disabled
SM8057 I70 disable OFF: Interrupt enabled R/W
ON: Interrupt disabled
SM8058 I80 disable OFF: Interrupt enabled R/W
ON: Interrupt disabled
APPENDIX
234 Appendix 1 Special Relay List
No. Name Description R/W
SM8059 I00 disable (Counter interrupt disable) OFF: Interrupt enabled R/W
APPENDIX
Appendix 1 Special Relay List 235
No. Name Description R/W
SM8248 LC48 counting direction monitoring OFF: Down count operation R
ON: Up count operation
SM8249 LC49 counting direction monitoring OFF: Down count operation R
ON: Up count operation
SM8250 LC50 counting direction monitoring OFF: Down count operation R
ON: Up count operation
SM8251 LC51 counting direction monitoring OFF: Down count operation R
ON: Up count operation
SM8252 LC52 counting direction monitoring OFF: Down count operation R
ON: Up count operation
SM8253 LC53 counting direction monitoring OFF: Down count operation R
ON: Up count operation
SM8254 LC54 counting direction monitoring OFF: Down count operation R
ON: Up count operation
SM8255 LC55 counting direction monitoring OFF: Down count operation R
ON: Up count operation
SM8304 Zero OFF: Zero flag OFF R
ON: Zero flag ON
SM8306 Carry OFF: Carry flag OFF R
ON: Carry flag ON
SM8329 Instruction execution error OFF: Instruction execution normal R
ON: Instruction execution error complete
SM8330 Timing clock output 1 DUTY instruction: Timing clock output 1 R
SM8331 Timing clock output 2 DUTY instruction: Timing clock output 2 R
SM8332 Timing clock output 3 DUTY instruction: Timing clock output 3 R
SM8333 Timing clock output 4 DUTY instruction: Timing clock output 4 R
SM8334 Timing clock output 5 DUTY instruction: Timing clock output 5 R
SM8340 Axis 1 pulse output monitor OFF: Stopped R
ON: Pulse output
SM8348 Axis 1 positioning instruction executing OFF: Positioning instruction not executing R
ON: Positioning instruction executing
SM8350 Axis 2 pulse output monitor OFF: Stopped R
ON: Output
SM8358 Axis 2 positioning instruction executing OFF: Positioning instruction not executing R
ON: Positioning instruction executing
SM8360 Axis 3 pulse output monitor OFF: Stopped R
ON: Output
SM8368 Axis 3 positioning instruction executing OFF: Positioning instruction not executing R
ON: Positioning instruction executing
SM8370 Axis 4 pulse output monitor OFF: Stopped R
ON: Output
SM8378 Axis 4 positioning instruction executing OFF: Positioning instruction not executing R
ON: Positioning instruction executing
SM8401 RS2 Send wait flag (ch1)/MODBUS request in process ON during send wait or MODBUS communication. R
(ch1)
SM8402 MODBUS communication error (ch1) OFF: No error R
ON: Error
SM8403 MODBUS communication error (latched) (ch1) OFF: No error R
ON: Error (latch)
SM8404 RS2 Carrier detection flag (ch1)/MODBUS communication ON when carrier detection or listen only mode R
mode (ch1)
SM8405 RS2 Data set ready (DSR) flag (ch1) OFF: DSR not detected R
ON: DSR detected
SM8408 MODBUS retry (ch1) OFF: Not retry R
ON: Retry
SM8409 RS2 Time-out check flag (ch1)/MODBUS Timeout (ch1) ON when time-out occurs. R
SM8421 RS2 Send wait flag (ch2)/MODBUS request in process ON during send wait or MODBUS communication R
(ch2)
SM8422 MODBUS communication error (ch2) OFF: No error R
ON: Error
APPENDIX
236 Appendix 1 Special Relay List
No. Name Description R/W
SM8423 MODBUS communication error (latched) (ch2) OFF: No error R
Serial communication
The special relays for serial communication are shown below.
R: Read only, R/W: Read/Write
No. Name Description R/W
SM8500 Serial communication error (ch1) OFF: No error R
ON: Error
SM8510 Serial communication error (ch2) OFF: No error R
ON: Error
SM8520 Serial communication error (ch3) OFF: No error R
ON: Error
SM8530 Serial communication error (ch4) OFF: No error R
ON: Error
SM8560 Data transfer delayed (ch1) This device remains ON while the PLC is waiting to send. R
SM8561 Data transfer flag (ch1) When this device is set to ON, the PLC starts to send. R
SM8562 Receive completion flag (ch1) This device turns ON when receiving is completed. R
SM8563 Carrier detection flag (ch1) This device turns ON in synchronization with the CD (DCD) signal. R
SM8564 Data set ready flag (ch1) This device turns ON in synchronization with the DR (DSR) signal. R
SM8565 Time-out check flag (ch1) This device turns ON when data receiving is suspended and the R
next set of receive data is not given within the time set by the time-
out time setting device.
SM8570 Data transfer delayed (ch2) This device remains ON while the PLC is waiting to send. R
SM8571 Data transfer flag (ch2) When this device is set to ON, the PLC starts to send. R
SM8572 Receive completion flag (ch2) This device turns ON when receiving is completed. R
APPENDIX
Appendix 1 Special Relay List 237
No. Name Description R/W
SM8573 Carrier detection flag (ch2) This device turns ON in synchronization with the CD (DCD) signal. R
SM8574 Data set ready flag (ch2) This device turns ON in synchronization with the DR (DSR) signal. R
SM8575 Time-out check flag (ch2) This device turns ON when data receiving is suspended and the R
next set of receive data is not given within the time set by the time-
out time setting device.
SM8580 Data transfer delayed (ch3) This device remains ON while the PLC is waiting to send. R
SM8581 Data transfer flag (ch3) When this device is set to ON, the PLC starts to send. R
SM8582 Receive completion flag (ch3) This device turns ON when receiving is completed. R
SM8583 Carrier detection flag (ch3) This device turns ON in synchronization with the CD (DCD) signal. R
SM8584 Data set ready flag (ch3) This device turns ON in synchronization with the DR (DSR) signal. R
SM8585 Time-out check flag (ch3) This device turns ON when data receiving is suspended and the R
next set of receive data is not given within the time set by the time-
out time setting device.
SM8590 Data transfer delayed (ch4) This device remains ON while the PLC is waiting to send R
SM8591 Data transfer flag (ch4) When this device is set to ON, the PLC starts to send R
SM8592 Receive completion flag (ch4) This device turns ON when receiving is completed R
SM8593 Carrier detection flag (ch4) This device turns ON in synchronization with the CD (DCD) signal R
SM8594 Data set ready flag (ch4) This device turns ON in synchronization with the DR (DSR) signal R
SM8595 Time-out check flag (ch4) This device turns ON when data receiving is suspended and the R
next set of receive data is not given within the time set by the time-
out time setting device
SM8740 Station No. setting SD latch enabled (ch1) OFF: Latch disabled R
ON: Latch enabled
SM8750 Station No. setting SD latch enabled (ch2) OFF: Latch disabled R
ON: Latch enabled
SM8760 Station No. setting SD latch enabled (ch3) OFF: Latch disabled R
ON: Latch enabled
SM8770 Station No. setting SD latch enabled (ch4) OFF: Latch disabled R
ON: Latch enabled
SM8800 MODBUS RTU communication (ch1) OFF: Communication stop R
ON: Communication
SM8801 Retry (ch1) OFF: No retry R
ON: Retry
SM8802 Timeout (ch1) OFF: No timeout R
ON: Timeout
SM8810 MODBUS RTU communication (ch2) OFF: Communication stop R
ON: Communication
SM8811 Retry (ch2) OFF: No retry R
ON: Retry
SM8812 Timeout (ch2) OFF: Not timeout R
ON: Timeout
SM8820 MODBUS RTU communication (ch3) OFF: Communication stop R
ON: Communication
SM8821 Retry (ch3) OFF: No retry R
ON: Retry
SM8822 Timeout (ch3) OFF: No timeout R
ON: Timeout
SM8830 MODBUS RTU communication (ch4) OFF: Communication stop R
ON: Communication
SM8831 Retry (ch4) OFF: No retry R
ON: Retry
SM8832 Timeout (ch4) OFF: No timeout R
ON: Timeout
SM8861 Host station No. setting SD latch enabled (ch1) OFF: Latch disabled R
ON: Latch enabled
SM8871 Host station No. setting SD latch enabled (ch2) OFF: Latch disabled R
ON: Latch enabled
SM8881 Host station No. setting SD latch enabled (ch3) OFF: Latch disabled R
ON: Latch enabled
APPENDIX
238 Appendix 1 Special Relay List
No. Name Description R/W
SM8891 Host station No. setting SD latch enabled (ch4) OFF: Latch disabled R
APPENDIX
Appendix 1 Special Relay List 239
Appendix 2 Special Register List
Diagnostic information
The special register for diagnostic information are shown below.
R: Read only, R/W: Read/Write
No. Name Description R/W
SD0 Latest self diagnostics error code This register stores the latest self-diagnosis error code. R
SD1 Clock time for self diagnosis error occurrence (Year) This register stores the latest self-diagnosis error time (Year). R
SD2 Clock time for self diagnosis error occurrence (Month) This register stores the latest self-diagnosis error time (Month). R
SD3 Clock time for self diagnosis error occurrence (Day) This register stores the latest self-diagnosis error time (Day). R
SD4 Clock time for self diagnosis error occurrence (Hour) This register stores the latest self-diagnosis error time (Hour). R
SD5 Clock time for self diagnosis error occurrence (Minute) This register stores the latest self-diagnosis error time (Minute). R
SD6 Clock time for self diagnosis error occurrence (Second) This register stores the latest self-diagnosis error time (Second). R
SD7 Clock time for self diagnosis error occurrence (Day Week) This register stores the latest self-diagnosis error time (Day Week). R
SD10 Self diagnostics error code 1 This register stores the self-diagnosis error code. R
SD11 Self diagnostics error code 2 This register stores the self-diagnosis error code. R
SD12 Self diagnostics error code 3 This register stores the self-diagnosis error code. R
SD13 Self diagnostics error code 4 This register stores the self-diagnosis error code. R
SD14 Self diagnostics error code 5 This register stores the self-diagnosis error code. R
SD15 Self diagnostics error code 6 This register stores the self-diagnosis error code. R
SD16 Self diagnostics error code 7 This register stores the self-diagnosis error code. R
SD17 Self diagnostics error code 8 This register stores the self-diagnosis error code. R
SD18 Self diagnostics error code 9 This register stores the self-diagnosis error code. R
SD19 Self diagnostics error code 10 This register stores the self-diagnosis error code. R
SD20 Self diagnostics error code 11 This register stores the self-diagnosis error code. R
SD21 Self diagnostics error code 12 This register stores the self-diagnosis error code. R
SD22 Self diagnostics error code 13 This register stores the self-diagnosis error code. R
SD23 Self diagnostics error code 14 This register stores the self-diagnosis error code. R
SD24 Self diagnostics error code 15 This register stores the self-diagnosis error code. R
SD25 Self diagnostics error code 16 This register stores the self-diagnosis error code. R
SD53 The number of AC/DC DOWN detections This register stores the number of times of momentary power failure. R
SD61 I/O Module Verify Error Module No. This register stores the I/O module verify error module No.. R
SD62 Annunciator (F) Detection No. This register stores the earliest detected annunciator (F) No.. R
SD63 Annunciator (F) Detection Number This register stores the number of annunciator (F) detections. R
SD64 to Annunciator (F) Detection No. table This register stores the annunciator (F) detection No. R
SD79
SD80 Detailed information 1 information category • Detailed information 1 information category code is stored. R
b15 to b8 b7 to b0
Not used (fixed to 0) Information category code
• The following codes are stored into the information category code.
0: N/A
1: Program position information
2: Drive number and file name
4: Parameter information
5: System configuration information
6: Number of times information
7: Time information
APPENDIX
240 Appendix 2 Special Register List
No. Name Description R/W
SD81 to Detailed information 1 • Detailed information 1 corresponding to the error code (SD0) is R
SD111 stored.
• There are six types of information to be stored as shown in the A
following figures.
• The type of detailed information 1 can be obtained using SD80 (the
value of the "Detailed information 1 information category code" stored
in SD80 corresponds to the following figures (1), (2), (4) to (7)).
(1) Program location information
Fixed to 0
Step No.
Fixed to 0
FB No.
File name
Fixed to 0
Step No.
SD90 FB No.
SD91 1st character
2nd character
3rd character
File name
(first 8 characters of 4th character
Unicode character
5th character
string)
6th character
7th character
SD98 8th character
b15 b2 b1b0
SD81 With or without specification
SD82 Drive No. Drive No.
2nd character
3rd character
File name
(first 8 characters of 4th character
Unicode character 5th character
string)
6th character
7th character
SD90 8th character
b15 b7 b6 b5 b4 b3 b2 b1b0
SD81 With or without specification
SD82 Parameter storage destination Parameter storage
destination
SD83 Module position Type Parameter type
SD84 Parameter No. Module position
SD85 Network No. Parameter No.
SD91 b15 b4 b3 b0
SD92 System information Module position Type
APPENDIX
Appendix 2 Special Register List 241
No. Name Description R/W
SD81 to Detailed information 1 (5) System configuration information R
SD111
b15 b8 b7 b0 b15 b7 b6 b5 b4 b3 b2 b1b0
SD81 With or without specification
SD82 Head Y No. 8 Head X No. 8 Head X No.
Head Y No.
SD83 Function No. Module position Module position
SD84 Free (Fixed to 0) Intelligent module No. Function No.
Intelligent module No.
SD85 Network No. Free
SD86 Station No. Network No.
Station No.
Module position
Built-in high-speed I/O : 0H
Built-in serial communication : 41H
Built-in analog : 42H
Expansion board : 60H
Expansion adapter : 71H to 76H
Function No.
System/Sequence operation : 0
Built-in A/D :1
Built-in D/A :2
Built-in positioning, PWM : 10
Built-in high-speed counter,
Pulse width measurement : 20
Built-in serial communication : 30
SD112 Detailed information 2 information category • Detailed information 2 information category code is stored. R
b15 to b8 b7 to b0
Not used (fixed to 0) Information category code
• The following codes are stored into the information category code.
0: N/A
1: Program position information
2: Drive number and file name
3: Annunciator number
4: Parameter information
5: System configuration information
APPENDIX
242 Appendix 2 Special Register List
No. Name Description R/W
SD113 to Detailed information 2 • Detailed information 2 corresponding to the error code (SD0) is R
SD143 stored.
• There are four types of information to be stored as shown in the A
following figures.
• The type of detailed information 2 can be obtained using SD112 (the
value of the "Detailed information 2 information category code" stored
in SD112 corresponds to the following figures (2) to (5)).
(2) Drive number and file name
2nd character
3rd character
File name
(first 8 characters of 4th character
Unicode character
5th character
string)
6th character
7th character
SD122 8th character
(3) Annunciator number
b15 b0 b15 b1 b0
SD113 With or without specification
SD114 Annunciator No. Annunciator No.
APPENDIX
Appendix 2 Special Register List 243
System information
The special registers for system information are shown below.
R: Read only, R/W: Read/Write
No. Name Description R/W
SD200 Switch Status This register stores the CPU switch status. R
0: RUN
1: STOP
SD201 LED status This register stores the LED status. R
SD203 CPU Status This register stores the CPU Status. R
b0: RUN
b2: STOP
b3: PAUSE
SD210 Clock Data (Year) This register stores the clock data (Year). R
SD211 Clock Data (Month) This register stores the clock data (Month). R
SD212 Clock Data (Day) This register stores the clock data (Day). R
SD213 Clock Data (Hour) This register stores the clock data (Hour). R
SD214 Clock Data (Minute) This register stores the clock data (Minute). R
SD215 Clock Data (Second) This register stores the clock data (Second). R
SD216 Clock Data (Day Week) This register stores the clock data (Day of the Week). R
SD218 Time zone setting value The time zone setting value specified in the parameter is stored in R
increments of minutes.
SD250 Loaded Max I/O This register stores high-order 2 digits of the final I/O number of R
connected modules +1 in 8-bit binary.
SD260 X Device Size [Lower] This register stores the number of X device points used as 32-bit R
SD261 X Device Size [Upper] value.
SD262 Y Device Size [Lower] This register stores the number of Y device points used as 32-bit R
value.
SD263 Y Device Size [Upper]
SD264 M Device Size [Lower] This register stores the number of M device points used as 32-bit R
SD265 M Device Size [Upper] value.
SD266 B Device Size [Lower] This register stores the number of B device points used as 32-bit R
value.
SD267 B Device Size [Upper]
SD268 SB Device Size [Lower] This register stores the number of SB device points used as 32- R
bit value.
SD269 SB Device Size [Upper]
SD270 F Device Size [Lower] This register stores the number of F device points used as 32-bit R
value.
SD271 F Device Size [Upper]
SD274 L Device Size [Lower] This register stores the number of L device points used as 32-bit R
value.
SD275 L Device Size [Upper]
SD280 D Device Size [Lower] This register stores the number of D device points used as 32-bit R
value.
SD281 D Device Size [Upper]
SD282 W Device Size [Lower] This register stores the number of W device points used as 32-bit R
value.
SD283 W Device Size [Upper]
SD284 SW Device Size [Lower] This register stores the number of SW device points used as 32- R
bit value.
SD285 SW Device Size [Upper]
SD288 T Device Size [Lower] This register stores the number of T device points used as 32-bit R
value.
SD289 T Device Size [Upper]
SD290 ST Device Size [Lower] This register stores the number of ST device points used as 32-bit R
SD291 ST Device Size [Upper] value.
SD292 C Device Size [Lower] This register stores the number of C device points used as 32-bit R
value.
SD293 C Device Size [Upper]
SD298 LC Device Size [Lower] This register stores the number of LC device points used as 32-bit R
value.
SD299 LC Device Size [Upper]
SD300 Z Device Size This register stores the number of Z device points used. R
SD302 LZ Device Size This register stores the number of LZ device points used. R
APPENDIX
244 Appendix 2 Special Register List
No. Name Description R/W
SD304 R Device Size [Lower] This register stores the number of R device points used as 32-bit R
SD305 R Device Size [Upper]
value.
A
System clock
The special registers for system clock are shown below.
R: Read only, R/W: Read/Write
No. Name Description R/W
SD412 One second counter • This register is incremented by 1 for each second after the R
CPU module is set to RUN.
• A counting cycle from 0 to 32767 to -32768 to 0 is repeated.
SD414 2n second clock setting • Stores value n of 2n second clock (Default is 30) R/W
• Setting can be made between 1 and 32767.
SD415 2nms second clock setting • Stores value n of 2n ms clock (Default is 30) R/W
• Setting can be made between 1 and 32767.
SD420 Scan counter • This register is incremented by 1 each scan after the CPU R
module is set to RUN. (Not incremented for each scan of an
initial execution type program.)
• A counting cycle from 0 to 32767 to -32768 to 0 is repeated.
Scan information
The special registers for scan information are shown below.
R: Read only, R/W: Read/Write
No. Name Description R/W
SD500 Execution program number Program number of program currently being executed is stored. R
SD518 Initial scan time (ms) This register stores the initial scan time (ms). R
SD519 Initial scan time (s) This register stores the initial scan time (s). R
SD520 Current scan time (ms) This register stores the current scan time (ms). R
SD521 Current scan time (s) This register stores the current scan time (s). R
SD522 Minimum scan time (ms) This register stores the minimum scan time (ms). R
SD523 Minimum scan time(s) This register stores the minimum scan time (s). R
SD524 Maximum scan time (ms) This register stores the maximum scan time (ms). R
SD525 Maximum scan time (s) This register stores the maximum scan time (s). R
SD526 END processing time (ms) This register stores the END processing time (ms). R
SD527 END processing time (s) This register stores the END processing time (s). R
SD528 Constant scan waiting time (ms) This register stores the constant scan wait time (ms). R
SD529 Constant scan waiting time (s) This register stores the constant scan wait time (s). R
SD530 Scan program execution time (ms) This register stores the scan program execution time (ms). R
SD531 Scan program execution time (s) This register stores the scan program execution time (s). R
Drive information
The special registers for drive information are shown below.
R: Read only, R/W: Read/Write
No. Name Description R/W
SD600 Memory Card Installation This register stores the enable/disable classification of the R
inserted SD card.
SD604 SD memory card usage status This register stores the memory card usage condition. R
SD606 SD memory card capacity This register stores the drive 2 storage capacity (unit: 1 K byte). R
(Free space value after formatting is stored.)
SD607 SD memory card capacity This register stores the drive 2 storage capacity (unit: 1 K byte). R
(Free space value after formatting is stored.)
SD608 SD memory card capacity This register stores the drive 2 storage capacity (unit: 1 K byte). R
(Free space value after formatting is stored.)
APPENDIX
Appendix 2 Special Register List 245
No. Name Description R/W
SD609 SD memory card capacity This register stores the drive 2 storage capacity (unit: 1 K byte). R
(Free space value after formatting is stored.)
SD610 SD memory card free space capacity This register stores the free space value in drive 2 (unit: 1 K byte). R
SD611 SD memory card free space capacity This register stores the free space value in drive 2 (unit: 1 K byte). R
SD612 SD memory card free space capacity This register stores the free space value in drive 2 (unit: 1 K byte). R
SD613 SD memory card free space capacity This register stores the free space value in drive 2 (unit: 1 K byte). R
SD634 Index for the number of data memory write operations Stores an index for the number of write operations to data R
memory currently. However, the index does not equal the actual
SD635
number of write operations.
Instruction related
The special registers related to instruction execution are shown below.
R: Read only, R/W: Read/Write
No. Name Description R/W
SD757 Current interrupt priority This register stores the interrupt priority of the interrupt program R
being executed.
1 to 3: The interrupt priority of interrupt program executed.
0: The interrupt is not executed. (default value)
SD758 Interrupt disabling for each priority setting value This register stores the disable interrupt priority according to the R
disable interrupt instruction (DI), disable interrupt after the setting
priority instruction (DI), and enable interrupt instruction (EI).
1: Disable interrupt priority 1 or less. (Disable interrupt of all
priority) (default value)
2: Disable interrupt priority 2 or 3.
3: Disable interrupt priority 3.
0: No priority. (Enable interrupt of all priority)
FX dedicated
The special registers dedicated to FX are shown below.
R: Read only, R/W: Read/Write
No. Name Description R/W
SD4110 Error code 1 details This register stores the self-diagnosis error code details. R
• Module position [Low order 8 bit]
SD4111 Error code 2 details
0H: Built-in high-speed I/O
SD4112 Error code 3 details 41H: Built-in serial communication
SD4113 Error code 4 details 42H: Built-in analog
60H: Expansion board
SD4114 Error code 5 details
71 to 76H: Expansion adapter
SD4115 Error code 6 details • Function No. [Higher order 8 bit]
SD4116 Error code 7 details 0: System/Sequence operation
1: Built-in A/D
SD4117 Error code 8 details
2: Built-in D/A
SD4118 Error code 9 details 10: Built-in positioning, PWM
SD4119 Error code 10 details 20: Built-in high-speed counter, Pulse width measurement
APPENDIX
246 Appendix 2 Special Register List
No. Name Description R/W
SD4124 Error code 15 details This register stores the self-diagnosis error code details. R
SD4125 Error code 16 details
• Module position [Low order 8 bit]
0H: Built-in high-speed I/O A
41H: Built-in serial communication
42H: Built-in analog
60H: Expansion board
71 to 76H: Expansion adapter
• Function No. [Higher order 8 bit]
0: System/Sequence operation
1: Built-in A/D
2: Built-in D/A
10: Built-in positioning, PWM
20: Built-in high-speed counter, Pulse width measurement
SD4150 Module 1 status information This register stores the module 1 status information. R
SD4151 Module 1 error information This register stores the module 1 error information. R
SD4152 Module 2 status information This register stores the module 2 status information. R
SD4153 Module 2 error information This register stores the module 2 error information. R
SD4154 Module 3 status information This register stores the module 3 status information. R
SD4155 Module 3 error information This register stores the module 3 error information. R
SD4156 Module 4 status information This register stores the module 4 status information. R
SD4157 Module 4 error information This register stores the module 4 error information. R
SD4158 Module 5 status information This register stores the module 5 status information. R
SD4159 Module 5 error information This register stores the module 5 error information. R
SD4160 Module 6 status information This register stores the module 6 status information. R
SD4161 Module 6 error information This register stores the module 6 error information. R
SD4162 Module 7 status information This register stores the module 7 status information. R
SD4163 Module 7 error information This register stores the module 7 error information. R
SD4164 Module 8 status information This register stores the module 8 status information. R
SD4165 Module 8 error information This register stores the module 8 error information. R
SD4166 Module 9 status information This register stores the module 9 status information. R
SD4167 Module 9 error information This register stores the module 9 error information. R
SD4168 Module 10 status information This register stores the module 10 status information. R
SD4169 Module 10 error information This register stores the module 10 error information. R
SD4170 Module 11 status information This register stores the module 11 status information. R
SD4171 Module 11 error information This register stores the module 11 error information. R
SD4172 Module 12 status information This register stores the module 12 status information. R
SD4173 Module 12 error information This register stores the module 12 error information. R
SD4174 Module 13 status information This register stores the module 13 status information. R
SD4175 Module 13 error information This register stores the module 13 error information. R
SD4176 Module 14 status information This register stores the module 14 status information. R
SD4177 Module 14 error information This register stores the module 14 error information. R
SD4178 Module 15 status information This register stores the module 15 status information. R
SD4179 Module 15 error information This register stores the module 15 error information. R
SD4180 Module 16 status information This register stores the module 16 status information. R
SD4181 Module 16 error information This register stores the module 16 error information. R
APPENDIX
Appendix 2 Special Register List 247
No. Name Description R/W
SD4504 High-speed counter minimum value [Low-order] (CH1) This register stores the high-speed counter minimum value R/W
(CH1).
SD4505 High-speed counter minimum value [High-order] (CH1)
SD4506 High-speed counter pulse density [Low-order] (CH1) This register stores the high-speed counter pulse density (CH1). R/W
SD4507 High-speed counter pulse density [High-order] (CH1)
SD4508 High-speed counter rotation speed [Low-order] (CH1) This register stores the high-speed counter rotation speed (CH1). R/W
SD4509 High-speed counter rotation speed [High-order] (CH1)
SD4510 High-speed counter preset control switch (CH1) This register stores the high-speed counter preset control switch R/W
(CH1).
SD4512 High-speed counter preset value [Low-order] (CH1) This register stores the high-speed counter preset value (CH1). R/W
SD4513 High-speed counter preset value [High-order] (CH1)
SD4514 High-speed counter ring length [Low-order] (CH1) This register stores the high-speed counter ring length (CH1). R/W
SD4515 High-speed counter ring length [High-order] (CH1)
SD4516 High-speed counter measurement-unit time [Low-order] This register stores the high-speed counter measurement-unit R/W
(CH1) time (CH1).
SD4517 High-speed counter measurement-unit time [High-order]
(CH1)
SD4518 High-speed counter number of pulses per rotation [Low- This register stores the high-speed counter number of pulses per R/W
order] (CH1) rotation (CH1).
SD4519 High-speed counter number of pulses per rotation [High-
order] (CH1)
SD4530 High-speed counter current value [Low-order] (CH2) This register stores the high-speed counter current value (CH2). R/W
SD4531 High-speed counter current value [High-order] (CH2)
SD4532 High-speed counter maximum value [Low-order] (CH2) This register stores the high-speed counter maximum value R/W
(CH2).
SD4533 High-speed counter maximum value [High-order] (CH2)
SD4534 High-speed counter minimum value [Low-order] (CH2) This register stores the high-speed counter minimum value R/W
(CH2).
SD4535 High-speed counter minimum value [High-order] (CH2)
SD4536 High-speed counter pulse density [Low-order] (CH2) This register stores the high-speed counter pulse density (CH2). R/W
SD4537 High-speed counter pulse density [High-order] (CH2)
SD4538 High-speed counter rotation speed [Low-order] (CH2) This register stores the high-speed counter rotation speed (CH2). R/W
SD4539 High-speed counter rotation speed [High-order] (CH2)
SD4540 High-speed counter preset control switch (CH2) This register stores the high-speed counter preset control switch R/W
(CH2).
SD4542 High-speed counter preset value [Low-order] (CH2) This register stores the high-speed counter preset value (CH2). R/W
SD4543 High-speed counter preset value [High-order] (CH2)
SD4544 High-speed counter ring length [Low-order] (CH2) This register stores the high-speed counter ring length (CH2). R/W
SD4545 High-speed counter ring length [High-order] (CH2)
SD4546 High-speed counter measurement-unit time [Low-order] This register stores the high-speed counter measurement-unit R/W
(CH2) time (CH2).
SD4547 High-speed counter measurement-unit time [High-order]
(CH2)
SD4548 High-speed counter number of pulses per rotation [Low- This register stores the high-speed counter number of pulses per R/W
order] (CH2) rotation (CH2).
SD4549 High-speed counter number of pulses per rotation [High-
order] (CH2)
SD4560 High-speed counter current value [Low-order] (CH3) This register stores the high-speed counter current value (CH3). R/W
SD4561 High-speed counter current value [High-order] (CH3)
SD4562 High-speed counter maximum value [Low-order] (CH3) This register stores the high-speed counter maximum value R/W
SD4563 High-speed counter maximum value [High-order] (CH3) (CH3).
SD4564 High-speed counter minimum value [Low-order] (CH3) This register stores the high-speed counter minimum value R/W
(CH3).
SD4565 High-speed counter minimum value [High-order] (CH3)
SD4566 High-speed counter pulse density [Low-order] (CH3) This register stores the high-speed counter pulse density (CH3). R/W
SD4567 High-speed counter pulse density [High-order] (CH3)
SD4568 High-speed counter rotation speed [Low-order] (CH3) This register stores the high-speed counter rotation speed (CH3). R/W
SD4569 High-speed counter rotation speed [High-order] (CH3)
SD4570 High-speed counter preset control switch (CH3) This register stores the high-speed counter preset control switch R/W
(CH3).
APPENDIX
248 Appendix 2 Special Register List
No. Name Description R/W
SD4572 High-speed counter preset value [Low-order] (CH3) This register stores the high-speed counter preset value (CH3). R/W
SD4573 High-speed counter preset value [High-order] (CH3)
A
SD4574 High-speed counter ring length [Low-order] (CH3) This register stores the high-speed counter ring length (CH3). R/W
SD4575 High-speed counter ring length [High-order] (CH3)
SD4576 High-speed counter measurement-unit time [Low-order] This register stores the high-speed counter measurement-unit R/W
(CH3) time (CH3).
SD4577 High-speed counter measurement-unit time [High-order]
(CH3)
SD4578 High-speed counter number of pulses per rotation [Low- This register stores the high-speed counter number of pulses per R/W
order] (CH3) rotation (CH3).
SD4579 High-speed counter number of pulses per rotation [High-
order] (CH3)
SD4590 High-speed counter current value [Low-order] (CH4) This register stores the high-speed counter current value (CH4). R/W
SD4591 High-speed counter current value [High-order] (CH4)
SD4592 High-speed counter maximum value [Low-order] (CH4) This register stores the high-speed counter maximum value R/W
(CH4).
SD4593 High-speed counter maximum value [High-order] (CH4)
SD4594 High-speed counter minimum value [Low-order] (CH4) This register stores the high-speed counter minimum value R/W
(CH4).
SD4595 High-speed counter minimum value [High-order] (CH4)
SD4596 High-speed counter pulse density [Low-order] (CH4) This register stores the high-speed counter pulse density (CH4). R/W
SD4597 High-speed counter pulse density [High-order] (CH4)
SD4598 High-speed counter rotation speed [Low-order] (CH4) This register stores the high-speed counter rotation speed (CH4). R/W
SD4599 High-speed counter rotation speed [High-order] (CH4)
SD4600 High-speed counter preset control switch (CH4) This register stores the high-speed counter preset control switch R/W
(CH4).
SD4602 High-speed counter preset value [Low-order] (CH4) This register stores the high-speed counter preset value (CH4). R/W
SD4603 High-speed counter preset value [High-order] (CH4)
SD4604 High-speed counter ring length [Low-order] (CH4) This register stores the high-speed counter ring length (CH4). R/W
SD4605 High-speed counter ring length [High-order] (CH4)
SD4606 High-speed counter measurement-unit time [Low-order] This register stores the high-speed counter measurement-unit R/W
(CH4) time (CH4).
SD4607 High-speed counter measurement-unit time [High-order]
(CH4)
SD4608 High-speed counter number of pulses per rotation [Low- This register stores the high-speed counter number of pulses per R/W
order] (CH4) rotation (CH4).
SD4609 High-speed counter number of pulses per rotation [High-
order] (CH4)
SD4620 High-speed counter current value [Low-order] (CH5) This register stores the high-speed counter current value (CH5). R/W
SD4621 High-speed counter current value [High-order] (CH5)
SD4622 High-speed counter maximum value [Low-order] (CH5) This register stores the high-speed counter maximum value R/W
(CH5).
SD4623 High-speed counter maximum value [High-order] (CH5)
SD4624 High-speed counter minimum value [Low-order] (CH5) This register stores the high-speed counter minimum value R/W
(CH5).
SD4625 High-speed counter minimum value [High-order] (CH5)
SD4626 High-speed counter pulse density [Low-order] (CH5) This register stores the high-speed counter pulse density (CH5). R/W
SD4627 High-speed counter pulse density [High-order] (CH5)
SD4628 High-speed counter rotation speed [Low-order] (CH5) This register stores the high-speed counter rotation speed (CH5). R/W
SD4629 High-speed counter rotation speed [High-order] (CH5)
SD4630 High-speed counter preset control switch (CH5) This register stores the high-speed counter preset control switch R/W
(CH5).
SD4632 High-speed counter preset value [Low-order] (CH5) This register stores the high-speed counter preset value (CH5). R/W
SD4633 High-speed counter preset value [High-order] (CH5)
SD4634 High-speed counter ring length [Low-order] (CH5) This register stores the high-speed counter ring length (CH5). R/W
SD4635 High-speed counter ring length [High-order] (CH5)
SD4636 High-speed counter measurement-unit time [Low-order] This register stores the high-speed counter measurement-unit R/W
(CH5) time (CH5).
SD4637 High-speed counter measurement-unit time [High-order]
(CH5)
APPENDIX
Appendix 2 Special Register List 249
No. Name Description R/W
SD4638 High-speed counter number of pulses per rotation [Low- This register stores the high-speed counter number of pulses per R/W
order] (CH5) rotation (CH5).
SD4639 High-speed counter number of pulses per rotation [High-
order] (CH5)
SD4650 High-speed counter current value [Low-order] (CH6) This register stores the high-speed counter current value (CH6). R/W
SD4651 High-speed counter current value [High-order] (CH6)
SD4652 High-speed counter maximum value [Low-order] (CH6) This register stores the high-speed counter maximum value R/W
SD4653 High-speed counter maximum value [High-order] (CH6) (CH6).
SD4654 High-speed counter minimum value [Low-order] (CH6) This register stores the high-speed counter minimum value R/W
(CH6).
SD4655 High-speed counter minimum value [High-order] (CH6)
SD4656 High-speed counter pulse density [Low-order] (CH6) This register stores the high-speed counter pulse density (CH6). R/W
SD4657 High-speed counter pulse density [High-order] (CH6)
SD4658 High-speed counter rotation speed [Low-order] (CH6) This register stores the high-speed counter rotation speed (CH6). R/W
SD4659 High-speed counter rotation speed [High-order] (CH6)
SD4660 High-speed counter preset control switch (CH6) This register stores the high-speed counter preset control switch R/W
(CH6).
SD4662 High-speed counter preset value [Low-order] (CH6) This register stores the high-speed counter preset value (CH6). R/W
SD4663 High-speed counter preset value [High-order] (CH6)
SD4664 High-speed counter ring length [Low-order] (CH6) This register stores the high-speed counter ring length (CH6). R/W
SD4665 High-speed counter ring length [High-order] (CH6)
SD4666 High-speed counter measurement-unit time [Low-order] This register stores the high-speed counter measurement-unit R/W
(CH6) time (CH6).
SD4667 High-speed counter measurement-unit time [High-order]
(CH6)
SD4668 High-speed counter number of pulses per rotation [Low- This register stores the high-speed counter number of pulses per R/W
order] (CH6) rotation (CH6).
SD4669 High-speed counter number of pulses per rotation [High-
order] (CH6)
SD4680 High-speed counter current value [Low-order] (CH7) This register stores the high-speed counter current value (CH7). R/W
SD4681 High-speed counter current value [High-order] (CH7)
SD4682 High-speed counter maximum value [Low-order] (CH7) This register stores the high-speed counter maximum value R/W
(CH7).
SD4683 High-speed counter maximum value [High-order] (CH7)
SD4684 High-speed counter minimum value [Low-order] (CH7) This register stores the high-speed counter minimum value R/W
(CH7).
SD4685 High-speed counter minimum value [High-order] (CH7)
SD4686 High-speed counter pulse density [Low-order] (CH7) This register stores the high-speed counter pulse density (CH7). R/W
SD4687 High-speed counter pulse density [High-order] (CH7)
SD4688 High-speed counter rotation speed [Low-order] (CH7) This register stores the high-speed counter rotation speed (CH7). R/W
SD4689 High-speed counter rotation speed [High-order] (CH7)
SD4690 High-speed counter preset control switch (CH7) This register stores the high-speed counter preset control switch R/W
(CH7).
SD4692 High-speed counter preset value [Low-order] (CH7) This register stores the high-speed counter preset value (CH7). R/W
SD4693 High-speed counter preset value [High-order] (CH7)
SD4694 High-speed counter ring length [Low-order] (CH7) This register stores the high-speed counter ring length (CH7). R/W
SD4695 High-speed counter ring length [High-order] (CH7)
SD4696 High-speed counter measurement-unit time [Low-order] This register stores the high-speed counter measurement-unit R/W
(CH7) time (CH7).
SD4697 High-speed counter measurement-unit time [High-order]
(CH7)
SD4698 High-speed counter number of pulses per rotation [Low- This register stores the high-speed counter number of pulses per R/W
order] (CH7) rotation (CH7).
SD4699 High-speed counter number of pulses per rotation [High-
order] (CH7)
SD4710 High-speed counter current value [Low-order] (CH8) This register stores the high-speed counter current value (CH8). R/W
SD4711 High-speed counter current value [High-order] (CH8)
SD4712 High-speed counter maximum value [Low-order] (CH8) This register stores the high-speed counter maximum value R/W
SD4713 High-speed counter maximum value [High-order] (CH8) (CH8).
APPENDIX
250 Appendix 2 Special Register List
No. Name Description R/W
SD4714 High-speed counter minimum value [Low-order] (CH8) This register stores the high-speed counter minimum value R/W
SD4715 High-speed counter minimum value [High-order] (CH8)
(CH8).
A
SD4716 High-speed counter pulse density [Low-order] (CH8) This register stores the high-speed counter pulse density (CH8). R/W
SD4717 High-speed counter pulse density [High-order] (CH8)
SD4718 High-speed counter rotation speed [Low-order] (CH8) This register stores the high-speed counter rotation speed (CH8). R/W
SD4719 High-speed counter rotation speed [High-order] (CH8)
SD4720 High-speed counter preset control switch (CH8) This register stores the high-speed counter preset control switch R/W
(CH8).
SD4722 High-speed counter preset value [Low-order] (CH8) This register stores the high-speed counter preset value (CH8). R/W
SD4723 High-speed counter preset value [High-order] (CH8)
SD4724 High-speed counter ring length [Low-order] (CH8) This register stores the high-speed counter ring length (CH8). R/W
SD4725 High-speed counter ring length [High-order] (CH8)
SD4726 High-speed counter measurement-unit time [Low-order] This register stores the high-speed counter measurement-unit R/W
(CH8) time (CH8).
SD4727 High-speed counter measurement-unit time [High-order]
(CH8)
SD4728 High-speed counter number of pulses per rotation [Low- This register stores the high-speed counter number of pulses per R/W
order] (CH8) rotation (CH8).
SD4729 High-speed counter number of pulses per rotation [High-
order] (CH8)
SD4982 High-speed comparison table (high-speed compare This register stores the high-speed comparison table (high-speed R/W
instruction) error code compare instruction) error code.
SD5000 Multi-point output high-speed comparison table This register stores the multi-point output high-speed comparison R
comparison number table comparison number.
SD5020 Pulse width measurement rising ring counter value [Low- This register stores the pulse width measurement rising ring R/W
order] (CH1) counter value (CH1).
SD5021 Pulse width measurement rising ring counter value [High-
order] (CH1)
SD5022 Pulse width measurement falling ring counter value [Low- This register stores the pulse width measurement falling ring R/W
order] (CH1) counter value (CH1).
SD5023 Pulse width measurement falling ring counter value [High-
order] (CH1)
SD5024 Pulse width measurement latest value [Low-order] (CH1) This register stores the pulse width measurement latest value R/W
(CH1).
SD5025 Pulse width measurement latest value [High-order] (CH1)
SD5026 Pulse width measurement maximum value [Low-order] This register stores the pulse width measurement maximum R/W
(CH1) value (CH1).
SD5027 Pulse width measurement maximum value [High-order]
(CH1)
SD5028 Pulse width measurement minimum value [Low-order] This register stores the pulse width measurement minimum value R/W
(CH1) (CH1).
SD5029 Pulse width measurement minimum value [High-order]
(CH1)
SD5030 Pulse width measurement cycle latest value [Low-order] This register stores the pulse width measurement cycle latest R/W
(CH1) value (CH1).
SD5031 Pulse width measurement cycle latest value [High-order]
(CH1)
SD5032 Pulse width measurement cycle maximum value [Low- This register stores the pulse width measurement cycle maximum R/W
order] (CH1) value (CH1).
SD5033 Pulse width measurement cycle maximum value [High-
order] (CH1)
SD5034 Pulse width measurement cycle minimum value [Low- This register stores the pulse width measurement cycle minimum R/W
order] (CH1) value (CH1).
SD5035 Pulse width measurement cycle minimum value [High-
order] (CH1)
SD5040 Pulse width measurement rising ring counter value [Low- This register stores the pulse width measurement rising ring R/W
order] (CH2) counter value (CH2).
SD5041 Pulse width measurement rising ring counter value [High-
order] (CH2)
APPENDIX
Appendix 2 Special Register List 251
No. Name Description R/W
SD5042 Pulse width measurement falling ring counter value [Low- This register stores the pulse width measurement falling ring R/W
order] (CH2) counter value (CH2).
SD5043 Pulse width measurement falling ring counter value [High-
order] (CH2)
SD5044 Pulse width measurement latest value [Low-order] (CH2) This register stores the pulse width measurement latest value R/W
SD5045 Pulse width measurement latest value [High-order] (CH2) (CH2).
SD5046 Pulse width measurement maximum value [Low-order] This register stores the pulse width measurement maximum R/W
(CH2) value (CH2).
SD5047 Pulse width measurement maximum value [High-order]
(CH2)
SD5048 Pulse width measurement minimum value [Low-order] This register stores the pulse width measurement minimum value R/W
(CH2) (CH2).
SD5049 Pulse width measurement minimum value [High-order]
(CH2)
SD5050 Pulse width measurement cycle latest value [Low-order] This register stores the pulse width measurement cycle latest R/W
(CH2) value (CH2).
SD5051 Pulse width measurement cycle latest value [High-order]
(CH2)
SD5052 Pulse width measurement cycle maximum value [Low- This register stores the pulse width measurement cycle maximum R/W
order] (CH2) value (CH2).
SD5053 Pulse width measurement cycle maximum value [High-
order] (CH2)
SD5054 Pulse width measurement cycle minimum value [Low- This register stores the pulse width measurement cycle minimum R/W
order] (CH2) value (CH2).
SD5055 Pulse width measurement cycle minimum value [High-
order] (CH2)
SD5060 Pulse width measurement rising ring counter value [Low- This register stores the pulse width measurement rising ring R/W
order] (CH3) counter value (CH3).
SD5061 Pulse width measurement rising ring counter value [High-
order] (CH3)
SD5062 Pulse width measurement falling ring counter value [Low- This register stores the pulse width measurement falling ring R/W
order] (CH3) counter value (CH3).
SD5063 Pulse width measurement falling ring counter value [High-
order] (CH3)
SD5064 Pulse width measurement latest value [Low-order] (CH3) This register stores the pulse width measurement latest value R/W
(CH3).
SD5065 Pulse width measurement latest value [High-order] (CH3)
SD5066 Pulse width measurement maximum value [Low-order] This register stores the pulse width measurement maximum R/W
(CH3) value (CH3).
SD5067 Pulse width measurement maximum value [High-order]
(CH3)
SD5068 Pulse width measurement minimum value [Low-order] This register stores the pulse width measurement minimum value R/W
(CH3) (CH3).
SD5069 Pulse width measurement minimum value [High-order]
(CH3)
SD5070 Pulse width measurement cycle latest value [Low-order] This register stores the pulse width measurement cycle latest R/W
(CH3) value (CH3).
SD5071 Pulse width measurement cycle latest value [High-order]
(CH3)
SD5072 Pulse width measurement cycle maximum value [Low- This register stores the pulse width measurement cycle maximum R/W
order] (CH3) value (CH3).
SD5073 Pulse width measurement cycle maximum value [High-
order] (CH3)
SD5074 Pulse width measurement cycle minimum value [Low- This register stores the pulse width measurement cycle minimum R/W
order] (CH3) value (CH3).
SD5075 Pulse width measurement cycle minimum value [High-
order] (CH3)
SD5080 Pulse width measurement rising ring counter value [Low- This register stores the pulse width measurement rising ring R/W
order] (CH4) counter value (CH4).
SD5081 Pulse width measurement rising ring counter value [High-
order] (CH4)
APPENDIX
252 Appendix 2 Special Register List
No. Name Description R/W
SD5082 Pulse width measurement falling ring counter value [Low- This register stores the pulse width measurement falling ring R/W
SD5083
order] (CH4)
Pulse width measurement falling ring counter value [High-
counter value (CH4).
A
order] (CH4)
SD5084 Pulse width measurement latest value [Low-order] (CH4) This register stores the pulse width measurement latest value R/W
SD5085 Pulse width measurement latest value [High-order] (CH4) (CH4).
SD5086 Pulse width measurement maximum value [Low-order] This register stores the pulse width measurement maximum R/W
(CH4) value (CH4).
SD5087 Pulse width measurement maximum value [High-order]
(CH4)
SD5088 Pulse width measurement minimum value [Low-order] This register stores the pulse width measurement minimum value R/W
(CH4) (CH4).
SD5089 Pulse width measurement minimum value [High-order]
(CH4)
SD5090 Pulse width measurement cycle latest value [Low-order] This register stores the pulse width measurement cycle latest R/W
(CH4) value (CH4).
SD5091 Pulse width measurement cycle latest value [High-order]
(CH4)
SD5092 Pulse width measurement cycle maximum value [Low- This register stores the pulse width measurement cycle maximum R/W
order] (CH4) value (CH4).
SD5093 Pulse width measurement cycle maximum value [High-
order] (CH4)
SD5094 Pulse width measurement cycle minimum value [Low- This register stores the pulse width measurement cycle minimum R/W
order] (CH4) value (CH4).
SD5095 Pulse width measurement cycle minimum value [High-
order] (CH4)
SD5300 PWM pulse output number [Low-order] (CH1) This register stores the PWM pulse output number (CH1). R/W
SD5301 PWM pulse output number [High-order] (CH1)
SD5302 PWM pulse width [Low-order] (CH1) This register stores the PWM pulse width (CH1). R/W
SD5303 PWM pulse width [High-order] (CH1)
SD5304 PWM cycle [Low-order] (CH1) This register stores the PWM cycle (CH1). R/W
SD5305 PWM cycle [High-order] (CH1)
SD5306 PWM Number of output pulses current value monitor This register stores the PWM pulse output number current value R
[Low-order] (CH1) (CH1).
SD5307 PWM Number of output pulses current value monitor
[High-order] (CH1)
SD5316 PWM pulse output number [Low-order] (CH2) This register stores the PWM pulse output number (CH2). R/W
SD5317 PWM pulse output number [High-order] (CH2)
SD5318 PWM pulse width [Low-order] (CH2) This register stores the PWM pulse width (CH2). R/W
SD5319 PWM pulse width [High-order] (CH2)
SD5320 PWM cycle [Low-order] (CH2) This register stores the PWM cycle (CH2). R/W
SD5321 PWM cycle [High-order] (CH2)
SD5322 PWM Number of output pulses current value monitor This register stores the PWM pulse output number current value R
[Low-order] (CH2) (CH2).
SD5323 PWM Number of output pulses current value monitor
[High-order] (CH2)
SD5332 PWM pulse output number [Low-order] (CH3) This register stores the PWM pulse output number (CH3). R/W
SD5333 PWM pulse output number [High-order] (CH3)
SD5334 PWM pulse width [Low-order] (CH3) This register stores the PWM pulse width (CH3). R/W
SD5335 PWM pulse width [High-order] (CH3)
SD5336 PWM cycle [Low-order] (CH3) This register stores the PWM cycle (CH3). R/W
SD5337 PWM cycle [High-order] (CH3)
SD5338 PWM Number of output pulses current value monitor This register stores the PWM pulse output number current value R
[Low-order] (CH3) (CH3).
SD5339 PWM Number of output pulses current value monitor
[High-order] (CH3)
APPENDIX
Appendix 2 Special Register List 253
No. Name Description R/W
SD5348 PWM pulse output number [Low-order] (CH4) This register stores the PWM pulse output number (CH4). R/W
SD5349 PWM pulse output number [High-order] (CH4)
SD5350 PWM pulse width [Low-order] (CH4) This register stores the PWM pulse width (CH4). R/W
SD5351 PWM pulse width [High-order] (CH4)
SD5352 PWM cycle [Low-order] (CH4) This register stores the PWM cycle (CH4). R/W
SD5353 PWM cycle [High-order] (CH4)
SD5354 PWM Number of output pulses current value monitor This register stores the PWM pulse output number current value R
[Low-order] (CH4) (CH4).
SD5355 PWM Number of output pulses current value monitor
[High-order] (CH4)
SD5500 Built-in positioning current address (user unit) [Low-order] This register stores the current address (user unit) of built-in R/W
(axis 1) positioning (axis 1).
SD5501 Built-in positioning current address (user unit) [High-order]
(axis 1)
SD5502 Built-in positioning current address (pulse unit) [Low- This register stores the current address (pulse unit) of built-in R/W
order] (axis 1) positioning (axis 1).
SD5503 Built-in positioning current address (pulse unit) [High-
order] (axis 1)
SD5504 Built-in positioning current speed (user unit) [Low-order] This register stores the current speed of built-in positioning (axis R
(axis 1) 1).
SD5505 Built-in positioning current speed (user unit) [High-order]
(axis 1)
SD5506 Built-in positioning execution table number (axis 1) This register stores the execution table number of built-in R
positioning (axis 1).
SD5510 Built-in positioning error code (axis 1) This register stores the error code of built-in positioning (axis 1). R/W
SD5511 Built-in positioning error table number (axis 1) This register stores the error table number of built-in positioning R/W
(axis 1).
SD5516 Built-in positioning maximum speed [Low-order] (axis 1) This register stores the maximum speed of built-in positioning R/W
(axis 1).
SD5517 Built-in positioning maximum speed [High-order] (axis 1)
SD5518 Built-in positioning bias speed [Low-order] (axis 1) This register stores the bias speed of built-in positioning (axis 1). R/W
SD5519 Built-in positioning bias speed [High-order] (axis 1)
SD5520 Built-in positioning acceleration time (axis 1) This register stores the acceleration time of built-in positioning R/W
(axis 1).
SD5521 Built-in positioning deceleration time (axis 1) This register stores the deceleration time of built-in positioning R/W
(axis 1).
SD5526 Built-in positioning zero-return speed [Low-order] (axis 1) This register stores the zero-return speed of built-in positioning R/W
(axis 1).
SD5527 Built-in positioning zero-return speed [High-order] (axis 1)
SD5528 Built-in positioning creep speed [Low-order] (axis 1) This register stores the creep speed of built-in positioning (axis R/W
1).
SD5529 Built-in positioning creep speed [High-order] (axis 1)
SD5530 Built-in positioning zero-point address [Low-order] (axis 1) This register stores the zero-point address of built-in positioning R/W
(axis 1).
SD5531 Built-in positioning zero-point address [High-order] (axis 1)
SD5532 Built-in positioning number of zero-point signal for zero This register stores the number of zero-point signal for zero return R/W
return of built-in positioning (axis 1).
SD5533 Built-in positioning zero-return dwell time (axis 1) This register stores the zero-return dwell time of built-in R/W
positioning (axis 1).
SD5540 Built-in positioning current address (user unit) [Low-order] This register stores the current address (user unit) of built-in R/W
(axis 2) positioning (axis 2).
SD5541 Built-in positioning current address (user unit) [High-order]
(axis 2)
SD5542 Built-in positioning current address (pulse unit) [Low- This register stores the current address (pulse unit) of built-in R/W
order] (axis 2) positioning (axis 2).
SD5543 Built-in positioning current address (pulse unit) [High-
order] (axis 2)
SD5544 Built-in positioning current speed (user unit) [Low-order] This register stores the current speed of built-in positioning (axis R
(axis 2) 2).
SD5545 Built-in positioning current speed (user unit) [High-order]
(axis 2)
APPENDIX
254 Appendix 2 Special Register List
No. Name Description R/W
SD5546 Built-in positioning execution table number (axis 2) This register stores the execution table number of built-in R
SD5558 Built-in positioning bias speed [Low-order] (axis 2) This register stores the bias speed of built-in positioning (axis 2). R/W
SD5559 Built-in positioning bias speed [High-order] (axis 2)
SD5560 Built-in positioning acceleration time (axis 2) This register stores the acceleration time of built-in positioning R/W
(axis 2).
SD5561 Built-in positioning deceleration time (axis 2) This register stores the deceleration time of built-in positioning R/W
(axis 2).
SD5566 Built-in positioning zero-return speed [Low-order] (axis 2) This register stores the zero-return speed of built-in positioning R/W
(axis 2).
SD5567 Built-in positioning zero-return speed [High-order] (axis 2)
SD5568 Built-in positioning creep speed [Low-order] (axis 2) This register stores the creep speed of built-in positioning (axis R/W
2).
SD5569 Built-in positioning creep speed [High-order] (axis 2)
SD5570 Built-in positioning zero-point address [Low-order] (axis 2) This register stores the zero-point address of built-in positioning R/W
SD5571 Built-in positioning zero-point address [High-order] (axis 2) (axis 2).
SD5572 Built-in positioning number of zero-point signal for zero This register stores the number of zero-point signal for zero return R/W
return (axis 2) of built-in positioning (axis 2).
SD5573 Built-in positioning zero-return dwell time (axis 2) This register stores the zero-return dwell time of built-in R/W
positioning (axis 2).
SD5580 Built-in positioning current address (user unit) [Low-order] This register stores the current address (user unit) of built-in R/W
(axis 3) positioning (axis 3).
SD5581 Built-in positioning current address (user unit) [High-order]
(axis 3)
SD5582 Built-in positioning current address (pulse unit) [Low- This register stores the current address (pulse unit) of built-in R/W
order] (axis 3) positioning (axis 3).
SD5583 Built-in positioning current address (pulse unit) [High-
order] (axis 3)
SD5584 Built-in positioning current speed (user unit) [Low-order] This register stores the current speed of built-in positioning (axis R
(axis 3) 3).
SD5585 Built-in positioning current speed (user unit) [High-order]
(axis 3)
SD5586 Built-in positioning execution table number (axis 3) This register stores the execution table number of built-in R
positioning (axis 3).
SD5590 Built-in positioning error code (axis 3) This register stores the error code of built-in positioning (axis 3). R/W
SD5591 Built-in positioning error table number (axis 3) This register stores the error table number of built-in positioning R/W
(axis 3).
SD5596 Built-in positioning maximum speed [Low-order] (axis 3) This register stores the maximum speed of built-in positioning R/W
(axis 3).
SD5597 Built-in positioning maximum speed [High-order] (axis 3)
SD5598 Built-in positioning bias speed [Low-order] (axis 3) This register stores the bias speed of built-in positioning (axis 3). R/W
SD5599 Built-in positioning bias speed [High-order] (axis 3)
SD5600 Built-in positioning acceleration time (axis 3) This register stores the acceleration time of built-in positioning R/W
(axis 3).
SD5601 Built-in positioning deceleration time (axis 3) This register stores the deceleration time of built-in positioning R/W
(axis 3).
SD5606 Built-in positioning zero-return speed [Low-order] (axis 3) This register stores the zero-return speed of built-in positioning R/W
(axis 3).
SD5607 Built-in positioning zero-return speed [High-order] (axis 3)
SD5608 Built-in positioning creep speed [Low-order] (axis 3) This register stores the creep speed of built-in positioning (axis R/W
SD5609 Built-in positioning creep speed [High-order] (axis 3) 3).
SD5610 Built-in positioning zero-point address [Low-order] (axis 3) This register stores the zero-point address of built-in positioning R/W
(axis 3).
SD5611 Built-in positioning zero-point address [High-order] (axis 3)
SD5612 Built-in positioning number of zero-point signal for zero This register stores the number of zero-point signal for zero return R/W
return (axis 3) of built-in positioning (axis 3).
APPENDIX
Appendix 2 Special Register List 255
No. Name Description R/W
SD5613 Built-in positioning zero-return dwell time (axis 3) This register stores the zero-return dwell time of built-in R/W
positioning (axis 3).
SD5620 Built-in positioning current address (user unit) [Low-order] This register stores the current address (user unit) of built-in R/W
(axis 4) positioning (axis 4).
SD5621 Built-in positioning current address (user unit) [High-order]
(axis 4)
SD5622 Built-in positioning current address (pulse unit) [Low- This register stores the current address (pulse unit) of built-in R/W
order] (axis 4) positioning (axis 4).
SD5623 Built-in positioning current address (pulse unit) [High-
order] (axis 4)
SD5624 Built-in positioning current speed (user unit) [Low-order] This register stores the current speed of built-in positioning (axis R
(axis 4) 4).
SD5625 Built-in positioning current speed (user unit) [High-order]
(axis 4)
SD5626 Built-in positioning execution table number (axis 4) This register stores the execution table number of built-in R
positioning (axis 4).
SD5630 Built-in positioning error code (axis 4) This register stores the error code of built-in positioning (axis 4). R/W
SD5631 Built-in positioning error table number (axis 4) This register stores the error table number of built-in positioning R/W
(axis 4).
SD5636 Built-in positioning maximum speed [Low-order] (axis 4) This register stores the maximum speed of built-in positioning R/W
SD5637 Built-in positioning maximum speed [High-order] (axis 4) (axis 4).
SD5638 Built-in positioning bias speed [Low-order] (axis 4) This register stores the bias speed of built-in positioning (axis 4). R/W
SD5639 Built-in positioning bias speed [High-order] (axis 4)
SD5640 Built-in positioning acceleration time (axis 4) This register stores the acceleration time of built-in positioning R/W
(axis 4).
SD5641 Built-in positioning deceleration time (axis 4) This register stores the deceleration time of built-in positioning R/W
(axis 4).
SD5646 Built-in positioning zero-return speed [Low-order] (axis 4) This register stores the zero-return speed of built-in positioning R/W
(axis 4).
SD5647 Built-in positioning zero-return speed [High-order] (axis 4)
SD5648 Built-in positioning creep speed [Low-order] (axis 4) This register stores the creep speed of built-in positioning (axis R/W
4).
SD5649 Built-in positioning creep speed [High-order] (axis 4)
SD5650 Built-in positioning zero-point address [Low-order] (axis 4) This register stores the zero-point address of built-in positioning R/W
(axis 4).
SD5651 Built-in positioning zero-point address [High-order] (axis 4)
SD5652 Built-in positioning number of zero-point signal for zero This register stores the number of zero-point signal for zero return R/W
return (axis 4) of built-in positioning (axis 4).
SD5653 Built-in positioning zero-return dwell time (axis 4) This register stores the zero-return dwell time of built-in R/W
positioning (axis 4).
Built-in analog
The special registers for built-in analog are shown below.
R: Read only, R/W: Read/Write
No. Name Description R/W
SD6020 CH1 Digital output value This register stores the digital output value. R
SD6021 CH1 Digital operation value This register stores the digital operation value. R
SD6022 CH1 Analog input voltage monitor This register stores the analog input voltage value. R
SD6023 CH1 Averaging process setting This register stores the averaging process setting. R/W
SD6024 CH1 Time Average/Frequency Average/Moving Average This register stores the time average/frequency average/moving R/W
average.
SD6026 CH1 Maximum value This register stores the maximum value. R
SD6027 CH1 Minimum value This register stores the minimum value. R
SD6028 CH1 Scaling upper limit value This register stores the scaling upper limit value. R/W
SD6029 CH1 Scaling lower limit value This register stores the scaling lower limit value. R/W
SD6030 CH1 Shifting amount to conversion value This register stores the shifting amount of conversion value. R/W
SD6031 CH1 Process alarm upper upper limit value This register stores the process alarm upper upper limit value. R/W
SD6032 CH1 Process alarm upper lower limit value This register stores the process alarm upper lower limit value. R/W
SD6033 CH1 Process alarm lower upper limit value This register stores the process alarm lower upper limit value. R/W
APPENDIX
256 Appendix 2 Special Register List
No. Name Description R/W
SD6034 CH1 Process alarm lower lower limit value This register stores the process alarm lower lower limit value. R/W
SD6058 CH1 Latest alarm code This register stores the latest alarm code. R
A
SD6059 CH1 Latest error code This register stores the latest error code. R
SD6060 Ch2 Digital output value This register stores the digital output value. R
SD6061 CH2 Digital operation value This register stores the digital operation value. R
SD6062 CH2 Analog input voltage monitor This register stores the analog input voltage value. R
SD6063 CH2 Averaging process setting This register stores the averaging process setting. R/W
SD6064 CH2 Time Average/Frequency Average/Moving Average This register stores the time average/frequency average/moving R/W
average.
SD6066 CH2 Maximum value This register stores the maximum value. R
SD6067 CH2 Minimum value This register stores the minimum value. R
SD6068 CH2 Scaling upper limit value This register stores the scaling upper limit value. R/W
SD6069 CH2 Scaling lower limit value This register stores the scaling lower limit value. R/W
SD6070 CH2 Shifting amount to conversion value This register stores the shifting amount of conversion value. R/W
SD6071 CH2 Process alarm upper upper limit value This register stores the process alarm upper upper limit value. R/W
SD6072 CH2 Process alarm upper lower limit value This register stores the process alarm upper lower limit value. R/W
SD6073 CH2 Process alarm lower upper limit value This register stores the process alarm lower upper limit value. R/W
SD6074 CH2 Process alarm lower lower limit value This register stores the process alarm lower lower limit value. R/W
SD6098 CH2 Latest alarm code This register stores the latest alarm code. R
SD6099 CH2 Latest error code This register stores the latest error code. R
SD6180 Digital input value This register stores the digital input value. R/W
SD6181 Digital operation value This register stores the digital operation value. R
SD6182 Analog output voltage monitor This register stores the analog output voltage value. R
SD6183 HOLD/CLEAR setting This register stores the HOLD/CLEAR setting. R/W
SD6184 HOLD setting value This register stores the HOLD setting value. R/W
SD6188 Scaling upper limit value This register stores the scaling upper limit value. R/W
SD6189 Scaling lower limit value This register stores the scaling lower limit value. R/W
SD6190 Input value shift amount This register stores the input value shift amount. R/W
SD6191 Warning output upper limit value This register stores the warning output upper limit value. R/W
SD6192 Warning output lower limit value This register stores the warning output lower limit value. R/W
SD6218 Latest alarm code This register stores the latest alarm code. R
SD6219 Latest error code This register stores the latest error code. R
FX Compatible area
The special registers for FX compatible area are shown below.
R: Read only, R/W: Read/Write
No. Name Description R/W
SD8000 Watchdog timer This register stores the watchdog timer. R/W
SD8001 PLC type and system version This register stores the PLC type and system version. R
SD8005 Battery voltage This register stores the battery voltage. R
SD8006 Low battery voltage This register stores the low battery voltage. R/W
SD8007 Power failure count This register stores the power failure count. R
SD8008 Power failure detection period This register stores the power failure detection period. R/W
When the power supply voltage is 200 V AC, the time can be
change to 10 to 100 ms.
SD8010 Current scan time This register stores the current scan time. R
SD8011 Minimum scan time This register stores the minimum scan time. R
SD8012 Maximum scan time This register stores the maximum scan time. R
SD8013 RTC: Seconds This register stores the seconds data. R
SD8014 RTC: Minute data This register stores the minute data. R
SD8015 RTC: Hour data This register stores the hour data. R
SD8016 RTC: Day data This register stores the day data. R
SD8017 RTC: Month data This register stores the month data. R
APPENDIX
Appendix 2 Special Register List 257
No. Name Description R/W
SD8018 RTC: Year data This register stores the year data. R
SD8019 RTC: Day of week data This register stores the day of week data. R
SD8039 Constant scan duration This register stores the constant scan duration. R/W
SD8040 ON state number 1 This register stores the ON state number 1. R/W
SD8041 ON state number 2 This register stores the ON state number 2. R/W
SD8042 ON state number 3 This register stores the ON state number 3. R/W
SD8043 ON state number 4 This register stores the ON state number 4. R/W
SD8044 ON state number 5 This register stores the ON state number 5. R/W
SD8045 ON state number 6 This register stores the ON state number 6. R/W
SD8046 ON state number 7 This register stores the ON state number 7. R/W
SD8047 ON state number 8 This register stores the ON state number 8. R/W
SD8049 Lowest active Annunciator This register stores the lowest active annunciator. R/W
SD8063 Serial communication error code (ch1) This register stores the serial communication error code (ch1). R
SD8067 Operation error This register stores the error code number of operation error. R
SD8099 High speed ring counter This register stores the high speed ring counter count value. R/W
(units: 0.1 ms)
SD8136 PLSY Output number [Low-order] This register stores the PLSY instruction output pulse number. R
SD8137 PLSY Output number [High-order]
SD8140 PLSY Accumulated number of pulses output [Low-order] This register stores the PLSY instruction accumulated number of R
(axis 1) pulses output (to axis 1).
SD8141 PLSY Accumulated number of pulses output [High-order]
(axis 1)
SD8142 PLSY Accumulated number of pulses output [Low-order] This register stores the PLSY instruction accumulated number of R
(axis 2) pulses output (to axis 2).
SD8143 PLSY Accumulated number of pulses output [High-order]
(axis 2)
SD8152 Error No. of Inverter communication (ch1) This register stores the error code of Inverter communication R
(ch1).
SD8154 Error parameter No. of IVBWR (ch1) This register stores the error parameter No. of IVBWR instruction R
(ch1).
SD8157 Error No. of Inverter communication (ch2) This register stores the error code of Inverter communication R
(ch2).
SD8159 Error parameter No. of IVBWR (ch2) This register stores the error parameter No. of IVBWR instruction R
(ch2).
SD8173 Station number This register stores the station number. R
SD8174 Total number of slave stations This register stores the total number of slave stations. R
SD8175 Refresh range This register stores the refresh range. R
SD8201 Current link scan time This register stores the current link scan time. R
SD8202 Maximum link scan time This register stores the maximum link scan time. R
SD8203 Number of communication error at master station This register stores the number of communication error at master R
station.
SD8204 Number of communication error at slave station No.1 This register stores the number of communication error at slave R
station No.1.
SD8205 Number of communication error at slave station No.2 This register stores the number of communication error at slave R
station No.2.
SD8206 Number of communication error at slave station No.3 This register stores the number of communication error at slave R
station No.3.
SD8207 Number of communication error at slave station No.4 This register stores the number of communication error at slave R
station No.4.
SD8208 Number of communication error at slave station No.5 This register stores the number of communication error at slave R
station No.5.
SD8209 Number of communication error at slave station No.6 This register stores the number of communication error at slave R
station No.6.
SD8210 Number of communication error at slave station No.7 This register stores the number of communication error at slave R
station No.7.
SD8211 Code of communication error at master station This register stores the code of communication error at master R
station.
APPENDIX
258 Appendix 2 Special Register List
No. Name Description R/W
SD8212 Code of communication error at slave station No.1 This register stores the code of communication error at slave R
APPENDIX
Appendix 2 Special Register List 259
No. Name Description R/W
SD8419 Operation mode (ch1) This register stores the operation mode (ch1). R
SD8422 RS2 amount of remaining data (ch2)/MODBUS This register stores the amount of remaining data (ch2)/MODBUS R
communication error code (ch2) communication error code (ch2).
SD8423 RS2 receive data points (ch2)/MODBUS communication This register stores the receive data points (ch2)/MODBUS R
error details (ch2) communication error details (ch2).
SD8425 RS2 receive sum (calculated result) (ch2) This register stores the receive sum (calculated result). R
SD8428 MODBUS communication retry times (ch2) This register stores the MODBUS communication current retry R
times (ch2).
SD8434 RS2 receive sum (received data) (ch2) This register stores the ch2 receive sum (received data). R
SD8435 RS2 receive sum (calculated result) (ch2) This register stores the ch2 receive sum (calculated result). R
SD8436 RS2 send sum (ch2) This register stores the send sum (ch2). R
SD8438 Serial communication error code (ch2) This register stores the serial communication error code (ch2). R
SD8439 Operation mode (ch2) This register stores the operation mode (ch2). R
SD8492 IP address setting [Low-order] This register stores the IP address. R/W
SD8493 IP address setting [High-order]
SD8494 Subnet mask setting [Low-order] This register stores the subnet mask. R/W
SD8495 Subnet mask setting [High-order]
SD8496 Default gateway IP address setting [Low-order] This register stores the default gateway IP address. R/W
SD8497 Default gateway IP address setting [High-order]
SD8498 IP address storage area write error code This register stores error codes if writing to IP address storage R
area is failed.
SD8499 IP address storage area clear error code This register stores error codes if clear to IP address storage area R
is failed.
Serial communication
The special registers for serial communication are shown below.
R: Read only, R/W: Read/Write
No. Name Description R/W
SD8500 Serial communication error code (ch1) This register stores the serial communication error code 1 (ch1). R
SD8501 Serial communication error details (ch1) This register stores the serial communication error details 1 (ch1). R
SD8502 Serial communication setting (ch1) This register stores the serial communication setting (ch1). R
SD8503 Serial communication operational mode (ch1) This register stores the serial communication operational mode 1 R
(ch1).
SD8510 Serial communication error code (ch2) This register stores the serial communication error code 2 (ch2). R
SD8511 Serial communication error details (ch2) This register stores the serial communication error details 2 (ch2). R
SD8512 Serial communication setting (ch2) This register stores the serial communication setting (ch2). R
SD8513 Serial communication operational mode (ch2) This register stores the serial communication operational mode 2 R
(ch2).
SD8520 Serial communication error code (ch3) This register stores the serial communication error code 3 (ch3). R
SD8521 Serial communication error details (ch3) This register stores the serial communication error details 3 (ch3). R
SD8522 Serial communication setting (ch3) This register stores the serial communication setting (ch3). R
SD8523 Serial communication operational mode (ch3) This register stores the serial communication operational mode 3 R
(ch3).
SD8530 Serial communication error code (ch4) This register stores the serial communication error code 4 (ch4). R
SD8531 Serial communication error details (ch4) This register stores the serial communication error details 4 (ch4). R
SD8532 Serial communication setting (ch4) This register stores the serial communication setting (ch4). R
SD8533 Serial communication operational mode (ch4) This register stores the serial communication operational mode 4 R
(ch4).
SD8560 Remaining points of send data (ch1) This register stores the remaining points of send data (ch1). R
SD8561 Receive data points monitor (ch1) This register stores the receive data points monitor (ch1). R
SD8563 Receive sum (received data) (ch1) This register stores the receive sum (received data) (ch1). R
SD8564 Receive sum (received result) (ch1) This register stores the receive sum (received result) (ch1). R
SD8565 Send sum (ch1) This register stores the send sum (ch1). R
SD8570 Remaining points of send data (ch2) This register stores the remaining points of send data (ch2). R
SD8571 Receive data points monitor (ch2) This register stores the receive data points monitor (ch2). R
APPENDIX
260 Appendix 2 Special Register List
No. Name Description R/W
SD8573 Receive sum (received data) (ch2) This register stores the receive sum (received data) (ch2). R
SD8574 Receive sum (received result) (ch2) This register stores the receive sum (received result) (ch2). R
A
SD8575 Send sum (ch2) This register stores the send sum (ch2). R
SD8580 Remaining points of send data (ch3) This register stores the remaining points of send data (ch3). R
SD8581 Receive data points monitor (ch3) This register stores the receive data points monitor (ch3). R
SD8583 Receive sum (received data) (ch3) This register stores the receive sum (received data) (ch3). R
SD8584 Receive sum (received result) (ch3) This register stores the receive sum (received result) (ch3). R
SD8585 Send sum (ch3) This register stores the send sum (ch3). R
SD8590 Remaining points of send data (ch4) This register stores the remaining points of send data (ch4). R
SD8591 Receive data points monitor (ch4) This register stores the receive data points monitor (ch4). R
SD8593 Receive sum (received data) (ch4) This register stores the receive sum (received data) (ch4). R
SD8594 Receive sum (received result) (ch4) This register stores the receive sum (received result) (ch4). R
SD8595 Send sum (ch4) This register stores the send sum (ch4). R
SD8621 Timeout time (ch1) This register stores the timeout time (ch1). R
SD8622 8-bit processing mode (ch1) This register stores the 8-bit processing mode (ch1). R
SD8623 Header 1 and 2 (ch1) This register stores the header 1 and 2 (ch1). R
SD8624 Header 3 and 4 (ch1) This register stores the header 3 and 4 (ch1). R
SD8625 Terminator 1 and 2 (ch1) This register stores the terminator 1 and 2 (ch1). R
SD8626 Terminator 3 and 4 (ch1) This register stores the terminator 3 and 4 (ch1). R
SD8631 Timeout time (ch2) This register stores the timeout time (ch2). R
SD8632 8-bit processing mode (ch2) This register stores the 8-bit processing mode (ch2). R
SD8633 Header 1 and 2 (ch2) This register stores the header 1 and 2 (ch2). R
SD8634 Header 3 and 4 (ch2) This register stores the header 3 and 4 (ch2). R
SD8635 Terminator 1 and 2 (ch2) This register stores the terminator 1 and 2 (ch2). R
SD8636 Terminator 3 and 4 (ch2) This register stores the terminator 3 and 4 (ch2). R
SD8641 Timeout time (ch3) This register stores the timeout time (ch3). R
SD8642 8-bit processing mode (ch3) This register stores the 8-bit processing mode (ch3). R
SD8643 Header 1 and 2 (ch3) This register stores the header 1 and 2 (ch3). R
SD8644 Header 3 and 4 (ch3) This register stores the header 3 and 4 (ch3). R
SD8645 Terminator 1 and 2 (ch3) This register stores the terminator 1 and 2 (ch3). R
SD8646 Terminator 3 and 4 (ch3) This register stores the terminator 3 and 4 (ch3). R
SD8651 Timeout time (ch4) This register stores the timeout time (ch4). R
SD8652 8-bit processing mode (ch4) This register stores the 8-bit processing mode (ch4). R
SD8653 Header 1 and 2 (ch4) This register stores the header 1 and 2 (ch4). R
SD8654 Header 3 and 4 (ch4) This register stores the header 3 and 4 (ch4). R
SD8655 Terminator 1 and 2 (ch4) This register stores the terminator 1 and 2 (ch4). R
SD8656 Terminator 3 and 4 (ch4) This register stores the terminator 3 and 4 (ch4). R
SD8740 Station number setting (ch1) This register stores the station number setting (ch1). R/W
SD8741 Message frame and form (ch1) This register stores the message frame and form (ch1). R
SD8742 Timeout time (ch1) This register stores the timeout time (ch1). R
SD8750 Station number setting (ch2) This register stores the station number setting (ch2). R/W
SD8751 Message frame and form (ch2) This register stores the message frame and form (ch2). R
SD8752 Timeout time (ch2) This register stores the timeout time (ch2). R
SD8760 Station number setting (ch3) This register stores the station number setting (ch3). R/W
SD8761 Message frame and form (ch3) This register stores the message frame and form (ch3). R
SD8762 Timeout time (ch3) This register stores the timeout time (ch3). R
SD8770 Station number setting (ch4) This register stores the station number setting (ch4). R/W
SD8771 Message frame and form (ch4) This register stores the message frame and form (ch4). R
SD8772 Timeout time (ch4) This register stores the timeout time (ch4). R
SD8800 Current retry value (ch1) This register stores the current retry value (ch1). R
SD8810 Current retry value (ch2) This register stores the current retry value (ch2). R
SD8820 Current retry value (ch3) This register stores the current retry value (ch3). R
SD8830 Current retry value (ch4) This register stores the current retry value (ch4). R
APPENDIX
Appendix 2 Special Register List 261
No. Name Description R/W
SD8860 Communication format (ch1) This register stores the communication format (ch1). R
SD8861 Slave node address (ch1) This register stores the host station number (ch1). R
SD8862 Slave response timeout (ch1) This register stores the slave response timeout (ch1). R
SD8863 Turn around delay (ch1) This register stores the broadcast delay (ch1). R
SD8864 Message to message delay (ch1) This register stores the request to request delay (ch1). R
SD8865 Number of retries (ch1) This register stores the number of retries during timeout (ch1). R
SD8870 Communication format (ch2) This register stores the communication format (ch2). R
SD8871 Slave node address (ch2) This register stores the host station number (ch2). R
SD8872 Slave response timeout (ch2) This register stores the slave response timeout (ch2). R
SD8873 Turn around delay (ch2) This register stores the broadcast delay (ch12). R
SD8874 Message to message delay (ch2) This register stores the request to request delay (ch2). R
SD8875 Number of retries (ch2) This register stores the number of retries during timeout (ch2). R
SD8880 Communication format (ch3) This register stores the communication format (ch3). R
SD8881 Slave node address (ch3) This register stores the host station number (ch3). R
SD8882 Slave response timeout (ch3) This register stores the slave response timeout (ch3). R
SD8883 Turn around delay (ch3) This register stores the broadcast delay (ch3). R
SD8884 Message to message delay (ch3) This register stores the request to request delay (ch3). R
SD8885 Number of retries (ch3) This register stores the number of retries during timeout (ch3). R
SD8890 Communication format (ch4) This register stores the communication format (ch4). R
SD8891 Slave node address (ch4) This register stores the host station number (ch4). R
SD8892 Slave response timeout (ch4) This register stores the slave response timeout (ch4). R
SD8893 Turn around delay (ch4) This register stores the broadcast delay (ch4). R
SD8894 Message to message delay (ch4) This register stores the request to request delay (ch4). R
SD8895 Number of retries (ch4) This register stores the number of retries during timeout (ch4). R
SD8921 IVBWR instruction error parameter number (ch1) This register stores the IVBWR instruction error parameter R
number (ch1).
SD8931 IVBWR instruction error parameter number (ch2) This register stores the IVBWR instruction error parameter R
number (ch2).
SD8941 IVBWR instruction error parameter number (ch3) This register stores the IVBWR instruction error parameter R
number (ch3).
SD8951 IVBWR instruction error parameter number (ch4) This register stores the IVBWR instruction error parameter R
number (ch4).
SD8981 Response wait time (ch1) This register stores the response wait time (ch1). R
SD8991 Response wait time (ch2) This register stores the response wait time (ch2). R
SD9001 Response wait time (ch3) This register stores the response wait time (ch3). R
SD9011 Response wait time (ch4) This register stores the response wait time (ch4). R
SD9040 Station number This register stores the station number. R
SD9041 Total number of slave stations This register stores the total number of slave stations. R
SD9043 Current link scan time This register stores the current link scan time. R
SD9044 Maximum link scan time This register stores the maximum link scan time. R
SD9045 Number of communication error at master station This register stores the number of communication error at master R
station.
SD9046 Number of communication error at slave station No.1 This register stores the number of communication error at slave R
station No.1.
SD9047 Number of communication error at slave station No.2 This register stores the number of communication error at slave R
station No.2.
SD9048 Number of communication error at slave station No.3 This register stores the number of communication error at slave R
station No.3.
SD9049 Number of communication error at slave station No.4 This register stores the number of communication error at slave R
station No.4.
SD9050 Number of communication error at slave station No.5 This register stores the number of communication error at slave R
station No.5.
SD9051 Number of communication error at slave station No.6 This register stores the number of communication error at slave R
station No.6.
SD9052 Number of communication error at slave station No.7 This register stores the number of communication error at slave R
station No.7.
APPENDIX
262 Appendix 2 Special Register List
No. Name Description R/W
SD9061 Code of communication error at master station This register stores the code of communication error at master R
Built-in Ethernet
The special registers for built-in Ethernet are shown below.
R: Read only, R/W: Read/Write
No. Name Description R/W
SD10050 Local node IP address [Low-order] This register stores the local node IP address. R
SD10051 Local node IP address [High-order]
SD10060 Subnet mask [Low-order] This register stores the subnet mask. R
SD10061 Subnet mask [High-order]
SD10064 Default gateway IP address [Low-order] This register stores the default gateway IP address. R
SD10065 Default gateway IP address [High-order]
SD10074 Local node MAC address This register stores the local node MAC address (5 and 6 bytes). R
SD10075 Local node MAC address This register stores the local node MAC address (3 and 4 bytes). R
SD10076 Local node MAC address This register stores the local node MAC address (1 and 2 bytes). R
SD10082 Communication speed setting This register stores the communication speed setting. R
SD10084 MELSOFT connection TCP port No. This register stores the MELSOFT connection TCP port No. R
SD10086 MELSOFT direct connection port No. This register stores the MELSOFT direct connection port No. R
SD10130 Connection No.1 latest error code This register stores the connection No.1 latest error code. R
SD10131 Connection No.2 latest error code This register stores the connection No.2 latest error code. R
SD10132 Connection No.3 latest error code This register stores the connection No.3 latest error code. R
SD10133 Connection No.4 latest error code This register stores the connection No.4 latest error code. R
SD10134 Connection No.5 latest error code This register stores the connection No.5 latest error code. R
SD10135 Connection No.6 latest error code This register stores the connection No.6 latest error code. R
SD10136 Connection No.7 latest error code This register stores the connection No.7 latest error code. R
SD10137 Connection No.8 latest error code This register stores the connection No.8 latest error code. R
SD10270 Remote password lock status connection No. 1 to 8 b0: Connection No.1 R
b1: Connection No.2
b2: Connection No.3
b3: Connection No.4
b4: Connection No.5
b5: Connection No.6
b6: Connection No.7
b7: Connection No.8
0: Unlock status/remote password setting none
1: Lock status
APPENDIX
Appendix 2 Special Register List 263
No. Name Description R/W
SD10271 Remote password lock status system port b2: MELSOFT application communication port (TCP) R
b3: MELSOFT direct connection
0: Unlock status/remote password setting none
1: Lock status
SD10320 Connection 1 continuous unlock failure number of times This register stores the connection 1 continuous unlock failure R
number of times.
SD10321 Connection 2 continuous unlock failure number of times This register stores the connection 2 continuous unlock failure R
number of times.
SD10322 Connection 3 continuous unlock failure number of times This register stores the connection 3 continuous unlock failure R
number of times.
SD10323 Connection 4 continuous unlock failure number of times This register stores the connection 4 continuous unlock failure R
number of times.
SD10324 Connection 5 continuous unlock failure number of times This register stores the connection 5 continuous unlock failure R
number of times.
SD10325 Connection 6 continuous unlock failure number of times This register stores the connection 6 continuous unlock failure R
number of times.
SD10326 Connection 7 continuous unlock failure number of times This register stores the connection 7 continuous unlock failure R
number of times.
SD10327 Connection 8 continuous unlock failure number of times This register stores the connection 8 continuous unlock failure R
number of times.
SD10338 MELSOFT communication port (TCP/IP) continuous This register stores the MELSOFT communication port (TCP/IP) R
unlock failure number of times continuous unlock failure number of times.
SD10340 MELSOFT direct connection continuous unlock failure This register stores the MELSOFT direct connection continuous R
number of times unlock failure number of times.
SD10680 Open completion signal b0: Connection No.1 R
b1: Connection No.2
b2: Connection No.3
b3: Connection No.4
b4: Connection No.5
b5: Connection No.6
b6: Connection No.7
b7: Connection No.8
0: Close/Open not completed
1: Open completed
SD10681 Open request signal b0: Connection No.1 R
b1: Connection No.2
b2: Connection No.3
b3: Connection No.4
b4: Connection No.5
b5: Connection No.6
b6: Connection No.7
b7: Connection No.8
0: No open request
1: Open request exists
SD10682 Socket communications receive status signal b0: Connection No.1 R
b1: Connection No.2
b2: Connection No.3
b3: Connection No.4
b4: Connection No.5
b5: Connection No.6
b6: Connection No.7
b7: Connection No.8
0: No data received
1: Data receiving completed
SD10692 Predefined protocol ready 0: R
1: Ready
SD10710 Predefined protocol setting data error information protocol When a protocol setting data error is detected, stores the protocol R
number number where the error was detected.
SD10711 Predefined protocol setting data error information setting 0 is stored if an error is detected in the packet setting or element R
type setting.
1 is stored if an error is detected in the protocol detailed setting.
SD10712 Predefined protocol setting data error information packet When an error is detected in the protocol setting data, stores the R
number packet number that detected the error.
SD10713 Predefined protocol setting data error information Element When an error is detected in the protocol setting data, stores the R
number element number where the error was detected.
APPENDIX
264 Appendix 2 Special Register List
No. Name Description R/W
SD10714 Number of registered predefined protocols Stores the protocol number of the registered protocol setting data. R
SD10722 Predefined protocol registration (1 to 16) Whether protocol setting data is registered or not is stored. R
A
SD10723 Predefined protocol registration (17 to 32)
SD10724 Predefined protocol registration (33 to 48)
SD10725 Predefined protocol registration (49 to 64)
SD10740 Connection No.1 protocol execution status Stores the status of the protocol being executed at connection R
No.1.
0: Unexecuted
1: Waiting for transmission
2: Sending
3: Waiting for data reception
4: Receiving
5: Execution completed
SD10742 Connection No.1 received data verification result (receive Stores the verification results of receive packet No.1. R
packet No.1) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10743 Connection No.1 received data verification result (receive Stores the verification results of receive packet No.2. R
packet No.2) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10744 Connection No.1 received data verification result (receive Stores the verification results of receive packet No.3. R
packet No.3) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10745 Connection No.1 received data verification result (receive Stores the verification results of receive packet No.4. R
packet No.4) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10746 Connection No.1 received data verification result (receive Stores the verification results of receive packet No.5. R
packet No.5) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10747 Connection No.1 received data verification result (receive Stores the verification results of receive packet No.6. R
packet No.6) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10748 Connection No.1 received data verification result (receive Stores the verification results of receive packet No.7. R
packet No.7) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10749 Connection No.1 received data verification result (receive Stores the verification results of receive packet No.8. R
packet No.8) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10750 Connection No.1 received data verification result (receive Stores the verification results of receive packet No.9. R
packet No.9) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10751 Connection No.1 received data verification result (receive Stores the verification results of receive packet No.10. R
packet No.10) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10752 Connection No.1 received data verification result (receive Stores the verification results of receive packet No.11. R
packet No.11) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10753 Connection No.1 received data verification result (receive Stores the verification results of receive packet No.12. R
packet No.12) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10754 Connection No.1 received data verification result (receive Stores the verification results of receive packet No.13. R
packet No.13) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10755 Connection No.1 received data verification result (receive Stores the verification results of receive packet No.14. R
packet No.14) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10756 Connection No.1 received data verification result (receive Stores the verification results of receive packet No.15. R
packet No.15) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10757 Connection No.1 received data verification result (receive Stores the verification results of receive packet No.16. R
packet No.16) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
APPENDIX
Appendix 2 Special Register List 265
No. Name Description R/W
SD10758 Connection No.1 protocol execution count Stores the number of protocol executions in Connection No.1. R
0: Protocol not executed
1 to 65535: Number of executions
SD10759 Connection No.1 protocol cancellation specification Cancels the protocol executed in connection No.1. R/W
0: No cancellation instruction
1: Cancellation request (set by user)
2: Cancellation completed (set by system)
SD10760 Connection No.2 protocol execution status Stores the status of the protocol being executed at connection R
No.2.
0: Unexecuted
1: Waiting for transmission
2: Sending
3: Waiting for data reception
4: Receiving
5: Execution completed
SD10762 Connection No.2 received data verification result (receive Stores the verification results of receive packet No.1. R
packet No.1) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10763 Connection No.2 received data verification result (receive Stores the verification results of receive packet No.2. R
packet No.2) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10764 Connection No.2 received data verification result (receive Stores the verification results of receive packet No.3. R
packet No.3) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10765 Connection No.2 received data verification result (receive Stores the verification results of receive packet No.4. R
packet No.4) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10766 Connection No.2 received data verification result (receive Stores the verification results of receive packet No.5. R
packet No.5) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10767 Connection No.2 received data verification result (receive Stores the verification results of receive packet No.6. R
packet No.6) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10768 Connection No.2 received data verification result (receive Stores the verification results of receive packet No.7. R
packet No.7) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10769 Connection No.2 received data verification result (receive Stores the verification results of receive packet No.8. R
packet No.8) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10770 Connection No.2 received data verification result (receive Stores the verification results of receive packet No.9. R
packet No.9) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10771 Connection No.2 received data verification result (receive Stores the verification results of receive packet No.10. R
packet No.10) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10772 Connection No.2 received data verification result (receive Stores the verification results of receive packet No.11. R
packet No.11) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10773 Connection No.2 received data verification result (receive Stores the verification results of receive packet No.12. R
packet No.12) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10774 Connection No.2 received data verification result (receive Stores the verification results of receive packet No.13. R
packet No.13) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10775 Connection No.2 received data verification result (receive Stores the verification results of receive packet No.14. R
packet No.14) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10776 Connection No.2 received data verification result (receive Stores the verification results of receive packet No.15. R
packet No.15) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10777 Connection No.2 received data verification result (receive Stores the verification results of receive packet No.16. R
packet No.16) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
APPENDIX
266 Appendix 2 Special Register List
No. Name Description R/W
SD10778 Connection No.2 protocol execution count Stores the number of protocol executions in connection No.2. R
0: Protocol not executed
1 to 65535: Number of executions A
SD10779 Connection No.2 protocol cancellation specification Cancels the protocol executed in connection No.2. R/W
0: No cancellation instruction
1: Cancellation request (set by user)
2: Cancellation completed (set by system)
SD10780 Connection No.3 protocol execution status Stores the status of the protocol being executed at connection R
No.3.
0: Unexecuted
1: Waiting for transmission
2: Sending
3: Waiting for data reception
4: Receiving
5: Execution completed
SD10782 Connection No.3 received data verification result (receive Stores the verification results of receive packet No.1. R
packet No.1) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10783 Connection No.3 received data verification result (receive Stores the verification results of receive packet No.2. R
packet No.2) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10784 Connection No.3 received data verification result (receive Stores the verification results of receive packet No.3. R
packet No.3) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10785 Connection No.3 received data verification result (receive Stores the verification results of receive packet No.4. R
packet No.4) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10786 Connection No.3 received data verification result (receive Stores the verification results of receive packet No.5. R
packet No.5) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10787 Connection No.3 received data verification result (receive Stores the verification results of receive packet No.6. R
packet No.6) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10788 Connection No.3 received data verification result (receive Stores the verification results of receive packet No.7. R
packet No.7) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10789 Connection No.3 received data verification result (receive Stores the verification results of receive packet No.8. R
packet No.8) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10790 Connection No.3 received data verification result (receive Stores the verification results of receive packet No.9. R
packet No.9) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10791 Connection No.3 received data verification result (receive Stores the verification results of receive packet No.10. R
packet No.10) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10792 Connection No.3 received data verification result (receive Stores the verification results of receive packet No.11. R
packet No.11) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10793 Connection No.3 received data verification result (receive Stores the verification results of receive packet No.12. R
packet No.12) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10794 Connection No.3 received data verification result (receive Stores the verification results of receive packet No.13. R
packet No.13) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10795 Connection No.3 received data verification result (receive Stores the verification results of receive packet No.14. R
packet No.14) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10796 Connection No.3 received data verification result (receive Stores the verification results of receive packet No.15. R
packet No.15) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10797 Connection No.3 received data verification result (receive Stores the verification results of receive packet No.16. R
packet No.16) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
APPENDIX
Appendix 2 Special Register List 267
No. Name Description R/W
SD10798 Connection No.3 protocol execution count Stores the number of protocol executions in connection No.3. R
0: Protocol not executed
1 to 65535: Number of executions
SD10799 Connection No.3 protocol cancellation specification Cancels the protocol executed in connection No.3. R/W
0: No cancellation instruction
1: Cancellation request (set by user)
2: Cancellation completed (set by system)
SD10800 Connection No.4 protocol execution status Stores the status of the protocol being executed at connection R
No.4.
0: Unexecuted
1: Waiting for transmission
2: Sending
3: Waiting for data reception
4: Receiving
5: Execution completed
SD10802 Connection No.4 received data verification result (receive Stores the verification results of receive packet No.1. R
packet No.1) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10803 Connection No.4 received data verification result (receive Stores the verification results of receive packet No.2. R
packet No.2) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10804 Connection No.4 received data verification result (receive Stores the verification results of receive packet No.3. R
packet No.3) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10805 Connection No.4 received data verification result (receive Stores the verification results of receive packet No.4. R
packet No.4) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10806 Connection No.4 received data verification result (receive Stores the verification results of receive packet No.5. R
packet No.5) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10807 Connection No.4 received data verification result (receive Stores the verification results of receive packet No.6. R
packet No.6) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10808 Connection No.4 received data verification result (receive Stores the verification results of receive packet No.7. R
packet No.7) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10809 Connection No.4 received data verification result (receive Stores the verification results of receive packet No.8. R
packet No.8) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10810 Connection No.4 received data verification result (receive Stores the verification results of receive packet No.9. R
packet No.9) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10811 Connection No.4 received data verification result (receive Stores the verification results of receive packet No.10. R
packet No.10) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10812 Connection No.4 received data verification result (receive Stores the verification results of receive packet No.11. R
packet No.11) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10813 Connection No.4 received data verification result (receive Stores the verification results of receive packet No.12. R
packet No.12) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10814 Connection No.4 received data verification result (receive Stores the verification results of receive packet No.13. R
packet No.13) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10815 Connection No.4 received data verification result (receive Stores the verification results of receive packet No.14. R
packet No.14) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10816 Connection No.4 received data verification result (receive Stores the verification results of receive packet No.15. R
packet No.15) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10817 Connection No.4 received data verification result (receive Stores the verification results of receive packet No.16. R
packet No.16) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
APPENDIX
268 Appendix 2 Special Register List
No. Name Description R/W
SD10818 Connection No.4 protocol execution count Stores the number of protocol executions in connection No.4. R
0: Protocol not executed
1 to 65535: Number of executions A
SD10819 Connection No.4 protocol cancellation specification Cancels the protocol executed in connection No.4. R/W
0: No cancellation instruction
1: Cancellation request (set by user)
2: Cancellation completed (set by system)
SD10820 Connection No.5 protocol execution status Stores the status of the protocol being executed at connection R
No.5.
0: Unexecuted
1: Waiting for transmission
2: Sending
3: Waiting for data reception
4: Receiving
5: Execution completed
SD10822 Connection No.5 received data verification result (receive Stores the verification results of receive packet No.1. R
packet No.1) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10823 Connection No.5 received data verification result (receive Stores the verification results of receive packet No.2. R
packet No.2) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10824 Connection No.5 received data verification result (receive Stores the verification results of receive packet No.3. R
packet No.3) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10825 Connection No.5 received data verification result (receive Stores the verification results of receive packet No.4. R
packet No.4) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10826 Connection No.5 received data verification result (receive Stores the verification results of receive packet No.5. R
packet No.5) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10827 Connection No.5 received data verification result (receive Stores the verification results of receive packet No.6. R
packet No.6) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10828 Connection No.5 received data verification result (receive Stores the verification results of receive packet No.7. R
packet No.7) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10829 Connection No.5 received data verification result (receive Stores the verification results of receive packet No.8. R
packet No.8) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10830 Connection No.5 received data verification result (receive Stores the verification results of receive packet No.9. R
packet No.9) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10831 Connection No.5 received data verification result (receive Stores the verification results of receive packet No.10. R
packet No.10) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10832 Connection No.5 received data verification result (receive Stores the verification results of receive packet No.11. R
packet No.11) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10833 Connection No.5 received data verification result (receive Stores the verification results of receive packet No.12. R
packet No.12) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10834 Connection No.5 received data verification result (receive Stores the verification results of receive packet No.13. R
packet No.13) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10835 Connection No.5 received data verification result (receive Stores the verification results of receive packet No.14. R
packet No.14) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10836 Connection No.5 received data verification result (receive Stores the verification results of receive packet No.15. R
packet No.15) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10837 Connection No.5 received data verification result (receive Stores the verification results of receive packet No.16. R
packet No.16) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
APPENDIX
Appendix 2 Special Register List 269
No. Name Description R/W
SD10838 Connection No.5 protocol execution count Stores the number of protocol executions in connection No.5. R
0: Protocol not executed
1 to 65535: Number of executions
SD10839 Connection No.5 protocol cancellation specification Cancels the protocol executed in connection No.5. R/W
0: No cancellation instruction
1: Cancellation request (set by user)
2: Cancellation completed (set by system)
SD10840 Connection No.6 protocol execution status Stores the status of the protocol being executed at connection R
No.6.
0: Unexecuted
1: Waiting for transmission
2: Sending
3: Waiting for data reception
4: Receiving
5: Execution completed
SD10842 Connection No.6 received data verification result (receive Stores the verification results of receive packet No.1. R
packet No.1) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10843 Connection No.6 received data verification result (receive Stores the verification results of receive packet No.2. R
packet No.2) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10844 Connection No.6 received data verification result (receive Stores the verification results of receive packet No.3. R
packet No.3) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10845 Connection No.6 received data verification result (receive Stores the verification results of receive packet No.4. R
packet No.4) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10846 Connection No.6 received data verification result (receive Stores the verification results of receive packet No.5. R
packet No.5) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10847 Connection No.6 received data verification result (receive Stores the verification results of receive packet No.6. R
packet No.6) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10848 Connection No.6 received data verification result (receive Stores the verification results of receive packet No.7. R
packet No.7) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10849 Connection No.6 received data verification result (receive Stores the verification results of receive packet No.8. R
packet No.8) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10850 Connection No.6 received data verification result (receive Stores the verification results of receive packet No.9. R
packet No.9) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10851 Connection No.6 received data verification result (receive Stores the verification results of receive packet No.10. R
packet No.10) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10852 Connection No.6 received data verification result (receive Stores the verification results of receive packet No.11. R
packet No.11) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10853 Connection No.6 received data verification result (receive Stores the verification results of receive packet No.12. R
packet No.12) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10854 Connection No.6 received data verification result (receive Stores the verification results of receive packet No.13. R
packet No.13) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10855 Connection No.6 received data verification result (receive Stores the verification results of receive packet No.14. R
packet No.14) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10856 Connection No.6 received data verification result (receive Stores the verification results of receive packet No.15. R
packet No.15) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10857 Connection No.6 received data verification result (receive Stores the verification results of receive packet No.16. R
packet No.16) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
APPENDIX
270 Appendix 2 Special Register List
No. Name Description R/W
SD10858 Connection No.6 protocol execution count Stores the number of protocol executions in connection No.6. R
0: Protocol not executed
1 to 65535: Number of executions A
SD10859 Connection No.6 protocol cancellation specification Cancels the protocol executed in connection No.6. R/W
0: No cancellation instruction
1: Cancellation request (set by user)
2: Cancellation completed (set by system)
SD10860 Connection No.7 protocol execution status Stores the status of the protocol being executed at connection R
No.7.
0: Unexecuted
1: Waiting for transmission
2: Sending
3: Waiting for data reception
4: Receiving
5: Execution completed
SD10862 Connection No.7 received data verification result (receive Stores the verification results of receive packet No.1. R
packet No.1) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10863 Connection No.7 received data verification result (receive Stores the verification results of receive packet No.2. R
packet No.2) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10864 Connection No.7 received data verification result (receive Stores the verification results of receive packet No.3. R
packet No.3) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10865 Connection No.7 received data verification result (receive Stores the verification results of receive packet No.4. R
packet No.4) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10866 Connection No.7 received data verification result (receive Stores the verification results of receive packet No.5. R
packet No.5) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10867 Connection No.7 received data verification result (receive Stores the verification results of receive packet No.6. R
packet No.6) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10868 Connection No.7 received data verification result (receive Stores the verification results of receive packet No.7. R
packet No.7) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10869 Connection No.7 received data verification result (receive Stores the verification results of receive packet No.8. R
packet No.8) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10870 Connection No.7 received data verification result (receive Stores the verification results of receive packet No.9. R
packet No.9) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10871 Connection No.7 received data verification result (receive Stores the verification results of receive packet No.10. R
packet No.10) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10872 Connection No.7 received data verification result (receive Stores the verification results of receive packet No.11. R
packet No.11) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10873 Connection No.7 received data verification result (receive Stores the verification results of receive packet No.12. R
packet No.12) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10874 Connection No.7 received data verification result (receive Stores the verification results of receive packet No.13. R
packet No.13) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10875 Connection No.7 received data verification result (receive Stores the verification results of receive packet No.14. R
packet No.14) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10876 Connection No.7 received data verification result (receive Stores the verification results of receive packet No.15. R
packet No.15) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10877 Connection No.7 received data verification result (receive Stores the verification results of receive packet No.16. R
packet No.16) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
APPENDIX
Appendix 2 Special Register List 271
No. Name Description R/W
SD10878 Connection No.7 protocol execution count Stores the number of protocol executions in connection No.7. R
0: Protocol not executed
1 to 65535: Number of executions
SD10879 Connection No.7 protocol cancellation specification Cancels the protocol executed in connection No.7. R/W
0: No cancellation instruction
1: Cancellation request (set by user)
2: Cancellation completed (set by system)
SD10880 Connection No.8 protocol execution status Stores the status of the protocol being executed at connection R
No.8.
0: Unexecuted
1: Waiting for transmission
2: Sending
3: Waiting for data reception
4: Receiving
5: Execution completed
SD10882 Connection No.8 received data verification result (receive Stores the verification results of receive packet No.1. R
packet No.1) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10883 Connection No.8 received data verification result (receive Stores the verification results of receive packet No.2. R
packet No.2) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10884 Connection No.8 received data verification result (receive Stores the verification results of receive packet No.3. R
packet No.3) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10885 Connection No.8 received data verification result (receive Stores the verification results of receive packet No.4. R
packet No.4) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10886 Connection No.8 received data verification result (receive Stores the verification results of receive packet No.5. R
packet No.5) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10887 Connection No.8 received data verification result (receive Stores the verification results of receive packet No.6. R
packet No.6) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10888 Connection No.8 received data verification result (receive Stores the verification results of receive packet No.7. R
packet No.7) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10889 Connection No.8 received data verification result (receive Stores the verification results of receive packet No.8. R
packet No.8) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10890 Connection No.8 received data verification result (receive Stores the verification results of receive packet No.9. R
packet No.9) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10891 Connection No.8 received data verification result (receive Stores the verification results of receive packet No.10. R
packet No.10) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10892 Connection No.8 received data verification result (receive Stores the verification results of receive packet No.11. R
packet No.11) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10893 Connection No.8 received data verification result (receive Stores the verification results of receive packet No.12. R
packet No.12) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10894 Connection No.8 received data verification result (receive Stores the verification results of receive packet No.13. R
packet No.13) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10895 Connection No.8 received data verification result (receive Stores the verification results of receive packet No.14. R
packet No.14) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10896 Connection No.8 received data verification result (receive Stores the verification results of receive packet No.15. R
packet No.15) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
SD10897 Connection No.8 received data verification result (receive Stores the verification results of receive packet No.16. R
packet No.16) Element No. where the verification result did not match (b0 to b7)
The cause of mismatch (verification result code) (b8 to b15)
APPENDIX
272 Appendix 2 Special Register List
No. Name Description R/W
SD10898 Connection No.8 protocol execution count Stores the number of protocol executions in connection No.8. R
0: Protocol not executed
1 to 65535: Number of executions A
SD10899 Connection No.8 protocol cancellation specification Cancels the protocol executed in connection No.8. R/W
0: No cancellation instruction
1: Cancellation request (set by user)
2: Cancellation completed (set by system)
APPENDIX
Appendix 2 Special Register List 273
Appendix 3 Error Code
The CPU module stores error code in special register (SD) upon detection of an error using the self-diagnostics function. The
error details and cause can be identified by checking the error code. The error code can be checked in either of the following
ways.
• Module diagnostics of engineering tool (MELSEC iQ-F FX5 User's Manual (Startup))
• Special register (SD0 (latest self-diagnostics error code), SD10 to SD25 (self-diagnostics error code)) (Page 240
Special Register List)
This section describes errors that may occur in the CPU module and actions to be taken for the errors.
Detailed information
Upon detection of error through self-diagnostics function, the detailed information of the error cause is stored all together. The
following detailed information is added to each error code (up to two types of information are stored for each error code. The
types differ depending on error code.) Detailed information 1 to 2 of the latest error code(s) can be checked with special
register (SD).
Detailed information Item Description
*1
Detailed information 1 Error location information Information on the location in a program
Drive/File information Information on drive names and file names
Parameter information The information for the parameter, such as parameter storage location and parameter
type, is indicated.
System configuration information The information for the system configuration, such as I/O No is indicated.
Frequency information This section describes the information for frequency such as the write frequency into
memory.
Time information The information for the time is indicated.
Detailed information 2 Drive/File information Information on drive names and file names
Annunciator information Information about annunciators
Parameter information The information for the parameter, such as parameter storage location and parameter
type, is indicated.
System configuration information The information for the system configuration, such as I/O No is indicated.
*1 The step No, which is displayed in the program position information, is the step No that is counted from the head of the file. It might be
sometimes different from the step No of the program which is displayed in error jump of engineering tool.
Stop error
If a stop error occurs, the CPU module stops its operation and the operating state will be in STOP. Modules can communicate
with the CPU module even after a stop error occurs in the CPU module.
Continuation error
If a continuation error occurs, the CPU module continues its operation. (The operating state will remain the same.)
APPENDIX
274 Appendix 3 Error Code
How to clear errors
Continuation errors can be cleared. (Page 112 Error Clear)
A
List of error codes
APPENDIX
Appendix 3 Error Code 275
Error Error name Error details and cause Action Detailed Diagnostic
code information timing
1FE5H Module • The I/O numbers of the reserved module • Make sure that the parameters are System At power-on,
configuration specified in the I/O assignment setting of consistent with the connections. configuration at RESET
error the parameters overlap those of other information
modules.
1FE6H Module • The I/O method of the input/output • Make sure that the parameters are System At power-on,
configuration module is different. consistent with the connections. configuration at RESET
error information
1FE7H Module • The type of the CPU module is different. • Make sure that the parameters are System At power-on,
configuration consistent with the connections. configuration at RESET
error information
2003H Module • The model of the module connected is • Make sure the model of the module to be set System At power-on,
configuration different from that of the module set in is consistent with the parameters of the configuration at RESET
error the parameters. module connected. information
2008H Module • The total number of I/O points (excluding • Do not use more than 256 I/O points in System At power-on,
configuration remote I/O) exceeded 256. programs. configuration at RESET
error information
2042H CPU module • The number of input, output, input/ • Use up to 16 input, output, input/output, and System At power-on,
configuration output, and intelligent function modules intelligent function modules. configuration at RESET
error connected is equal to or greater than 17. • Use up to 2 communication adapters. information
• The number of communication adapters • Use up to 4 analog adapters.
connected is equal to or greater than 3. • Use up to 2 extension power supply
• The number of analog adapters modules.
connected is equal to or greater than 5. • Use up to 1 expansion board.
• The number of extension power supply
modules connected is equal to or greater
than 3.
• The number of expansion boards
connected is equal to or greater than 2.
20E0H Invalid module • An unsupported module was detected. • Verify that the version of the CPU module is System At power-on,
detection compatible with the module where the error configuration at RESET
was detected. information
• If the version of the CPU module is correct,
there may be a malfunction in the connected
module. Replace the connected module.
2120H Memory card • An SD memory card error was detected. • Check the connection of the SD memory Drive/file Always
error • The SD memory card may have been card. If the problem persists, there may be a information
removed without the SD memory card malfunction in the SD memory card or CPU
disabled. module.
2121H Memory card • An SD memory card error was detected. • Format the SD memory card. If the problem Drive/file Always
error • The SD memory card may not be persists, there may be a malfunction in the information
correctly formatted. SD memory card or CPU module.
2180H Invalid file • An error was found in the data of the file. • Recreate the file. Drive/file At power-on,
information at RESET, at
STOP
RUN state
21A0H File specification • The file specified in the parameters does • Rewrite the project. Drive/file At power-on,
error not exist. information at RESET, at
Parameter STOP
information RUN state
2220H Parameter error • The contents of the parameters are • Rewrite the project. Parameter At power-on,
corrupted. information at RESET
2221H Parameter error • The parameter set value is out of range. • Modify the parameter set value and rewrite Parameter At power-on,
the project. information at RESET
2222H Parameter error • The parameter set value is out of range. • Modify the parameter set value and rewrite Parameter At power-on,
the project. information at RESET
2241H Parameter error • The module parameter settings and the • Modify the module parameter set value and Parameter At power-on,
(module) target module are different. rewrite the project. information at RESET
2300H Security key • The security key locking the program • Write the correct security key to the CPU Drive/file At power-on,
authentication does not match the security key written module. information at RESET, at
error in the CPU module. STOP
RUN state
APPENDIX
276 Appendix 3 Error Code
Error Error name Error details and cause Action Detailed Diagnostic
code information timing
2301H Security key
authentication
• The program is locked by the security
key, but the security key is not written in
• Write the security key to the CPU module. Drive/file
information
At power-on,
at RESET, at
A
error the CPU module. STOP
RUN state
2302H Security key • The security key written in the CPU • Rewrite the security key to the CPU module. At power-on,
authentication module is corrupted. at RESET, at
error STOP
RUN state
2320H Remote • A module supporting remote passwords • Recheck the remote password parameter System At power-on,
password setting is not connected to the module number setting or module configuration. configuration at RESET
error specified in the remote password information
parameter.
2400H Module • The power of a module connected is • Verify that the connected module is powered System Always
verification error OFF or a connection error has been on. configuration
detected. • Verify that extension cables are correctly information
connected.
• Implement anti-noise measures.
• If there is no problem, there may be a
malfunction in the connected module.
Replace the connected module.
2401H Module • A module was connected during • Avoid connecting a module during operation. System Always
verification error operation. configuration
information
2440H Module major • The communication procedure with a • Verify that extension cables are correctly System At power-on,
error module failed during initial processing. connected. configuration at RESET
• Verify that the version of the CPU module is information
compatible with the module where the error
was detected.
• If the version of the CPU module is correct,
there may be a malfunction in the connected
module. Replace the connected module.
2441H Module major • The communication procedure with a • Review the program and check the contents Error location At instruction
error module failed when an instruction was of the operands used in the applied information execution
executed. instructions. and system
• Verify that the specified buffer memory exists configuration
in the counterpart equipment. information
• Verify that extension cables are correctly
connected.
2500H WDT error • The initial scan time exceeded the set • Recheck the set value of execution monitor Time Always
value of execution monitor time. time or program. information
2501H WDT error • The scan time of the second and • Recheck the set value of execution monitor Time Always
subsequent scans exceeded the set time or program. information
value of execution monitor time.
2522H Invalid interrupt • An interrupt request was detected from a • Correctly set the interrupt pointer for module System At interrupt
module that does not have an interrupt interrupt. configuration occurrence
pointer specified in the parameters. information
2801H Module • Verify that the module with the specified • Specify the correct module number. Error location At instruction
specification module number exists. information execution
error and system
configuration
information
2820H Device • A device used as an instruction operand • Check the device range and modify the Error location At power-on,
specification is outside the allowable device range. program. information at RESET, at
error instruction
execution
2821H Device • There are duplicate devices used as an • Check the range of devices used by each Error location At instruction
specification instruction operand. operand and modify the program. information execution
error
2822H Device • A device or modification that cannot be • Check the usage of the instruction and Error location At power-on,
specification used as an instruction operand is used. modify the program. information at RESET
error
APPENDIX
Appendix 3 Error Code 277
Error Error name Error details and cause Action Detailed Diagnostic
code information timing
2823H Device • Verify that the specified module has • Review the program or check the contents of Error location At instruction
specification buffer memory. the operands used in applied instructions. information execution
error • Check the buffer memory range of the • Verify that the specified buffer memory exists
specified module. in the counterpart equipment.
• Verify that the size specified from the
specified buffer memory number is within
the buffer memory range.
2840H File name • The program file specified does not exist. • Rewrite the project. Error location At power-on,
specification information at RESET
error
3000H Boot function • An error was found in the boot file. • Replace the boot file in the SD memory card Drive/file At power-on,
execution error with the correct file and turn the PLC power information at RESET
ON again.
3001H Boot function • Formatting failed during booting. • Reset the CPU module, and then execute Drive/file At power-on,
execution error the boot function again. If the same error information at RESET
appears, the hardware of the CPU module
may be malfunctioning. Consult your local
Mitsubishi Electric representative.
3003H Boot function • A mismatch between the file password • Check the file password 32 of the boot Drive/file At power-on,
execution error 32 of the boot source file and that of the source file. information at RESET
boot destination file was detected during
booting.
3004H Boot function • The capacity of the boot destination data • Allow sufficient capacity on the boot Drive/file At power-on,
execution error memory becomes insufficient due to destination or recheck the file size of the information at RESET
booting. boot source.
3005H Boot function • A mismatch between the security • Check the security information of the boot Drive/file At power-on,
execution error information of the boot source file and source file. information at RESET
that of the boot destination file was
detected during booting.
3048H Online change • An error was detected when writing was • Set the CPU module to STOP and write a set At END
error executed during RUN. of project data. instruction
execution
3049H Online change • An error was detected when writing was • Set the CPU module to STOP and write a set At END
error executed during RUN. of project data. instruction
execution
304AH Online change • An error was detected when writing was • Set the CPU module to STOP and write a set At END
error executed during RUN. of project data. instruction
execution
304BH Online change • An error was detected when writing was • Set the CPU module to STOP and write a set At END
error executed during RUN. of project data. instruction
execution
3050H System bus error • Communication with the module failed • Verify that the connected module is powered System At power-on,
due to power discontinuity or the like. on. configuration at RESET
• Verify that extension cables are correctly information
connected.
• Verify that the version of the CPU module is
compatible with the module where the error
was detected.
• Implement anti-noise measures.
• If there is no problem, there may be a
malfunction in the connected module or in
the extension cables.
3056H System bus error • A timeout occurred during • Verify that extension cables are correctly Error location At instruction
communication with a connected module connected. information execution
when an instruction was executed. • Verify that the version of the CPU module is and system
compatible with the module where the error configuration
was detected. information
• Implement anti-noise measures.
• If there is no problem, there may be a
malfunction in the connected module or in
the extension cables.
APPENDIX
278 Appendix 3 Error Code
Error Error name Error details and cause Action Detailed Diagnostic
code information timing
3057H System bus error • A timeout occurred during
communication with a connected module
• Verify that extension cables are correctly
connected.
System
configuration
At END
instruction
A
when an instruction was executed. • Verify that the version of the CPU module is information execution, at
compatible with the module where the error interrupt
was detected. occurrence,
• Implement anti-noise measures. at module
• If there is no problem, there may be a access
malfunction in the connected module or in
the extension cables.
3060H System bus error • A signal error was detected while • Verify that extension cables are correctly Error location At instruction
accessing a connected module when an connected. information execution
instruction was executed. • Verify that the version of the CPU module is
compatible with the module where the error
was detected.
• Implement anti-noise measures.
• If there is no problem, there may be a
malfunction in the connected module or in
the extension cables.
3061H System bus error • A signal error was detected during • Verify that extension cables are correctly System At instruction
system processing. connected. configuration execution
• Verify that the version of the CPU module is information
compatible with the module where the error
was detected.
• Implement anti-noise measures.
• If there is no problem, there may be a
malfunction in the connected module or in
the extension cables.
3142H Program • The temporary area was used • Check the detailed information (error Error location At instruction
structure error incorrectly. location information) of the error by information execution
executing module diagnostics using the
engineering tool, display the error program
(step) by clicking the [Error Jump] button,
and check the program. The step number
displayed in the error location information is
counted from the top of the file. (It may be
different from the step number in the
program displayed by the jump function.)
3200H Program • The device/label assignment does not • If the index modification setting of the PLC Drive/file At power-on,
execution error match the device/label assignment in the parameter is changed, write the parameter information at RESET
program. (After the device assignment and program file to the CPU module at the
was changed, only the parameters were same time.
written to the CPU module.)
3202H Program • The program file is invalid or the file does • Write the correct program file. Drive/file At power-on,
execution error not contain a program. information at RESET
3203H Program • No program file exists. • Write a program file. Drive/file At power-on,
execution error information at RESET
3210H Program • A program with more than 64 k steps • Reduce the number of steps in the program. At power-on,
execution error was written. at RESET
3211H Program • An FB program larger than the internal • Reduce the number of steps in the FB At power-on,
execution error memory capacity was written. program. at RESET
3212H Program • No program setting is found in the • Specify the program to execute in the At power-on,
execution error parameters. parameters. at RESET
3213H Program • The parameter set value is out of range. • To use this parameter, a new version of the Parameter At power-on,
execution error CPU module is required. Replace the CPU information at RESET
module or perform version upgrade.
3302H Pointer setting • Duplicate pointers are programmed. • Modify the program to not use duplicate Error location At power-on,
error pointers in a program. information at RESET
3320H Interrupt pointer • Duplicate interrupt pointers are • Modify the program to not use duplicate Error location At power-on,
setting error programmed. interrupt pointers in a program. information at RESET
3340H FOR-NEXT • The relationship between FOR and • Make sure that FOR and NEXT instructions Error location At END
instruction error NEXT instructions is invalid. are each executed the same number of information instruction
times. In addition, check the FOR syntax for execution
any invalid jump instructions.
APPENDIX
Appendix 3 Error Code 279
Error Error name Error details and cause Action Detailed Diagnostic
code information timing
3341H FOR-NEXT • The relationship between FOR and • Make sure that FOR and NEXT instructions Error location At END
instruction error NEXT instructions is invalid. are each executed the same number of information instruction
times. In addition, check syntax for any execution
invalid jump instructions.
3342H FOR-NEXT • A BREAK instruction was executed • The BREAK instruction must be executed Error location At instruction
instruction error outside the FOR syntax. inside the FOR syntax. information execution
3360H Nesting depth • The number of nesting levels of • Make sure that the number of nesting levels Error location At instruction
error subroutine calls is invalid. is 16 or lower. In addition, check subroutine information execution
programs for any invalid jump instructions.
3361H Nesting depth • The number of nesting levels of FOR • Make sure that the number of nesting levels Error location At instruction
error instructions is invalid. is 16 or lower. In addition, check the FOR information execution
syntax for any invalid jump instructions.
3362H Nesting depth • The number of nesting levels of DI • Make sure that the number of nesting levels Error location At instruction
error instructions is invalid. is 16 or lower. In addition, check the information execution
relationship between DI and EI instructions.
3380H Pointer execution • There is no pointer to the jump • Specify the correct jump destination in the Error location At instruction
error destination. program. information execution
3381H Pointer execution • There is an END, FEND, GOEND, or • The END, FEND, GOEND, and STOP Error location At END
error STOP instruction in a subroutine instructions can be executed only in the information instruction
program. main routine program. execution
3382H Pointer execution • A RET instruction was executed without • Check where there is any invalid jump to Error location At instruction
error a CALL or XCALL instruction executed. subroutine programs. information execution
33D0H Temporary area • The temporary area was used • Check the detailed information (error Error location At instruction
exceeded incorrectly. location information) of the error by information execution
executing module diagnostics using the
engineering tool, display the error program
(step) by clicking the [Error Jump] button,
and check the program. The step number
displayed in the error location information is
counted from the top of the file. (It may be
different from the step number in the
program displayed by the jump function.)
33E0H Program • The relationship between LD/LDI/LDP/ • Rewrite the program file. Error location At power-on,
structure error LDF/LDPI/LDFI and ANB/ORB information at RESET
instructions is invalid.
33E1H Program • The relationship among MPS, MRD, and • Rewrite the program file. Error location At power-on,
structure error MPP is invalid. information at RESET
33E2H Program • An instruction that should start from the • Rewrite the program file. Error location At power-on,
structure error bus line is not connected to the bus line. information at RESET
33E3H Program • The relationship between FOR and • Modify the program so that the mutual Error location At power-on,
structure error NEXT instructions is invalid. relationship between instructions becomes information at RESET
correct.
33E4H Program • The relationship between MC and MCR • Modify the program so that the mutual Error location At power-on,
structure error instructions is invalid. relationship between instructions becomes information at RESET
correct.
33E5H Program • The relationship between STL and • Modify the program so that the mutual Error location At power-on,
structure error RETSTL instructions is invalid. relationship between instructions becomes information at RESET
correct.
33E6H Program • An instruction or interrupt pointer that • Modify the program so that instruction or Error location At power-on,
structure error cannot be used in the main routine pointer use becomes correct. information at RESET
program is used.
33E7H Program • The relationship among a global pointer, • Modify the program so that the mutual Error location At power-on,
structure error interrupt pointer, and return instruction is relationship between pointer and return information at RESET
invalid. instruction becomes correct.
33F1H Program • The program structure of the ST • Check the syntax of the ST language, FB, Error location At END
structure error language, FB, and functions is invalid. and functions. information instruction
execution, at
interrupt
occurrence
33F2H Program • The program structure of the ST • Check the syntax of the ST language, FB, Error location At instruction
structure error language, FB, and functions is invalid. and functions. information execution
APPENDIX
280 Appendix 3 Error Code
Error Error name Error details and cause Action Detailed Diagnostic
code information timing
33F3H Program
structure error
• More than two STL instructions for the
same S number are programmed.
• Recheck the structure of the step ladder. Error location
information
At power-on,
at RESET, at
A
STOP
RUN state
3400H Operation error • A value of 0 was input as a divisor in an • Review the data specified as the divisor in Error location At instruction
applied instruction. the applied instruction. information execution
3401H Operation error • Data that cannot be converted was input • Review the data specified in the applied Error location At instruction
in an applied instruction. instruction. information execution
3402H Operation error • A value of -0, a denormalized number, a • Review the data specified in the applied Error location At instruction
non-number, or ±∞ was input in an instruction. information execution
applied instruction.
3403H Operation error • An overflow occurred in an applied • Review the data specified in the applied Error location At instruction
instruction. instruction. information execution
3405H Operation error • Data that is outside the allowable range • Review the data specified in the applied Error location At instruction
was input in an applied instruction. instruction. information execution
3406H Operation error • The output result is outside the allowable • Review the data specified in the applied Error location At instruction
device range in an applied instruction. instruction. information execution
3420H Operation error • A module access device is specified to • Review the device specified in the BMOV Error location At instruction
both (s) and (d) in a BMOV instruction. instruction. information execution
3500H Operation error • A value outside the allowable range was • Check the contents of the parameters. Error location At instruction
set to the sampling time (TS). information execution
3502H Operation error • A value outside the allowable range was • Check the contents of the parameters. Error location At instruction
set to the input filter constant (). information execution
3503H Operation error • A value outside the allowable range was • Check the contents of the parameters. Error location At instruction
set to the proportional gain (KP). information execution
3504H Operation error • A value outside the allowable range was • Check the contents of the parameters. Error location At instruction
set to the integral time (TI). information execution
3505H Operation error • A value outside the allowable range was • Check the contents of the parameters. Error location At instruction
set to the derivative gain (KD). information execution
3506H Operation error • A value outside the allowable range was • Check the contents of the parameters. Error location At instruction
set to the derivative time (TD). information execution
350AH Operation error • The sampling time is lower than the scan • The operation is continued in the condition Error location At instruction
time. "sampling time (TS) = cyclic time (scan information execution
time)".
350CH Operation error • The variation of measured value is • The operation is continued with the Error location At instruction
greater than the maximum value or lower maximum or minimum value. information execution
than the minimum value.
350DH Operation error • The deviation is greater than the • The operation is continued with the Error location At instruction
maximum value or lower than the maximum or minimum value. information execution
minimum value.
350EH Operation error • The integral result is greater than the • The operation is continued with the Error location At instruction
maximum value or lower than the maximum or minimum value. information execution
minimum value.
350FH Operation error • The derivative value is greater than the • The operation is continued with the Error location At instruction
maximum value or lower than the maximum or minimum value. information execution
minimum value due to the derivative gain
(KP).
3510H Operation error • The derivative result is greater than the • The operation is continued with the Error location At instruction
maximum value or lower than the maximum or minimum value. information execution
minimum value.
3511H Operation error • The PID operation result is greater than • The operation is continued with the Error location At instruction
the maximum value or lower than the maximum or minimum value. information execution
minimum value.
3512H Operation error • The output upper limit value is lower than • Calculation is continued with the output Error location At instruction
the output lower limit value. upper limit value and output lower limit value information execution
transposed.
3513H Operation error • The input variation alarm set value or • The operation is continued without alarm Error location At instruction
output variation alarm set value is output. information execution
outside the allowable range.
APPENDIX
Appendix 3 Error Code 281
Error Error name Error details and cause Action Detailed Diagnostic
code information timing
3514H Operation error • The auto tuning result in the step • Check the measured value and target value, Error location At instruction
response method is abnormal. and then execute auto tuning again. information execution
• The deviation at start of auto tuning is
150 or less.
• The deviation at end of auto tuning is 1/3
or more of the deviation at start of auto
tuning.
3515H Operation error • The operation direction estimated from • Correct the relationship among the target Error location At instruction
the measured value at the start of auto value, output value for auto tuning, and the information execution
tuning in the step response method was measured value, and then execute auto
different from the actual operation tuning again.
direction of the output during auto tuning.
3516H Operation error • Because the set value fluctuated during • Set the sampling time to a value larger than Error location At instruction
auto tuning in the step response method, the output change cycle, or set a larger value information execution
auto tuning was not executed correctly. for the input filter constant. After changing
the setting, execute auto tuning again.
3517H Operation error • The output set value upper limit for auto • Verify that the target setting contents are Error location At instruction
tuning is lower than the lower limit. correct. information execution
3518H Operation error • A value outside the allowable range was • Verify that the target setting contents are Error location At instruction
set to the PV threshold for auto tuning. correct. information execution
3519H Operation error • Operation is not performed normally • Ensure that devices occupied by PID Error location At instruction
because devices occupied by the PID instruction are not overwritten in the information execution
instruction were overwritten. program.
351AH Operation error • The auto tuning time is longer than • Increase the difference (ULV - LLV) between Error location At instruction
necessary. the upper limit and lower limit of the output information execution
value for auto tuning, set a smaller value to
the input filter constant (α), or set a smaller
value to the PV threshold (SHPV) for auto
tuning, and then check the result for
improvement.
350BH Operation error • The variation of the measured value is • Multiply the measured value (PV) by "10" so Error location At instruction
too small compared with the output that the variation of the measured value will information execution
value. increase during auto tuning. The operation is
continued with KP = 32767.
350CH Operation error • The auto tuning time is longer than • Increase the difference (ULV - LLV) between Error location At instruction
necessary. the upper limit and lower limit of the output information execution
value for auto tuning, set a smaller value to
the input filter constant (α), or set a smaller
value to the PV threshold (SHPV) for auto
tuning, and then check the result for
improvement. The operation is continued
with KP = 32767.
350DH Operation error • The auto tuning time is longer than • Increase the difference (ULV - LLV) between Error location At instruction
necessary. the upper limit and lower limit of the output information execution
value for auto tuning, set a smaller value to
the input filter constant (α), or set a smaller
value to the PV threshold (SHPV) for auto
tuning, and then check the result for
improvement. The operation is continued
with KP = 32767.
3580H Operation error • An instruction that cannot be used in an • Modify the program so that no instruction Error location At instruction
interrupt routine program is used. whose use is disabled by the interrupt information execution
routine program is used.
3581H Operation error • Modules subsequent to the bus • Modify the program so that no operand Error location At instruction
conversion module are using an operand whose use is disabled for modules information execution
that cannot be used. subsequent to the bus conversion module is
used.
3582H Operation error • An instruction that cannot be used in an • Modify the program so that no instruction Error location At instruction
interrupt routine program is used. whose use is disabled by the interrupt information execution
routine program is used.
3600H Operation error • The channel specified by instructions • Verify that the parameter setting of the Error location At instruction
using communication functions or built-in channel specified by instructions using information execution
I/O does not have the appropriate communication functions or built-in I/O is
parameter. correct.
APPENDIX
282 Appendix 3 Error Code
Error Error name Error details and cause Action Detailed Diagnostic
code information timing
3611H CH1 pulse width,
period setting
• The value of the special register to set
the pulse width and cycle of the PWM
• Modify the value of the special register and
restart PWM.
Error location
information
At END
instruction
A
error instruction is abnormal. and system execution
configuration
information
3612H CH2 pulse width, • The value of the special register to set • Modify the value of the special register and Error location At END
period setting the pulse width and cycle of the PWM restart PWM. information instruction
error instruction is abnormal. and system execution
configuration
information
3613H CH3 pulse width, • The value of the special register to set • Modify the value of the special register and Error location At END
period setting the pulse width and cycle of the PWM restart PWM. information instruction
error instruction is abnormal. and system execution
configuration
information
3614H CH4 pulse width, • The value of the special register to set • Modify the value of the special register and Error location At END
period setting the pulse width and cycle of the PWM restart PWM. information instruction
error instruction is abnormal. and system execution
configuration
information
3621H Axis 1 limit • Both the forward and reverse limits were • Recheck the relationship between the near- Error location At END
detection error detected at the time of zero return or the point dog and limits. information instruction
limit of the moving direction was detected and system execution, at
after the near-point dog was detected. configuration instruction
information execution
3622H Axis 2 limit • Both the forward and reverse limits were • Recheck the relationship between the near- Error location At END
detection error detected at the time of zero return or the point dog and limits. information instruction
limit of the moving direction was detected and system execution, at
after the near-point dog was detected. configuration instruction
information execution
3623H Axis 3 limit • Both the forward and reverse limits were • Recheck the relationship between the near- Error location At END
detection error detected at the time of zero return or the point dog and limits. information instruction
limit of the moving direction was detected and system execution, at
after the near-point dog was detected. configuration instruction
information execution
3624H Axis 4 limit • Both the forward and reverse limits were • Recheck the relationship between the near- Error location At END
detection error detected at the time of zero return or the point dog and limits. information instruction
limit of the moving direction was detected and system execution, at
after the near-point dog was detected. configuration instruction
information execution
3631H Axis 1 positioning • The 32-bit range was exceeded when • Start the positioning within specifications. Error location At END
address error the unit of the positioning address was information instruction
converted. and system execution, at
• The total transfer distance before and configuration interrupt
after the interrupt of the DVIT instruction information occurrence
or 1-speed positioning with interruption
exceeded 7FFFFFFFH.
• Pulses of 7FFFFFFFH or greater are
needed to specify an absolute address.
3632H Axis 2 positioning • The 32-bit range was exceeded when • Start the positioning within specifications. Error location At END
address error the unit of the positioning address was information instruction
converted. and system execution, at
• The total transfer distance before and configuration interrupt
after the interrupt of the DVIT instruction information occurrence
or 1-speed positioning with interruption
exceeded 7FFFFFFFH.
• Pulses of 7FFFFFFFH or greater are
needed to specify an absolute address.
3633H Axis 3 positioning • The 32-bit range was exceeded when • Start the positioning within specifications. Error location At END
address error the unit of the positioning address was information instruction
converted. and system execution, at
• The total transfer distance before and configuration interrupt
after the interrupt of the DVIT instruction information occurrence
or 1-speed positioning with interruption
exceeded 7FFFFFFFH.
• Pulses of 7FFFFFFFH or greater are
needed to specify an absolute address.
APPENDIX
Appendix 3 Error Code 283
Error Error name Error details and cause Action Detailed Diagnostic
code information timing
3634H Axis 4 positioning • The 32-bit range was exceeded when • Start the positioning within specifications. Error location At END
address error the unit of the positioning address was information instruction
converted. and system execution, at
• The total transfer distance before and configuration interrupt
after the interrupt of the DVIT instruction information occurrence
or 1-speed positioning with interruption
exceeded 7FFFFFFFH.
• Pulses of 7FFFFFFFH or greater are
needed to specify an absolute address.
3641H Axis 1 command • The 32-bit range was exceeded when • Start the positioning within specifications. Error location At instruction
speed error the unit of the command speed was information execution
converted. and system
configuration
information
3642H Axis 2 command • The 32-bit range was exceeded when • Start the positioning within specifications. Error location At instruction
speed error the unit of the command speed was information execution
converted. and system
configuration
information
3643H Axis 3 command • The 32-bit range was exceeded when • Start the positioning within specifications. Error location At instruction
speed error the unit of the command speed was information execution
converted. and system
configuration
information
3644H Axis 4 command • The 32-bit range was exceeded when • Start the positioning within specifications. Error location At instruction
speed error the unit of the command speed was information execution
converted. and system
configuration
information
3651H Axis 1 error stop • When pulses were being output or • Eliminate the error that has caused the stop Error location At END
(deceleration positioning was rising, the PLC and restart the positioning. information instruction
stop) decelerated and stopped the pulse and system execution, at
output due to the limit of the moving configuration instruction
direction or writing during RUN. (The information execution
PLSY instruction stops pulse output
immediately at both limits.)
3652H Axis 2 error stop • When pulses were being output or • Eliminate the error that has caused the stop Error location At END
(deceleration positioning was rising, the PLC and restart the positioning. information instruction
stop) decelerated and stopped the pulse and system execution, at
output due to the limit of the moving configuration instruction
direction or writing during RUN. (The information execution
PLSY instruction stops pulse output
immediately at both limits.)
3653H Axis 3 error stop • When pulses were being output or • Eliminate the error that has caused the stop Error location At END
(deceleration positioning was rising, the PLC and restart the positioning. information instruction
stop) decelerated and stopped the pulse and system execution, at
output due to the limit of the moving configuration instruction
direction or writing during RUN. (The information execution
PLSY instruction stops pulse output
immediately at both limits.)
3654H Axis 4 error stop • When pulses were being output or • Eliminate the error that has caused the stop Error location At END
(deceleration positioning was rising, the PLC and restart the positioning. information instruction
stop) decelerated and stopped the pulse and system execution, at
output due to the limit of the moving configuration instruction
direction or writing during RUN. (The information execution
PLSY instruction stops pulse output
immediately at both limits.)
3661H Axis 1 error stop • When pulses were being output or • Eliminate the error that has caused the stop Error location At END
(immediately positioning was rising, the PLC stopped and restart the positioning. information instruction
stop) the pulse output immediately by the and system execution, at
pulse stop command or detection of the configuration instruction
all outputs disable flag. information execution
3662H Axis 2 error stop • When pulses were being output or • Eliminate the error that has caused the stop Error location At END
(immediately positioning was rising, the PLC stopped and restart the positioning. information instruction
stop) the pulse output immediately by the and system execution, at
pulse stop command or detection of the configuration instruction
all outputs disable flag. information execution
APPENDIX
284 Appendix 3 Error Code
Error Error name Error details and cause Action Detailed Diagnostic
code information timing
3663H Axis 3 error stop
(immediately
• When pulses were being output or
positioning was rising, the PLC stopped
• Eliminate the error that has caused the stop
and restart the positioning.
Error location
information
At END
instruction
A
stop) the pulse output immediately by the and system execution, at
pulse stop command or detection of the configuration instruction
all outputs disable flag. information execution
3664H Axis 4 error stop • When pulses were being output or • Eliminate the error that has caused the stop Error location At END
(immediately positioning was rising, the PLC stopped and restart the positioning. information instruction
stop) the pulse output immediately by the and system execution, at
pulse stop command or detection of the configuration instruction
all outputs disable flag. information execution
3671H Axis 1 positioning • The value of an operand in the table is • Set the correct value to the table. Error location At END
table operand abnormal. (Other than the positioning information instruction
error address and command speed) and system execution, at
configuration interrupt
information occurrence
3672H Axis 2 positioning • The value of an operand in the table is • Set the correct value to the table. Error location At END
table operand abnormal. (Other than the positioning information instruction
error address and command speed) and system execution, at
configuration interrupt
information occurrence
3673H Axis 3 positioning • The value of an operand in the table is • Set the correct value to the table. Error location At END
table operand abnormal. (Other than the positioning information instruction
error address and command speed) and system execution, at
configuration interrupt
information occurrence
3674H Axis 4 positioning • The value of an operand in the table is • Set the correct value to the table. Error location At END
table operand abnormal. (Other than the positioning information instruction
error address and command speed) and system execution, at
configuration interrupt
information occurrence
3681H Axis 1 positioning • Tables which cannot be used together • Observe the restrictions on table operation. Error location At END
table shift error were specified for continuous operation. information instruction
(table • The counterpart axis for the interpolation and system execution, at
specification) operation table was specified. configuration interrupt
information occurrence
3682H Axis 2 positioning • Tables which cannot be used together • Observe the restrictions on table operation. Error location At END
table shift error were specified for continuous operation. information instruction
(table • The counterpart axis for the interpolation and system execution, at
specification) operation table was specified. configuration interrupt
information occurrence
3683H Axis 3 positioning • Tables which cannot be used together • Observe the restrictions on table operation. Error location At END
table shift error were specified for continuous operation. information instruction
(table • The counterpart axis for the interpolation and system execution, at
specification) operation table was specified. configuration interrupt
information occurrence
3684H Axis 4 positioning • Tables which cannot be used together • Observe the restrictions on table operation. Error location At END
table shift error were specified for continuous operation. information instruction
(table • The counterpart axis for the interpolation and system execution, at
specification) operation table was specified. configuration interrupt
information occurrence
3691H Axis 1 positioning • Table shift cannot be completed in time • Set the interval of table shifts to 10 ms or Error location At interrupt
table shift error because one or more tables shifted per greater. information occurrence
(table shift) 10 ms. and system
configuration
information
3692H Axis 2 positioning • Table shift cannot be completed in time • Set the interval of table shifts to 10 ms or Error location At interrupt
table shift error because one or more tables shifted per greater. information occurrence
(table shift) 10 ms. and system
configuration
information
3693H Axis 3 positioning • Table shift cannot be completed in time • Set the interval of table shifts to 10 ms or Error location At interrupt
table shift error because one or more tables shifted per greater. information occurrence
(table shift) 10 ms. and system
configuration
information
APPENDIX
Appendix 3 Error Code 285
Error Error name Error details and cause Action Detailed Diagnostic
code information timing
3694H Axis 4 positioning • Table shift cannot be completed in time • Set the interval of table shifts to 10 ms or Error location At interrupt
table shift error because one or more tables shifted per greater. information occurrence
(table shift) 10 ms. and system
configuration
information
36A1H Axis 1 • The counterpart axis table for the • Set the table of the counterpart axis Error location At instruction
interpolation interpolation operation cannot be found. correctly. information execution
operation error and system
(no counterpart configuration
axis) information
36A2H Axis 2 • The counterpart axis table for the • Set the table of the counterpart axis Error location At instruction
interpolation interpolation operation cannot be found. correctly. information execution
operation error and system
(no counterpart configuration
axis) information
36A3H Axis 3 • The counterpart axis table for the • Set the table of the counterpart axis Error location At instruction
interpolation interpolation operation cannot be found. correctly. information execution
operation error and system
(no counterpart configuration
axis) information
36A4H Axis 4 • The counterpart axis table for the • Set the table of the counterpart axis Error location At instruction
interpolation interpolation operation cannot be found. correctly. information execution
operation error and system
(no counterpart configuration
axis) information
36B1H Axis 1 • Conditions such as limits were satisfied • Verify that the reference axis and Error location At instruction
interpolation to stop pulses in the reference axis or counterpart axis are not in use and the stop information execution
operation error counterpart axis. conditions are not satisfied. and system
(reference/ • Pulses are being output. configuration
counterpart axis information
error)
36B2H Axis 2 • Conditions such as limits were satisfied • Verify that the reference axis and Error location At instruction
interpolation to stop pulses in the reference axis or counterpart axis are not in use and the stop information execution
operation error counterpart axis. conditions are not satisfied. and system
(reference/ • Pulses are being output. configuration
counterpart axis information
error)
36B3H Axis 3 • Conditions such as limits were satisfied • Verify that the reference axis and Error location At instruction
interpolation to stop pulses in the reference axis or counterpart axis are not in use and the stop information execution
operation error counterpart axis. conditions are not satisfied. and system
(reference/ • Pulses are being output. configuration
counterpart axis information
error)
36B4H Axis 4 • Conditions such as limits were satisfied • Verify that the reference axis and Error location At instruction
interpolation to stop pulses in the reference axis or counterpart axis are not in use and the stop information execution
operation error counterpart axis. conditions are not satisfied. and system
(reference/ • Pulses are being output. configuration
counterpart axis information
error)
36F0H ABS sum error • There is a sum check error in ABS data • Check servo wiring and setting. Error location At instruction
read from servo. information execution
and system
configuration
information
3780H High-speed • The number of high-speed comparison • Check the total number of tables in the Error location At END
comparison table tables registered is greater than the parameters and tables registered in the information instruction
maximum excess upper limit. comparison match instruction. execution, at
error instruction
execution
3781H Preset value • The preset value is greater than the ring • Disable the ring length. Error location At instruction
range outside length set value. • Set the preset value within the ring length information execution
error range. and system
configuration
information
APPENDIX
286 Appendix 3 Error Code
Error Error name Error details and cause Action Detailed Diagnostic
code information timing
3C00H Hardware failure • A hardware failure was detected. • Reset the CPU module and perform RUN. If
the same error appears, the hardware of the
System
configuration
At power-on,
at RESET
A
CPU module may be malfunctioning. information
Consult your local Mitsubishi Electric
representative.
3C01H Hardware failure • A hardware failure was detected. • Reset the CPU module and perform RUN. If System At power-on,
the same error appears, the hardware of the configuration at RESET
CPU module may be malfunctioning. information
Consult your local Mitsubishi Electric
representative.
3C02H Hardware failure • A hardware failure was detected. • Reset the CPU module and perform RUN. If System At power-on,
the same error appears, the hardware of the configuration at RESET
CPU module may be malfunctioning. information
Consult your local Mitsubishi Electric
representative.
3C03H Hardware failure • A hardware failure was detected. • Reset the CPU module and perform RUN. If At power-on,
the same error appears, the hardware of the at RESET
CPU module may be malfunctioning.
Consult your local Mitsubishi Electric
representative.
3C0FH Hardware failure • A hardware failure was detected. • Reset the CPU module and perform RUN. If At power-on,
the same error appears, the hardware of the at RESET
CPU module may be malfunctioning.
Consult your local Mitsubishi Electric
representative.
3C20H Memory error • A memory error was detected. • Reset the CPU module and perform RUN. If At power-on,
the same error appears, the hardware of the at RESET
CPU module may be malfunctioning.
Consult your local Mitsubishi Electric
representative.
3C22H Memory error • A memory error was detected. • Reset the CPU module and perform RUN. If At power-on,
the same error appears, the hardware of the at RESET
CPU module may be malfunctioning.
Consult your local Mitsubishi Electric
representative.
3C2FH Memory error • A memory error was detected. • Reset the CPU module and perform RUN. If At power-on,
the same error appears, the hardware of the at RESET
CPU module may be malfunctioning.
Consult your local Mitsubishi Electric
representative.
3E20H Program • A program larger than the internal • Reset the CPU module and perform RUN. If At memory
execution error memory capacity was written. the same error appears, the hardware of the card
CPU module may be malfunctioning. attachment or
Consult your local Mitsubishi Electric detachment
representative.
APPENDIX
Appendix 3 Error Code 287
Error codes of the CPU module (4000H to 4FFFH)
The following table lists the error codes detected by other causes than the self-diagnostics function of the CPU module.
Error Error name Error details and cause Action
code
4000H Common error • Serial communication sum check error. • Connect the serial communication cable correctly.
• Take measures to reduce noise.
4001H Common error • An unsupported request was executed. • Check the command data of SLMP/MC protocol.
• Check the CPU module model name selected in the
engineering tool.
• Check the target CPU module model name.
4002H Common error • An unsupported request was executed. • Check the command data of SLMP/MC protocol.
• Check the CPU module model name selected in the
engineering tool.
• Execute the request again.
• If the same error code is displayed again, the possible
cause is a hardware failure of the CPU module. Please
consult your local Mitsubishi representative.
4005H Common error • The volume of data handled according to the specified • Check the command data of SLMP/MC protocol.
request is too large.
4006H Common error • Initial communication has failed. • When using serial communication, check with the external
device manufacturer for support conditions.
• When using serial communication, check the CPU module
model name selected in the engineering tool.
• When using Ethernet communication, shift the
communication start timing.
4010H CPU module • Since the CPU module is running, the request contents • Execute after setting the CPU module to STOP status.
operation error cannot be executed.
4013H CPU module • Since the CPU module is not in a STOP status, the request • Execute after setting the CPU module to STOP status.
operation error contents cannot be executed.
4021H File related error • The specified drive (memory) does not exist or there is an • Check the specified drive (memory) status.
error. • Back up data in the CPU module, and then initialize the
memory.
4022H File related error • The file with the specified file name or file No. does not • Check the specified file name and file No.
exist.
4025H File related error • The specified file is processing the request from another • Forcibly execute the request. Or, execute the request again
engineering tool. after the processing being performed ends.
4027H File related error • The specified range is larger than the file size. • Check the specified range and access within that range.
4029H File related error • The specified file capacity cannot be obtained. • Review the specified file capacity, and execute the request
again.
402CH File related error • The requested operation cannot be executed currently. • Execute again after a while.
4030H Device • The specified device name cannot be handled. • Check the specified device name.
specification
error
4031H Device • The specified device No. is outside the range. • Check the specified device No.
specification • The CPU module cannot handle the specified device. • Check the device assignment of the CPU module.
error • Check the specified device name.
4040H Intelligent • The request contents cannot be executed in the specified • Check whether the specified module is the intelligent
function module intelligent function module. function module having the buffer memory.
specification
error
4041H Intelligent • The access range exceeds the buffer memory range of the • Check the start address and access number of points and
function module specified intelligent function module. access within the range that exists in the intelligent function
specification module.
error
4042H Intelligent • The specified intelligent function module cannot be • Check that the specified intelligent function module is
function module accessed. operating normally.
specification • Check the specified module for a hardware fault.
error
4043H Intelligent • The intelligent function module does not exist in the • Check the I/O number of the specified intelligent function
function module specified position. module.
specification
error
APPENDIX
288 Appendix 3 Error Code
Error Error name Error details and cause Action
code
4053H Protect error • An error occurred when writing data to the specified drive
(memory).
• Check the specified drive (memory). Or, write data again
after changing the corresponding drive (memory).
A
4060H Online • The online debug function is being executed with another • Finish the operation of the other engineering tool and then
registration error engineering tool. execute the function again.
• If the operation of the other engineering tool is on hold,
resume and finish the operation of the other engineering
tool, and then execute the function again.
4080H Other errors • Request data error. • Check the request data that has been specified.
4081H Other errors • The search target data cannot be detected. • Check the data to be searched.
408BH Other errors • The remote request cannot be executed. • Reexecute after the CPU module is in a status where the
remote request can be executed.
• For remote operation, set the parameter to "Enable remote
reset".
4121H File related error • The specified drive (memory) or file does not exist. • Execute again after checking the specified drive (memory)
or file.
4122H File related error • The specified drive (memory) or file does not exist. • Execute again after checking the specified drive (memory)
or file.
4127H File related error • File password 32 mismatch. • Execute again after checking the file password 32.
4135H File related error • The date/time data of the engineering tool (personal • Execute again after checking the clock setting of the
computer) is out of range. engineering tool (personal computer).
4139H File related error • The size of the specified file has exceeded that of the • Execute again after checking the size of the specified file.
existing file.
413AH File related error • The specified file has exceeded the already existing file • Execute again after checking the size of the specified file.
size.
413BH File related error • The same file was simultaneously accessed from different • Execute again after a while.
engineering tools.
413EH File related error • Operation is disabled for the specified drive (memory). • Execute again after changing the target drive (memory).
4171H CPU module • The port for communication use is in remote password • Execute communication after unlocking the remote
built-in Ethernet locked status. password processing.
port error
4181H CPU module • Transmission to the receiving modules is unsuccessful. • Check the external device operation.
built-in Ethernet • Check the status of the lines, such as cables, hubs and
port error routes, connected to receiving modules.
• Some line packets may be engaged. Retry to communicate
a little while later.
• The receiving module may have no free space in receive
area (TCP window size is small). Check whether the
receiving module processes receive data, or whether the
CPU module does not send unnecessary data.
• Check whether the settings of the subnet mask pattern and
the default router IP address of the CPU module and the
receiving modules are correct, or whether the class of the IP
address is correct.
4183H CPU module • Communication with receiving modules was interrupted. • Check the external device operation.
built-in Ethernet • Check the status of the lines such as cables, hubs and
port error routes connected to receiving modules.
• Error may be generated when connection is forcibly
canceled during communication. In that case, there is no
issue, so clear the error.
419EH CPU module • Connection to the module was unsuccessful or interrupted. • Check the external device operation.
built-in Ethernet • Check the status of the lines such as cables, hubs and
port error routes connected to receiving modules.
• Retry to connect a little while later, if the error occurred in
communication.
41C5H File related error • The specified file does not exist. • Execute again after checking the file.
41C8H File related error • The size of the specified file has exceeded that of the • Execute again after checking the size of the specified file.
existing file. • If the error recurs after re-execution, the file information data
may be corrupted.
• Back up data in the CPU module, and then initialize the
memory.
APPENDIX
Appendix 3 Error Code 289
Error Error name Error details and cause Action
code
41D0H File related error • The specified drive (memory) has no free space. Or, the • Execute again after increasing the free space of the drive
number of files in the directory of the specified drive (memory).
(memory) has exceeded the maximum. • Delete files in the drive (memory), and execute the function
again.
41D8H File related error • The specified file is being accessed. • Execute again after a while.
41DFH File related error • The specified drive (memory) is write-protected. • Execute again after canceling the write protect of the
specified drive (memory).
41EBH File related error • The file name path is too long. • Execute again after shortening the file name path.
41FEH File related error • The SD memory card has not been inserted. • Insert the SD memory card.
• The SD memory card is disabled. • Remove the SD memory card, and insert it again.
• The SD memory card is disabled by SM606 (SD memory • Cancel the SD memory card forced disable instruction.
card forced disable instruction).
4401H Security function • Read password authentication has failed when required. • Set the correct read password and perform password
error • The file password 32 format is incorrect. authentication.
• Access the file with the correct method.
4402H Security function • Write password authentication has failed when required. • Set the correct write password and perform password
error • The file password 32 format is incorrect. authentication.
• Access the file with the correct method.
4403H Security function • Both passwords for reading and for writing do not match the • Set correct passwords for both reading and writing, and
error previous passwords when trying to change, authenticate, or perform password authentication.
delete password.
4408H Security function • File password 32 authentication has failed when required. • Set the correct password and perform password
error authentication again.
440EH Security function • The security function was activated and password • Set a correct password and perform password
error authentication cannot be performed. authentication again after a certain period of time.
• Register/cancel file password 32 was attempted on a file set • It is necessary to delete the whole project to delete the file
to permanent PLC lock. set to permanent PLC lock.
4412H Security function • The security key cannot be registered to the CPU module • Hardware failure of the CPU module. Replace the CPU
error due to failure of the internal memory where the security key module.
is registered. Or, the security key of the CPU module cannot
be deleted.
4416H Security function • Since the CPU module is in lock or unlock operation, the • Request the processing after the lock or unlock operation
error requested processing cannot be performed. ends.
4422H Security function • The access target CPU module does not support the • Change the security key information version of the
error security key information stored in the engineering tool. engineering tool in accordance with the version supported
by the target CPU module.
4423H Security function • The specified target of security key operation is inaccurate. • Set target of security key operation to CPU module.
error
4B00H Target module • An error occurred in the access destination or relay station. • Take corrective action after checking the error that occurred
error • The specified transfer setup (request destination module at the specified access destination or the relay station to the
number) is invalid. accessed station.
• Check the transfer setup (request destination module
number or PLC number) in the request data of SLMP/MC
protocol.
• Check the stop error, and take action.
4B02H Target module • The request is not addressed to the CPU module. • Perform operation to a module that can execute the
error specified function.
4B03H Target module • The specified route is not supported by the specified CPU • Check whether the specified route is supported or not.
error module version. • Check the mounting status of the CPU module.
• The communication target CPU module is not mounted. • Check the stop error, and take action.
APPENDIX
290 Appendix 3 Error Code
Appendix 4 Parameter List
A parameter list is shown below. A
System parameters
Classification-Level 1 Classification-Level 2 Classification-Level 3
I/O Assignment Setting Model Name
Intelligent Module No.
Serial Communication ch
CPU Module Operation at Error Detection
CPU parameters
Classification-Level 1 Classification-Level 2 Classification-Level 3
Name Setting Title Setting Title
Comment Setting Comment
Operation Related Setting RUN Contact Setting RUN
Contact Operation
Remote Reset Setting Remote Reset
Clock Related Setting Time Zone
Comment
Interrupt Settings Fixed Scan Interval Setting Interrupt Setting from Internal Timer
Fixed Scan Execution Mode Setting Fixed Scan Execution Mode
Interrupt Priority Setting from Module Multiple Interrupt
Interrupt Priority
Index Register Save/Restoration
Service Processing Setting Device/Label Access Service Processing Setting Specifying Method
File Setting Initial Value Setting Setting of Device Initial Value Use Or Not
Target Memory
Global Device Initial Value File Name
Memory/Device Setting Device/Label Memory Area Setting Option Battery Setting
Device/Label Memory Area Capacity Setting
Device/Label Memory Area Detailed Setting
Index Register Setting Points Setting
Pointer Setting Total Points
RAS Setting Scan Time Monitoring Time (WDT) Setting Initial Scan
After 2nd Scan
Constant Scan Setting Constant Scan
Error Detections Setting Battery Error
Module Verify Error
CPU Module Operation Setting at Error Detected Instruction Execution Error
Memory Card Error
Module Verify Error
System Configuration Error
LED Display Setting ERROR LED
BATTERY LED
Program Setting Program Setting Program Setting
FB/FUN File Setting FB/FUN File Setting
APPENDIX
Appendix 4 Parameter List 291
Module parameters
Ethernet Port
Classification-Level 1 Classification-Level 2 Classification-Level 3
Basic Settings Own Node Settings IP Address
External Device Configuration External Device Configuration
Application Settings Security Disable Direct Connection with MELSOFT
Do Not Respond to CPU Module Search
■Non-Protocol Communication
Classification-Level 1 Classification-Level 2 Classification-Level 3
Basic Settings Communication Protocol Type Communication Protocol Type
Advanced Settings Data Length
Parity Bit
Stop Bit
Baud Rate
Header
Header Setting Value
Terminator
Terminator Setting Value
Control Mode (RS-232C)
Control Mode (RS-485)
Sum Check Code
Control Procedure
Fixed Setting 8 bit Process Mode 8 Bit Processing Mode
Time-out Period Time-out Period
SM/SD Setting Latch Setting Advanced Settings
8 Bit Process Mode
Time-out Period
Header Setting Value
Terminator Setting Value
FX3 Series Compatibility SM/SD for Compatible
■MC Protocol
Classification-Level 1 Classification-Level 2 Classification-Level 3
Basic Settings Communication Protocol Type Communication Protocol Type
Advanced Settings Data Length
Parity Bit
Stop Bit
Baud Rate
Sum Check Code
Fixed Setting Station Number Station Number
Message Pattern Message Pattern
Time-out Period Time-out Period
APPENDIX
292 Appendix 4 Parameter List
Classification-Level 1 Classification-Level 2 Classification-Level 3
SM/SD Setting Latch Setting Advanced Settings
Station Number
A
Header Setting Value
Time-out Period
FX3 Series Compatibility SM/SD for Compatible
■MODBUS_RTU Communication
Classification-Level 1 Classification-Level 2 Classification-Level 3
Basic Settings Communication Protocol Type Communication Protocol Type
Advanced Settings Parity Bit
Stop Bit
Baud Rate
Fixed Setting Host Station No. Host Station No.
Slave Response Timeout Slave Response Timeout
Broadcast Delay Broadcast Delay
Message to Message Delay Message to Message Delay
Timeout Retry Count Setting Timeout Retry Count Setting
Modbus Device Assigned Modbus Device Assigned Device Assigned
SM/SD Setting Latch Setting Advanced Settings
Host Station No.
Slave Response Timeout
Broadcast Delay
Message to Message Delay
Timeout Retry Count Setting
FX3 Series Compatibility SM/SD for Compatible
■Inverter Communication
Classification-Level 1 Classification-Level 2 Classification-Level 3
Basic Settings Communication Protocol Type Communication Protocol Type
Advanced Settings Data Length
Parity Bit
Stop Bit
Baud Rate
Fixed Setting Response Waiting Time Response Waiting Time
SM/SD Setting Latch Setting Advanced Settings
Response Waiting Time
FX3 Series Compatibility SM/SD for Compatible
■N:N Network
Classification-Level 1 Classification-Level 2 Classification-Level 3
Basic Settings Communication Protocol Type Communication Protocol Type
Fixed Setting Host Station No. Host Station No.
Total Number of Local Station Total Number of Local Station
Refresh Range Refresh Range
Timeout Retry Count Setting Timeout Retry Count Setting
Monitoring Time Monitoring Time
APPENDIX
Appendix 4 Parameter List 293
Classification-Level 1 Classification-Level 2 Classification-Level 3
Link Device Pattern Pattern
Link Device Bit Device
Link Device Word Device
SM/SD Setting Latch Setting Host Station No.
Total Number of Local Station
Refresh Range
Timeout Retry Count Setting
Monitoring Time
FX3 Series Compatibility SM/SD for Compatible
■General/Interrupt/Pulse catch
Classification-Level 1 Classification-Level 2 Classification-Level 3
General/Interrupt/Pulse Catch General/Interrupt/Pulse Catch Setting X0 to X17
APPENDIX
294 Appendix 4 Parameter List
■High Speed Counter
Classification-Level 1 Classification-Level 2 Classification-Level 3
Basic Settings Use/Do Not Use Counter Use/Not Use A
Operation Mode Operation Mode
Pulse Input Mode Pulse Input Mode
Preset Input Preset Input Enable/Disable
Input Logic
Preset Value
Input Comparison Enable/Disable
Control Switch
Enable Input Enable Input Enable/Disable
Input logic
Ring Length Setting Ring Length Enable/Disable
Ring Length
Measurement Unit Time Measurement Unit Time
Pulse No. of per Rotation Pulse No. of per Rotation
High Speed Compare Table Counter CH
Comparison Type
Output Destination Device
Comparison Value 1 Specification Method
Comparison Value 1 Direct
Comparison Value 1 Indirect
Comparison Value 2 Specification Method
Comparison Value 2 Direct
Comparison Value 2 Indirect
Multi-point Output High Speed Compare Enable/Disable
Table
Device
Comparison Value
Output Device
Output Data (HEX)
Table Data/Counter CH/Output Data/Points
Occupied input (X) Explanation 1-Phase 1 Count (S/W Updown Switch) CH1 to 8
1-Phase 1 Count (H/W Updown Switch) CH1 to 8
1-Phase 2 Input CH1 to 8
2 Phase Counts CH1 to 8
Other Specification method for high speed counter Specification method for high speed counter
APPENDIX
Appendix 4 Parameter List 295
■Positioning
Classification-Level 1 Classification-Level 2 Classification-Level 3
Basic Settings Basic Parameters 1 Pulse Output Mode
Output Device (PULSE/CW)
Output Device (SIGN/CCW)
Rotation Direction Setting
Unit Setting
Pulse No. of per Rotation
Movement Amount per Rotation
Position Data Magnification
Basic Parameters 2 Interpolation Speed Specified Method
Max. Speed
Bias Speed
Acceleration Time
Deceleration Time
Detailed Setting Parameter External Start Signal Enable/Disable
External Start Signal Device No.
External Start Signal Logic
Interrupt Input Signal 1 Enable/Disable
Interrupt Input Signal 1 Mode
Interrupt Input Signal 1 Device No.
Interrupt Input Signal 1 Logic
Interrupt Input Signal 2 Logic
OPR Parameters OPR Enable/Disable
OPR Direction
Starting Point Address
Clear Signal Output Enable/Disable
Clear Signal Output Device No.
OPR Dwell Time
Near-point Dog Signal Device No.
Near-point Dog Signal Logic
Zero Signal Device No.
Zero Signal Logic
Zero Signal OPR Zero Signal Counts
Zero Signal Count Start Time
Positioning Data Device
Control Method
Axis to be Interpolated
Positioning Address
Command Speed
Dwell Time
Interrupt Input Signal 2 Device No.
Jump Destination Table No.
M No. for Jump Condition
■PWM
Classification-Level 1 Classification-Level 2 Classification-Level 3
Basic Settings Use PWM Output Use/Not Use
Output Signal Output Signal
Pulse Width/Cycle Unit Pulse Width/Cycle Unit
Output Pulse Logic Output Pulse Logic
Pulse Width Pulse Width
Cycle Cycle
APPENDIX
296 Appendix 4 Parameter List
Input Response Time Setting
Classification-Level 1 Classification-Level 2 Classification-Level 3 A
Input Response Time X0 to X377
APPENDIX
Appendix 4 Parameter List 297
INDEX
A I
Annunciator (F) . . . . . . . . . . . . . . . . . . . . . . . . 206 I/O refresh . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17
Index register setting . . . . . . . . . . . . . . . . . . . . .217
Index registers (Z/LZ) . . . . . . . . . . . . . . . . . . . .217
B
Initial device value . . . . . . . . . . . . . . . . . . . . . . .97
Boot operation . . . . . . . . . . . . . . . . . . . . . . . . 104 Initial execution type program . . . . . . . . . . . . . . .20
Built-in analog. . . . . . . . . . . . . . . . . . . . . . . . . 201 Initial scan time . . . . . . . . . . . . . . . . . . . . . . . . .18
Input (X) . . . . . . . . . . . . . . . . . . . . . . . . . . . . .205
Internal relay (M) . . . . . . . . . . . . . . . . . . . . . . .206
C Interrupt cause . . . . . . . . . . . . . . . . . . . . . . . . .220
Character string constant . . . . . . . . . . . . . . . . . 221 Interrupt pointer (I) . . . . . . . . . . . . . . . . . . . . . .219
Clock function . . . . . . . . . . . . . . . . . . . . . . . . . . 46 Interrupt priority . . . . . . . . . . . . . . . . . . . . . . . .220
Constant . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221 Interrupt program . . . . . . . . . . . . . . . . . . . . . . . .30
Constant scan . . . . . . . . . . . . . . . . . . . . . . . . . 84
Counter (C/LC) . . . . . . . . . . . . . . . . . . . . . . . . 212 L
CPU parameter . . . . . . . . . . . . . . . . . . . . . . . . 291
Label . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .222
Latch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .99
D Latch (1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .99
Data memory . . . . . . . . . . . . . . . . . . . . . . . . . . 37 Latch (2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .99
Data register (D) . . . . . . . . . . . . . . . . . . . . . . . 215 Latch clear . . . . . . . . . . . . . . . . . . . . . . . . . . . .101
Decimal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221 Latch relay (L) . . . . . . . . . . . . . . . . . . . . . . . . .206
Decimal constant (K) . . . . . . . . . . . . . . . . . . . . 221 Link register (W) . . . . . . . . . . . . . . . . . . . . . . . .215
Device initial value . . . . . . . . . . . . . . . . . . . . . . 97 Link relay (B) . . . . . . . . . . . . . . . . . . . . . . . . . .206
Device/label access service processing setting . 107 Link special register (SW) . . . . . . . . . . . . . . . . .215
Device/label memory . . . . . . . . . . . . . . . . . . . . . 37 Link special relay (SB). . . . . . . . . . . . . . . . . . . .208
Low-speed timer . . . . . . . . . . . . . . . . . . . . . . . .209
E
M
END processing . . . . . . . . . . . . . . . . . . . . . . . . 17
Error code . . . . . . . . . . . . . . . . . . . . . . . . . . . 274 Memory card parameter . . . . . . . . . . . . . . . . . .297
Event execution type program . . . . . . . . . . . . . . 25 Memory configuration . . . . . . . . . . . . . . . . . . . . .37
Execution type of program . . . . . . . . . . . . . . . . . 20 Module access device . . . . . . . . . . . . . . . . . . . .216
Module parameter . . . . . . . . . . . . . . . . . . . . . .292
Multiple interrupt . . . . . . . . . . . . . . . . . . . . . . . . .53
F Multiple point output, high-speed comparison table . .134
File password 32 . . . . . . . . . . . . . . . . . . . . . . . 113
File register (R) . . . . . . . . . . . . . . . . . . . . . . . . 218 N
Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Fixed scan execution mode . . . . . . . . . . . . . . . . 23 Nesting (N) . . . . . . . . . . . . . . . . . . . . . . . . . . .218
Fixed scan execution type program . . . . . . . . . . . 21
FX3-compatible high-speed counter . . . . . . . . . 165 O
FX3-compatible pulse catch . . . . . . . . . . . . . . . 188
Online change . . . . . . . . . . . . . . . . . . . . . . . . . .50
Output (Y) . . . . . . . . . . . . . . . . . . . . . . . . . . . .205
G
Global pointer . . . . . . . . . . . . . . . . . . . . . . . . . 219 P
PAUSE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .35
H PID control . . . . . . . . . . . . . . . . . . . . . . . . . . . . .55
Hexadecimal . . . . . . . . . . . . . . . . . . . . . . . . . 221 Pointer (P) . . . . . . . . . . . . . . . . . . . . . . . . . . . .219
Hexadecimal constant (H) . . . . . . . . . . . . . . . . 221 Priority for interrupt cause . . . . . . . . . . . . . . . . .220
High-speed comparison table . . . . . . . . . . . . . . 132 Pulse catch . . . . . . . . . . . . . . . . . . . . . . . . . . .184
High-speed counter . . . . . . . . . . . . . . . . . . . . . 114 Pulse width measurement . . . . . . . . . . . . . . . . .174
High-speed counter (normal mode) . . . . . . . . . . 124 PWM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .193
High-speed counter
(pulse density measurement mode) . . . . . . . . . 126 R
High-speed counter
(rotational speed measurement mode) . . . . . . . 129 Real constant (E) . . . . . . . . . . . . . . . . . . . . . . .221
High-speed timer . . . . . . . . . . . . . . . . . . . . . . 209 Remote operation . . . . . . . . . . . . . . . . . . . . . . . .86
Remote PAUSE . . . . . . . . . . . . . . . . . . . . . . . . .88
298
Remote RESET . . . . . . . . . . . . . . . . . . . . . . . . 89
Remote RUN . . . . . . . . . . . . . . . . . . . . . . . . . . 86
Remote STOP . . . . . . . . . . . . . . . . . . . . . . . . . 86
Retentive timer (ST) . . . . . . . . . . . . . . . . . . . . 209
Routine timer . . . . . . . . . . . . . . . . . . . . . . . . . 209
RUN status. . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
S I
Scan execution type program . . . . . . . . . . . . . . . 21
Scan monitoring function . . . . . . . . . . . . . . . . . . 44
Scan time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Scan time monitoring time setting . . . . . . . . . . . . 44
SD memory card . . . . . . . . . . . . . . . . . . . . . . . . 38
SD memory card forced stop . . . . . . . . . . . . . . 103
Security function . . . . . . . . . . . . . . . . . . . . . . . 113
Security key authentication . . . . . . . . . . . . . . . 113
Special register (SD) . . . . . . . . . . . . . . . . . . . . 215
Special relay (SM) . . . . . . . . . . . . . . . . . . . . . . 215
Stand-by type program . . . . . . . . . . . . . . . . . . . 28
Step relay (S) . . . . . . . . . . . . . . . . . . . . . . . . . 208
STOP status . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Subroutine program . . . . . . . . . . . . . . . . . . . . . 29
System clock . . . . . . . . . . . . . . . . . . . . . . . . . . 49
System device . . . . . . . . . . . . . . . . . . . . . . . . 215
System parameter . . . . . . . . . . . . . . . . . . . . . . 291
T
Time setting . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Time zone . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Timer (T/ST) . . . . . . . . . . . . . . . . . . . . . . . . . . 209
U
User device . . . . . . . . . . . . . . . . . . . . . . . . . . 205
W
Watchdog timer . . . . . . . . . . . . . . . . . . . . . . . . 44
299
REVISIONS
Revision date Revision Description
October 2014 A First Edition
January 2015 B ■Added functions
Fixed scan execution type program, Online change, PID control function, FX3-compatible high-
speed counter function, Routine timer
■Added or modified parts
Section 1.3, 3.1, 3.2, Chapter 4, 7, 8, 9, 12, 13, 17, Section 19.2, Chapter 20, Section 21.2,
Appendix 1, 2, 3, 4
This manual confers no industrial property rights or any rights of any other kind, nor does it confer any patent licenses. Mitsubishi Electric Corporation cannot
be held responsible for any problems involving industrial property rights which may occur as a result of using the contents noted in this manual.
300
WARRANTY
Please confirm the following product warranty details before using this product.
1. Gratis Warranty Term and Gratis Warranty 2. Onerous repair term after discontinuation
Range of production
If any faults or defects (hereinafter "Failure") found to 1) Mitsubishi shall accept onerous product repairs for
be the responsibility of Mitsubishi occurs during use of seven (7) years after production of the product is
the product within the gratis warranty term, the discontinued.
product shall be repaired at no cost via the sales Discontinuation of production shall be notified with
representative or Mitsubishi Service Company. Mitsubishi Technical Bulletins, etc.
However, if repairs are required onsite at domestic or 2) Product supply (including repair parts) is not
overseas location, expenses to send an engineer will available after production is discontinued.
be solely at the customer's discretion. Mitsubishi shall
not be held responsible for any re-commissioning,
3. Overseas service
maintenance, or testing on-site that involves Overseas, repairs shall be accepted by Mitsubishi's
replacement of the failed module. local overseas FA Center. Note that the repair
conditions at each FA Center may differ.
[Gratis Warranty Term] 4. Exclusion of loss in opportunity and
The gratis warranty term of the product shall be for secondary loss from warranty liability
one year after the date of purchase or delivery to a Regardless of the gratis warranty term, Mitsubishi
designated place. Note that after manufacture and shall not be liable for compensation of damages
shipment from Mitsubishi, the maximum distribution caused by any cause found not to be the responsibility
period shall be six (6) months, and the longest gratis of Mitsubishi, loss in opportunity, lost profits incurred
warranty term after manufacturing shall be eighteen to the user or third person by failure of Mitsubishi
(18) months. The gratis warranty term of repair parts products, special damages and secondary damages
shall not exceed the gratis warranty term before whether foreseeable or not, compensation for
repairs. accidents, and compensation for damages to products
other than Mitsubishi products, replacement by the
[Gratis Warranty Range] user, maintenance of on-site equipment, start-up test
run and other tasks.
1) The range shall be limited to normal use within the
usage state, usage methods and usage 5. Changes in product specifications
environment, etc., which follow the conditions and The specifications given in the catalogs, manuals or
precautions, etc., given in the instruction manual, technical documents are subject to change without
user's manual and caution labels on the product. prior notice.
2) Even within the gratis warranty term, repairs shall 6. Product application
be charged for in the following cases. 1) In using the Mitsubishi MELSEC programmable
a) Failure occurring from inappropriate storage or controller, the usage conditions shall be that the
handling, carelessness or negligence by the application will not lead to a major accident even if
user. Failure caused by the user's hardware or any problem or fault should occur in the
software design. programmable controller device, and that backup
b) Failure caused by unapproved modifications, and fail-safe functions are systematically provided
etc., to the product by the user. outside of the device for any problem or fault.
c) When the Mitsubishi product is assembled into
2) The Mitsubishi programmable controller has been
a user's device, Failure that could have been
designed and manufactured for applications in
avoided if functions or structures, judged as
general industries, etc. Thus, applications in which
necessary in the legal safety measures the
the public could be affected such as in nuclear
user's device is subject to or as necessary by
power plants and other power plants operated by
industry standards, had been provided.
d) Failure that could have been avoided if respective power companies, and applications in
consumable parts (battery, backlight, fuse, which a special quality assurance system is
etc.) designated in the instruction manual had required, such as for railway companies or public
been correctly serviced or replaced. service purposes shall be excluded from the
e) Relay failure or output contact failure caused programmable controller applications.
by usage beyond the specified life of contact In addition, applications in which human life or
(cycles). property that could be greatly affected, such as in
f) Failure caused by external irresistible forces aircraft, medical applications, incineration and fuel
such as fires or abnormal voltages, and failure devices, manned transportation, equipment for
caused by force majeure such as earthquakes, recreation and amusement, and safety devices,
lightning, wind and water damage. shall also be excluded from the programmable
g) Failure caused by reasons unpredictable by controller range of applications.
scientific technology standards at time of However, in certain cases, some applications may
shipment from Mitsubishi. be possible, providing the user consults their local
h) Any other failure found not to be the Mitsubishi representative outlining the special
responsibility of Mitsubishi or that admitted not requirements of the project, and providing that all
to be so by the user. parties concerned agree to the special
circumstances, solely at the user's discretion.
301
TRADEMARKS
Microsoft and Windows are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or
other countries.
Ethernet is a trademark of Xerox Corporation.
MODBUS is a registered trademark of Schneider Electric SA.
SD logo and SDHC logo are trademarks or registered trademarks of SD-3C, LLC.
The company name and the product name to be described in this manual are the registered trademarks or trademarks of
each company.
302
Manual number: JY997D55401B
Model: FX5-U-OU-E
Model code: 09R537
When exported from Japan, this manual does not require application to the
Ministry of Economy, Trade and Industry for service transaction permission.
HEAD OFFICE: TOKYO BUILDING, 2-7-3 MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN
HIMEJI WORKS: 840, CHIYODA MACHI, HIMEJI, JAPAN