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
Содержание MELSEC iQ-F FX5
Страница 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Страница 2: ......
Страница 17: ...15 CONTENTS ...
Страница 24: ...22 MEMO ...
Страница 25: ...23 PART 1 PART 1 OVERVIEW Part 1 consists of the following chapter 1 OVERVIEW 2 PRECAUTIONS ON PROGRAMMING ...
Страница 126: ...124 6 SEQUENCE INSTRUCTIONS 6 3 Output Instructions Operation error There is no operation error ...
Страница 132: ...130 6 SEQUENCE INSTRUCTIONS 6 3 Output Instructions Operation error There is no operation error ...
Страница 140: ...138 6 SEQUENCE INSTRUCTIONS 6 3 Output Instructions Operation error There is no operation error ...
Страница 191: ...7 BASIC INSTRUCTIONS 7 2 Arithmetic Operation Instructions 189 7 Operation error There is no operation error ...
Страница 202: ...200 7 BASIC INSTRUCTIONS 7 2 Arithmetic Operation Instructions Operation error There is no operation error ...
Страница 278: ...276 7 BASIC INSTRUCTIONS 7 4 Bit Processing Instructions Operation error There is no operation error ...
Страница 280: ...278 7 BASIC INSTRUCTIONS 7 4 Bit Processing Instructions Operation error There is no operation error ...
Страница 915: ...18 TYPE CONVERSION FUNCTIONS 18 13 Converting DWORD to WORD 913 18 Operation error There is no operation error ...
Страница 917: ...18 TYPE CONVERSION FUNCTIONS 18 14 Converting DWORD to INT 915 18 Operation error There is no operation error ...
Страница 932: ...930 18 TYPE CONVERSION FUNCTIONS 18 26 Converting DINT to WORD Operation error There is no operation error ...
Страница 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Страница 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Страница 1107: ...I 1105 MEMO ...
Страница 1111: ......