Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Schneider Electric
Community
Community
Notifications
close
  • Categories
  • Forums
  • Knowledge Center
  • Blogs
  • Ideas
  • Events & Webinars
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register

Contact Support

Close

Ask our Experts

Have a question related to our products, solutions or services? Get quick support on community Forums

Email Us

For Community platform-related support, please email us

New Community Ranking System
Our Community ranking system has recently been updated. You may notice changes in user rankings and receive system messages or notifications. If you have questions about how the new ranking works, please refer to the announcement post for more details (click here).

TM172SIG – Correct file path format for FS_CreateDir FS_OpenFile172

HVAC and Pumping Forum

Support Forum for HVAC and pumping machines, Modicon M17x and EcoStruxure Machine Expert HVAC software for chillers, AHU, CRAC units for datacenters or process chillers applications - from design, implementation to troubleshooting and more, by Schneider Electric.

Search in

Improve your search experience:

  • Exact phrase → Use quotes " " (e.g., "error 404")
  • Wildcard → Use * for partial words (e.g., build*, *tion)
  • AND / OR → Combine keywords (e.g., login AND error, login OR sign‑in)
  • Keep it short → Use 2–3 relevant words , not full sentences
  • Filters → Narrow results by section (Knowledge Base, Users, Products)
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Select a Country

Please select a country to continue with beta search.

  • Home
  • Schneider Electric Community
  • Industrial Automation
  • HVAC and Pumping Forum
  • TM172SIG – Correct file path format for FS_CreateDir FS_OpenFile172
Options
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
FedericoM
FedericoM Mentor
119
Bastian_Schmitz
Bastian_Schmitz Champion
64
M_Cervati
M_Cervati Troubleshooter
18
View All

Recommended Forums

  • Industry Automation and Control Forum

  • Machine and Motion Control Forum

  • Alliance Partner Program System Integrator

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Solved Go to Solution
Back to HVAC and Pumping Forum
Start a Topic
Solved
KrzysztofSoczewka
KrzysztofSoczewka
Contributor

Posted: ‎2026-02-26 12:46 AM

0 Likes
9
2221
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2026-02-26 12:46 AM

TM172SIG – Correct file path format for FS_CreateDir FS_OpenFile172

Hello,

I am working on a SIG controller and trying to create a directory and a log file on the MMC storage.

status := FS_OpenFile(name := 'log.txt', mode := 7);
FS_CreateDir(name := '/mmcblk0p1/MyFolder');


The problem is that the directory is not created and the file is not opened.
It seems the path format is incorrect.
What is the correct path format for storage card?

Could someone provide a working example of:

  • creating a new directory on storage card

  • creating/opening a file inside that directory

  • writing a test string to that file

A minimal working example in Structured Text would be highly appreciated.

Thank you.

 

Labels
  • Labels:
  • Connectivity
  • Digital
  • HVAC
  • Tags:
  • english
Reply

Link copied. Please paste this link to share this article on your social media post.

  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
FedericoM
FedericoM Mentor
Mentor

Posted: ‎2026-02-26 11:19 PM

0 Likes
1
2212
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2026-02-26 11:19 PM

Hello,

 

folders options are:

'/SD/FolderName' or '/SD'
'/SHARED_FS/FolderName' or '/SHARED_FS', NAND shared with FTP and Web site
'/FolderName' or '/', private NAND
'/USB/FolderName' or '/USB'

 

Here attached a library which could help you

See Answer In Context

Attachments
Reply

Link copied. Please paste this link to share this article on your social media post.

FedericoM
FedericoM Mentor
Mentor

Posted: ‎2026-03-12 09:00 AM

0 Likes
0
2117
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2026-03-12 09:00 AM

Hello,

can you share a screenshot with live debug enabled of:

 
 

LogGeneric.jpg

 Same for program SR_BasicLogger

 

See Answer In Context

Reply

Link copied. Please paste this link to share this article on your social media post.

