MC-Basic:SYSTEM.PIPEMODE

From SoftMC-Wiki
Jump to: navigation, search
Language: English  • 中文(简体)‎

This property defines motion pipe mode type. Pipe mode types:

0 – Pipe mode is inactive

1 – Position pipe-mode is active. Sys.HostDouble[1]…Sys.HostDouble[128] contain position commands for the respective axes.

2 – Position & Velocity pipe-mode is active. Sys.HostDouble[1]…Sys.HostDouble[128] contain position and velocity commands for the respective axes.

3 - Velocity-only pipe-mode. Sys.HostDouble[1]…Sys.HostDouble[128] contain velocity commands for the respective axes.

4 - TORQ-only pipe-mode. Sys.HostDouble[1]…Sys.HostDouble[128] contain torq commands for the respective axes.

Short form

Sys.PMode

Syntax

Sys.PMode = <expression>

? Sys.PMode

Availability

Since Version 3.6.20

Type

Long

Range

0 , 1, 2, 3 or 4

Default

0

Scope

Config, Task or Terminal

Limitations

  • Engaging sys.pipemode (1 or 2) is not allowed during motion. To leave pipemode, all axes pipemode property must be off.
  • Read only

Examples

Sys.PMode = 1

?Sys.PMode

See Also