How-to
Connecting Vijeo Citect SCADA to PLCSIM without a PLC
Short answer
No Siemens driver in Vijeo Citect reaches classic PLCSIM directly: it exposes S7ProSim, an API, not a protocol. The supported no-hardware path is PLCSIM Advanced V4.0 or later with its built-in OPC UA server on the PLCSIM Virtual Ethernet Adapter; for an S7-200 there is no simulator, so test screens with local variables. Set variable tags to Digital for bits like i0.0 and m0.0 and Int for words like VW100; c0.0 is not valid counter syntax.
On this page
- Can Vijeo Citect reach PLCSIM through its Siemens driver?
- How do you run a simulated S7-1500 for Citect with no PLC hardware?
- How do you simulate when the program is an S7-200?
- Why does Citect reject addresses like i0.0, m0.0 and c0.0?
- How do the S7-200 inputs and outputs show up on the graphics?
- Which test path proves what before commissioning?
- Where do the OPC server and its license come from?
- Questions asked
A Siemens driver in Vijeo Citect cannot reach classic PLCSIM on its own: the simulator exposes S7ProSim, a programming API, not the S7 protocol your driver speaks. The supported no-hardware route for an S7-1500 is PLCSIM Advanced V4.0 or later, whose simulated CPU carries a built-in OPC UA server you reach through the PLCSIM Virtual Ethernet Adapter. There is no PLCSIM mode for the S7-200, so screens for that project are tested with local variables. And the rejected i0.0, m0.0 and c0.0 addresses are a value-type mismatch, fixed in the variable tag form.
Can Vijeo Citect reach PLCSIM through its Siemens driver? #
No. A Citect Siemens driver speaks the S7 protocol to a physical CPU over a network or adapter, while classic PLCSIM exposes S7ProSim, a programming API, so the two never meet without a bridge in between.
S7ProSim is not an OPC server and not a protocol. It is the interface a program running alongside the simulator uses to read and write the simulated controller's data, so something must call that API and re-serve the values on an interface Citect supports. An OPC server built for physical CPUs does not complete that chain, because it never touches the simulator; the bridge or server you pick must name classic PLCSIM in its own compatibility list.
The gap is not a Citect quirk. It is the same interface limit that explains why HMI simulation cannot talk to a simulated PLC in other design tools, and no driver setting closes it.
How do you run a simulated S7-1500 for Citect with no PLC hardware? #
Use S7-PLCSIM Advanced V4.0 or later: the simulated S7-1500 then carries its own OPC UA server, reached through the PLCSIM Virtual Ethernet Adapter, and Citect connects as an OPC UA client.
Siemens documents the OPC UA server for S7-PLCSIM Advanced from V4.0, with instances started through the "PLCSIM Virtual Ethernet Adapter" (TCP/IP) communication interface. Work the path in this order:
- In the PLCSIM Advanced control panel, set the instance's communication interface to the virtual adapter so it communicates over TCP/IP.
- Enable the OPC UA server on the simulated CPU in the TIA Portal project and download to the running instance.
- Start the instance and confirm the virtual adapter's IP address answers before you touch Citect.
- In Vijeo Citect, add the OPC UA client as the I/O device and point it at the endpoint the instance reports.
- Exchange and trust certificates on both sides — the same step as trusting the Citect OPC UA client certificate on a B&R PLC, done against the simulator instead.
- Browse the server, create variable tags against the exposed items, and compile.
If your Citect build lists no OPC UA client device, that is a version and licensing question with your distributor, not a setting you are missing. Some third-party OPC servers document PLCSIM Advanced support with the virtual adapter mode enabled, which is the route when your build's client support is OPC DA instead. Instance, endpoint and client can all live on one machine, with the same discipline as simulating a Modbus TCP SCADA link on one PC.
How do you simulate when the program is an S7-200? #
You cannot. PLCSIM has no S7-200 mode — it simulates S7-300/400 and, in the TIA editions, S7-1200/1500 — so the no-hardware test is graphics animated by local variables, with the program proven later on the physical CPU.
The S7-200's programming software has no Siemens simulator behind it, which closes the simulator path and leaves two honest options for a demonstration without hardware:
- Define the variable tags with no I/O device at all, as local variables, and bind every object to them. The screens animate, operators can write to them, and you drive values by hand or from Cicode.
- Present the demonstration for what it is: graphics, navigation and operator actions — not the program, and not communications.
Book time on the physical CPU for the logic test before your deadline, because nothing replaces it.
Why does Citect reject addresses like i0.0, m0.0 and c0.0? #
Because the value type and the address must match: choose Digital and i0.0 or m0.0 is accepted as a bit, choose Int and only word addresses such as VW10 pass, while c0.0 fails because S7-200 counters are C0 to C255 with no bit suffix.
The value type field in the variable tag form decides what the address parser will take. Int and Digital are not interchangeable, and the fix is to make the type describe the datum:
| Reference you typed | What it is | Value type to select | Result |
|---|---|---|---|
| i0.0 | input bit I0.0 | Digital | Accepted; follows the input image |
| m0.0 | memory bit M0.0 | Digital | Accepted; writable from graphics |
| c0.0 | counter C0 with an invalid .0 suffix | none | Rejected; use C0 for the count |
| VW10 | variable-memory word | Int | Accepted; scale it in the tag |
Decide what you need from the counter before you tag it: the accumulated count is a word, so tag C0 as an Int and display the number, and if you need an on/off state, use a bit your program derives from the counter. A matched type still fails when the address sits outside the installed driver's documented syntax — the same mismatch behind why C-More shows tag addresses you cannot set in Productivity — so keep the driver's address list open while you type.
Then verify in three steps:
- Set the tag's I/O device first, then the value type, then the address.
- Compile and clear any error naming the tag.
- Put the runtime tag and the same address side by side — the programming software's monitor on one side, Citect's tag value and quality on the other — and confirm they move together.
How do the S7-200 inputs and outputs show up on the graphics? #
Through variable tags only: Citect never imports the electrical I/O, so you bind an indicator lamp to a tag reading the state of I0.0 and a button to a writable tag your program treats as an input, respecting its own interlocks.
A physical input is field status; a physical output is driven by the program. Neither belongs to the screen, so build the panel as:
- read-only indicators on Digital tags for the states you want visible;
- one writable command tag per operator action — a memory bit or word the program consumes through its permissives — and never a button bound straight to an output address the program also drives.
Worked example with illustrative numbers: the program scales an analog channel into VW100 as 0 to 32000 raw for 0 to 150 °C. Configure the Citect tag TankTemp as Int, address VW100, raw zero 0, raw full 32000, engineering zero 0, engineering full 150. When the channel word holds 6400:
6400 × (150 − 0) ÷ (32000 − 0) = 960000 ÷ 32000 = 30.0 °C
The lamp reads its bit directly; the number on screen is engineering units the tag computes from the raw word. One safety note: this screen proves display and navigation only — E-stops and interlocks live in the program, and no simulator-built graphic validates them.
Which test path proves what before commissioning? #
Three paths, three different proofs: local variables prove the graphics, the simulator path proves the program executes and hands data over, and only the physical-PLC path proves the driver, cabling and addressing you will actually run.
| Test objective | Data source | What success proves |
|---|---|---|
| Graphics, navigation, operator actions | Local variable tags | Objects read and write the intended variables |
| Program without hardware | PLCSIM Advanced instance over OPC UA | The executing program exchanges data with the client |
| Deployed communications | Physical CPU on its configured driver | Driver, connection, addressing and access work together |
A success on one row is not evidence for another, so run the row your deadline actually tests. For the last row, the configuration is the same one described for how Vijeo Citect SCADA communicates with an S7-300 PLC, reused at commissioning unchanged.
Where do the OPC server and its license come from? #
From the manufacturer or an authorized distributor only: PLCSIM Advanced's OPC UA server ships with PLCSIM Advanced itself (V4.0 onward), so there is nothing extra to license for the S7-1500 path, while any bridge for classic PLCSIM is a separate licensed product.
Get the simulator, the engineering software and any bridge from their manufacturers or authorized distributors, and license the bridge on its vendor's terms — a copy from anywhere else is out of the question. Switching SCADA packages is not the shortcut it looks like: the replacement must document simulator support for the version you run, or you have only moved the problem.
Questions asked
Can the whole PLCSIM Advanced test run on one laptop?
Yes. The instance, its OPC UA endpoint and the Citect client can all run on one machine, because the PLCSIM Virtual Ethernet Adapter behaves like a local network connection. Start the instance first, confirm its IP address answers, then start the Citect client; if you trusted certificates after the client connected, restart the client so it reconnects with the trusted certificate.
Why does VW100 read a nonsense number when the tag type is Int?
Check three things before blaming the driver. S7-200 word addresses start on even byte boundaries, so VW100 is valid and VW101 is not, and a tag aimed one word off reads neighboring data. Then check the tag's raw and engineering scaling constants: with raw full 32000 and engineering full 150, a word value of 6400 must display 30, and a factor-of-ten error means a mistyped constant. Finally, confirm the program really moves the analog value into VW100 every scan.
Is there any way to execute the S7-200 program itself without the CPU?
No. Siemens ships no simulator for the S7-200, and its programming software has no simulation mode, so the program runs only on the physical CPU. What you can do without hardware is desk-check the logic in the programming software and animate the Citect screens from local variables, then finish commissioning against the real controller.
Do I need a separate OPC server license for the S7-1500 path?
No. The OPC UA server is part of S7-PLCSIM Advanced from V4.0 and is enabled on the simulated CPU itself, so the products to arrange are PLCSIM Advanced and a Citect build with the OPC UA client driver. For classic PLCSIM the position reverses: any bridge that reads S7ProSim is a third-party product licensed on its own terms.