An SMC2 file is a whole controller project
A .smc2 file is what Sysmac Studio writes when a project is exported: one archive holding the
configuration of the NJ or NX controller, every program, function block and function, the
variable tables, the data types, the tasks, the EtherCAT network and the motion axes. Without a
Sysmac Studio licence there is no Omron program that opens it, and the trial only runs for 30
days. Upload the file here and you get an offline viewer of the whole project.
What the viewer shows
The viewer is a single HTML file that opens in any browser, also without an internet connection. On the left is the project tree: the controller configuration, the programs in the order of their tasks, the function blocks and functions, the data types and the global variables. On the right you see the selected POU:
- its variable table with data types, AT addresses, initial values, retain flags and comments;
- each ladder section drawn rung by rung, with the variable names and comments above the contacts and coils and the parameters of every function block call;
- structured text with line numbers;
- under each rung, its elements as text (handy for copying a variable name).
The search box looks through variables, rung elements, structured text and comments, and jumps to the rung or line it finds. Tables such as the cross reference can be filtered.
Before you upload
- Use the exported project (
.smc2) or a compact project (.csm2). A project kept in version control (Team Edition) is a folder of files: zip the folder and upload the.zip. - A file with the ending
.cxpcomes from CX-Programmer, Omron's software for CP, CJ and CS PLCs. It has its own viewer. - POUs protected with a password open as their interface only; their logic stays encrypted.
The result page shows the list of POUs and a picture of the first rungs, so you can see that the file is read correctly before downloading the viewer.
More about what this tool reads and writes: Omron Sysmac Studio Project Viewer (SMC2 to PDF).