This package implements S/IP, the Sercos Internet Protocol for accessing data in Sercos devices, in go.
Supported services:
- TCP ReadEverything, ReadDescription, ReadOnlyData, ReadDataState for reading parameter data
- TCP WriteData for writing parameter data
- UDP Browse to browse for devices supporting the S/IP protocol.
Per the Sercos IDN parameter model, this implementation enforces a maximum of 65535 (0xFFFF) bytes on all variable-length PDU fields:
| Field | PDU(s) |
|---|---|
| Data | ReadEverything, ReadOnlyData, WriteData |
| Name | ReadEverything, ReadDescription |
| Unit | ReadEverything, ReadDescription |
| DisplayName, HostName | Browse |
| NoMessageTypes | Connect |
Responses advertising larger values are rejected with an error.