realvirtual 6.8 is out. A big release with a clear direction: PLC programming belongs at the start of engineering.
In many projects the PLC code only starts once the mechanics are built and commissioning is already under pressure. With 6.8 you write Structured Text (ST) with PLCopen Motion directly at the digital twin, before the machine exists. Everything runs locally in your browser. No cloud, your models and programs stay with you.
Structured Text now drives robots
A motion group of kind Robot couples the PLCopen motion task to a robot. You command it from ST with MC_MoveDirectAbsolute for point-to-point moves and MC_MoveLinearAbsolute for straight paths with orientation. New function blocks include MC_AddAxisToGroup, MC_GroupHalt and MC_GroupReadPosition.
In the video a UR10e packs chocolate into a box. It is controlled by an ST program with PLCopen function blocks, the same way you would write it for the real controller. The PLC editor shows the online values while it runs. Details: PLCopen Motion, robots.
Blending
Moves can now be blended. With TransitionMode = mcTMCornerDistance and a corner distance on the buffered next move, the path runs smoothly through the corner instead of stopping there. This works for straight, point-to-point and mixed pairs on robot and Cartesian groups. Where no transition is possible, the group stops at the corner as before and the Problems panel says why.
Blending gives a smoother path. It does not make the cycle faster, we measured that. See Blending between moves.
PLCopen Motion in DES
The motion blocks of the virtual PLC now also run in discrete event simulation (DES), robot groups with point-to-point and linear moves included. A DES snapshot taken during a move continues it identically after the restore. See Running ST in DES.
PLCopen Motion for robots, blending and motion in DES are part of realvirtual Commercial.
Realtime level at 250 Hz
Next to Low and High there is a third performance level, Realtime. A worker clock drives the simulation at 250 steps per second, independent of the frame rate, so PLC signals are applied within a few milliseconds. If the model cannot hold that rate, it steps down to 100 or 60 Hz and reports it in the Problems panel. Compatible CONNECT gateways supply the clock, so the cadence also holds when the tab is in the background. See Performance level.
AI-generated geometry and AI in several tabs
The AI can now build scene objects such as pallets, cartons and illuminated buttons from parametric blueprints (Commercial). You get a preview, a measured report and a six-view image of the draft, and accept it in one step that you can undo. See AI-generated geometry.
Every tab connected to CONNECT can now be addressed by its own AI agent, and the AI control switch applies per tab.
Test actions for virtual commissioning
Two building blocks for scripted commissioning tests: test scopes (test.scope.begin and test.scope.end) revert the changes a test made once it ends, and sim.waitTime waits for a given amount of simulation time.
realvirtual CONNECT 1.11.0
CONNECT links the browser to real PLCs and robots. New in this version, all as beta:
- CODESYS NVL over UDP: network variable lists with CODESYS-based controllers such as CODESYS Control, ctrlX PLC and WAGO. Lists and signals are imported from the CODESYS .gvl export.
- Yaskawa Motoman over HSES.
- Stäubli CS8/CS9 over SOAP, read-only.
- ROS 2 via rosbridge, with topics mapped to signals.
- PLCnext: a new native implementation of the RSC interface, without the vendor DLL and without a helper process.
Headless mode now also runs on Linux, under systemd or in Docker, officially supported up to the High performance level.
A license server shares CONNECT licences across writing sessions in the local network. From three CONNECT licences they float automatically. It runs as a Windows service.
Try it
The public demo runs in your browser without an account: web.realvirtual.io/demo. To connect a real PLC, download realvirtual CONNECT (installation guide).
When do you write the first line of PLC code in your projects, before or after the machine is built?