Example - Ladder Diagram
FREAD
The FREAD instruction reads n3 number of WORDs of file data at the offset, n2, from the data to the expansion module, n1, and saves the data in n3 amount of assigned WORD data registers, D. The result of the reading operation is saved in an assigned WORD data register, n4.
The FREAD instruction reads file data from the system memory of an expansion module and saves the data into the internal memory of the CPU.
Ladder Diagram Example
The FREAD instruction reads 100 WORDs.
When the contact, M0.0, is powered ON (1), the read data is saved into the data registers, D0 ~ D99.
Memory Monitor
![]()
FREADP
The FREADP one-shot instruction reads n3 number of WORDs of file data at the offset, n2, from the data to the expansion module, n1, and saves the data in n3 amount of assigned WORD data registers, D. The result of the reading operation is saved in an assigned WORD data register, n4.
The FREADP one-shot instruction reads file data from the system memory of an expansion module and saves the data into the internal memory of the CPU.
Every time this instruction executes, it energizes the output only once.
Ladder Diagram Example
The FREAD instruction reads 100 WORDs.
When the contact, M0.0, is powered ON (1), the read data is saved into the data registers, D0 ~ D99.
Memory Monitor
![]()