EthercatDevice_QECRXXD.digitalReadAll()

[EthercatDevice_QECRXXD]

描述

Read HIGH or LOW values from all digital input pins on the EtherCAT Slave device.

模組類別

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_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_QECR11D88H;    /*  8 Inputs,  8 Outputs. RJ45 power [1, 1]. With broken wire detector. High Speed. */
class EthercatDevice_QECR11DF0H;    /* 16 Inputs,  0 Outputs. RJ45 power [1, 1]. High speed digital I/O. High Speed. */

格式

uint32_t digitalReadAll();

語法

EthercatDevice_QECR11DF0D slave;
slave.digitalReadAll();

回傳

EtherCAT 從站的數位 Input 腳位的數值;如果有錯誤,則返回值為 LOW。


函式庫參考主頁面

86Duino 參考的文本是根據 Creative Commons Attribution-ShareAlike 3.0 License,部分文本是從 the Arduino reference 修改的。 參考中的代碼示例已發佈到公共領域。

發表評論

上部へスクロール