rchConfigGet (Functionblock) |
Top Previous Next |
rchConfigGet will read out the RTCU Communication Hub parameters previously set from the RTCU IDE, or the rchConfigSet function.
Input: None
Output: enabled : BOOL Whether the parameters are valid..
address : STRING The IP address or symbolic name of the server.
port : DINT The IP port the device should use to connect to the server.
iface : SINT The network interface the device should use to connect to the server.
secure : BOOL Whether a standard or secure connection is to be used.
loginkey : STRING The key (password) the device should use to connect to the server.
cryptkey[n] : SINT The key used to encrypt communication on a standard connection to the server.
MaxConnectionAttempt : INT Max number of connection attempts before the network media reconnects.
MaxSendReqAttempt : INT Max number of send-request attempts before send fails.
ResponseTimeout : INT Time waiting for response in seconds.
AliveFreq : DINT Frequency for sending self-transactions in seconds.
Declaration: FUNCTION_BLOCK rchConfigGet;
Example: INCLUDE rtcu.inc |