MC-Basic:axis.RTSB2 MODE

From SoftMC-Wiki
Revision as of 09:03, 17 March 2014 by Lisa (talk | contribs) (Text replace - "''<value>''" to "<''value''>")
Jump to: navigation, search

In SERCOS, realtime status bit #2 is set to reflect the status of certain binary signal IDNs by writing the IDN of that signal to IDN 305. Then, the realtime status bit shows 1 or 0, according to the state of the specified IDN. This property encapsulates the operation for status bit #2 by enabling you to specify only the IDN of the function to be reflected. This is useful for CAPTURE, for example, where IDN 409 indicates whether capture has occured. Refer to the example below.

Realtime status bit #2 appears as bit 7 in the drive status word. This word is read using <axis>.DRIVESTATUS.

IMPORTANT.svgIMPORTANT
THIS PROPERTY IS OBSOLETE

Syntax

<axis>.RTSB2_Mode = <value>

Availability

All versions

Type

Long

Range

Any IDN that can be Terminaled using this mechanism.

Scope

Configuration, Task or Terminal

Limitations

Can only be set during SERCOS communications phase 4.

Examples

a1.rtsb2_mode = 409                                  'Terminal capture state on RTSB #2

See Also