Motion Master 6.0.0-alpha.50
Next-generation motion control software
Loading...
Searching...
No Matches
mm::comm::SlaveIo Struct Reference

One slave's input and output windows within the process-data images. More...

#include <fieldbus_driver.h>

Public Attributes

uint16_t slavePosition = 0
 1-based bus position.
 
uint32_t outputOffset = 0
 Byte offset of this slave's outputs within the output image.
 
uint32_t outputBytes = 0
 Output byte count for this slave.
 
uint32_t inputOffset = 0
 Byte offset of this slave's inputs within the input image.
 
uint32_t inputBytes = 0
 Input byte count for this slave.
 

Detailed Description

One slave's input and output windows within the process-data images.

outputOffset is relative to the start of the output image; inputOffset is relative to the start of the input image (the two images are exchanged separately — see exchangeProcessData). A direction with fewer than 8 mapped bits reports a byte count of 0 and an offset of 0.

Member Data Documentation

◆ inputBytes

uint32_t mm::comm::SlaveIo::inputBytes = 0

Input byte count for this slave.

◆ inputOffset

uint32_t mm::comm::SlaveIo::inputOffset = 0

Byte offset of this slave's inputs within the input image.

◆ outputBytes

uint32_t mm::comm::SlaveIo::outputBytes = 0

Output byte count for this slave.

◆ outputOffset

uint32_t mm::comm::SlaveIo::outputOffset = 0

Byte offset of this slave's outputs within the output image.

◆ slavePosition

uint16_t mm::comm::SlaveIo::slavePosition = 0

1-based bus position.


The documentation for this struct was generated from the following file: