RMP Motion Controller
10.6.0
APIs
, concepts, guides, and more
Community
Support
Contact
◆
NetworkOutputSentValueGet()
uint64_t NetworkOutputSentValueGet
(
int32_t
index
)
Parameters
index
The index of the Network Output.
Returns
(uint64_t) The value which was actually sent. Either Output IntendedValue or OverrideValue.
Description:
NetworkOutputSentValueGet will report the value sent over the network. This might be the normal RMP cyclic value or the override value.
Sample Code:
IO: Input & Output
// Get Input Values
int
inputCount = controller.
NetworkInputCountGet
();
// Get number of Network Inputs (PDOs)
for
(
int
i = 0; i < inputCount; i++)
{
int
size = controller.
NetworkInputBitSizeGet
(i);
// Read Input BitSize
int
offset = controller.
NetworkInputBitOffsetGet
(i);
// Read Input BitOffset
string
name = controller.
NetworkInputNameGet
(i);
// Read Input Name
UInt64 value = controller.
NetworkInputValueGet
(i);
// Read Input Value
}
// Get Output Values
int
outputCount = controller.
NetworkOutputCountGet
();
// Get number of Network Outputs (SDOs)
for
(
int
i = 0; i < outputCount; i++)
{
int
size = controller.
NetworkOutputBitSizeGet
(i);
// Read Output BitSize
int
offset = controller.
NetworkOutputBitOffsetGet
(i);
// Read Output BitOffset
string
name = controller.
NetworkOutputNameGet
(i);
// Read Output Name
UInt64 value = controller.
NetworkOutputSentValueGet
(i);
// Read Output Value
controller.
NetworkOutputOverrideValueSet
(i, value);
}
See also
NetworkOutputOverrideValueSet
,
NetworkOutputIntendedValueGet
Examples
InputOutput.cs
.
RSI
RapidCode
MotionController
Generated by
1.10.0