馬達版做動程序撰寫語法 === [TOC] ### 範例 ``` debugLevel=1 % 設定軸向代碼 x=axis0 y=axis1 v=axis2 m=axis3 % 設定軸向位置代碼 x9=1200 y9-2400 v1=62000 y0=600 x15=1253 y15=2563 x7=12365 y7=126532 % 設定軸向速度 x_V=40 y_V=50 v_V=60 m_V=80 % 設定軸向扭力 x_T=20 y_T=40 v_T=20 m_T=50 %take tip { x9,v1-2000 % 同一行表示連續執行,不須等 Wait y9 delay 500 % delay , 單位: ms y0 } [10] %take sample x15 y15 v1-52000 y0 %inject x7 y7 v1 y0 % x4 ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up