오늘 무엇을 도와드릴까요?

How do I power cycle a Modicon M221 PLC with an SD Card inserted without cloning the application to the SD Card or requiring the run of a Script.cmd?

Issue
When my Modicon M221 PLC has an SD Card inserted, after a power cycle the ERR LED is lit indicating that the PLC is cloning the application to the SD Card or attempting to run of a Script.cmd from the root of the SD Card. I wish to only use the SD Card for either Data Logging or backup and loading of saved %MW values when commanded in the program.
How do I ensure the PLC does not attempt a clone operation or running the Script.cmd upon startup after a power cycle?
Product Line
SoMachine Basic v1.6+, Modicon M221

Environment
Physical PLC
Cause
The default behaviours for a Modicon M221 PLC at power cycle startup are:
  1. If an inserted SD Card is does not contain at the root folder 'Script.cmd', the M221 will clone the application to the SD Card.
  2. If the inserted SD Card has 'Script.cmd', it will interrupt normal startup, execute the script.
In both cases, the PLC will not go back to RUN mode until after the SD Card is removed and another power cycle is applied.
Resolution
There is a Data Logging function (added in SoMachine Basic v1.6 and higher) which allows the SD Card to be kept in the slot of the M221 without starting the Clone process.
The requirement is that:
  1. The Modicon M221 is of Functional Level 6.0 or higher a.k.a. a Boot loader version of 50 or higher - this can be checked in the system word %SW13
  2. The Modicon M221 has an SV number (on the sticker with the serial number) of 1.6 or higher (devices manufactured after May 2017).
To set up the SD Card as a "Data Logging" storage device for the M221, follow these steps:
  1. Put your SD Card in your PC card reader
  2. Open Windows File Explorer
  3. Right-click on the drive letter associated with the SD Card in File Explorer
  4. Choose "Properties"
  5. In the General Tab's first field presented at the top, set name of the SD Card to "DATA"
  6. Click OK
  7. Delete 'Script.cmd' from the root directory of the SD Card
  8. Eject the SD Card
For more information on the Data Logging, please see the guide on the feature in the HTML Help of SoMachine Basic:
SoMachine Basic-> SoMachine Basic - Generic Functions Library Guide->Software Objects->Data Logging

슈나이더 일렉트릭 Korea

자세히 알아보기
제품군
자세히 알아보기
제품군

도움이 필요하신가요?

도움이 필요하신가요?

제품 선택기

제품 선택기

애플리케이션에 적합한 제품과 액세서리를 빠르고 쉽게 찾을 수 있습니다.

견적 받기

견적 받기

영업 관련하여 온라인으로 문의하시면 전문가가 연락드립니다.

구매처

구매처

해당 지역의 가장 가까운 슈나이더 일렉트릭 대리점을 쉽게 찾을 수 있습니다.

지원 센터

지원 센터

한 곳에서 모든 요구 사항에 대한 지원 리소스를 찾아보십시오.

  • 제품 문서
  • 소프트웨어 다운로드
  • 제품 선택기
  • 제품 대체 및 교체
  • 지원 및 연락처 센터
  • 영업소 검색
  • 견적 받기
  • 슈나이더 일렉트릭 커뮤니티
  • 채용
  • 회사 소개
  • 부정 행위 보고
  • 접근성
  • 뉴스룸
  • 투자자
  • Ecostruxure
  • 작업 검색
  • 블로그
  • 개인정보 취급방침
  • 쿠키 공지
  • 사용 약관
  • Change your cookie settings