Summary Information

Communication Driver Name: OmronCIP

Implementation DLL: T.ProtocolDriver. OmronCIP.dll

Protocol: OmronCIP (CIP over TCP/IP)

Interface: TCPIP

PLC types supported: NX-Series (tested with NX102-9020)

Manufacturer: OMRON

PC Hardware requirements: Ethernet board



Channels Configuration

Protocol Options

Model: Set the PLC model. It can be:

  • NX-Series: For all models NX-Series and compatible. 



Nodes Configuration

Station Configuration

Stations syntax: <IP>;<Port>;<Slot>

Where:

  • <IP> = The IP address of the slave device in the network
  • <Port> = The TCP port where the slave device is listening (default is 44818)
  • <Slot> = The Slot number where the CPU is connected

Example Nodes Configuration

NameNode PrimaryStationSecondaryStationDescription
Node1OmronCIP192.168.1.101;44818;0



Points Configuration

Address Column Configuration

The syntax for the ControlLogix communication points is: <Type>:<DeviceTagName>

  • Type: The data type of the Tag in the PLC. The valid type values are:
TypeRead WriteSize
BOOLYesYes1 bit
SINTYesYes1 byte or 8 bits
INTYesYes2 bytes or 16 bits
DINTYesYes4 bytes or 32 bits
REALYesYes4 bytes or 32 bits IEEE Floating point
REALYesYes8 bytes or 64 bits IEEE Floating point
STRINGYesYesn bytes
  • DeviceTagName: The Tag Name in PLC



Troubleshoot

The status of the driver's execution can be observed through the diagnostic tools, which are:

• Trace window
• Property Watch
• Module Information

The above tools indicate if the operations have succeeded or have failed. A status of 0 (zero) means communication is successful. Negative values indicate internal driver errors, and positive values indicate protocol errors

Error Codes

Error CodeDescription Possible Solution
0SuccessNone
-100Error Sending Message
  • Turn the PLC on
  • Plug in the PLC Ethernet cable
  • Check the configured IP Address field in Device > Node
  • Ping the PLC using the prompt command
-101Error Sending and Waiting Message
-102 ... -105Error creating TCP/IP connection
-106Error Receiving Message
-112Timeout Start Message
  • Turn the PLC on
  • Plug in the PLC Ethernet cable
  • Ping the PLC using the prompt command
  • Check the configured IP Address field in Device > Node
  • Increase the driver timeout field in Device > Channel
-113Timeout between Treated Chars
-114Timeout End Message
-115Timeout Connect
-200Protocol Error
  • Check if the PLC model is compatible with driver documentation
  • Check the configured Address field in Device > Points
-201Invalid Protocol
  • Check if the PLC model is compatible with driver documentation
  • Contact technical support
-202Invalid Station
  • Check the configured IP Address field in Device > Node
  • Restart the driver
-204Invalid Message Sequence
  • Check if the PLC model is compatible with driver documentation
  • Check the configured Address field in Device > Points
> 0CIP Error


CIP Error Codes

The following error codes are in decimal.

Error CodeDescription
1Connection Failure
2Insufficient resources
3Value invalid
4IOI could not be deciphered or tag does not exist
5Unknown destination
6Requested Data would not fit in the response packet
7Loss of connection
8Unsupported service
9Error in data segment or invalid attribute value
10Attribute list error
11State already exists
12Object model conflict
13Object already exists
14Attribute not settable
15Permission denied
16Device state conflict
17Reply will not fit
18Fragment primitive
19Insufficient command data / parameters specified to execute service
20Attribute not supported
21Too much data specified
26Bridge request too large
27Bridge response too large
28Attribute list shortage
29Invalid attribute list
30Embedded service error
31Failure during connection
34Invalid reply received
37Key segment error
38Number of IOI words specified does not match IOI word count
39Unexpected attribute in list

It is very important to enable the TraceWindow messages. Invalid addresses can cause all the communication blocks with the PLC to fail. When the Device is enabled in the settings, the TraceWindow tool will display the first invalid address found on the block.

In order to have a quick view of the many communication blocks, open the ModuleInformation, navigate on the tree to find OmronCIP and them select the Read Groups. Looking at the number and success and fail communication counters, you can easily identify if there is a block with error and then use the TraceWindow to locate the wrong address.



  • No labels