CIP Ethernet
6 min
review the following information for setting up and configuring the cip ethernet driver litmus edge compatible series compatibility parameter compatible items driver type ethernet validated devices/series rockwell automation (allen bradley) controllers supporting cip protocol over ethernet/ip replaces gen 1 driver(s) n/a to set up and configure this device in litmus edge, you will need to do the following step 1 set up and configure the plc device step 2 set up the plc device in litmus edge devicehub step 3 configure the list of registers step 1 set up and configure the plc device if the device is configured for ethernet access, find its network parameters including the ip address and port number the default port for cip ethernet/ip communication is typically 44818 step 2 set up the plc device in litmus edge devicehub configure the following parameters when you connect a device docid\ pal6abpzbrimdu9lvgj30 with this driver update default values to the specific setup of your device parameter value type odva driver cip ethernet network address the device ip address you recorded in step 1 port 44818 read timeout 3000 (ms) step 3 configure the list of registers when you add a tag docid\ tuy hh0gi8djvot70wroh to the connected device, refer to the following register table and tag parameters refer to the following additional resources organize device and tag data by using metadata docid\ mu 6j6zhi0cvchdad0w8n tag formula variables docid\ io7xgyrdvv vmpnfxoaci register table name value types access types description attribute bool, uint8, uint16, uint32, uint64, int8, int16, int32, int64, float32, float64, string, bit\[], uint8\[], uint16\[], uint32\[], uint64\[], int8\[], int16\[], int32\[], int64\[], float32\[], float64\[] r/w read or write individual cip object attributes attributerange string, uint8\[], uint16\[], uint32\[], uint64\[], int8\[], int16\[], int32\[], int64\[], float32\[], float64\[] r/o read a range of cip object attributes (read only) tag parameters name select a register name from the drop down list the available options depend on the names in the register table value type select a data type from the drop down list the available options depend on the register name selected polling interval enter a value in milliseconds this determines how often the tag should poll the register for data tag name enter a name for the tag description (optional) enter a description for the tag class id enter the cip object class identifier this specifies the type of object you want to access (for example, 1 for identity object, 4 for assembly object) instance id enter the cip object instance identifier this specifies which instance of the object class you want to access attribute id enter the cip attribute identifier this specifies which attribute of the object instance you want to read or write tag formula enter a formula for the tag to process the generated data two variables are permitted value (current tag value) and timestamp (current tag unix time in milliseconds) the following math functions are available sin cos sqrt tan power power ( x ) performs the operation 10^x log log ( x ) is the natural logarithm (the logarithm is in base e ) exp exp ( x ) performs the operation e^x only publish on change of value select the checkbox to customize nats messages to be published only when the value parameter changes to a new one change of value only applies to boolean, numeric (such as int or float), and simple string data types it does not apply to complex types, such as json or array poll once topics will not be affected by change of value settings these topics will still only see a single message meta data metadata summarizes basic information about data this feature allows you to define key value pair data for the device output payload later on it can then be used to find, use, and reuse particular instances of data note if you use special characters in meta data key names, the special characters are replaced with underscore characters in the payload this can cause two key names to be combined into one for example, configuring the key names a b and a&\&b will cause only one key name to be created (a b)