MC-Basic:axis.RTSB1 MODE

From SoftMC-Wiki
Revision as of 16:00, 13 December 2010 by Arwiebe (talk | contribs) (Created page with '{{MC-Basic |SHORT FORM= |SYNTAX= ''<axis>''.RTSB1_Mode = ''<value>'' |AVAILABILITY= All versions |DESCRIPTION= In SERCOS, realtime status bit #1 is set to reflect the status …')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

In SERCOS, realtime status bit #1 is set to reflect the status of certain binary signal IDNs by writing the IDN <value> 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 #1 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 example below.

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

Syntax

<axis>.RTSB1_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.rtsb1_mode = 409                      'Terminal capture state on RTSB #1

See Also