Difference between revisions of "MC-Basic:axis.RTSB2 MODE"
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{Languages|MC-Basic:axis.RTSB2_MODE}} | ||
{{MC-Basic | {{MC-Basic | ||
|SHORT FORM= | |SHORT FORM= | ||
Line 4: | Line 5: | ||
|SYNTAX= | |SYNTAX= | ||
− | '' | + | <''axis''>.RTSB2_Mode = <''value''> |
|AVAILABILITY= | |AVAILABILITY= | ||
Line 10: | Line 11: | ||
|DESCRIPTION= | |DESCRIPTION= | ||
− | 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 | + | 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 '' | + | Realtime status bit #2 appears as bit 7 in the drive status word. This word is read using <''axis''>.DRIVESTATUS. |
− | |||
− | |||
|TYPE= | |TYPE= | ||
Line 20: | Line 19: | ||
|RANGE= | |RANGE= | ||
− | Any IDN that can be | + | Any IDN that can be terminated using this mechanism. |
|UNITS= | |UNITS= | ||
Line 32: | Line 31: | ||
|LIMITATIONS= | |LIMITATIONS= | ||
− | Can only be set during SERCOS communications phase 4 | + | *Can only be set during SERCOS communications phase 4 |
+ | *Not supported in EtherCAT system | ||
|EXAMPLE= | |EXAMPLE= | ||
− | a1.rtsb2_mode = | + | a1.rtsb2_mode = 409 |
+ | :::: Terminal capture state on RTSB #2 | ||
|SEE ALSO= | |SEE ALSO= | ||
− | * [[ | + | * [[MC-Basic:axis.REALTIMESTATUSBIT|axis.REALTIMESTATUSBIT]] |
− | * [[ | + | * [[MC-Basic:axis.DRIVESTATUS|axis.DRIVESTATUS]] |
− | [[Category | + | [[Category:Obsolete|axis.RTSB2MODE]] |
}} | }} |
Latest revision as of 10:02, 20 April 2017
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