Yt_CO_CommStruct
Yt_CO_CommStruct: STRUCT
| Element | Data Type | Description | Usage |
|---|---|---|---|
| CommType | INT | Set 1 for Serial, 2 for Ethernet | Yt_CO_CommStruct.CommType |
| CommandType | INT | Set 0 for variable length with delimiters, 1 for fixed packets size | Yt_CO_CommStruct.CommandType |
| InactivityTimeout | TIME | Use this to allow the controller to close the socket if no communication has been received on the channel in the time required | Yt_CO_CommStruct.InactivityTimeout |
| BufferSize | UDINT | Size of the buffer in bytes | Yt_CO_CommStruct.BufferSize |
| Serial | Yt_CO_SerialConfig |
|
Yt_CO_CommStruct.Serial |
| Ethernet | Yt_CO_EthernetConfig |
|
Yt_CO_CommStruct.Ethernet |
Yt_CO_SerialConfig: STRUCT
| Element | Data Type | Description | Usage |
|---|---|---|---|
| PortNum | UINT |
|
Yt_CO_SerialConfig.PortNum |
| BaudRate | DINT |
|
Yt_CO_SerialConfig.BaudRate |
| DataBits | DINT |
|
Yt_CO_SerialConfig.DataBits |
| StopBits | DINT |
|
Yt_CO_SerialConfig.StopBits |
| Parity | DINT |
|
Yt_CO_SerialConfig.Parity |
| HandShake | DINT |
|
Yt_CO_SerialConfig.Handshake |
| CalcCheckSum | BOOL |
|
Yt_CO_SerialConfig.CalcCheckSum |
Yt_CO_EthernetConfig: STRUCT
| Element | Data Type | Description | Usage |
|---|---|---|---|
| LocalIPAddress | STRING | Local IP address of this device. (Some controllers may have more than one IP address, so this specifies which network to use.) | Yt_CO_EthernetConfig.LocalIPAddress |
| LocalIPPort | UINT | Port on the local device | Yt_CO_EthernetConfig.LocalPort |
| RemoteIPAddress | STRING | IP address of the remote device which is communicating to the iC9200 | Yt_CO_EthernetConfig.RemoteIPAddress |
| RemotePort | UINT | Port of the remote device on which the communication is going to happen. | Yt_CO_EthernetConfig.RemotePort |