Property | Type | Description | |
---|---|---|---|
_Controller | KM_Controller | ||
_ID | int | ||
_IOType | IO_TYPE | ||
_Name | string |
Method | Description | |
---|---|---|
GetAnalogValue ( ) : int |
Reads the digital expression of an analog value
|
|
GetDigitalValue ( ) : bool |
Gets the current status of a point of IO
|
|
KM_IO ( KM_Controller controller, int id, string name, IO_TYPE iotype ) : System |
Primary Construtor for IO object
|
|
SetAnalogValue ( int value ) : void |
Sets the output level of an analog output
|
|
SetDigitalValue ( bool value ) : void |
Sets the value if the IOType is Digital output Otherwise will throw an exception
|
|
Toggle ( ) : void |
Toggle a Digital Output Bit
|
Method | Description | |
---|---|---|
UpdateIOType ( ) : void |
Uptdates the IO direction
|
public KM_IO ( KM_Controller controller, int id, string name, IO_TYPE iotype ) : System | ||
controller | KM_Controller | |
id | int | Bit Number |
name | string | Call Name |
iotype | IO_TYPE | Sets the IO direction |
return | System |
public SetAnalogValue ( int value ) : void | ||
value | int | -2048...2047 |
return | void |
public SetDigitalValue ( bool value ) : void | ||
value | bool | new value for IO point |
return | void |