VAR_INPUT
Line : STRING; //Line to be calculated
LineStruct AT Line : STRUCT
MaxLen : BYTE;
ActLen : BYTE;
Chars : ARRAY[1..254] OF CHAR;
END_STRUCT;
Font : CHAR; //Used font ID
Compression : INT; //Line compression [%]
Spacing : INT; //Line spacing
Head_Setup : STRUCT //Input values for printer configuration
LPMD : BYTE; //Lengthwise product moving direction (0= right to left, 1= left to right)
CPMD : BYTE; //Crosswise product moving direction (0= top to bottom, 1= bottom to top)
HS : BYTE; //Head setup (0=Combijet, 1=Classic, 2=MX)
SP3 : BYTE; //Spare
ENC1M : INT; //Encoder 1 multiplication factor
ENC1D : INT; //Encoder 1 divisor factor
ENC2M : INT; //Encoder 2 multiplication factor
ENC2D : INT; //Encoder 2 divisor factor
GATL : INT; //Gun activation time low voltage [*50us]
VS : INT; //Virtual speed [mm/s] (0-10000, 0 = deactivated)
TAT : INT; //Thinner activation time [ms]
WAT : INT; //Water addition time [ms]
BTA : INT; //Break time for water addition [ms]
ICP : BYTE; //Interval cleaning pulses
SPN : BYTE; //Pulsation prior to marking
AAD : INT; //Atomizing air distance (0: Permanent, >=1: Distance prior/after marking)
DSTT : INT; //Drain section(s) of thinner time [ms]
TEN : INT; //Time for emptying nozzles of paint [ms]
PNT : INT; //Pulsation nozzle time [ms]
CNT : INT; //Constant nozzle time [ms]
DSTP : INT; //Time for draining sections of paint [ms]
DPST : INT; //Depressurization of paint system [ms]
PSA : BYTE; //Preset position action
HWI : BYTE; //Hardware inputs (1 = Use hardware inputs)
MPC : BYTE; //Marking preparation config (0=Air off, 1=AirOn wPuls wMark wPause, 2=AirOn wPuls wMark w/oPause, 3=AirOn wPuls w/oMark, 4=AirOn)
NOS : BYTE; //Number of sections
NOG : BYTE; //Number of guns per section
SP43 : BYTE; //Spare
GDST : INT; //Gun distance [1/10mm] (Combijet = 10mm, Classic section = 30mm)
ANGLE : INT; //Section angle [1/10°]
BLN : INT; //MCU Baseline (No of first gun connected to this MCU)
MXDST : INT; //MX head distance [1/10mm]
SP52 : DWORD; //Spare
SP56 : DWORD; //Spare
END_STRUCT;
Character_Sizes : UDT1115;
END_VAR