tcio  V3.74.00
Function description
Functions
Generic

Functions

DLL_RESULT TC4ClearError ()
 This function is used to clear all pending errors and warnings.
DLL_RESULT TC4GetControlMode (unsigned int *p_mode)
 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.
DLL_RESULT TC4GetRemoteControlInput (unsigned int *remoteinput)
 Reads the actual remote control input.
DLL_RESULT TC4SetRemoteControlInput (unsigned int remoteinput)
 Sets the remote control input which defines the active interface.
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.

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 *  p_mode)

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]p_mode0: 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 *  remoteinput)

Reads the actual remote control input.

Parameters:
[out]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:
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