RMP Motion Controller
10.4.4
The RMP Motion Controller APIs
MotionController
Axis
MultiAxis
IO
IOPoint
NetworkNode
RsiError
Contact
Support
RMP
◆
AnalogOutSet()
void AnalogOutSet
(
int32_t
analogChannel
,
int32_t
analogValue
)
Description:
AnalogOutSet sets the value of an analog output. It is passed a starting channel ID relative to the Node (not Segment).
Parameters
analogChannel
The analog output number on the node, starts from 0.
value
Value of the output.
Remarks
This function is also available in
RapidSequencer
.
Part of the
IO Members
method group.
Sample Code:
Set the Analog Output value on [channel] to [value]. Example: Assuming range is +/- 10V and resolution is 16-bit, 0x7FFF would represent 10V.
// -- C++ -- //
io->
AnalogOutSet
(channel, value);
// -- C# -- //
io.
AnalogOutSet
(channel, value);
Note
Slice I/O has multiple segments of same type (Digital/Analog In/Out) which are grouped together. The reference number for any channel of a given type can be defined as when it is encounted relative to the Slice I/O Node or an individual Slice.
See also
AnalogOutGet
RSI::RapidCode::IO::AnalogOutSet
void AnalogOutSet(int32_t analogChannel, int32_t analogValue)
Set the value of an analog output.
RSI
RapidCode
IO
Generated on Thu Sep 28 2023 12:52:43 for RMP Motion Controller by
1.8.20