rchConfigGet (Functionblock) |
|
rchConfigGet reads the primary Server RTCU Communication Hub parameters previously set from RTCU M2M Studio or by rchConfigSet. This function is for NX32L devices only. Use rchFallbackGet to read the NX32L fallback configuration.
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 |