Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Descriptions ¶
type Device ¶
type Device struct { Type DeviceType Names []LcIdentifiedName `xml:"Name"` Sms []Sm `xml:"Sm"` Eeprom Eeprom }
type DeviceType ¶
type DeviceType struct { Name string `xml:",chardata"` ProductCodeRaw string `xml:"ProductCode,attr"` RevisionNoRaw string `xml:"RevisionNo,attr"` }
func (DeviceType) ProductCode ¶
func (d DeviceType) ProductCode() uint32
func (DeviceType) RevisionNo ¶
func (d DeviceType) RevisionNo() uint32
type EtherCATInfo ¶
type EtherCATInfo struct { Vendor Vendor Descriptions Descriptions }
func ReadEtherCATInfo ¶
func ReadEtherCATInfo(r io.Reader) (eci EtherCATInfo, err error)
func ReadEtherCATInfoFromFile ¶
func ReadEtherCATInfoFromFile(filename string) (eci EtherCATInfo, err error)
type GroupName ¶
type GroupName struct {
LcIdentifiedName
}
type LcIdentifiedName ¶
type Sm ¶
type Sm struct { Name string `xml:",chardata"` MinSize, MaxSize, DefaultSize uint `xml:",attr"` StartAddressRaw string `xml:"StartAddress,attr"` ControlByteRaw string `xml:"ControlByte,attr"` }
func (Sm) ControlByte ¶
func (Sm) StartAddress ¶
Click to show internal directories.
Click to hide internal directories.