The RMP Motion Controller APIs
◆ NetworkOutputOverrideValueSet()
void NetworkOutputOverrideValueSet
(
int32_t
index ,
uint64_t
outputValue
)
Parameters
index The index of the Network Output to Override.
outputValue An unsigned 64-bit value, you may need to use a union.
Description: NetworkOutputOverrideValueSet will set values to override those that would normally be set by the RMP. This allows you to take complete control over exchanged EtherCAT PDOs. This will only work if you have used NetworkOutputOverrideSet(index, true);
Part of the Network Interface method group.
Sample Code: NetworkInputsAndOutputs
for (int i = 0; i < inputCount; i++)
{
}
for (int i = 0; i < outputCount; i++)
{
}
See also NetworkOutputOverrideValueGet , NetworkOutputOverrideSet
Examples InputOutput.cs .
uint64_t NetworkOutputSentValueGet(int32_t index)
Gets the value sent out over EtherCAT.
uint64_t NetworkInputValueGet(int32_t index)
int32_t NetworkOutputBitSizeGet(int32_t index)
Get the size (in bits) of a PDO output.
int32_t NetworkInputBitSizeGet(int32_t index)
Get the size (in bits) of a network input.
const char *const NetworkOutputNameGet(int32_t index)
Get the name of a PDO output.
int32_t NetworkInputBitOffsetGet(int32_t index)
int32_t NetworkOutputCountGet()
int32_t NetworkOutputBitOffsetGet(int32_t index)
Get the raw PDO offset for an output.
void NetworkOutputOverrideValueSet(int32_t index, uint64_t outputValue)
Sets a PDO output directly.
const char *const NetworkInputNameGet(int32_t index)
Get the name of a PDO network input.
int32_t NetworkInputCountGet()
Get the number of PDO inputs found on the network.