MC-Basic:cam.SIZE/zh-hans

From SoftMC-Wiki
< MC-Basic:cam.SIZE
Revision as of 10:01, 25 April 2017 by Chi (talk | contribs) (Created page with "{{Languages}} == 缩写 == Sdat == 格式 == ?<''cam''>.size<''cam''>.SlaveData[<''index''>] = <''value of data''> ?<''cam''>.SlaveData[<''index''>] == 适用版本 == 从...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
语言: [[::MC-Basic:cam.SIZE|English]]  • [[::MC-Basic:cam.SIZE/zh-hans|中文(简体)‎]]

缩写

Sdat

格式

?<cam>.size<cam>.SlaveData[<index>] = <value of data>

?<cam>.SlaveData[<index>]

适用版本

从版本4.0.1起
所有版本

描述

This property returns the number of points defined for the given cam table. This property accesses a discrete element of slave data. <index> specifies which element in the table is being accessed. cam table data can be changed while the table is active.

类型

Long<index>: Long
<value of data>: Double floating point

取值范围

0 to MaxLong<index>: 1.. 2147483647

单位

默认

使用范围

Configuration, Task or Terminal

限制

  • 只读
  • 当数据结构存储到文件中时,数据的离散元素的值不能被设置。
  • 凸轮表处于活动状态时,不能更改元素。 如果启用了凸轮(AXIS.SLAVE = 2)并且主轴(AXIS.ACTIVECAM)指向凸轮表,则凸轮表有效。

例子

?Cam1 .SizeCam1.SlaveData[3] = 347

Set slave data element number 3 in the table

参见