Category Archives: Communication Protocols

CIP Service Codes Complete Reference: Common Services and Object-Specific Codes

Every CIP message starts with a one-byte service code. That byte tells the target device what to do — read an attribute, write an attribute, open a connection, reset, save configuration. This page is the authoritative reference for every CIP service code defined by ODVA’s CIP Networks Library Volume 1, Appendix A. If services are the verbs of… Read More: CIP Service Codes Complete Reference: Common Services and Object-Specific Codes »

CIP General Status Codes Reference: Complete List with Troubleshooting

When a CIP service fails, the device returns an error response with a one-byte General Status Code that tells you why. This page is the complete reference for every code defined by the official CIP specification — what each one means, what usually causes it, and how to fix it. The codes come straight from ODVA’s CIP Networks… Read More: CIP General Status Codes Reference: Complete List with Troubleshooting »

EtherNet/IP Encapsulation Protocol Explained: The 24-Byte Header That Carries CIP

Open Wireshark on an EtherNet/IP network and the first thing you see is not CIP. You see TCP. Then a strange 24-byte header. Then more bytes inside that look like CIP. The 24-byte header is the EtherNet/IP Encapsulation Protocol — the layer that wraps every CIP message onto a TCP/IP network. Nobody talks about it because everyone calls… Read More: EtherNet/IP Encapsulation Protocol Explained: The 24-Byte Header That Carries CIP »

CIP Safety Explained: How EtherNet/IP Carries SIL3 Safety Data

Here is the question every engineer eventually asks: how can you trust an Ethernet packet to stop a hydraulic press? Standard Ethernet drops packets. Switches buffer and re-order them. Cables get unplugged mid-cycle. Yet CIP Safety lets a safety PLC monitor an emergency stop button over the same network that carries your I/O and your HMI traffic —… Read More: CIP Safety Explained: How EtherNet/IP Carries SIL3 Safety Data »

MQTT Retained Messages Explained: Last Known Value

In MQTT, a publishing client has no guarantee that a subscribing client will actually receive its message, because pub/sub decouples them. The publisher’s only guarantee is that the message arrives at the broker; from there, delivery to subscribers depends on who is currently subscribed. Similarly, a client that has just connected and subscribed has no guarantee about when… Read More: MQTT Retained Messages Explained: Last Known Value »