MC-Basic:element.PlcMotionStatus/zh-hans

From SoftMC-Wiki
< MC-Basic:element.PlcMotionStatus
Revision as of 02:17, 27 October 2017 by Chi (talk | contribs) (Created page with "{{Languages}} == 缩写 == == 格式 == <element>.PlcMotionStatus == 适用版本 == 4.10.x == 描述 == 传输一个指向PlcMotionStatus对象的指针,用于实现PLCO...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
语言: English  • 中文(简体)‎

缩写

格式

<element>.PlcMotionStatus

适用版本

4.10.x

描述

传输一个指向PlcMotionStatus对象的指针,用于实现PLCOpen运动命令。 用于:

  • MOVE
  • MOVES
  • JOG
  • TORQUE
  • CIRCLE
  • SINEWAVE


类型

Long

取值范围

单位

N/A

默认

0

使用范围

Task or Terminal

限制

Nodal-Only

例子

dim MotStatHanlde as long

MotStatHanlde = PlcMotionStatusCreate

Move A1 100 PlcMotionStatus= MotStatHanlde

while A1.isMoving
  sleep 100
  Print PlcMotionStatusQuery(MotStatHanlde, 1)
end while 

PlcMotionStatusDestroy(MotStatHanlde)

参考