Motion Master 6.0.0-alpha.111
Next-generation motion control software
Loading...
Searching...
No Matches
soem_mailbox.cc File Reference
#include "comm/soem_mailbox.h"
#include <spdlog/spdlog.h>
#include <cstdint>
#include <cstring>
#include <string_view>
#include <vector>
Include dependency graph for soem_mailbox.cc:

Namespaces

namespace  mm
 
namespace  mm::comm
 
namespace  mm::comm::soem
 

Functions

void mm::comm::soem::drainMailbox (ecx_contextt *ctx, uint16_t slavePosition)
 Discards whatever is sitting in a slave's read mailbox, ignoring the contents.
 
void mm::comm::soem::reportUnknownMailboxWrites (ecx_contextt *ctx, uint16_t slavePosition)
 Logs the mailbox writes to a slave that got no frame back, and resets their count.
 
std::vector< uint8_t > mm::comm::soem::makeFoeAbortRequest (uint8_t counter)
 Builds an FoE ERROR request, which aborts a slave's FoE transfer.
 
void mm::comm::soem::abortFoeTransfer (ecx_contextt *ctx, uint16_t slavePosition)
 Ends the FoE transfer a slave may still have in progress.
 
void mm::comm::soem::updateMailboxSyncManagers (ecx_contextt *ctx, uint16_t slave, EtherCatState targetState)
 Programs the mailbox sync managers of a slave for targetState.