EthercatDevice_QECRXXHU.mpgReadAxis()

[EthercatDevice_QECRXXHU]

Description

Get the current axis number.

Class Modules

class EthercatDevice_QECR11HU5S;
/* MPG + Keypad + LCM + RS232x2, RJ45 power [1, 1] */
class EthercatDevice_QECR00HU5S;
/* MPG + Keypad + LCM + RS232x2, RJ45 power [0, 0] */
class EthercatDevice_QECR11HU9S;
/* MPG + Keypad + LCM + RS232/485x2, RJ45 power [1, 1] */
class EthercatDevice_QECR00HU9S;
/* MPG + Keypad + LCM + RS232/485x2, RJ45 power [0, 0] */

Format

int mpgReadAxis();

Syntax

EthercatDevice_QECRXXHU slave;
slave.mpgReadAxis();

Returns

Int.

  • 0: off.
  • 1: X-axis.
  • 2: Y-axis.
  • 3: Z-axis.
  • 4: 4-axis.
  • 5: 5-axis.
  • 6: 6-axis.
  • smaller than 0: Error.

Libraries Reference Home

The text of the 86Duino reference is a modification of the Arduino reference and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.

Leave a Comment

Your email address will not be published. Required fields are marked *

上部へスクロール