KrzysztofSoczewka
KrzysztofSoczewka
Contributor

Posted: ‎2026-03-17 04:34 AM

In response to FedericoM
0 Likes
0
2039
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2026-03-17 04:34 AM

Hello,

Thank you for your suggestions.

I can confirm the following:

  • The SD card is formatted as FAT32

  • The controller firmware is already 816.7 (updated according to the correct procedure)

  • The firmware file is correctly recognized when placed on the microSD

  • I also checked via FTP and web interface, but no files or folders are created

Additionally, I tested with the example project you provided (LoggerSI), and also tried using the basic FS_* functions directly.

In all cases:

  • FS_CreateDir does not create any directory

  • FS_OpenFile does not create or open any file

  • no data appears on the SD or in SHARED_FS

This makes me think that the issue might not be related to formatting or firmware version.

Could you please confirm:

  1. Is file writing fully supported on TM172SIG with FW 816.7?

  2. Is there any additional step required to enable filesystem write access (permissions, mounting, configuration)?

  3. Is there a known issue with SD or filesystem on this firmware version?

See Answer In Context

Attachments
Reply

Link copied. Please paste this link to share this article on your social media post.

Replies 9
FedericoM
FedericoM Mentor
Mentor

Posted: ‎2026-02-26 11:19 PM

0 Likes
1
2213
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2026-02-26 11:19 PM

Hello,

 

folders options are:

'/SD/FolderName' or '/SD'
'/SHARED_FS/FolderName' or '/SHARED_FS', NAND shared with FTP and Web site
'/FolderName' or '/', private NAND
'/USB/FolderName' or '/USB'

 

Here attached a library which could help you

Attachments
Reply

Link copied. Please paste this link to share this article on your social media post.

KrzysztofSoczewka
KrzysztofSoczewka
Contributor

Posted: ‎2026-02-27 05:19 AM

In response to FedericoM
0 Likes
0
2180
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2026-02-27 05:19 AM

Hello,

Thank you for the response and the suggested folder options.

I have tested the paths you listed on my TM172SIG (SIG controller), including:

  • /SD/FolderName

  • /SHARED_FS/FolderName

  • /FolderName (or /)

  • /USB/FolderName

However, using these paths with the standard file functions still does not create any directory and does not create/open any file. For example, neither a directory nor a file appears after calling FS_CreateDir() and FS_OpenFile() (even when I also call FS_CloseFile() and try to write at least one character to force creation).

Also, I do not have (and do not want to rely on) the LoggerSI library version from the documentation you attached. I need to log more than 12 values at the same time, so I prefer to use the basic FS_* functions directly.

Could you please provide a confirmed working minimal Structured Text example for TM172SIG that shows:

  1. creating a directory on the storage card (e.g., SD or SHARED_FS),

  2. creating/opening a file inside that directory,

  3. writing a short test string,

  4. closing the file,

using FS_CreateDir and FS_OpenFile (and the corresponding write/close functions) that are available on the TM172SIG?

Reply

Link copied. Please paste this link to share this article on your social media post.

FedericoM
FedericoM Mentor
Mentor

Posted: ‎2026-03-03 12:41 AM

0 Likes
1
2163
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2026-03-03 12:41 AM

Sorry, I forgot to attach the library.

Actually the FB LogFileGenericData allows to log more than 12 data.

 

I can't prepare a specific example this week, but try to have a look to this additional documentation

Attachments
LoggerSI_1.2.2.zip
Datalogger TM172SI SE.pptx
SIG_DemoDatalogger_250110.zip
Reply

Link copied. Please paste this link to share this article on your social media post.

KrzysztofSoczewka
KrzysztofSoczewka
Contributor

Posted: ‎2026-03-06 05:21 AM

In response to FedericoM
0 Likes
0
2143
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2026-03-06 05:21 AM

Thank you for sending the library and the example project.

I compiled the project successfully and downloaded it to the TM172SIG controller (firmware version 816.7). The application runs without compilation errors.

