Motion Master 6.0.0-alpha.111
Next-generation motion control software
Loading...
Searching...
No Matches
ethercat_frame.cc File Reference
#include "capture/ethercat_frame.h"
#include <cstddef>
Include dependency graph for ethercat_frame.cc:

Namespaces

namespace  mm
 
namespace  mm::capture
 

Functions

bool mm::capture::isLogicalCommand (uint8_t command)
 Whether command addresses the process image: LRD, LWR or LRW.
 
bool mm::capture::isPositionCountedUp (uint8_t command)
 Whether every slave counts command's position up as the frame passes.
 
std::optional< EtherCatFrame > mm::capture::parseEtherCatFrame (std::span< const uint8_t > bytes)
 Reads one Ethernet frame that carries EtherCAT datagrams.