CProg CRI Driver
This driver allows the communication between Simumatik and CProg to connect to exchange I/O variables and axis values in degrees.
Parameters
Aside from the common parameters described in the communication_driver docs, this driver includes:
Parameter | Default Value | Description |
---|---|---|
controller | 127.0.0.1 | IP address of the CProg robot. |
Setup data
The setup data will give values to the parameters required and will specify the I/O variables info.
{
"parameters": {
"controller": "127.0.0.1"
},
"variables": {
"Axis": {
"datatype": "float",
"size": 6,
"operation": "read"
},
"inputs": {
"datatype": "byte",
"size": 1,
"operation": "write"
},
"outputs": {
"datatype": "byte",
"size": 2,
"operation": "read"
}
}
}
note
The setup_params in the generic PLC components for cprog_cri will need the following format:
{ "controller": "127.0.0.1" }