Tutorials

Virtuele inbedrijfstelling & PLCSIM Advanced

Valideer uw PLC-logica en HMI-interfaces op een digitale tweeling voordat u de echte machine aanraakt.

T
T-IA Connect Team
12 min lezen
Bijgewerkt op 12 mrt. 2026

Nul risico, 100% betrouwbaarheid

Virtuele inbedrijfstelling vermindert fouten ter plaatse drastisch. Door PLCSIM Advanced te gebruiken in combinatie met T-IA Connect kunt u uw volledige installatie simuleren, randgevallen testen en de veiligheid van de machine valideren zonder enig risico op hardwareschade.

Vereisten

  • Siemens PLCSIM Advanced V4.0 of hoger geïnstalleerd
  • T-IA Connect (AI Pro of Enterprise editie)
  • TIA Portal-project gecompileerd voor simulatie

Stap 1: PLCSIM-instantie configureren

Maak en start een virtuele simulatie-instantie via de API. U kunt de netwerkinterface (PLCSIM Virtual Ethernet Adapter) configureren voor echte TCP/IP-communicatie.

curl — POST /api/simulation/instances
curl -X POST http://localhost:9000/api/simulation/instances \
  -H "Content-Type: application/json" \
  -d '{
    "instanceName": "Sim_Conveyor_V1",
    "cpuType": "S71500",
    "ipAddress": "192.168.0.10",
    "subnetMask": "255.255.255.0",
    "startAfterCreate": true
  }'
Response
{
  "success": true,
  "instance": {
    "name": "Sim_Conveyor_V1",
    "id": "inst_01j2k3l4",
    "status": "Running",
    "ip": "192.168.0.10",
    "cpu": "S71500",
    "port": 102
  }
}

Stap 2: Het programma in de simulator laden

Gebruik de API om uw TIA Portal-project rechtstreeks in de actieve PLCSIM-instantie te laden, precies zoals u zou doen met een fysieke PLC.

curl — POST /api/simulation/instances/load
curl -X POST http://localhost:9000/api/simulation/instances/Sim_Conveyor_V1/load \
  -H "Content-Type: application/json" \
  -d '{
    "projectPath": "C:\\Projects\\Machine_V1\\Project.ap19",
    "stationName": "PLC_Main",
    "fullDownload": true
  }'
Response
{
  "success": true,
  "loadStatus": "Completed",
  "blocksLoaded": 42,
  "hardwareConfigured": true,
  "executionMode": "RUN"
}

Stap 3: Eenheidstests en scenario's uitvoeren

Zodra het programma is geladen, gebruikt u de API om ingangen te forceren, uitgangen te lezen en uw logicasequenties op een geautomatiseerde manier te valideren.

curl — POST /api/simulation/tags/force
curl -X POST http://localhost:9000/api/simulation/tags/force \
  -H "Content-Type: application/json" \
  -d '{
    "tagName": "Sensor_Pallet_At_Stop",
    "value": true,
    "durationMs": 500
  }'
Response
{
  "success": true,
  "currentValue": true,
  "monitoredOutputs": [
    { "name": "Conveyor_Motor_Start", "value": false },
    { "name": "Conveyor_Brake_Active", "value": true }
  ],
  "testResult": "PASS"
}

Virtuele inbedrijfstelling identificeert tot 80% van de softwarefouten voordat de eerste elektrische behuizing zelfs maar bedraad is.

Bespaar weken ter plaatse

Een goed voorbereide virtuele inbedrijfstelling is de sleutel tot een succesvol project. Het garandeert een soepele overgang naar echte productie met minimale stress.

Klaar om uw projecten te simuleren? Download T-IA Connect om te beginnen met uw virtuele inbedrijfstelling.