{}

Our Brands

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

Welcome to the Schneider Electric Website

Welcome to our website.
Search FAQs
Is there a way to detect if an SD card is inserted into an M580 PLC?
Issue
The goal is to determine if the SD card is inserted before checking the SD Card signature on an M580 PLC.

The CPU will go into HALT (with error code 0002 in System Word %SW125) when these two conditions are met:
1) the SIG_CHECK (which checks the signature on the SD card) block is enabled
2) the SD Card is removed

IMPORTANT NOTE:
***The CPU will still halt if the SD card is inserted and the application signature does not match when the firmware checks***.

Product line
Modicon M580, EcoStruxure Control Expert, Unity Pro

Resolution
To determine of the SD Card is inserted, observe the System Words: %SW146 and %SW147
If no card is inserted or the card is not healthy => both words will both contain a value of 0 if no card is inserted.
If a healthy SD card is inserted => the serial number will be contained in these two system words.

System Bit %S62 will be set to 1 if a valid application signature is found.
The GET_FREESIZE block can be used. The STATUS output is a WORD where Bit 0 indicates a missing card.

For more information on the SIG_CHECK function block and how it works in conjunction with SIG_WRITE, please refer to sections entitled:
"SIG_WRITE: Write a Signature in Memory Card" and "SIG_CHECK: Check Signature in Memory Card" in the User Guide:
EcoStruxure Control Expert, System Block Library - User Guide



If this FAQ did not solve your issue, you can chat with us at chat with us or e-mail us at customer.services@se.com to create a case with our Technical Support Team.

If you are not located in North America, please contact your local Customer Care Center for assistance:
Support | Schneider Electric Global (se.com)

Schneider Electric Canada

Explore more
Product:
Range:
Users group

Discuss this topic with experts

Visit our Community for first-hand insights from experts and peers on this topic and more.
Explore more
Product:
Range: