ProgrammingReading and writing the program memory.57COMPAX Command CodesDefinition of the command code: (A command code consists of 1 byte).Sorted according to command codeCode Command0x20 Empty instruction (No Operation)0x01 VALIDP / C / F0x41 POSA Value / POSA HOME0x42 GOSUB0x43 SETC n0x45 END0x47 GOTO0x49 IF Ex=y ... / IF ERROR ... / IF STOP ...0x4A IF <Operand1> <Comparison Operator><Operand2> ...0x4B LOOP n0x4C ACCEL Value0x4D SETM Value0x4F OUTPUT Ax=y0x50 Pn=. . .0x51 SETS Value0x52 POSR Value / POSR CAM0x53 SPEED Value / SPEED SYNC0x54 REPEAT Value0x55 RETURN0x56 Vn=. . .0x57 WAIT Value / WAIT START0x61 POSA Parameter0x6B LOOP Parameter0x6C ACCEL Parameter0x6D SETM Parameter0x71 SETS Parameter0x72 POSR Parameter0x73 SPEED Parameter0x74 REPEAT Parameter0x77 WAIT Parameter0xC1 POSA Variable0xCB LOOP Variable0xCC ACCEL Variable0xCD SETM Variable0xD1 SETS Variable0xD2 POSR Variable0xD3 SPEED Variable0x4D REPEAT Variable0xD7 WAIT VariableSorted by commandCode Command0x6C ACCEL Parameter0xCC ACCEL Variable0x4C ACCEL Value0x45 END0x42 GOSUB0x47 GOTO0x4A IF <Operand1> <Comparison Operator><Operand2> ...0x49 IF Ex=y ... / IF ERROR ... / IF STOP ...0x20 Empty instruction (No Operation)0x4B LOOP n0x6B LOOP Parameter0xCB LOOP Variable0x4F OUTPUT Ax=y0x50 Pn=. . .0x61 POSA Parameter0xC1 POSA Variable0x41 POSA Value / POSA HOME0x72 POSR Parameter0xD2 POSR Variable0x52 POSR Value / POSR CAM0x74 REPEAT Parameter0x4D REPEAT Variable0x54 REPEAT Value0x55 RETURN0x43 SETC n0x6D SETM Parameter0xCD SETM Variable0x4D SETM Value0x71 SETS Parameter0xD1 SETS Variable0x51 SETS Value0x73 SPEED Parameter0xD3 SPEED Variable0x53 SPEED Value / SPEED SYNC0x01 VALIDP / C / F0x56 Vn=. . .0x77 WAIT Parameter0xD7 WAIT Variable0x57 WAIT Value / WAIT START