Specifications

Chapter 5 - AsconMBCommLib
175
5-3-39 SYS_OPRS_MNGT
FB Prototype
SYS_OPRS_MNGT
Input parameters
Output parameters
Description
This function block allows to define the operational communication parameters
needed to manage the delay to execute the Modbus RTU and/or Modbus TCP
communication agents. The function block provides also information on the
application actual cycle time and the maximum and minimum cycle time reached
during normal operations. Of course, it should not be used in a timer task
otherwise you will get the task execution time.
Caution
In order to avoid communications and/or operational problems, SYS_OPRS_MNGT
must be used in a sort of “one-shot” mode at CPU Power-ON (and not cyclically).
Default Values Table
Label Type Description Range
EN_MB_RTU BOOL
Modbus RTU delay activation command
evaluated on the rising edge ONLY!!!
EN_MB_TCP BOOL
Modbus TCP delay activation command
evaluated on the rising edge ONLY!!!
DELAY_MB_RTU USINT
Modbus RTU activation cycle time delay [ms]
40… 255
DELAY_MB_TCP USINT
Modbus TCP activation cycle time delay [ms]
40… 255
Label Type Description
STS_MB_RTU BOOL Modbus RTU delay activation status
STS_MB_TCP BOOL Modbus TCP delay activation status
TSAM_MAX TIME
Maximum cycle time reached by the application since
Power ON
TSAM_ACT TIME Last actual cycle time of the application
TSAM_MIN TIME
Minimum cycle time reached by the application since
Power ON
EN_MB_RTU
EN_MB_TCP
DELAY_MB_RTU
DELAY_MB_TCP
BOOL
BOOL
USINT
USINT
¡
¡
¡
¡
BOOL
BOOL
TIME
TIME
TIME
STS_MB_RTU
STS_MB_TCP
TSAM_MAX
TSAM_ACT
TSAM_MIN
¡
¡
¡
¡
¡
Input Default Value
EN_MB_RTU FALSE
EN_MB_TCP FALSE
DELAY_MB_RTU 100
DELAY_MB_TCP 100