Difference between revisions of "MC-Basic:cam.MASTERDATA"

From SoftMC-Wiki
Jump to: navigation, search
m (Miborich moved page Axystems:MC-Basic:cam.MASTERDATA to MC-Basic:cam.MASTERDATA: Global renaming of Axystems: namespace into (Main):)
 
Line 1: Line 1:
 +
{{Languages|MC-Basic:cam.MASTERDATA}}
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=

Latest revision as of 09:08, 25 April 2017

Language: English  • 中文(简体)‎

This property is used to access a discrete element of master data. The index specifies which element in the table is being accessed. cam table data can be changed while the table is active. If the table is monotonic before the value is set, monotonicity is verified when the value is set. If, as a result of the change, the table is no longer monotonic, the table is flagged as being non-monotonic.

Short form

Mdat

Syntax

<cam>.MasterData[<index>] = <value of data>

?<cam>.MasterData[<index>]

Availability

All versions

Type

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

Range

<index>: 1 to MaxLong

Scope

Configuration, Task or Terminal

Limitations

The value of a discrete element of data cannot be changed while the data structure is being stored to a file. If the table is in use, and the new value will cause the table to be non-monotonic, the new value is rejected.

Examples

Cam1.MasterData[3] = 57.5 

Set master data element number 3 in the table