Yt_CO_TCP_FC_Data
Yt_CO_TCP_FC_Data: STRUCT
| Element | Data Type | Description | Usage |
|---|---|---|---|
| FC1 | Yt_CO_FC1 |
Sub-structure for controlling function code 1 driver |
Yt_CO_TCP_FC_Data.FC1 |
| FC2 | Yt_CO_FC2 |
Sub-structure for controlling function code 2 driver |
Yt_CO_TCP_FC_Data.FC2 |
| FC3 | Yt_CO_FC3 |
Sub-structure for controlling function code 3 driver |
Yt_CO_TCP_FC_Data.FC3 |
| FC4 | Yt_CO_FC4 |
Sub-structure for controlling function code 4 driver |
Yt_CO_TCP_FC_Data.FC4 |
| FC5 | Yt_CO_FC5 |
Sub-structure for controlling function code 5 driver |
Yt_CO_TCP_FC_Data.FC5 |
| FC6 | Yt_CO_FC6 |
Sub-structure for controlling function code 6 driver |
Yt_CO_TCP_FC_Data.FC6 |
| FC15 | Yt_CO_FC15 |
Sub-structure for controlling function code 15 driver |
Yt_CO_TCP_FC_Data.FC15 |
| FC16 | Yt_CO_FC16 |
Sub-structure for controlling function code 16 driver |
Yt_CO_TCP_FC_Data.FC16 |
| FC23 | Yt_CO_FC23 |
Sub-structure for controlling function code 23 driver |
Yt_CO_TCP_FC_Data.FC23 |
Yt_CO_FC1: STRUCT
| Element | Data Type | Description | Usage |
|---|---|---|---|
| Start | BOOL |
Upon the rising edge of enable this function code data will initiate execution of this function code. If parameters are changes "Start" will need to refire.
|
Yt_CO_FC1.Start |
| StartRegister | WORD |
Address of the first bit to be read. |
Yt_CO_FC1.StartRegister |
| Quantity | UINT |
Number of bits to be read, Valid range: 1-2000 |
Yt_CO_FC1.Quantity |
| Status | Yt_CO_TCP_ARR_B_1_260 |
Values of all coils in terms of bytes. The first register starts at byte 1 bit 0, the 19th register is represented by byte 3 bit 3. |
Yt_CO_FC1.Status |
| Done | BOOL |
When Start := TRUE, Done is set TRUE for a scan when this function code recieves a new packet of data. |
Yt_CO_FC1.Done |
Yt_CO_FC2: STRUCT
| Element | Data Type | Description | Usage |
|---|---|---|---|
| Start | BOOL |
Upon the rising edge of enable this function code data will initiate execution of this function code. If parameters are changes "Start" will need to refire.
|
Yt_CO_FC2.Start |
| StartRegister | WORD |
Address of the first bit to be read. |
Yt_CO_FC2.StartRegister |
| Quantity | UINT |
Number of bits to be read, Valid range: 1-2000 |
Yt_CO_FC2.Quantity |
| Status | Yt_CO_TCP_ARR_B_1_260 |
Values of all coils in terms of bytes. The first register starts at byte 1 bit 0, the 19th register is represented by byte 3 bit 3. |
Yt_CO_FC2.Status |
| Done | BOOL |
When Start := TRUE, Done is set TRUE for a scan when this function code recieves a new packet of data. |
Yt_CO_FC2.Done |
Yt_CO_FC3: STRUCT
| Element | Data Type | Description | Usage |
|---|---|---|---|
| Start | BOOL |
Upon the rising edge of enable this function code data will initiate execution of this function code. If parameters are changes "Start" will need to refire.
|
Yt_CO_FC3.Start |
| StartRegister | WORD |
Address of the first bit to be read. |
Yt_CO_FC3.StartRegister |
| Quantity | UINT |
Number of bits to be read, Valid range: 1-2000 |
Yt_CO_FC3.Quantity |
| Status | Yt_CO_TCP_ARR_W_1_125 |
Values of all coils in terms of bytes. The first register starts at byte 1 bit 0, the 19th register is represented by byte 3 bit 3. |
Yt_CO_FC3.Status |
| Done | BOOL |
When Start := TRUE, Done is set TRUE for a scan when this function code recieves a new packet of data. |
Yt_CO_FC3.Done |
Yt_CO_FC4: STRUCT
| Element | Data Type | Description | Usage |
|---|---|---|---|
| Start | BOOL |
Upon the rising edge of enable this function code data will initiate execution of this function code. If parameters are changes "Start" will need to refire.
|
Yt_CO_FC4.Start |
| StartRegister | WORD |
Address of the first bit to be read. |
Yt_CO_FC4.StartRegister |
| Quantity | UINT |
Number of bits to be read, Valid range: 1-2000 |
Yt_CO_FC4.Quantity |
| Status | Yt_CO_TCP_ARR_W_1_125 |
Values of all coils in terms of bytes. The first register starts at byte 1 bit 0, the 19th register is represented by byte 3 bit 3. |
Yt_CO_FC4.Status |
| Done | BOOL |
When Start := TRUE, Done is set TRUE for a scan when this function code recieves a new packet of data. |
Yt_CO_FC4.Done |
Yt_CO_FC5: STRUCT
| Element | Data Type | Description | Usage |
|---|---|---|---|
| Start | BOOL |
Upon the rising edge of enable this function code data will initiate execution of this function code. If parameters are changes "Start" will need to refire.
|
Yt_CO_FC5.Start |
| StartRegister | WORD |
Address of the first bit to be read. |
Yt_CO_FC5.StartRegister |
| Value | BOOL |
Boolean value to be sent to the server's coil registers. |
Yt_CO_FC5.Status |
| Done | BOOL |
When Start := TRUE, Done is set TRUE for a scan when this function code recieves a new packet of data. |
Yt_CO_FC5.Done |
Yt_CO_FC6: STRUCT
| Element | Data Type | Description | Usage |
|---|---|---|---|
| Start | BOOL |
Upon the rising edge of enable this function code data will initiate execution of this function code. If parameters are changes "Start" will need to refire.
|
Yt_CO_FC6.Start |
| OutputAddress | WORD |
Address of the register to be written. |
Yt_CO_FC6.OutputAddress |
| Value | WORD |
Value to be writtent to the register. |
Yt_CO_FC6.Status |
| Done | BOOL |
When Start := TRUE, Done is set TRUE for a scan when this function code recieves a new packet of data. |
Yt_CO_FC6.Done |
Yt_CO_FC15: STRUCT
| Element | Data Type | Description | Usage |
|---|---|---|---|
| Start | BOOL |
Upon the rising edge of enable this function code data will initiate execution of this function code. If parameters are changes "Start" will need to refire.
|
Yt_CO_FC15.Start |
| StartRegister | WORD |
Address of the first register to be written. |
Yt_CO_FC15.StartRegister |
| Quantity | UINT |
Number of outputs to be written. Valid value range: 1 - 1000 |
Yt_CO_FC15.Quantity |
| Value | Yt_CO_TCP_ARR_B_1_260 |
Values that are to be written to the outputs. BYTE array with the limits 1 to 250. Each output is represented by a bit; the first output corresponds to the first bit of the first byte |
Yt_CO_FC15.Value |
| Done | BOOL |
When Start := TRUE, Done is set TRUE for a scan when this function code recieves a new packet of data. |
Yt_CO_FC15.Done |
Yt_CO_FC16: STRUCT
| Element | Data Type | Description | Usage |
|---|---|---|---|
| Start | BOOL |
Upon the rising edge of enable this function code data will initiate execution of this function code. If parameters are changes "Start" will need to refire.
|
Yt_CO_FC16.Start |
| StartRegister | WORD |
Address of the first register to be written. |
Yt_CO_FC16.StartRegister |
| Quantity | UINT |
Number of registers to be read. Valid value range: 1 - 125 |
Yt_CO_FC16.Quantity |
| Value | Yt_CO_TCP_ARR_W_1_125 |
Values read from the registers. WORD array with the limits 1 to 125. |
Yt_CO_FC16.Value |
| Done | BOOL |
When Start := TRUE, Done is set TRUE for a scan when this function code recieves a new packet of data. |
Yt_CO_FC16.Done |
Yt_CO_FC23: STRUCT
| Element | Data Type | Description | Usage |
|---|---|---|---|
| Start | BOOL |
Upon the rising edge of enable this function code data will initiate execution of this function code. If parameters are changes "Start" will need to refire.
|
Yt_CO_FC23.Start |
| ReadStartRegister | WORD |
Address of the first register to be written. |
Yt_CO_FC23.StartRegister |
| ReadQuantity | UINT |
Number of registers to be read. Valid value range: 1 - 125 |
Yt_CO_FC23.Quantity |
| ReadValue | Yt_CO_TCP_ARR_W_1_125 |
Number of registers to be read (1..125). |
Yt_CO_FC23.Value |
| WriteStartRegister | WORD |
Address of the first register to be written. |
Yt_CO_FC23.Done |
| WriteQuantity | UINT |
Number of registers to be written (1..121). |
Yt_CO_FC23.Done |
| WriteValues | Yt_CO_TCP_ARR_W_1_125 |
Values to be written to the register. WORD array with the limits 1 to 125 |
Yt_CO_FC23.Done |
| Done | BOOL |
When Start := TRUE, Done is set TRUE for a scan when this function code recieves a new packet of data. |
Yt_CO_FC23.Done |