N@GPS Data Core
I@Command Clear A B C D E F G H I J X1 Y1 Z1
O@Data1 Data2 Data3 Data4
interval(500)
Command & A -> X1a=X1,Y1a=Y1,Z1a=Z1;
Command & B -> X2a=X1,Y2a=Y1,Z2a=Z1;
Command & C -> X3a=X1,Y3a=Y1,Z3a=Z1;
Command & D -> X4a=X1,Y4a=Y1,Z4a=Z1;
Command & E -> X5a=X1,Y5a=Y1,Z5a=Z1;
Command & F -> X6a=X1,Y6a=Y1,Z6a=Z1;
Command & G -> X7a=X1,Y7a=Y1,Z7a=Z1;
Command & H -> X8a=X1,Y8a=Y1,Z8a=Z1;
Command & I -> X9a=X1,Y9a=Y1,Z9a=Z1;
Command & J -> X0a=X1,Y0a=Y1,Z0a=Z1;

Command & A & Clear -> X1a=0,Y1a=0,Z1a=0;
Command & B & Clear -> X2a=0,Y2a=0,Z2a=0;
Command & C & Clear -> X3a=0,Y3a=0,Z3a=0;
Command & D & Clear -> X4a=0,Y4a=0,Z4a=0;
Command & E & Clear -> X5a=0,Y5a=0,Z5a=0;
Command & F & Clear -> X6a=0,Y6a=0,Z6a=0;
Command & G & Clear -> X7a=0,Y7a=0,Z7a=0;
Command & H & Clear -> X8a=0,Y8a=0,Z8a=0;
Command & I & Clear -> X9a=0,Y9a=0,Z9a=0;
Command & J & Clear -> X0a=0,Y0a=0,Z0a=0;

Data1=send(X1a,Y1a,Z1a,X2a,Y2a,Z2a,X3a,Y3a,Z3a,X4a,Y4a,Z4a)
Data2=send(X5a,Y5a,Z5a,X6a,Y6a,Z6a,X7a,Y7a,Z7a,X8a,Y8a,Z8a)
Data3=send(X9a,Y9a,Z9a,X0a,Y0a,Z0a)
Data4=send(A,B,C,D,E,F,G,H,I,J)