OMRON Sysmac · Pro+
Sysmac Studio AI: ST and ladder with an AI agent
Describe a program for your OMRON NJ, NX or NY controller, and the AI agent of AnyAutomation Studio writes it in Structured Text or ladder and checks it for the import. With Sysmac Studio on the same computer, Studio imports the files and builds the controller after your confirmation. Over a standard OPC UA server you also reach the running controller; the client is tested with S7-1500 and CODESYS.
NJ · NX · NY · Structured Text · Ladder · Pro+
What Studio brings to OMRON Sysmac
OMRON Sysmac is part of the Pro+ plan and unlocked in the free trial. Over standard OPC UA you also connect to an OMRON controller that offers an OPC UA server; the client is tested with S7-1500 and CODESYS.
OMRON Sysmac in Studio
- Pro+
Pick your controller
Select the CPU family (NJ, NX701, NX1P, NX102, NX502 or NY), the unit version and optionally the model. The AI writes for exactly that controller.
- Pro+
AI writes ST and ladder
Describe the program in the chat. A Sysmac specialist writes it in Structured Text or ladder as an IEC 61131-10 XML file, after your confirmation.
- Pro+
Check every file for the import
Names, instructions, system variables and unit versions are checked against your controller, with the findings at the matching lines.
- Pro+
Read ladder as Structured Text
Every file opens as read-only Structured Text, with ladder rungs as equivalent ST, so you can follow the logic line by line.
- Pro+
Read Sysmac Studio projects
Open an existing project without Sysmac Studio, browse its controllers, tasks, programs, function blocks, data types and global variables as Structured Text and export its programs and data as XML.
- Pro+
Import and build in Sysmac Studio
With Sysmac Studio on the same computer, Studio backs up an existing project, imports the files, builds the controller and shows the results, each step after your confirmation. The download stays in Sysmac Studio.
Over standard OPC UA
- Pro
OPC UA client
Connect to the OPC UA server of your OMRON controller, browse the published variables and watch, read and write them in a watch table.
- Pro
Record machine cycles
Log the variables to CSV with the Data Logger for as long as the table is live, or record them with the trace (up to 10,000 samples, tested on S7-1500).
- Pro+
AI agent on the running controller
The agent builds the watch table, records a trace (tested on S7-1500), reads its samples and points out where a cycle differs. By default, writes ask for your confirmation first.
Contents
AI for OMRON Sysmac Studio means a language model that writes, explains and checks programs for OMRON NJ, NX and NY machine automation controllers, in the Sysmac dialect of Structured Text and in ladder, and a tool around the model that makes sure the result fits your controller and gets into Sysmac Studio cleanly. AnyAutomation Studio, the AI agent for PLC programming that works with TIA Portal and CODESYS, supports OMRON Sysmac as well. This page shows what the OMRON support does, what you can do with an OMRON controller over OPC UA, and where the limits are. The basics are in the guide AI for PLC programming.
Availability
OMRON Sysmac is part of AnyAutomation Studio from the Pro+ plan and is unlocked in the free trial, next to TIA Portal V15-V21 and CODESYS 3.5. In an existing installation it appears after the update to the current version. Details are in the OMRON Sysmac manual.
What AI can do for an OMRON program
Sysmac Studio has its own dialect of Structured Text, its own instruction set and its own rules for names. A general chatbot writes ST that looks right but often fails at the import or at the build: an instruction your unit version does not offer, a name Sysmac Studio rejects, a timer written the way another environment does it. An AI that knows your controller avoids that. Five tasks where it saves real time:
- Write new programs. "A conveyor program for the NJ501 with start, stop and a fault message, the motor output in ladder" becomes a program in Structured Text or ladder for that controller.
- Understand existing programs. The AI reads a program, including ladder, and explains states, interlocks and the order of the rungs.
- Port logic. Logic from another controller world becomes Sysmac Structured Text, with the instructions of your controller instead of foreign ones.
- Look up instructions. Variants, parameters and the unit version from which an instruction is available on your controller.
- Fix import findings. The AI reads the findings of the check and corrects the file until it has no errors.
How it works in AnyAutomation Studio
- Select the controller. Pick the CPU family, NJ, NX701, NX1P, NX102, NX502 or NY, enter the unit version and, if you like, the model, for example NJ501-1500. The status bar shows the selection.
- Describe the program in the chat. The AI hands the task to a dedicated Sysmac Structured Text specialist that follows the naming rules of Sysmac Studio and uses the instructions your controller offers.
- Confirm the file. Before the AI creates or replaces a file, a confirmation card shows the file name, the number of data types, global variables and POUs, and lists the programs, functions and function blocks with their language.
- Let Studio check it. Studio checks the IEC 61131-10 XML file against the rules of the Sysmac Studio import and against the instructions and system variables of your controller. Errors and hints appear in the Problems view and as wavy lines in the editor; the AI corrects its findings until the file has no errors.
- Read it back as Structured Text. A read-only view shows the whole file as ST, ladder included: series contacts as AND, parallel branches as OR, coils as assignments.
- Import into Sysmac Studio. With Sysmac Studio on the same computer, Studio starts it or attaches to it, backs up an existing project, imports the files, saves the project, builds the controller and shows the build results in the Problems view. Each step that changes something runs after your confirmation, also when the AI asks for it. Without Sysmac Studio on the same computer, the import steps list what to do by hand.
- Assign the programs to their tasks. Studio lists each program with its task. You add them in Sysmac Studio, and Studio checks the saved project.
Sysmac Studio is not needed on the same computer: you can write and check the files in Studio and copy them to the computer with Sysmac Studio. With Sysmac Studio installed on the same computer, Studio also checks each file against the import schema of your installation and can control Sysmac Studio for the import, the build and the program check. The import itself needs unit version 1.19 or later on NJ, NX701, NX1P and NY controllers, 1.31 or later on NX102 and 1.60 or later on NX502.
Reading existing Sysmac Studio projects
Many OMRON jobs start with a plant that already runs. Studio opens an existing Sysmac Studio project directly, without Sysmac Studio and without an export first. A view lists every controller with its model and unit version, and below it the tasks with their programs, the programs, function blocks and functions, the data types and the global variables. Each one opens as read-only Structured Text, with ladder as equivalent ST. The AI reads the same project: first its structure, then single programs, so it can explain a plant you do not know yet or write a change that fits it. Studio only reads the project files and never writes into them. It can also export the programs, function blocks, functions, data types and global variables as IEC 61131-10 XML files, with a report of what is left to do in Sysmac Studio.
What stays in Sysmac Studio
Studio never writes into the project files of Sysmac Studio. A change goes through an IEC 61131-10 XML file and its import in Sysmac Studio, by hand or by Studio. The download, going online and the simulator stay in Sysmac Studio, where you are in control of them, and Studio does not change task settings: you assign the programs to their tasks there. After the import, the project in Sysmac Studio is the master, and changes made there do not flow back into the file. Function block diagrams and ladder in the format of versions before 1.13 are not shown, and projects in the older .smc format or protected with a password do not open. Safety programs are not part of the OMRON support.
OMRON controllers over OPC UA
Besides the Sysmac Studio projects, Studio reaches the running controller over OPC UA. The built-in OPC UA client of Studio is vendor-neutral and works with any PLC that offers a standard OPC UA server. OMRON NJ and NX controllers come with a built-in OPC UA server, depending on the model and unit version (see the OMRON documentation for your controller). Connect with the credentials you are authorised to use, and the variables published for OPC UA in your Sysmac Studio project appear in the address space.
- Watch tables. Add variables, structures and arrays, see live values and write values after your confirmation.
- Record machine cycles. The trace and the Data Logger record the watched variables, the Data Logger straight into CSV files, so you can run the machine through several cycles and look at the recording afterwards.
- The AI agent on the running controller. The agent builds the watch table, records a trace across several cycles (tested on S7-1500), reads its samples and tells you where one cycle differs from the others. Reading and watching run directly; by default every write to the controller is shown to you first and runs only after you allow it.
We have tested the client with Siemens S7-1500 and CODESYS controllers; with an OMRON controller it uses the same standard OPC UA services. The OPC UA client is part of the Pro plan when you operate it yourself; the AI agent on the running controller belongs to the Pro+ plan. The free trial unlocks both. Details are in the OPC UA manual.
Cloud or local: where may your OMRON code go
You choose the model per task: Claude, GPT, Gemini and other cloud providers, more than 20 in all, with your own key, or an enterprise offering such as Azure OpenAI, Vertex AI or AWS Bedrock. For confidential plants a local model via Ollama, LM Studio, vLLM or SGLang keeps the inference on your own hardware. AnyAutomation Studio routes no request through a server of its own, and the OMRON support uses the same model choice.
Limits
A language model does not replace an automation engineer, and generated code does not belong on a machine unreviewed. Four limits apply regardless of tool:
- Review and test. Check the imported code in Sysmac Studio, build it and test it in the simulator before it runs on the machine.
- Order of parallel branches. Where the result of a rung can depend on the order of its parallel branches, the Structured Text view marks the rung. Check such a rung in Sysmac Studio.
- Timing and hardware. Task periods, EtherCAT configuration and peripherals are yours to verify, not the model's to guess.
- Safety. Emergency stop and motor protection belong in a safety controller or a hard-wired circuit, never only in standard code.
Frequently asked questions
Is there AI for OMRON Sysmac Studio?
General chatbots such as ChatGPT or Claude answer questions about Sysmac Structured Text, but without a link to your controller or project. AnyAutomation Studio has an AI agent for OMRON NJ, NX and NY: it writes Structured Text and ladder as files for the Sysmac Studio import, checks them against your controller, reads existing Sysmac Studio projects and, with Sysmac Studio on the same computer, imports the files and builds the controller after your confirmation.
Is the OMRON support available?
Yes. OMRON Sysmac is part of AnyAutomation Studio from the Pro+ plan and is unlocked in the free trial. In an existing installation it appears after the update to the current version.
Can ChatGPT write code for Sysmac Studio?
ChatGPT drafts Structured Text, but it does not know your controller or its unit version. Names, instructions and system variables are guessed, and the path into Sysmac Studio is copy and paste. Code written for another environment often fails at the import or the build. For project work you need a tool that knows the instructions of your controller and checks the file before the import.
Does the AI also write ladder?
Yes. The AI writes programs in Structured Text or in ladder, also mixed in one file, for example the logic in ST and the motor output in ladder. Studio checks ladder for connections that lead nowhere and shows it as equivalent Structured Text so you can follow it.
Does Studio change my Sysmac Studio project?
Studio never writes into the project files. New and changed programs go into the project through the IEC 61131-10 XML import of Sysmac Studio: by hand, or by Studio when Sysmac Studio is installed on the same computer, after your confirmation and with a backup of an existing project first. The download stays in Sysmac Studio.
Which OMRON controllers are supported?
NJ, NX and NY controllers: the CPU families NJ, NX701, NX1P, NX102, NX502 and NY. The import into Sysmac Studio needs unit version 1.19 or later on NJ, NX701, NX1P and NY, 1.31 or later on NX102 and 1.60 or later on NX502.
Can Studio reach a running OMRON controller?
Yes, over standard OPC UA; the client is tested with S7-1500 and CODESYS. Studio's OPC UA client connects to the OPC UA server of an OMRON NJ or NX controller that offers one, shows the published variables in watch tables and records them with the Data Logger or the trace (trace tested on S7-1500). From the Pro+ plan, the AI agent works on the running controller as well and reads the trace samples.
Does Studio go online to an OMRON controller through Sysmac Studio?
No. Login, download and online changes on an OMRON controller stay in Sysmac Studio. Studio reaches the running controller through its OPC UA server.
What does the OMRON support cost?
OMRON Sysmac is part of the Pro+ plan (CHF 50 per month or CHF 550 per year) and of Enterprise, and it is unlocked in the free trial. Add your own API key with the model provider, or a local model with no key.
Which AI models can I use?
The model of your choice: Claude, GPT, Gemini and other cloud providers, more than 20 in all, with your own key, or a local model via Ollama, LM Studio, vLLM or SGLang. No request runs through an AnyAutomation server.
Read next
AI for PLC programming
The guide: languages, context, cloud or local, limits and the path into the controller.
AI for CODESYS
The AI agent for CODESYS 3.5: Structured Text, compile, compare and go online.
OPC UA client with AI
Watch tables, trace and CSV recording, an AI agent that reads the trace samples, for PLCs with OPC UA.
Try it now
Start today with OMRON Sysmac
Try AnyAutomation Studio free for 30 days, no credit card. OMRON Sysmac Studio, TIA Portal V15-V21 and CODESYS 3.5 in one IDE.
Free account required: sign in with your email address and a code, then the download starts.
Questions? support@anyautomation.ch