{}

Our Brands

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

Welcome to the Schneider Electric Website

Welcome to our website.

Search FAQs

You are currently viewing the content available in Vietnam. If you are looking for information for another region, please select the correct country from the top-left dropdown in the page and 'Navigate to Browse FAQs' in the Support menu.

How do I export my machine's parameters (PLC's current variable values) to CSV for future import in SoMachine v4.3?

Article available in these languages: Japanese

Issue
How do I export my machine's parameters (PLC's current variable values) to CSV for future import in SoMachine / EcoStruxure Machine Expert?
Product Line
Software: SoMachine v4.1 / v4.2 / v4.3, EcoStruxure Machine Expert v1.2 / v2.0 / v2.1
Modicon PLCs: M238, M241, M251, M262, M258, LMC058, LMC078, HMISCU, XBTGC, ATV-IMC
Environment
PLC Configuration Software for Windows
Resolution
A snapshot of the current variable values of a SoMachine PLC can be saved to a CSV file using the following steps:
1) Login to the PLC from SoMachine by going to the "Online" dropdown menu and selecting "Login" (or use the login button from the default menu bar, or use "Alt+F8")
2) Select "Online->Advanced Configuration->Save data to CSV file…" from the same dropdown menu as above.
3) If the PLC is in RUN mode, there will be a prompt: "The PLC is in RUN mode. It may take several PLC cycles to save data to a file. This can cause the saved data to be inconsistent. Setting the PLC to STOP before saving avoids inconsistent data. Proceed anyway? [OK] [Cancel]"Choose an option according to your needs.
4) A new dialog will appear and you may choose the variable values you wish to save to the CSV. Expand the Application nodes and highlight the variables from the left. Click the ">" button to add them.
5) Click "Save…" and choose a location and filename for the CSV.
Values in this newly saved CSV file can be edited provided that the structure and syntax of the file is maintained and re-imported to a PLC running the project.
Conversely, you may also import variable values from a CSV that contains existing variables from the PLC project.
To do so, follow the steps:
1) Login to the PLC
2) Select "Online->Advanced Configuration->Restore data from CSV file…"
3) Select the CSV file to be imported
4) Click "Open"
This will result in the values from the file to be written to the Variables in the PLC.
This technique is useful for setting machine parameters for customized machinery specific to your customer's needs.
For example, if you are deploying a conveyor belt that has a series of speed ranges that are different for different customers.
You could keep your preset speed sets in separate CSV files.

Schneider Electric Vietnam

Explore more
Range:
Explore more
Range:
Users group

Discuss this topic with experts

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