{}

브랜드

Impact-Company-Logo-English Black-01-177x54

슈나이더 일렉트릭 코리아 웹사이트에 방문해 주셔서 감사합니다.

슈나이더 일렉트릭 코리아 웹사이트 방문자 분들 모두 환영합니다.

FAQ 검색

Using both CREATE_FILE and OPEN_FILE returns error 21.

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..

image.png

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.
image.png

슈나이더 일렉트릭 Korea

자세히 알아보기
제품군
EcoStruxure Control Expert (Unity Pro)
자세히 알아보기
제품군
EcoStruxure Control Expert (Unity Pro)