8 APPLICATION INSTRUCTION
8.7 Extended File Register Operation Instruction
429
8
Processing details
Initializes all the points of the extended file register (ER) in the SD memory card in a batch.
The normal or abnormal completion of the ERINIT instruction can be confirmed with the instruction completion device (d)
specified with the setting data.
• Instruction completion device (d)+0: Turns off when the ERINIT instruction is activated, and turns on during the instruction
processing for the scan in which the ERINIT instruction has completed normally.
• Instruction completion device (d)+1: Turns off when the ERINIT instruction is activated, and turns on during the instruction
processing for the scan in which the ERINIT instruction has completed abnormally.
Also, when the ERINIT 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 ERINIT instruction turns on, the extended file register (ER) access flag (SM9366) turns on
during access to the extended file register (ER).
The initial value of the extended file register (ER) when initializing is 65535 (FFFFH).
■
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 ERINIT instruction
When failed
When failed
1 scan
Execute file access
END processing
Program
Completion device (d)+0
ERINIT instruction
Completion device (d)+1
Instruction execution
complete flag
SM8029
Instruction execution
abnormal end flag
SM8329
Extended file register (ER)
access flag
SM9366
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: ......