$gitclonehttps://github.com/icshwi/etherlabmaster$cdetherlabmaster$makeinit# replace old `etherlab` source with the new one$rm-rfetherlabmaster-code$gitclonehttps://gitlab.com/etherlab.org/ethercat.gitetherlabmaster-code# continue with the installation of the EtherCAT library# !!!!!!IMPORTANT TSC not availbe in ARM (Set ENABLE_CYCLES=NO)!!!!!!! $echo"ENABLE_CYCLES = NO">configure/CONFIG_OPTIONS.local$makebuild$makeinstall$echo"ETHERCAT_MASTER0=eth0">ethercatmaster.local$makedkms_add$makedkms_build$makedkms_install$makesetup$sudoreboot
$ mkdir nodejs_ethercat
$ npm init
$ npm install etherlab-nodejs
# Look for examples at https://github.com/STECHOQ/etherlab-nodejs/tree/main/sample# Create the slaves.json# Create the main.js to test the
Comments (0)
HTTPSSSH
You can clone a snippet to your computer for local editing.
Learn more.