6.5.41 Device Reset
Short description
This function block is used to reset the device (Ethernet modem or WIFI modem built-in) in the CPU, if there
is a trigger at the Trg pin. It merely can be applied to the CPU with Ethernet module or Wifi module built-in.
Available in below CPUs:
EXM series type:
EXM-12DC-DA-R-N
EXM-12DC-DA-RT-WIFI
EXM-12DC-DA-RT-GWIFI
If there is a trigger at the Trg pin, then the Ethernet modem will be
reset , The modem will be startup again until the time "Reset period"
reached.
Channel: Ethernet
Reset period:1—100s
When the Ethernet module had been reset successfully, this block will
output a short trigger.
.
Description of the function
In order to monitor the communication status of the Ethernet to see if it is normal or continuous(or avoid the
Ethernet module is dead by unknown cause), sometimes we need reset the Ethernet module built-in in the
CPU when the communication has failed or been timeout.
Just one parameter to be set is the "Reset period" as follows:
Here are two examples with detailed description on how to use these blocks in the program.
Example 1