Skip to content

CProg CRI

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:

  • controller: IP address of the CProg robot. Default = "127.0.0.1'

Setup data

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

{
    "parameters": {
        "controller": "1921.168.1.23", 
    },
    "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": "1921.168.1.23"}