MC-Basic:axis.RTSB2 MODE
Language: | English • 中文(简体) |
---|
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 occurred.
Realtime status bit #2 appears as bit 7 in the drive status word. This word is read using <axis>.DRIVESTATUS.
Syntax
<axis>.RTSB2_Mode = <value>
Availability
All versions
Type
Long
Range
Any IDN that can be terminated 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.rtsb2_mode = 409
- Terminal capture state on RTSB #2