Skip to content
Ohmstead
Download

PLC I/O export

List the PLC I/O drawn in a project as JSON, one point per wired channel, and turn it into Cowpoke tags.

Ohmstead can list the PLC I/O you've drawn as I/O points: one per wired digital or analog channel of a PLC or I/O module. Cowpoke, Ohmstead's industrial comms simulator, imports the list to make Modbus, OPC UA or IO-Link tags, so you can test the panel's I/O against a simulator without retyping a tag.

Ask your assistant to run export_io_points on the project through the Ohmstead MCP. It's read-only, so it works on every plan. Paste the JSON into Cowpoke's Import from Ohmstead, or let Cowpoke fetch it with a personal access token.

  • The host is a component whose part has category plc or io (see PLC racks), or whose part or terminal group has a digital or analog input or output function.
  • The device is whatever the channel's wire reaches: the wire is followed through terminal strips, jumpers, splices and mated connectors.
  • The signal is the wire's signal type, or the terminal's default. Only digital and analog signals count, so power, 0 V, earth and comms terminals are left out. So are unwired channels.
  • The direction comes from the terminal's function when the part has one. If it doesn't, the wire's direction decides: Ohmstead wires run from source to load, so LT-101:- → AI1:CH0 is an input and DO1:O0 → K1:A1 is an output.
Field
name The device's ISA tag or tag. When a device has more than one point, each one is TAG.TERMINAL, such as K1.14 and K1.A1.
device, device_terminal, description The field device, the terminal the wire lands on, and its part's name.
module, terminal, channel The I/O module and its terminal. channel is the terminal's channel number, or the number at the end of its name (I7 → 7).
plc, slot The PLC and the slot the module sits in.
kind, direction, signal digital or analog, in or out (seen from the PLC), and the signal type's name.
range Parsed from the range of the linked P&ID instrument: 0-100 % gives min 0, max 100, units %.
subsystem The device's subsystem, outer first.

Points are sorted by PLC, slot, module and channel, so an export of an unchanged project comes out the same every time.