38
2 PRECAUTIONS ON PROGRAMMING
2.1 Errors Common to Instructions
2
PRECAUTIONS ON PROGRAMMING
2.1
Errors Common to Instructions
The following table lists the conditions under which an error occurs when the instruction is executed.
*1 For a contact instruction, an error is not detected but the operation result becomes no continuity.
2.2
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
Error content
Error code
(SD0/SD8067)
An I/O number which corresponds to no module is specified.
2801H
• 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.
2820H
The range of the buffer memory of the module specified by the instruction is exceeded.
2823H
(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.
D1023 K10
D0
BMOV
(1)
D0
D1022
D1023
W0
W0007
W03FF
Data are written to these areas.
Device assignment image in
the device/label memory
Summary of Contents for MELSEC iQ-F FX5
Page 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 17: ...15 CONTENTS ...
Page 24: ...22 MEMO ...
Page 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Page 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Page 1107: ...I 1105 MEMO ...
Page 1111: ......