MC-Basic:axis.RTSB1 MODE

From SoftMC-Wiki
Revision as of 09:57, 20 April 2017 by Chi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Language: English  • 中文(简体)‎

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
  • Not supported in EtherCAT system

Examples

a1.rtsb1_mode = 409                      'Terminal capture state on RTSB #1

See Also