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:
- instanceName: The instance name of the PLC Sim Advanced Instance. Default = 's7-1500'
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"}