Terminator = LF; ReplyTimeout = 3000; ReadTimeout = 3000; # Get position getGP {out ":GP\$1"; in ":P\$1,%i"} # Get Physical Position Known getGPPK { out ":GPPK\$1"; in ":PPK\$1,%i"} # Get Status getGS { out ":GS\$1"; in ":S%i";} # Get min position limit getMinPL { out ":GPL\$1"; in ":PL\$1,%i,%*i"} # Get max position limit getMaxPL { out ":GPL\$1"; in ":PL\$1,%*i,%i"} # Get channel type getGCT { out ":GCT\$1"; in ":CT\$1,%i"} # Get Closed Loop move Speed getGCLS { out ":GCLS\$1"; in ":CLS\$1,%i";} # Get End Effector Type getGEET { out ":GEET\$1"; in ":EET\$1,%s";} # Get Safe Direction getGSD { out ":GSD\$1"; in ":SD\$1,%i";} # Get Sensor Type getGST { out ":GST\$1"; in ":ST\$1,%i";} # Set Accumulate Relative Positions setSARP { out ":SARP\$1,%i";} # Set Closed Loop max Frequency setSCLF { out ":SCLF\$1,%i";} # Set Closed Loop move Speed setSCLS { out ":SCLS\$1,%i";} # Set Position setSP { out ":SP\$1,%i";} # Set Safe Direction setSSD { out ":SSD\$1,%i";} # Set Sensor Enabled setSSE { out ":SSE\$1,%i";} # Set Zero Position setSZP { out ":SZP\$1";} # Calibrate Sensor setCS { out ":CS\$1";} # Find Reference Mark, find home # 2 = hold time, 3 = direction (0=forward, 1=backward), 4 = auto zero (0=no, 1=yes) setFRM { out ":FRM\$1,\$2,\$3,\$4";} # Move to Position Absolute, 2 = hold time setMPA { out ":MPA\$1,%i,\$2";} # Move to Position Relative, 2 = hold time setMPR { out ":MPR\$1,%i,\$2";} # Stop setS { out ":S\$1";} # Set position limit setSPL { out ":SPL\$1,%(B)i,%(A)i";} # Set scale setSSC { out ":SSC\$1,%i,0";} # Get scale getGSC { out ":GSC\$1"; in ":SC\$1,%i,0";}