tcio
 All Functions Groups Pages
Functions
Generic

Functions

DLL_RESULT TC4ClearError ()
 This function is used to clear all pending errors and warnings. More...
 
DLL_RESULT TC4GetControlMode (unsigned int *pControlMode)
 Reads the actual mode of the controller.
Reading controller mode on a TopCon Slave returns the actual controller mode of that Slave.
Reading controller mode on a TopCon Master returns the actual system control mode. More...
 
DLL_RESULT TC4GetRemoteControlInput (unsigned int *pRemoteInput)
 Reads the actual remote control input. More...
 
DLL_RESULT TC4SetRemoteControlInput (unsigned int remoteInput)
 Sets the remote control input which defines the active interface. More...
 
DLL_RESULT TC4StoreParameters ()
 Stores all settings in a non-volatile memory If TopCon Slaves are connected to the TopCon Master, the Slaves will store their settings in non-volatile memory too. More...
 

Detailed Description

Functions which have a complete control from something, like ClearError, ControlOn, ...

Function Documentation

DLL_RESULT TC4ClearError ( )

This function is used to clear all pending errors and warnings.

Precondition
Remote control input must be set to RS232 (this API)
Note
values and corresponding states have changed since firmware 2.x
Returns
DLL_SUCCESS for success or DLL_FAIL or other value if an error occurs
DLL_RESULT TC4GetControlMode ( unsigned int *  pControlMode)

Reads the actual mode of the controller.
Reading controller mode on a TopCon Slave returns the actual controller mode of that Slave.
Reading controller mode on a TopCon Master returns the actual system control mode.

Parameters
[out]pControlMode0: no controller selected (output voltage is disabled)
1: constant voltage
2: constant current
4: constant power
Note
In a multiload system there is no system control mode defined and the result will be 0.
Returns
DLL_SUCCESS for success or DLL_FAIL or other value if an error occurs
DLL_RESULT TC4GetRemoteControlInput ( unsigned int *  pRemoteInput)

Reads the actual remote control input.

Parameters
[out]pRemoteInput0: set active interface to analog
1: set active interface to HMI/HME
2: set active interface to RS232 (this API)
32767: no active interface will be selected
Note
Reading remote control input on a TopCon Slave can return any of the above values, but has no significance.
Returns
DLL_SUCCESS for success or DLL_FAIL or other value if an error occurs
DLL_RESULT TC4SetRemoteControlInput ( unsigned int  remoteInput)

Sets the remote control input which defines the active interface.

Parameters
[in]remoteInput0: set active interface to analog
1: set active interface to HMI/HME
2: set active interface to RS232 (this API)
32767: no active interface will be selected
Note
calling this function on a TopCon Slave will have no effect.
Returns
DLL_SUCCESS for success or DLL_FAIL or other value if an error occurs
DLL_RESULT TC4StoreParameters ( )

Stores all settings in a non-volatile memory If TopCon Slaves are connected to the TopCon Master, the Slaves will store their settings in non-volatile memory too.

Note
calling this function on a TopCon Slave will have no effect
Returns
DLL_SUCCESS for success or DLL_FAIL or other value if an error occurs