UnderAutomation
⌘Q
本页面仅提供英文版本。

Yaskawa ladder editor

The concurrent I/O ladder CIOPRG.LST of a Yaskawa as a ladder: the ladder or the text, both side by side, the system section read only, the live states of the relays, the compare of two versions and Send to Controller.

This page explains the ladder editor of TouchUp for the concurrent I/O program CIOPRG.LST of a Yaskawa YRC1000 or YRC1000micro: the ladder and the text, both side by side, the system section that stays read only, the live states of the relays, the compare of two versions and Send to Controller. It works on a file opened from a controller and on a file of your PC, for example in a backup. Reading, editing and comparing are free and local. Only Send to Controller writes to the controller, and it needs Pro.

Open the ladder or the text

A CIOPRG.LST of your PC opens as a ladder by default, from the Explorer or from a double click. From the Ladder node or the Files node of a Yaskawa controller, the file opens as text: click Open as Ladder in the title of the editor, or right click the file in the Files node, then Open With... and Ladder. The file is one continuous ladder:

  • PART 1, the system section, folded and read only,
  • PART 2, the user section, one rung under the other with its number,
  • the tables of the file after the rungs, when it has them.

The bands of the sections stay at the top while you scroll. Click a band to fold or unfold its section. A relay shows its number (#20010), and its name when it has one: your name of IONAME.DAT first, else the name of the catalog of TouchUp (SYS_ALARM_REQ). For a file of your PC, TouchUp reads IONAME.DAT in the same folder, or in the DAT folder beside it as in a backup.

CIOPRG.LST of a PC as a ladder: the palette on the left, PART 1 folded and read only, the rungs of PART 2, and the navigator on the right.

The palette on the left lists the elements that you can insert, with a search field (see Edit the rungs). The navigator on the right lists the sections and the rungs of the unfolded sections, with a minimap of the whole file: click a row or a place of the minimap to go there. The field above the ladder finds an operand or a name (Ctrl+F), or goes to a rung by its number (Ctrl+G).

To see the text, click Open as Text in the title of the ladder, or run TouchUp: Open as Text. On the text, Open as Ladder (TouchUp: Open as Ladder) goes back to the ladder. The help of the text (problems, hover, completion) is described in The concurrent I/O ladder of a Yaskawa.

The ladder and the text side by side

On the text, click Open Ladder to the Side in the title of the editor, or run TouchUp: Open Ladder to the Side. The ladder opens next to the text, on the same file:

  • an edit in one shows in the other at once, and Ctrl+Z undoes the last edit wherever you made it: there is one undo history,
  • the rung of the line where the text cursor is gets a frame in the ladder,
  • the rung or the elements that you select in the ladder select their lines in the text.
The text and the ladder side by side: the line of the cursor (OR #30011) frames its rung in the ladder.

Edit the rungs

Edit the rungs of PART 2 with the mouse or the keyboard:

  • click an element of the palette to insert it after the focus, or drag it to a place of the ladder,
  • with the keyboard, the arrows move the focus, C and N insert a contact, / opens the list of the elements to insert, Enter or F2 edits the operand, Delete removes the element,
  • the operand field completes the relays and the registers by number or by name, as the completion of the text does.

TouchUp rewrites only the rungs that you changed, in the form that the controller writes. The other lines of the file stay as they are. A rung that is not complete yet (a stub, an empty operand) is a draft: it is drawn with dashed lines and the label DRAFT, and it is not written in the text until it is complete. A rung that was valid and becomes a draft keeps its last valid text in the file.

The system section is read only

PART 1 is the system section of the ladder: only Yaskawa personnel change it. In the ladder, its rungs are hatched and greyed. You can select and copy them, but an edit stops and the editor says PART 1 is read only: select and copy work, edits do not.

The text stays a text file: you can type in the lines of PART 1. TouchUp then refuses to send the file: Send to Controller, a save on the controller, a restore and the file operations compare PART 1 with the copy on the controller, and refuse a file whose PART 1 differs. Nothing is sent, no copy is made, and the audit log records the refusal. The message names the first line that differs:

The system section (PART 1) of CIOPRG.LST differs from the controller at line 8. Only Yaskawa personnel change it. Nothing was sent. Read CIOPRG.LST from the controller again and make your change in PART 2.

Live values

Open the ladder of CIOPRG.LST from a connected Yaskawa controller (the Ladder node, then Open as Ladder), or a file of your PC that belongs to that controller (see Which controller a file belongs to). The contacts, the coils and the wires of the rungs on screen take the colors of the live relay states: a closed contact and a powered wire or coil are colored. TouchUp reads only the relays of the rungs on screen, and stops reading when the ladder is hidden.

CIOPRG.LST of a Yaskawa controller with the live states of the relays: the rungs on screen are colored by their power flow.

TouchUp compares the ladder on screen with the copy that the controller runs. A line above the ladder says it:

The ladderWhat TouchUp shows
Same as the controllerThe ladder matches the controller: the power flow is the one of the running rungs.
Some rungs differN rungs differ from the controller. Each of these rungs has the label EDITED or NEW, its power flow is simulated from the live values and drawn dashed with the word simulated, and a pill gives the real state of its output on the controller: controller ON or controller OFF
A draftNo power flow: the draft is not on the controller as it is drawn, and it counts in the rungs that differ

The controller still runs its own version until you send the file. Sending it is a write: see below.

Compare two versions

A compare of two versions of CIOPRG.LST opens in the ladder, the newer version drawn with the changes of the older one:

ChangeShown as
Rung addedA green bar in the margin, a + and a green background
Rung removedAt its old place, in red, with a -
Rung changedA ~, the changed elements outlined, and the old version of the rung under it, in red

Fold unchanged rungs folds the runs of rungs that did not change into one line. A folded section says on its band how many changes it holds. Show as Text opens the compare of the two texts. The compare is a read view: close it to edit the file.

CIOPRG.LST in two backups of a Yaskawa: a rung changed with its old version under it, a rung added after it and the gripper rung removed.

In the compare of two backups (TouchUp: Compare Two Backups, TouchUp: Compare Backup Folder...), click a CIOPRG.LST that changed: it opens in the ladder compare. A CIOPRG.LST that was removed opens the text compare of the old file.

See Compare backups and controllers.

Send to Controller

Click Send to Controller in the title of the ladder, or run TouchUp: Send to Controller:

  • a file of your PC is saved first, then sent to the active controller, as any file, see Send a file to the controller,
  • a file opened from a controller is saved: the save is the write to that controller. A file without change says that it is the file of the controller, and sends nothing.

Sending needs Pro: in the free edition the button is Send to Controller (Pro), with a lock. The write follows the steps of every write: the license, one confirmation that names the controller, a copy of the file before the write, and the audit log. For CIOPRG.LST the confirmation says that the controller loads the ladder only at a security level that allows the change of the ladder, and may need a restart before it runs it. Check the content and the state of the cell before you confirm. A file whose PART 1 differs from the controller is refused, see The system section is read only.

What to read next

  • Edit a program
  • Read live values
  • Compare backups and controllers
  • Send a file to the controller