ST / X_NUCLEO_PLC01A1

Dependents:   HelloWorld_PLC01A1

Embed: (wiki syntax)

« Back to documentation index

PLCOutput Class Reference

PLCOutput Class Reference

An abstract class for PLCOutut component. More...

#include <PLCOutput.h>

Inherits Component.

Inherited by VNI8200XP.

Public Member Functions

virtual void set_channels (uint8_t Out_array)=0
 Set output channels state.
virtual uint8_t manage_fault (void)=0
 Get output fault status.
virtual uint8_t check_dcdc_status (void)=0
 Get DC-DC status of the output channels component.
virtual uint8_t temperature_warning (void)=0
 Get temperature warning status.
virtual uint8_t check_parity (void)=0
 Get parity check status.
virtual uint8_t check_power_good (void)=0
 Get power supply status.
virtual uint8_t check_comm_error (void)=0
 Get parity bits for input data.
virtual void ssrelay_set_output (uint8_t *outputArray)=0
 Set output for output channels component.
virtual ~PLCOutput ()
 Destructor.
virtual int init (void *init)=0
 Initializing the component.
virtual int read_id (uint8_t *id)=0
 Getting the ID of the component.

Detailed Description

An abstract class for PLCOutut component.

Definition at line 55 of file PLCOutput.h.


Constructor & Destructor Documentation

virtual ~PLCOutput (  ) [virtual]

Destructor.

Definition at line 118 of file PLCOutput.h.


Member Function Documentation

virtual uint8_t check_comm_error ( void   ) [pure virtual]

Get parity bits for input data.

Parameters:
None
Return values:
Paritybits

Implemented in VNI8200XP.

virtual uint8_t check_dcdc_status ( void   ) [pure virtual]

Get DC-DC status of the output channels component.

Parameters:
None
Return values:
Feedbackstatus, 1 if OK else 0

Implemented in VNI8200XP.

virtual uint8_t check_parity ( void   ) [pure virtual]

Get parity check status.

Parameters:
None
Return values:
Paritycheck flag

Implemented in VNI8200XP.

virtual uint8_t check_power_good ( void   ) [pure virtual]

Get power supply status.

Parameters:
None
Return values:
Powergood bit, 1 in case of power good

Implemented in VNI8200XP.

virtual int init ( void *  init ) [pure virtual, inherited]

Initializing the component.

Parameters:
[in]initpointer to device specific initalization structure.
Return values:
0in case of success, an error code otherwise.

Implemented in CLT01_38S, and VNI8200XP.

virtual uint8_t manage_fault ( void   ) [pure virtual]

Get output fault status.

Parameters:
None
Return values:
Outputchannel fault data

Implemented in VNI8200XP.

virtual int read_id ( uint8_t *  id ) [pure virtual, inherited]

Getting the ID of the component.

Parameters:
[out]idpointer to an allocated variable to store the ID into.
Return values:
0in case of success, an error code otherwise.

Implemented in CLT01_38S, and VNI8200XP.

virtual void set_channels ( uint8_t  Out_array ) [pure virtual]

Set output channels state.

Parameters:
Outputchannel data
Return values:
None

Implemented in VNI8200XP.

virtual void ssrelay_set_output ( uint8_t *  outputArray ) [pure virtual]

Set output for output channels component.

Parameters:
TXbuffer
Return values:
None

Implemented in VNI8200XP.

virtual uint8_t temperature_warning ( void   ) [pure virtual]

Get temperature warning status.

Parameters:
None
Return values:
Temperaturewarning status, 1 if over temperature

Implemented in VNI8200XP.