[EthercatMaster]
説明
Start EtherCAT Master. All slaves will enter OP state if success.
Format
int start(uint64_t cycletime_ns);
Syntax
EthercatMaster master;
master.begin();
master.start();
Parameters
uint64_t cycletime_ns
: the cycle time mode.
Returns
Int: 0 for successful; if the return value is smaller than 0 means error.
Example
#include "Ethercat.h" EthercatMaster master; void setup(void) { master.begin(); master.start(); } void loop() {}
Libraries Reference Home
86Duino のリファレンスのテキストは Arduino レファレンス を編集したもので、 Creative Commons Attribution-ShareAlike 3.0 License下でライセンスされています。リファレンス内のコードサンプルはパブリックドメインとして公開されています。