Hoe kunnen wij u vandaag helpen?

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

adh

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

Schneider Electric Belgium

Ontdek meer
Productfamilie
Ontdek meer
Productfamilie

Hulp nodig?

Hulp nodig?

Selecteer zelf het juiste product

Selecteer zelf het juiste product

Vind snel en eenvoudig de juiste producten en toebehoren voor uw toepassingen.

Offerte aanvragen

Offerte aanvragen

Dien uw aanvraag online in en een expert zal contact met u opnemen.

Verkooppunten

Verkooppunten

Vind eenvoudig de dichtstbijzijnde distributeur van Schneider Electric op uw locatie.

Help Center

Help Center

Vind de antwoorden die u nodig heeft via bladeren door veelgestelde vragen over onderwerpen.

  • Productdocumentatie
  • Software & firmware
  • Productselector
  • Productvervanging
  • Help- en Contact Center
  • Vind onze kantoren
  • Offerte aanvragen?
  • Verkooppunten
  • Schneider Electric Community
  • Werken bij
  • Bedrijfsprofiel
  • Wangedrag melden
  • Toegankelijkheid
  • Newsroom
  • Investeerders
  • EcoStruxure
  • Vacature zoeken
  • Blog
  • Als eerste op de hoogte nieuws?
  • Privacybeleid
  • Cookieverklaring
  • Gebruiksvoorwaarden
  • Algemene verkoop- en inkoopvoorwaarden
  • Change your cookie settings