Precautions On Programming; Errors Common To Instructions; Checking The Ranges Of Instruction Runtime Devices And Labels - Mitsubishi MELSEC iQ-F FX5 series Programming Manual

Melsec iq-f fx5 series
Hide thumbs Also See for MELSEC iQ-F FX5 series:
Table of Contents

Advertisement

1.4

Precautions on Programming

Errors common to instructions

The following table lists the conditions under which an error occurs when the instruction is executed.
*1
Error content
An I/O number which corresponds to no module is specified.
• An I/O number which is out of range (0 to 1777(Octal number)) is specified.
• The device or label specified by the instruction exceeds the available range.
The range of the buffer memory of the module specified by the instruction is exceeded.
*1 For a contact instruction, an error is not detected but the operation result becomes no continuity.

Checking the ranges of instruction runtime devices and labels

Checking the ranges of devices and labels
When a device or label is specified in an instruction, range check is performed. If a range exceeding that of the relevant
device or label is specified, an error occurs.
The same applies when a label assigned to a device is specified in an instruction in the program.
Create such a program that the operation result falls within the range of the relevant device or label.
Ex.
When a global device is specified
BMOV
D0
(1) The transfer destination is in the range corresponding to D1023 to D1032. Because D1024 to D1032 do not exist, the data are written only to D1023.
1 OVERVIEW
34
1.4 Precautions on Programming
Device assignment image in
D1023 K10
the device/label memory
(1)
D0
D1022
Data are written to these areas.
D1023
W0
W0007
W03FF
Error code
2801
2820
2823

Advertisement

Table of Contents
loading

Table of Contents