IOPoint Class Reference

The IOPoint class provides a unified interface for any and all of the I/O point types in SynqNet. Specifically: digital inputs, digital outputs, analog inputs, and analog outputs. More...

Inherits RapidCodeObject.

Inherited by AnalogIOPoint, and DigitalIOPoint.

List of all members.


Creation Methods

static IOPointCreateDigitalInput (MotionController *controller, long bitNumber)
 Create a Digital Input from the MotionController's HD15 connector.
static IOPointCreateDigitalInput (Axis *axis, RSIMotorDedicatedIn bitNumber)
 Create a Digital Input from an Axis' Dedicated Input bits.
static IOPointCreateDigitalInput (Axis *axis, RSIMotorGeneralIo bitNumber)
 Create a Digital Input from an Axis' general purpose inputs.
static IOPointCreateDigitalInput (IO *io, long bitNumber)
 Create a Digital Input from an I/O Node.
static IOPointCreateDigitalOutput (MotionController *controller, long bitNumber)
 Create a Digital Output from the MotionController's HD15 connector.
static IOPointCreateDigitalOutput (Axis *axis, RSIMotorDedicatedOut bitNumber)
 Create a Digital Output from an Axis' Dedicated Output bits.
static IOPointCreateDigitalOutput (Axis *axis, RSIMotorGeneralIo bitNumber)
 Create a Digital Output from an Axis' general purpose inputs.
static IOPointCreateDigitalOutput (IO *io, long bitNumber)
 Create a Digital Output from an I/O Node.
static IOPointCreateAnalogInput (IO *io, long analogChannel)
 Create an Analog Input from an I/O Node.
static IOPointCreateAnalogOutput (IO *io, long analogChannel)
 Create an Analog Output from an I/O Node.

Information

virtual long AddressGet ()
 Get the Host Address for the I/O point.
virtual long MaskGet ()
 Get the bit mask for the I/O point.

Type Information

virtual bool IsDigital ()
 Determine if an I/O point is Digital or Analog.
virtual bool IsOutput ()
 Determine if an I/O point is an output.

Read / Write I/O

bool Get ()
 Get the state of Digital Input or Output.
void Set (bool state)
 Set the state of a Digital Output.
double ValueGet ()
 Get the value of an Analog Input or Output.
void ValueSet (double value)
 Set the value for an Analog Output.

Errors and Exceptions

long ErrorLogCountGet ()
 Get the number of software errors in the error log.
RsiErrorErrorLogGet ()
 Get the next RsiError in the log.
void ErrorLogClear ()
 Clear the error log.
char * RsiErrorMessageGet (RSIErrorMessage msg)
char * ErrorMessageGet (RSIErrorMessage msg)
void ErrorMsgCheck (RapidCodeObject *object, RSIErrorMessage msg, const char *function, long line)
void ErrorMsgCheck (RapidCodeObject *object, RSIErrorMessage msg, const char *text, const char *function, long line)

Exceptions Enabled

void ThrowExceptions (bool state)
 Configure a class to throw exceptions.

RapidCode Version

char * VersionGet ()
 Get the RSI RapidCode version.

Detailed Description

Examples:

IOPoint.cs, IOPointInterrupts.cs, sequencerDigitalOutput.cpp, userLimit.cpp, and userLimitDigitalInputAction.cpp.


The documentation for this class was generated from the following files: