[Input]

IN_IN1_TYPE = TYPE_ASCII 
IN_IN1_SEP=0x2c

PNUM,     9, N, 0, 1
PLTE,   500, C, 0, 1
klar,     1, C, 0, 1
gpr1,     6, N, 2, 1
KLGE,     1, N, 0, 1


[Output]

OUT_OUT1_TYPE = TYPE_SX


[Code]
ECO1 = "0000000000000"

if (klar = "0")
  KLAR=0
  ECO1[1 2] = "01"
end
if (klar = "1")
  KLAR=1
  ECO1[1 2] = "02"
end
ECO1[3 9] = PNUM

ABNU=1
ANKE=0
WGNU=1
MWNU=1
PREU=1
GPR1= gpr1 * 100

output (WALO "  " PNUM "  " PLTE "  " GPR1 "-n")
