end macro_command
ID:007 JOG DOWN
macro_command main()
unsigned char send[7]={0xFF,0x01,0x00,0x10,0x00,0x0A,0x1B}
unsigned char stop[7]={0xFF,0x01,0x00,0x00,0x00,0x00,0x01}
MOVE UP
macro_command main()
unsigned char send[7]={0xFF,0x01,0x00,0x08,0x00,0x0A,0x13}
OUTPORT(send[0], "Free Protocol", 7)
end macro_command
ID:009 MOVE DOWN
macro_command main()
unsigned char send[7]={0xFF,0x01,0x00,0x10,0x00,0x0A,0x1B}
OUTPORT(send[0], "Free Protocol", 7)
end macro_command
ID:010 MOVE UP LEFT
macro_command main()
unsigned char send[7]={0xFF,0x01,0x00,0x0C,0x0A,0x0A,0x21}
OUTPORT(send[0], "Free Protocol", 7)
end macro_command
ID:011 MOVE UP RIGHT
macro_command main()
unsigned char send[7]={0xFF,0x01,0x00,0x0A,0x0A,0x0A,0x1F}
OUTPORT(send[0], "Free Protocol", 7)
end macro_command
ID:012 ZOOM IN
macro_command main()
unsigned char send[7]={0xFF,0x01,0x00,0x20,0x00,0x00,0x21}
OUTPORT(send[0], "Free Protocol", 7)
end macro_command
ID:013 ZOOM OUT
macro_command main()
unsigned char send[7]={0xFF,0x01,0x00,0x40,0x00,0x00,0x41}
OUTPORT(send[0], "Free Protocol", 7)
end macro_command
ID:014 MOVE DOWN RIGHT
macro_command main()
unsigned char send[7]={0xFF,0x01,0x00,0x12,0x0A,0x0A,0x27}
OUTPORT(send[0], "Free Protocol", 7)
end macro_command
ID:015 MOVE DOWN LEFT
macro_command main()
unsigned char send[7]={0xFF,0x01,0x00,0x14,0x0A,0x0A,0x29}
OUTPORT(send[0], "Free Protocol", 7)
end macro_command
ID:016 SET PRESET
macro_command main()
short area, checksum
unsigned char send[7]={0xFF,0x01,0x00,0x03,0x00,0x01,0x05}
GetData(area, "Local HMI", LW, 20, 1)
send[5]=area
ADDSUM(send[1], send[6], 5)
OUTPORT(send[0], "Free Protocol", 7)
end macro_command