If you configure the CREATE_FILE, OPEN_FILE, WR_DATA_TO_FILE and CLOSE_FILE to create or open a file on the M340 or M580 data storage SD card, attempts to perform either a write to the file or close the file without properly considering the usage of the FILEDESC output on both the CREATE_FILE and OPEN_FILE blocks , will results in an error 21 getting returned..

This is due to the output of the OPEN_FILE block over writing the output of the CREATE_FILE block.
To resolve the issue, the following logic can be used as an example on how to configure the OPEN_FILE and CREATE FILE.
This is due to the output of the OPEN_FILE block over writing the output of the CREATE_FILE block.
To resolve the issue, the following logic can be used as an example on how to configure the OPEN_FILE and CREATE FILE.
Released for: Schneider Electric Hong Kong
If you configure the CREATE_FILE, OPEN_FILE, WR_DATA_TO_FILE and CLOSE_FILE to create or open a file on the M340 or M580 data storage SD card, attempts to perform either a write to the file or close the file without properly considering the usage of the FILEDESC output on both the CREATE_FILE and OPEN_FILE blocks , will results in an error 21 getting returned..

This is due to the output of the OPEN_FILE block over writing the output of the CREATE_FILE block.
To resolve the issue, the following logic can be used as an example on how to configure the OPEN_FILE and CREATE FILE.
This is due to the output of the OPEN_FILE block over writing the output of the CREATE_FILE block.
To resolve the issue, the following logic can be used as an example on how to configure the OPEN_FILE and CREATE FILE.
Released for: Schneider Electric Hong Kong




Need help?
Start here!
Find answers now. Search for a solution on your own, or connect with one of our experts.
Contact Support
Reach out to our customer care team to receive more information, technical support, assistance with complaints and more.
Where to buy?
Easily find the nearest Schneider Electric distributor in your location.
Search FAQs
Search topic-related frequently asked questions to find answers you need.
Contact Sales
Start your sales enquiry online and an expert will connect with you.