add a sync chr to the tx eg
SEROUT GPIO.1,T2400,["*",Adr1,Adr2,Lygis,CMD1,CMD2]

rx becomes

SERIN GPIO.5,T2400,["*"],Adr1,Adr2,Lygis,CMD1,CMD2


syntax for logical expressions is best done in parenthesis

if (Adr1 = %00111110) and (ADR2 = %01101110) and (cmd1 = %10111110 )and (cmd2 = %10011100) then