EthercatDevice_QECRXXD.getPeripheralPowerCurrent()

[EthercatDevice_QECRXXD]

説明

Get the Peripheral Power Current Value of the Slave device. (Unit: A)

Class Modules

class EthercatDevice_QECR00DC4D;    /* 12 Inputs,  4 Outputs. RJ45 power [0, 0]. With broken wire detector. */
class EthercatDevice_QECR00D4CD;    /*  4 Inputs, 12 Outputs. RJ45 power [0, 0]. With broken wire detector. */
class EthercatDevice_QECR11D0FS;    /*  0 Inputs, 16 Outputs. RJ45 power [1, 1]. */
class EthercatDevice_QECR00D0FS;    /*  0 Inputs, 16 Outputs. RJ45 power [0, 0]. */
class EthercatDevice_QECR11DF0D;    /* 16 Inputs,  0 Outputs. RJ45 power [1, 1]. With broken wire detector. */
class EthercatDevice_QECR00DF0D;    /* 16 Inputs,  0 Outputs. RJ45 power [0, 0]. With broken wire detector. */
class EthercatDevice_QECR11D88S;    /*  8 Inputs,  8 Outputs. RJ45 power [1, 1]. */
class EthercatDevice_QECR00D88D;    /*  8 Inputs,  8 Outputs. RJ45 power [0, 0]. With broken wire detector. */
class EthercatDevice_QECR11D88D;    /*  8 Inputs,  8 Outputs. RJ45 power [1, 1]. With broken wire detector. */
class EthercatDevice_QECR11D0FH;    /*  0 Inputs, 16 Outputs. RJ45 power [1, 1]. High speed digital I/O. */
class EthercatDevice_QECR11DF0H;    /* 16 Inputs,  0 Outputs. RJ45 power [1, 1]. High speed digital I/O. */

Format

double getPeripheralPowerCurrent();

Syntax

EthercatDevice_QECR11D0FS slave;
slave.getPeripheralPowerCurrent();

Returns

Double: the Peripheral Power Current Value of the Slave device. (Unit: A)

Example

#include "Ethercat.h"

EthercatMaster master;
EthercatDevice_QECR11D0FS slave;

void setup(void) {
    Serial.begin(115200);
    while (!Serial);
    
    master.begin();
    slave.attach(0, master);
    Serial.println(slave.getPeripheralPowerCurrent());
}

void loop() {}

Libraries Reference Home

86Duino のリファレンスのテキストは Arduino レファレンス を編集したもので、 Creative Commons Attribution-ShareAlike 3.0 License下でライセンスされています。リファレンス内のコードサンプルはパブリックドメインとして公開されています。

コメントする

上部へスクロール