Claude Code is a CLI AI assistant that runs directly in your terminal and reads your project files. Setting it up for an AutomationView project takes two steps.
Create a CLAUDE.md file at the root of your AutomationView project. Copy the template from the AI-Assisted Sequence Programming feature page.
This file tells Claude Code the automation_machine API, your naming conventions, and the IEC 61131-3 rules it must follow when writing sequences.
cd /path/to/your/project
claude
Claude Code reads CLAUDE.md automatically and is ready to write sequences.
If you are using AutomationView inside VS Code, open the integrated terminal in your project folder and run claude.
Ask Claude Code:
"What file types does this project use and what base classes do they require?"
It should answer with .seq (Sequence) and .machine (Machine) without you explaining anything further.
| Goal | Prompt |
|---|---|
| Write a new sequence | "Write a sequence for [describe the machine]." |
| Review an existing file | "Review SequenceName.seq against the rules in CLAUDE.md." |
| Generate instances | "Create a machine file with 3 instances of the Verin sequence." |
| Extend a sequence | "Add an emergency stop step to PickAndPlace.seq." |
Tip: Claude Code can read multiple files at once. Point it to an existing sequence and ask it to create a new one "in the same style."