COM_IO_WDOG
The COM_IO_WDOG instruction monitors external messaging to controller inputs and outputs.
For example, if the CIP write command to variable _IO_EM_DO_00 is not received over EtherNet/IP within the configured timeout, the watch dog timer will expire and all controller outputs are reset.
EtherNet/IP, Modbus TCP, and Modbus RTU protocols are supported.
Languages supported: Function block diagram, ladder diagram, structured text.
This instruction applies to the
Micro820
L20E, Micro850
L50E, and Micro870
L70E controllers. The instruction is supported when the
firmware revision is 12.00 or later.COM_IO_WDOG

TIP:
- Although multiple instances of the instruction can exist, only one instance can be enabled. Otherwise, an error with ErrorID set to 2 will occur.
- Only controller embedded, plug-in, and expansion digital I/Os are supported.
Parameter | Parameter Type | Data Type | Description |
|---|---|---|---|
Enable | Input | BOOL |
|
OutputClr | Input | BOOL |
|
PT | Input | TIME | Duration to wait before timeout. The value for a timeout cannot be less than one second, or an error occurs. The maximum value for PresetTime can be the maximum value within TIME data type. |
TimeOut | Output | BOOL |
|
ET | Output | TIME | The current elapsed time. The possible values range is from 0 ms through 1193h2m47s294ms. |
Status | Output | USINT | Status of the function block.
|
Error | Output | BOOL | Indicates an error. |
ErrorID | Output | USINT | When an error occurs, ErrorID contains the error code. |
ErrorID Code | Error Description |
|---|---|
1 | The PresetTime is less than one second. |
2 | Another COM_IO_WDOG function block instance is already executing. |
COM_IO_WDOG examples
COM_IO_WDOG function block diagram example

COM_IO_WDOG ladder diagram example

COM_IO_WDOG structured text example

Provide Feedback