@ Function @(arg) IF @(A==1) THEN
IF @((A!=1) ....
141001
@SW Function @SW(arg) IF (@SW(0)&SW(1))==1 THEN 140901
ABS Function ABS(arg) A=ABS(-100) 090113
ACCEL Command ACCEL [axis] PPS [leng,lo_pps] ACCEL 4000
ACCEL 4000 1000 10....
170113
ACOS,ATAN Function Reverse-trigonometric function.... ATAN(v)
ACOS(v)
FP(0)=DEG(ACOS(1/SQR(2)))
F....
141001
AD Function Getting AD result AD(ch)
AD(fnc,ch)
A=AD(0)
IF AD(1,7)>500 THEN
....
240516
ADD_MBK Command ADD_MBK add_value adrs add_mbk 1000 1 090109
ADD_STR Command Append the strings ADD_STR Str [Str] ADD_STR "Win" a$
ADD_STR "7"
100222
AD_D Function Get a data from the results of.... AD_D(ch,n) a=AD_D(0,1) 100124
AD_P Function AD_P(axs,n) n=+/-32767
AD_P(P....
MOVS P(n) AD_P(X_A,1000)
MOVS....
100305
AFFIN Command AFFIN n m k deg AFFIN 2 1 3 i*10000 100526
ALL_A ReservedConstants ALL_A FEED ALL_A 100 141001
ALL_E ReservedConstants ALL_E RR(ALL_E) 120321
ALM ReservedConstants ALM LMT(X_A,ALM) 120321
ALM_OFF ReservedConstants ALM_OFF INSET X_A ALM_OFF 110527
ALM_ON ReservedConstants ALM_ON INSET X_A ALM_ON 110527
ASC Function ASC( str )
ASC( arg )
ASC(a$)
ASC( 4 )
090113
ATAN Command atan y r var [x] atan 10000 1000 a
atan 100000....
110131
ATAN2 Command atan2 y x var [r] atan2 100000 100000 a3
atan2 ....
110131
AUTO_RESET_1 ReservedVariables auto reset AUTO_RESET_1 AUTO_RESET_1=1000 140819
AUTO_RESET_2 ReservedVariables AUTO_RESET_2 AUTO_RESET_2=500 140819
AVOID ReservedConstants AVOID CONST sol1 AVOID 141001
BACKLASH Command BACKLASH Xb Yb Ub Zb BACKLASH 111 121 0 0 100305
BAT Command BAT(arg) IF BAT(0)==1 THEN : PRINT "Bat.... 140901
BATTERY ReservedVariables Condition of the battery BATTERY IF BATTERY != 0 THEN
MBK(20)....
140901
BREAK ControlStatement BREAK DO
IF SW(0)==1 THEN : BREAK :....
081218
BREAK_POINT {BKP} Command BKP [args] BKP 100
BKP 100 110
BKP *aa....
101020
CANCEL_RETURN ControlStatement CANCEL_RETURN CANCEL_RETURN : GOTO *AAAA 100310
CAT Command CAT "filename" CAT "123" 210629
CCW ReservedConstants CCW RMVC X_A CCW 110527
CHR$ Function CHR$(arg) a$=CHR$(15)
print# 1 chr$(10)
080328
CHR_C ReservedConstants CHR_C INPUT# 1 CHR_C|1 a$ 110527
CK_Z,CK_NZ Function Test zero, Test No zero CK_Z(arg)
CK_NZ(arg)
IF SW(1)&SW(2)|CK_Z(A) THEN : .... 090724
CLRPOS Command CLRPOS [AXIS],[-1] CLRPOS
CLRPOS X_A
CLRPOS -1....
081225
CLR_BUF ReservedConstants CLR_BUF INPUT# 1 CLR_BUF 140826
CLR_ER ReservedConstants CLR_ER PGE(CLR_ER)
PGE(Z_A,CLR_ER|LM....
140826
CLR_OUTP Command CLR_OUT arg CLR_OUTP 1|8
CLR_OUTP 15
140901
CMP_C Function CMP_C(axis)
CMP_C(port,axis)
WAIT CMP_C(X_A)==2
A=CMP_C(16....
090414
CMP_CNT ReservedConstants CMP_CNT INSET X_A CMP_CNT|PHASE1 120123
CMP_P Function Comparing the current position.... CMP_P([axs,],v) CMP_P(n)
CMP_P(axs,n)
100310
CMP_PLS ReservedConstants CMP_PLS INSET X_A CMP_PLS 120123
CNFG# Command CNFG# COMn [RS485] "setting" CNFG# 1 "38400b8pns1NONE"
CNF....
141001
COMPOWAY Command COMPOWAY n m l str1$ str2$.... COMPOWAY 1 2 0 cmnd$ buff$
....
141013
CONST Command CONST var val CONST A_P 123 080328
CONT Command CONT arg CONT 8
CONT VOID|1
140314
COS Command cos deg r var [ sf] cos 450000 100000 a
cos 45000....
100526
COUNTER_1 ReservedVariables count up COUNTER_1 COUNTER_1=0 140901
COUNTER_2 ReservedVariables COUNTER_2 COUNTER_2=0 140901
CP Command CP 110527
CSW Function CSW(arg) A=CSW(0)
IF A==1 THEN : GOSUB....
140901
CTRL_A Command CTRL_A [val] CTRL_A 1
CTRL_A 0
140901
CUM_MEM ReservedVariables CUM_MEM if CUM_MEM!=0 THEN : GOSUB *CU.... 170125
CUNET Command CUNET arg1 arg2 [arg3] CUNET 0 8 31
CUNET 8 8 15
190912
CU_POST Command CU_POST [n]|[VOID] CU_POST
CU_POST 28
110201
CW ReservedConstants CW RMVC X_A CW 110527
C_LESS ReservedConstants C_LESS STOP X_A C_LESS 110527
C_MORE ReservedConstants C_MORE STOP X_A C_MORE 110527
DA Command DA val [ch] DA 1000 1
DA 2000
100310
DATE Function Gives a hex-value of the DATE DATE(0)
DATE(255)
DATE(VOID)....
IF DATE(0)==&H20070731 THEN .... 181214
DATE$ Function Give a string of DATE DATE$(n) a$=DATE$(1)+" "+TIME$(1) 090529
DEG Function Degrees conversion DEG(v) FLOAT A=DEG(ATAN(SQR(2)) 090909
DELETE Command DELETE lines DELETE arg1 [arg2] DELETE n
DELETE n m
141002
DIM Command DIM label( val )
DIM label(v....
DIM A(100)
DIM array(100,100)....
100310
DIMCPY Command DIMCPY arg1 arg2 count DIMCPY 1000 U(3) 60
DIMCPY X....
071025
DIR Command DIR [n] [m] DIR
DIR 100
210629
DO-LOOP ControlStatement DO
LOOP
DO
ON 0 : TIME 1 : OFF 0
LOO....
081218
DS_DACL Command DS_DACL [axs] DS_DACL
DS_DACL X_A
081205
DS_SEC Command DS_SEC n DS_SEC 5 100312
EMG ReservedConstants EMG LMT(X_A,EMG) 110527
END ControlStatement END 110527
ENG Command ENG 110527
EN_DACL Command EN_DACL [axs] EN_DACL
EN_DACL X_A
081205
EN_SEC Command EN_SEC n EN_SEC 1 100312
EOL ReservedConstants EOL INPUT# 1 EOL|10 a$ 110527
ERASE Command ERASE 110527
ERR$ Function ERR$(n) PR ERR$(err_) 140901
FEED Command FEED [axis] n
FEED fx fy fu f....
FEED 10
FEED X_A 100
071214
FILES Command FILES FILES 191001
FILL Command FILL array(N) Count [Val Inc] FILL aho(0) 0 0
FILL ah....
110627
FLIP_FLOP Command RS-FLIP_FLOP FLIP_FLOP o_port IN(port) [p.... FLIP_FLOP -1 IN(24)
FLIP_FL....
140825
FLOAT Command Performing Floating Point Calc.... FLOAT equation1 equation2 ... FLOAT A=1/3*10000
FLOAT FP(1)....
090909
FLP Command FLP 141002
FOR-NEXT ControlStatement FOR var=arg1 TO arg2 [STEP arg.... FOR i=0 TO 15 STEP 2
ON i : T....
081225
FORK Command FORK n *LABEL FORK 1 *LABEL
END
*LABEL
DO....
110201
FORMAT Command
FORMAT Strng FORMAT " DatB=[s00.000]"
FO....
170424
FP ReservedVariables Floating point variable array FP(n)
FP(m,n)
FP(0)=1000
STR(FP(100,1)
141002
FREE Command FREE 110527
FSP Command FSP 141002
GETDG Command GETDG n m deg GETDG 1 3 deg 100526
GET_AD Command Continuous getting ad data. GET_AD CH ARRAY() Cnt [ms] GET_AD 0 X(1090) 360 4 .... 160909
GET_VAL Command GET_VAL strg_val arry(n) [FPn] GET_VAL a$ a(1)
GET_VAL ....
230925
GOSUB,GOSUB_NE ControlStatement Call a subroutine that must in.... GOSUB *Label [arg1,arg2..] GOSUB *Label
GOSUB *Label ar....
110309
GOTO ControlStatement GOTO *Label IF A==1 THEN : GOTO *ERR : END.... 110222
HEX Function HEX(str)
HEX(arg)
b$="ABC123 &H1234FJ &HBCDEF1 .... 090113
HEX$ Function HEX$(arg) a$=HEX$(100)
t$=HEX$(DATE(0))
090113
HIN Function HIN(arg) A=HIN(24)
A=HIN(24~Wrd)
141002
HOME[MPC-1200] Command HOME X Y U Z
HOME axs V
HOME X_A NEG_L 141024
HOME[MPG-2314] Command HOME X Y U Z
HOME axs V
HOME 10000 10000 1000 1000
HO....
141008
HOUT Command HOUT arg HOUT 1 141002
HPT Function HPT(arg1) prx HPT(0)
WAIT HPT(XIN0)==1 ....
141002
HSW Function HSW(arg) A=HSW(192)
IF HSW(192)&HSW(20....
140901
H_OFF Command H_OFF arg H_OFF 2 141002
H_ON Command H_ON n H_ON 1 141002
IF-THEN-ELSE-END_IF ControlStatement IF arg THEN IF SW(0)==1 THEN : ON 0 : END_.... 170831
IN Function IN(arg1) IF IN(0)==&HAA THEN
WAIT IN(1....
141008
IN0_OFF ReservedConstants IN0_OFF SHOM X_A IN0_OFF 110527
IN0_ON ReservedConstants IN0_ON SHOM X_A|Y_A IN0_ON 110527
IN1_OFF ReservedConstants IN1_OFF SHOM X_A IN1_OFF 110527
IN1_ON ReservedConstants IN1_ON SHOM X_A IN1_ON 110527
IN2_OFF ReservedConstants IN2_OFF STOP X_A IN2_OFF 141002
IN2_ON ReservedConstants IN2_ON STOP X_A IN2_ON 141002
IN3_OFF ReservedConstants IN3_OFF STOP X_A IN3_OFF 141002
IN3_ON ReservedConstants IN3_ON STOP X_A IN3_ON 141002
INC Command INC var [Val] INC A
INC A -10
090113
INCHK Command INCHK 141003
INPUT Command INPUT [CH] [EOL|x] [CHR_C|x] [.... INPUT a$ 100310
INPUT# Command INPUT# [CH] [EOL|x] [CHR_C|x] .... INPUT# a$
INPUT# CH a$
INPUT....
141008
INPUT_TCP Command INPUT_TCP [CH] [EOL|x] [CHR_C|.... INPUT_TCP 0 a$
INPUT_TCP CH a....
190930
INP_OFF ReservedConstants INP_OFF INSET X_A INP_OFF 110527
INP_ON ReservedConstants INP_ON INSET X_A INP_ON 110527
INSET Command INSET [axs] Settings INSET PHASE4
INSET ALL_A AL....
181030
INSET【MPC-1200】 Command pulse generating mode setting INSET [axs] MD_DPLS INSET MD_DPLS
INSET Z_A MD_DP....
141001
INSPEC Command INSPEC 110527
Int ReservedConstants Int IN(-1~Int) 110527
INTA_ON,INTB_ON Command INTA_ON portn (PG,axis)
INTB_....
INTA_ON 16 (0,X_A)
INTB_OFF 1....
190821
IPA Function IPA(UDP_R0$)
IPA(n)
adrs=IPA(UDP_R0$)
adrs=IPA(n)
200116
IPC Function IPC(string) str_cnt=IPC(TCP_R0$) 191002
IP_CONV Command IP_CONV IP_adrs V IP_CONV 192 168 0 211 OppdIp 191002
JMPZ Command JMPZ Pnt JMPZ P(n) 110227
JPN Command JPN 140901
JUMP Command JUMP causes a gate motion. JUMP P(arg)
JUMP PL(pln;plm)....
JUMP P(1)
JUMP PL(0;5)
JUMP....
110527
LABELS Command LABELS 110527
LATCH Command 15bits latch LATCH i SW(n) IN(m) j
LATCH i....
LATCH 1 SW(208) IN(24) 2 .... 140901
LEN Function LEN(string) print LEN(a$)
a=LEN(a$)
070911
LIFE_TIME Command LIFE_TIME [val] LIFE_TIME 100 120321
LIMZ Command LIMZ arg1 [arg2] LIMZ -5000
LIMZ -5000 100
081218
LIST Command LIST arg1 [arg2] LIST 10 3
LIST *AHO
LIST
110527
LMT Function LMT(n) IF LMT(X_A,LMTp)!=0 THEN
RM....
141003
LMTn ReservedConstants LMTn LMT(X_A,LMTn) 110527
LMTp ReservedConstants LMTp LMT(X_A,LMTp) 110527
LMT_OFF ReservedConstants LMT_OFF INSET ALL_A LMT_OFF 110527
LMT_ON ReservedConstants LMT_ON INSET ALL_A LMT_ON 110527
Lng ReservedConstants Lng MBK(20~Lng) 110527
LOCK Command LOCK LockKey
LOCK -1 LockKe....
LOCK 1234567
LOCK -1 1234567
140826
LOF Function LOF(ch) IF LOF(1)>10 THEN : input# 1 a.... 141008
LOG Command LOG [arg] LOG
LOG 0
LOG 1
090113
LONG_PRG ReservedConstants LONG_PRG S_MBK LONG_PRG 110527
MBK Function MBK(arg) a=MBK(n)
a=MBK(n~Lng)
MBK(....
221026
MBK$ Function MBK$(adr,val) A$=MBK$(100,6) 090129
MBK_CMD ReservedVariables MBK_CMD PRX MBK_CMD 110527
MBK_ERR ReservedVariables MBK_ERR PR MBK_ERR 110527
MD_2PLS ReservedConstants MD_2PLS INSET ALL_A MD_2PLS 141006
MD_DPLS ReservedConstants MD_DPLS INSET ALL_A MD_DPLS 141006
MEWNET Command MEWNET arg1 [COMn] [mode]
MEW....
MEWNET 9600
MEWNET 9600
MEW....
141014
MKY Function MKY(val) A=MKY(0)
PRX MKY(1)
170125
MMC Function MMC(0)
MMC(-1)
MMC(-2)
IF MMC(0)==0 THEN 220509
MMC_LOAD Command MMC_LOAD filename$ 210629
MMC_PLOAD Command MMC_PLOAD "filename" MMC_PLOAD "123.p2k" 210629
MMC_PSAVE Command MMC_PSAVE P(n)orMBK(n) save_co.... MMC_PSAVE P(1000) 300 "P_1.P2K.... 191001
MMC_READ a$ Command MMC_READ a$
MMC_READ -1
MMC_READ a$ 210628
MMC_RENAME Command MMC_RENAME old$ new$ 240523
MMC_SAVE Command MMC_SAVE "filename" MMC_SAVE "filename" 210629
MMC_WRITE Command MMC_WRITE 文字列変数 MMC_WRITE a$ 210628
MODBUS Command MODBUS CH [TASK#,] [&H初期値+早D... MODBUS 2 2 "38400b8pes1NONE".... 151222
MODBUS Command MODBUS TCP|n func 引数 MODBUS TCP|0 3 &h0040 100 40
....
190930
MODBUS Function MODBUS(CHn;(Func,Adrs)) a=MODBUS(4,0)
a=MODBUS(1;(4,1....
190930
MON Command MON [arg] MON
MON 1
MON 2
141002
MOVL Command MOVL P(n) [option]
MOVL PL(n;....
MOVL P(1)
MOVL P(1) AD_P(X_A,....
090113
MOVS Command MOVS [axis] n
MOVS arg1 [arg2....
MOVS x y u z
MOVS X_A n
MOVS....
081218
MOVT Command MOVT axs Point [CCW|CW|0] MOVT X_A|Y_A P(101)
MOVT ....
220414
MPCINIT Command MPCINIT 140901
MPG Command MPG arg [taskn]
MPG
MPG 1
MPG 1 4
141014
M_SW Function SW function with the filter M_SW([n,]n) M_SW(192)
M_SW(10,193)
100310
NEG_L ReservedConstants NEG_L HOME NEG_L NEG_L NEG_L NEG_L 110527
NEW Command NEW 110527
NEWP Command NEWP 110620
NOT Function NOT(arg) A=NOT(1) 071016
NO_PHASE ReservedConstants NO_PHASE INSET NO_PHASE 110527
OFF Command Turn off output. OFF arg1 [arg2 arg3 arg4 ...] OFF 1 2 3 /* MIO-1616etc
OFF ....
141008
ON Command Turn on a output port ON arg1 [arg2 arg3 arg4 ...] ON 1 2 3 /* MIO-1616 etc
ON....
141008
ON Function ON(n) WAIT ON(-1)==0
PRINT "WA....
100310
ON_ERROR Command ON_ERROR arg ON_ERROR *USB
ON_ERROR VO....
110620
ON_USB,OFF_USB Command Enable the USB port
Disable t....
ON_USB
OFF_USB
ON_USB
OFF_USB
191011
OUT Command OUT val port
OUT val port1,po....
OUT &H55 2
OUT &HAA -1
OUT 0....
140901
P$ Function P$(val) a$=P$(100) 181205
PALLET Command Defines A matrix PALLET h P(i) P(j) P(k) [P(l).... PALLET 1 P(1) P(2) P(3) P(4).... 100706
PAUSE Command Pause the task designated by i.... PAUSE arg
PAUSE (STP_D,taskn)
PAUSE n 140314
PEEK Function PEEK(Str$+n) A=PEEK(b$+1)
B=PEEK(b$+LEN(b$....
101215
PG Command PG arg1 [taskn]
PG
PG 0
PG 1 2
141014
PGA,PGB Command Control command for the PGs of.... PGA str$ val PGA "G" 1000
PGB "V"
pr V_PG....
141002
PGE Function PGE(0)
PGE(axs,val)
IF PGE(X_A,ALM) THEN : GOTO *E.... 110803
PG_TASK0 ReservedVariables PG_TASK0 print PG_TASK0 141029
PHASE1 ReservedConstants PHASE1 INSET PHASE1 110620
PHASE2 ReservedConstants PHASE2 INSET PHASE2 110620
PHASE4 ReservedConstants PHASE4 INSET PHASE4 110620
PL Function PL(n;m) MOVS PL(1;10)
JUMP PL(2;100)
110620
PLIST Command PLIST arg1 PLIST
PLIST 10
081217
POKE Command POKE arg1 arg2 .. (str$+n) POKE &H03 (a$+0)
POKE &H41 42....
110620
POST Command POST dst ary [m] POST 2 P(100)
POST 5 MBK(20)....
220405
POS_L ReservedConstants POS_L HOME POS_L POS_L POS_L POS_L 110620
PRA Command PRA array(n)
PRA var_ [n]
PRA J_
PRA J_ n
PRA AHO(10)....
141008
PRINT Command PRINT [val,str] PRINT "res=" a$ a cc bb$ a a.... 191107
PRINT# Command transmit the string to the ser.... PRINT# [COM#] [Options] arg1 a.... PRINT# 1 a$ "123\n"
PRINT# 5 ....
120321
PRX Command PRX val PRX A 140901
PR_CHK ReservedConstants PR_CHK RANGE PR_CHK|X_A 10000 -10000 110527
PR_LCD Command PR_LCD string PR_LCD DD$
PR_LCD "ERR"
141006
PTR Function PTR(bytes,m) a=PTR(2,0)
a=PTR(4,12)
190930
PTR$ Function PTR$(m) ptr_=a$
ptr_=ptr_+10
k$=PTR....
120316
ptr_ ReservedVariables ptr_ ptr_=a$ 110527
PULSE_OUT Command PULSE_OUT port# interval [coun.... PULSE_OUT 0 10 10
PULSE_OUT 0....
180807
PWM Command PWM portn k PWM 15 A 161019
Q3E Command Q3E TCP|n func エリア 引数
Q....
Q3E TCP|0 WRITE_BULK "D" 1000 .... 220405
QUIT Command QUIT arg1 arg2 arg3.. QUIT 1
FOR I=1 TO 4 : QUIT I ....
081210
QUIT_FORK Command Wake a task QUIT_FORK n *LABEL QUIT_FORK 1 *LABEL 110621
RAD Function Radian conversion RAD(v) FP(0)=SIN(RAD(45)) 090909
RANGE Command Setting the area numbers. RANGE axis pos_limit neg_lmit RANGE X_A 10000 -10000
RANGE ....
100127
RCV Function RCV(arg) A=RCV(A$)
A=RCV(P(100))
A=RC....
101215
REMOVE Command REMOVE string REMOVE "a.txt" 191001
RENUM Command RENUM [n] RENUM
RENUM 5
081217
RESUME Command RESUME [arg] RESUME
RESUME _NEXT
090410
RETURN ControlStatement RETURN [arg1,arg2..] GOSUB *LABEL

*LABEL
RETRU....
110621
RMVC Command RMVC axis arg RMVC X_A CW
RMVC Y_A CCW
081218
RMVL Command RMVL arg1 [arg2,arg3,arg4] RMVL x y 0 0
RMVL x y 0 z
RM....
140826
RMVS Command RMVS [axis] n
RMVS X [Y,U,Z]
RMVS X_A n
RMVS x y u z
140826
RMVT Command RMVT axs arg1 arg2 [CCW|CW|0 .... RMVT X_A|Z_A 20000 0
RMVT ....
220414
RR Function RR(arg1) WAIT RR(X_A)==0
WAIT RR(ALL_A....
170511
RR1 Function RR1(arg1) WAIT RR1(X_A)&&h8!=0
PRX RR....
170116
RR3 Function RR3(axis)
RR3(axis,1)
A=RR3(X_A) 170116
RS Command RS ch RS 1 110621
rse_ ReservedVariables rse_ pr rse_ 110527
RST_USB Command RST_USB RST_USB : TIME 2000 191001
RUN ControlStatement RUN arg1 RUN
RUN *LABEL
RUN 900
RUN ....
191030
R_RTU Function R_RTU(n)
R_RTU(Typ,n)
CRC_OK=R_RTU(7)
current_pos=R....
160122
R_RTU Command R_RTU a c Strings Array
R_....
R_RTU a c "W" RTU(8)
R_RTU....
160119
SA Function SA(val) ON SA(5)+0 100310
SA0_B~SA63_B ReservedConstants SA0_B~SA63_B IN(SA0_B) 120321
SA0~SA63 ReservedConstants SA0~SA63 ON SA0+5 120321
SA_B Function SA_B(val) OUT &H55 SA_B(5) 100310
SEC Command SEC MBK(n)
SEC n h m s
SEC MBK(7000)
SEC 7 17 ....
100312
SEC Function SEC(n) IF SEC(0)>SEC(1) THEN : print .... 141009
SEC ReservedVariables SEC pr SEC 110527
SELECT_CASE ControlStatement Causing branches depending on.... SELECT_CASE arg SELECT_CASE IN(0)&&HF
CASE 1....
090724
SENSE_ON,SENSE_OFF Command SENSE_ON port sw SENSE_ON 16 -1 090114
SERCH Command SERCH src$ f$ SERCH A$ "C=" 100312
SERCH$ Function SERCH$( str ) ptr_=d$
ptr_=ptr_+20
a=SER....
090901
SET Command SET n x y u z SET 0 1 1 1 1
SET 1 5 5 5 1
090114
SETP Command SETP n arg1 arg2 arg3 arg4
SE....
SETP 1 100 100 20 3
SETP 2 X(....
081225
SET_AD Command SET_AD [args] SET_AD 10 10 10
SET_AD &h80|4....
160315
SET_DEST Command SET_DEST IP_adrs UDP_Xn$ SET_DEST OppdIp UDP_X0$ 190930
SET_IP Command SET_IP {種別} 「プロトコル} [メD... SET_IP Serial MEWNET 2 38400
....
220107
SET_MCX Command Direct Setting Commnd for MCX-.... SET_MCX axs Cmd WR6+WR7 SET_MCX Z_A &h0006 400 111220
SET_RTC Command set_rtc arg
set_rtc arg1 arg2....
SET_RTC &H20000119
SET_RTC ....
181214
SFTL Command SFTL arry(val)
SFTR MBK(n) TO....
SFTL ary(5)
SFTL MBK(5) TO ....
071210
SFTR Command SFTR arry(val)
SFTR MBK(n) TO....
SFTR arry(5)
SFTR MBK(5) TO M....
120321
SHOM[MPC-1200] Command SHOM pat SHOM &H50
SHOM &H55
141008
SHOM[MPG-2314] Command SHOM axis patn
SHOM patx paty....
SHOM X_A|Z_A|Y_A IN0_ON|IN1_.... 120410
SIN Command sin deg r var [ sf] sin 450000 100000 a
sin 45000....
110715
SIN,COS,TAN Function Trigonometric functions SIN(rad),COS(rad),TAN(rad) FP(0)=SIN(FP(0))
FP(1)=TAN(RA....
090909
SLMTn ReservedConstants SLMTn LMT(X_A,SLMTn) 110527
SLMTp ReservedConstants SLMTp LMT(X_A,SLMTp) 110527
SLMT_OFF ReservedConstants SLMT_OFF INSET X_A|Y_A SLMT_OFF 110527
SLMT_ON ReservedConstants SLMT_ON INSET X_A|Y_A SLMT_ON 110527
SLOW_RUN Command SLOW_RUN taskn [ timer ]
SLOW....
SLOW_RUN 1 100
SLOW_RUN TMOUT....
110719
SOFT Command SOFT x y u z
SOFT Z_A n
【-1....
SOFT Z_A 30 181126
SPEED Command SPEED [axs] n SPEED n
SPEED X_A n
090212
SQR Function Square root SQR(v) FP(3)=SQR(3)
A=SQR(3*3+4*4)
100306
STACKS Command STACKS 110527
STOP Command STOP axis arg1 STOP X_A STP_D
STOP ALL_A IN1....
101020
STPS Command STPS axis n
STPS argx [argy,a....
STPS X_A 1000
STPS 100 200 30....
090114
STP_D ReservedConstants STP_D STOP X_A STP_D 141006
STP_I ReservedConstants STP_I STOP X_A STP_I 141006
STR$ Function STR$(arg) a$="data=" +str$(A) 110719
STRCPY Command STRCPY src$ dst$ [m n] STRCPY src$ dst$
STRCPY src$ ....
141002
STR_LEN ReservedConstants STR_LEN PRINT# 3 STR_LEN|32 a$ 140826
SUBST Command SUBST str b$="ABC123 &H1234FJ &HBCDEF1 .... 071031
SW Function Read the value of a input port SW(arg) A=SW(192) /*入力ポートの読aD... 140901
SWAP Command SWAP 141002
SYNC Command Setting MCX-314 register value SYNC axs WR6 WR7 SYNC X_A &H00004001 0
SYNC ....
120119
SYSCLK ReservedVariables SYSCLK pr SYSCLK 110527
S_MBK Command S_MBK arg1 arg2
S_MBK str adr....
S_MBK 1 10
S_MBK 2 11
S_MBK ....
110719
TAIL Command TAIL 110527
TAN Command tan deg r var [ sf] tan 300000 100000 a
tan 30000....
100526
TASK Function TASK(n)
TASK(n|256)
WAIT TASK(1)!=0
a=TASK(1|256)
140904
TASKn ReservedVariables TASKn IF TASKn==0 THEN 110527
TCP Function TCP(n) IF TCP(0)==1 THEN
dmy=TCP(-1,....
210202
TEACH Command TEACH TEACH
T
120410
TIME Function Get the time data TIME(0)
TIME(255)
TIME(VOID)
IF TIME(0)<&H00182800 THEN
GOTO *aho
END_IF
090625
TIME Command TIME arg TIME 100 070921
TIME$ Function Give a string of TIME TIME$(n) a$=DATE$(1)+" "+TIME$(1) 090529
TIMEOUT Function check timer_ if it is ZERO or .... TIMEOUT(n) WAIT SW(1)&SW(2) OR TIMEOUT(0) 090724
TIMER Function TIMER( arg ) a=TIMER(3)
a=TIMER(VOID|3)
a....
100312
timer_ ReservedVariables timer_ IF timer_==0 THEN 110527
TMOUT Command TMOUT n [taskn] TMOUT 100
TMOUT 100 n
TMOUT....
160714
TMOUT ReservedConstants TMOUT INPUT# 1 TMOUT|5 a$ 110719
TYPE Command TYPE string TYPE "prg.p2k" 191001
UIN0 ReservedConstants UIN0 HPT(UIN0) 110527
UIN1 ReservedConstants UIN1 HPT(UIN1) 110527
UP_DWN ReservedConstants UP_DWN INSET UP_DWN 110527
USB Function USB(0) IF USB(0)!=1 THEN : GOTO *NOUS.... 191001
USB_DEL {UDL} Command USB_DEL Str USB_DEL "aaa.p2k"
UDL "aaa.f....
191001
USB_LOAD {UL} Command USB_LOAD strg USB_LOAD "DEMO.F2K"
USB_LOAD ....
191001
USB_PLOAD {UPL} Command USB_PLOAD str USB_PLOAD "PL3.P2K"
USB_PLOAD....
191001
USB_PSAVE {UPS} Command USB_PSAVE P(n) cnt Str
USB_PS....
USB_PSAVE P(1) 5000 "aa.p2k".... 191001
USB_READ{URD} Command Read a line from a FILE in USB USB_READ String USB_READ a$
USB_READ -1
191001
USB_REN Command USB_REN string1 string2 USB_REN "a.txt" "b.txt" 191001
USB_WRITE {UWR} Command USB_WRITE Strng USB_WRITE "123.456"
USB_WRITE....
241028
U_A ReservedConstants U_A RMVS U_A 1000 141006
U_C ReservedConstants U_C stps U_C 1000 110527
U_E ReservedConstants U_E RR(U_E) 110719
VAL Function VAL( str )
VAL( arg )
a$="a=1000 b=-1000 c=100"
a=V....
110719
VAL Function Get a Value in Floating point VAL(str)
VAL(0)
FP(0)=VAL(A$) 110527
VARS Command Shows the variables VARS [arg] VARS
VARS VOID
VARS 0
110719
VER Command VER #VER 140901
VER$ ReservedVariables VER$ pr VER$ 110527
VOID ReservedConstants VOID MOVL VOID 1000 2000 VOID 141006
VOID_U ReservedConstants VOID_U movl P(1) VOID_U 141006
VOID_X ReservedConstants VOID_X movl P(1) VOID_X 141006
VOID_Y ReservedConstants VOID_Y movl P(1) VOID_Y 141006
VOID_Z ReservedConstants VOID_Z movl P(1) VOID_Z 141006
VRING ReservedConstants VRING RANGE VRING|X_A 999 110527
WAIT ControlStatement waiting until the condition is.... WAIT logical_eqations WAIT SW(0)==1
WAIT SW(-2)
191004
WARP Command WARP [AXS] [up_z] P(n) [dwn_z].... WARP 1000 P(100) 500 HAND 1 .... 141002
WHILE-WEND ControlStatement WHILE logic - WEND WHILE 論理式 ~ WEND WHILE SW(0)==1
ON 0 : TIME 1 ....
110719
Wrd ReservedConstants Wrd IN(-1~Wrd) 110527
WS0,WS1 Function WS0(arg1) IF WS0(0)==1 THEN : GOTO *TMOU.... 100312
X Y Z U Function X(arg1)
Y(arg1)
U(arg1)
Z(a....
MOVS X(1)+A VOID U(1)+B VOID
....
070731
XIN0 ReservedConstants XIN0 HPT(XIN0) 120321
XIN1 ReservedConstants XIN1 HPT(XIN1) 110527
XMT Function XMT(dst,arg) A=XMT(8,A$)
A=XMT(8,P(100))
....
101215
X_A ReservedConstants X_A RMVS X_A 1000 141006
X_C ReservedConstants X_C stps X_C 1000 110527
X_E ReservedConstants X_E RR(X_E) 120321
X_RTU Command X_RTU adrs func DATA_LIST
X_....
X_RTU slave_address 6 REG_AD.... 190313
YIN0 ReservedConstants YIN0 HPT(YIN0) 110527
YIN1 ReservedConstants YIN1 HPT(YIN1) 110527
YPLS Command Pulse Generator for Output por.... YPLS Var1 Var2 Var3 [Count] YPLS Port Rate Counter
YPLS P....
121221
Y_A ReservedConstants Y_A RMVS Y_A 1000 141006
Y_C ReservedConstants Y_C stps Y_C 1000 110527
Y_E ReservedConstants Y_E RR(Y_E) 110719
ZIN0 ReservedConstants ZIN0 HPT(ZIN0) 110527
ZIN1 ReservedConstants ZIN1 HPT(ZIN1) 110527
ZPLS Command ZPLS Var1 Var2 Var3 [Count] ZPLS Port Rate Counter
ZPLS P....
121221
Z_A ReservedConstants Z_A RMVS Z_A 1000 141006
Z_C ReservedConstants Z_C stps Z_C 1000 110527
Z_E ReservedConstants Z_E RR(Z_E) 110719
_VAR Command _VAR arg1 [arg2 ..] *TASK
_VAR vala_ valb_
070920