Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: HelloWorld_PLC01A1
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:
-
Parity bits
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:
-
Feedback status, 1 if OK else 0
Implemented in VNI8200XP.
virtual uint8_t check_parity | ( | void | ) | [pure virtual] |
virtual uint8_t check_power_good | ( | void | ) | [pure virtual] |
Get power supply status.
- Parameters:
-
None
- Return values:
-
Power good bit, 1 in case of power good
Implemented in VNI8200XP.
virtual int init | ( | void * | init ) | [pure virtual, inherited] |
virtual uint8_t manage_fault | ( | void | ) | [pure virtual] |
Get output fault status.
- Parameters:
-
None
- Return values:
-
Output channel fault data
Implemented in VNI8200XP.
virtual int read_id | ( | uint8_t * | id ) | [pure virtual, inherited] |
virtual void set_channels | ( | uint8_t | Out_array ) | [pure virtual] |
Set output channels state.
- Parameters:
-
Output channel data
- Return values:
-
None
Implemented in VNI8200XP.
virtual void ssrelay_set_output | ( | uint8_t * | outputArray ) | [pure virtual] |
Set output for output channels component.
- Parameters:
-
TX buffer
- Return values:
-
None
Implemented in VNI8200XP.
virtual uint8_t temperature_warning | ( | void | ) | [pure virtual] |
Get temperature warning status.
- Parameters:
-
None
- Return values:
-
Temperature warning status, 1 if over temperature
Implemented in VNI8200XP.
Generated on Fri Jul 15 2022 00:11:30 by
