ST_MDCLoadParameters

TYPE ST_MDCLoadParameters :
STRUCT
  bConnected         : BOOL;
  nDegreeOfPriority  : INT;
  tMINPowerOnTime    : TIME;
  tMAXPowerOffTime   : TIME;
END_STRUCT
END_TYPE

bConnected: TRUE = consumer connected; FALSE = consumer not connected.

nDegreeOfPriority: Indicates the switch-off priority; consumers with a low priority will be switched off first. ( 1 => low; ...  8 => high  priority)

tMINPowerOnTime: The minimum power-on time (minimum ramp-up time) during which the consumer may not be switched off.

tMINPowerOffTime: The minimum power-off time (recovery time) during which the consumer may not be switched on again.

tMAXPowerOffTime: The maximum power-off time after which the consumer must be switched on again.

Requirements

Development environment

Required PLC library

TwinCAT from v3.1.4020.32

Tc2_BABasic from v3.1.0.0