Differences
This shows you the differences between two versions of the page.
en:software:qview:qview_6:qcl_library:du10mbretry [2017/02/24 17:58] – created qem103 | en:software:qview:qview_6:qcl_library:du10mbretry [2019/08/29 17:01] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== DU10MbRetry ====== | ||
+ | |||
+ | **D = **// | ||
+ | |||
+ | **U = **//Utility functions// | ||
+ | |||
+ | The DU10MbRetry function __manages the execution of the SEND command to the MODBUS device and check the success of the command__ admitting a series of programmed in the event that the data is altered during transmission. | ||
+ | |||
+ | ===== IMPLEMENTATION ===== | ||
+ | |||
+ | **DU10MbRetry (Modbus, MaxAttempt, RelaxTime, Attempt, Result)** | ||
+ | |||
+ | Parameters: | ||
+ | |||
+ | ^IN/ | ||
+ | | IN | INTDEVICE | ||
+ | | IN | SYSTEM o GLOBAL o \\ CONST | MaxAttempt | ||
+ | | IN | GLOBAL o \\ CONST | RelaxTime | ||
+ | | OUT | GLOBAL | ||
+ | | OUT | GLOBAL | ||
+ | |||
+ | === Note === | ||
+ | |||
+ | The attempts are executed only if the parameter **err** parameter takes the 6, 51, 52, 53,54 or 55 values.\\ | ||
+ | Is never evaluated **serr** parameter. | ||