Difference between revisions of "MC-Basic:axis.REALTIMECONTROLBIT"
(Created page with '{{MC-Basic |SHORT FORM= <AXIS>.RTCB[ ] |SYNTAX= ?''<axis>''.RTCB[''<bit_number>''] ''<axis>''.RTCB[''<bit_numbrer>''] ='' <value>'' |AVAILABILITY= Available since version 4.5.…') |
m (1 revision) |
(No difference)
|
Revision as of 16:09, 13 December 2010
In SERCOS, a realtime control bit is set to activate a function. This property is used to set (<value>) or query realtime control bit. The control bit is accessed using defined SERCOS IDNs, but this property provides a faster method.
Short form
<AXIS>.RTCB[ ]
Syntax
?<axis>.RTCB[<bit_number>]
<axis>.RTCB[<bit_numbrer>] = <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