Skip to main content

PLCSim Advanced Driver

Driver to communicate with Siemens PLCSim Advanced using the Siemens.Simatic.Simulation.Runtime.Api.x86/x64.dll.

note

The gateway needs to be running on the same machine as the PLC Sim Advanced instance, i.e. no network abilities, if networking is required see s7protocol.

Parameters​

Aside from the common parameters described in the communication_driver docs, this driver includes:

ParameterDefault ValueDescription
instanceNames7-1500The instance name of the PLC Sim Advanced Instance.

Setup data​

The setup data will give values to the parameters required and will specify the I/O variables info.

{
"parameters": {
"instanceName": "s7-1500"
},
"variables": {
"input": {
"datatype": "byte",
"size": 1,
"operation": "write"
},
"output": {
"datatype": "byte",
"size": 1,
"operation": "read"
}
}
}
note

PLCSim Advanced driver uses the symbolic name of the tag as variable name.

note

The setup_params in the generic PLC components for plcsim_advanced will need the following format:

{ "instanceName": "s7-1500" }