Console.WriteLine("📜 IO: IOPoint Objects");
try
{
const int NODE_INDEX = 0;
const int OUTPUT_INDEX = 0;
Console.WriteLine($"Output {OUTPUT_INDEX} set to: false");
bool outputValue = output0.
Get();
Console.WriteLine($"Output {OUTPUT_INDEX} value: {outputValue}");
Console.WriteLine($"Output {OUTPUT_INDEX} set to: true");
outputValue = output0.
Get();
Console.WriteLine($"Output {OUTPUT_INDEX} value: {outputValue}");
}
finally
{
}
static void CheckErrors(RapidCodeObject rsiObject)
Checks for errors in the given RapidCodeObject and throws an exception if any non-warning errors are ...
Helpers class provides static methods for common tasks in RMP applications.
void Set(bool state)
Set the state of a Digital Output.
static IOPoint * CreateDigitalOutput(Axis *axis, RSIMotorDedicatedOut motorDedicatedOutNumber)
Create a Digital Output from an Axis' Dedicated Output bits.
bool Get()
Get the state of Digital Input or Output.
Represents one specific point: Digital Output, Digital Input, Analog Output, or Analog Input....
NetworkNode * NetworkNodeGet(int32_t nodeNumber)
NetworkNodeGet returns a pointer to a RapidCodeNetworkNode object using its node number and initializ...
static MotionController * Get()
Get an already running RMP EtherCAT controller.
void SampleWait(uint32_t samples)
Wait for controller firmware to execute samples.
void Delete(void)
Delete the MotionController and all its objects.
Represents the RMP soft motion controller. This class provides an interface to general controller con...