426
8 APPLICATION INSTRUCTION
8.7 Extended File Register Operation Instruction
Processing details
The current value of the file register (R) in the CPU built-in memory is written (transferred) for (n) points to the extended file
register (ER) in the SD memory card specified with (s).
The normal or abnormal completion of the ERWRITE instruction can be confirmed with the instruction completion device (d)
specified with the setting data.
• Instruction completion device (d)+0: Turns off when the ERWRITE instruction is activated, and turns on during the
instruction processing for the scan in which the ERWRITE instruction has completed normally.
• Instruction completion device (d)+1: Turns off when the ERWRITE instruction is activated, and turns on during the
instruction processing for the scan in which the ERWRITE instruction has completed abnormally.
Also, when the ERWRITE instruction has completed normally/abnormally, instruction execution complete flag (SM8029) and
instruction execution abnormal end flag (SM8329) turn on only for one scan at the same timing with the instruction completion
device (d). After the contact of the ERWRITE instruction turns on, the extended file register (ER) access flag (SM9366) turns
on during access to the extended file register (ER).
• When (s)=0 (R0), and (n)=0 (the number of read points: 0) are specified, all the points (32768 points) of the
file register (R) in the CPU built-in memory are written to the extended file register (ER) in a batch.
• When (s)=1 or higher (R1 or later), (n)=0 (the number of read points: 0) are specified, R(s) to R32767 in the
CPU built-in memory are written to the extended file register (ER).
■
Related devices
Device
Name
Description
SM8029
Instruction execution
complete
Turns on when an instruction is finished normally.
SM8329
Instruction execution
abnormal end
Turns on when an instruction is finished abnormally.
SM9366
Extended file register
(ER) access flag
Turns on during access to extended file register (ER).
ON
ON
ON
ON
OFF
OFF
OFF
ON
OFF
OFF
ON
ON
END processing
END processing
END processing
Execute ERWRITE instruction
When failed
When failed
1 scan
Execute file access
END processing
Program
Completion device (d)+0
ERWRITE instruction
Completion device (d)+1
Instruction execution
complete flag
SM8029
Instruction execution
abnormal end flag
SM8329
Extended file register (ER)
access flag
SM9366
Содержание 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: ......