% sample time
Ts = 0.1;

% load PLC builtin types
plcloadtypes;

% define timer initial values
T37_InitialValue = FB_TON.InitialValue;
T37_InitialValue.PRE = int32(300*100);

T38_InitialValue = FB_TOF.InitialValue;
T38_InitialValue.PRE = int32(100*100);

T39_InitialValue = FB_TON.InitialValue;
T39_InitialValue.PRE = int32(12*100);

T40_InitialValue = FB_TON.InitialValue;
T40_InitialValue.PRE = int32(10*100);

T41_InitialValue = FB_TOF.InitialValue;
T41_InitialValue.PRE = int32(1*100);

% define dashboard parameters
InteriorFloor1Request = false;
InteriorFloor2Request = false;
InteriorFloor3Request = false;
InteriorFloor4Request = false;

ExteriorFloor1Request = false;
ExteriorFloor2Request = false;
ExteriorFloor3Request = false;
ExteriorFloor4Request = false;

Photocell  = false;