Difference between revisions of "MC-Basic:axis.REALTIMECONTROLBIT"

From SoftMC-Wiki
Jump to: navigation, search
m (Text replace - "''<bit_number>''" to "<''bit_number''>")
m (Text replace - "<value>" to "<''value''>")
Line 6: Line 6:
 
?<''axis''>.RTCB[<''bit_number''>]
 
?<''axis''>.RTCB[<''bit_number''>]
  
<''axis''>.RTCB[<''bit_number''>] ='' <value>''
+
<''axis''>.RTCB[<''bit_number''>] ='' <''value''>''
  
 
|AVAILABILITY=
 
|AVAILABILITY=

Revision as of 11:45, 19 March 2014

In SERCOS a realtime control bit is set to activate a function. This property is used to set a <value> or query a realtime control bit. The control bit is accessed using defined SERCOS IDNs, but this property provides a faster method.


IMPORTANT.svgIMPORTANT
THIS PROPERTY IS OBSOLETE

Short form

<axis>.RTCB[ ]

Syntax

?<axis>.RTCB[<bit_number>]

<axis>.RTCB[<bit_number>] = <value>

Availability

Available since version 4.5.18

Type

Long

Range

<value> – 0 or 1

<bit_number> – 1 or 2

Scope

Configuration, Task or Terminal

Limitations

Can only be set during SERCOS communications phase 4.

Examples

?x_axis.rtcb[1]

x_axis.rtcb[2] = 1

See Also