However, the logger still does not create any files or data.

I checked both:

  • via FTP

  • via the embedded web page (Generic Logger page)

but no log files or folders appear in the filesystem.

From the web interface I can see the Generic Logger page, but the Root filesystem / Folder / Filename lists are empty, and no log file is created.

Could you please advise what I might be missing in the configuration or if there is any additional step required to enable file creation on the controller?Screenshot_28.png

Reply

Link copied. Please paste this link to share this article on your social media post.

FedericoM
FedericoM Mentor
Mentor

Posted: ‎2026-03-12 09:00 AM

0 Likes
0
2118
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2026-03-12 09:00 AM

Hello,

can you share a screenshot with live debug enabled of:

 
 

LogGeneric.jpg

 Same for program SR_BasicLogger

 
Reply

Link copied. Please paste this link to share this article on your social media post.

KrzysztofSoczewka
KrzysztofSoczewka
Contributor

Posted: ‎2026-03-13 04:35 AM

0 Likes
0
2082
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2026-03-13 04:35 AM

Hello,
SR_BasicLogger Watch window
 

Screenshot_3.png

Reply

Link copied. Please paste this link to share this article on your social media post.

FedericoM
FedericoM Mentor
Mentor

Posted: ‎2026-03-16 01:18 AM

0 Likes
1
2064
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2026-03-16 01:18 AM

Hello,

can you double check your SD is FAT32 formatted?

If you enable the "live debug" option, you can see values also in the code:

 

Immagine 2026-03-16 091631.jpg

 

Try to check also the FW version and eventually update it to the latest release .7 (you can download it from SE website searching for TM172 Secure Interface).

Be careful, if you have a version earlier than .5, you have first to update to version .5/.6 and then you can update to version .7. Please check the release note about when you have to skip the data migration.

 

If you copy the FW file in the microSD, from the webapp you will be able to double check if it is recognized or not.

Reply

Link copied. Please paste this link to share this article on your social media post.

KrzysztofSoczewka
KrzysztofSoczewka
Contributor

Posted: ‎2026-03-17 04:34 AM

In response to FedericoM
0 Likes
0
2040
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2026-03-17 04:34 AM

Hello,

Thank you for your suggestions.

I can confirm the following:

  • The SD card is formatted as FAT32

  • The controller firmware is already 816.7 (updated according to the correct procedure)

  • The firmware file is correctly recognized when placed on the microSD

  • I also checked via FTP and web interface, but no files or folders are created

Additionally, I tested with the example project you provided (LoggerSI), and also tried using the basic FS_* functions directly.

In all cases:

  • FS_CreateDir does not create any directory

  • FS_OpenFile does not create or open any file

  • no data appears on the SD or in SHARED_FS

This makes me think that the issue might not be related to formatting or firmware version.

Could you please confirm:

  1. Is file writing fully supported on TM172SIG with FW 816.7?

  2. Is there any additional step required to enable filesystem write access (permissions, mounting, configuration)?

  3. Is there a known issue with SD or filesystem on this firmware version?

Attachments
Reply

Link copied. Please paste this link to share this article on your social media post.

MargheritaM
MargheritaM Contributor
Contributor

Posted: ‎2026-03-18 04:57 AM

0 Likes
0
2033
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2026-03-18 04:57 AM

Hello,
there aren't known issues regarding writing on SD or NAND with this firmware version. Is SD card size greater that 32GB?  If yes, please try with a lower size. 

Reply

Link copied. Please paste this link to share this article on your social media post.

Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

 

You’ve reached the end of your document

WHAT’S NEXT?

Ask our Experts

Didn't find what you are looking for? Ask our experts!

My Dashboard

Check out the new Feeds and activities that are relevant to you.

To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support

    Ask our Experts

    Have a question related to our products, solutions or services? Get quick support on community Forums

    Email Us

    For Community platform-related support, please email us

Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2026 Schneider Electric

Welcome!

Welcome to your new personalized space.

of

Explore