The Festo_EasyIP.lib library
3
1.2.2 Easy_SetIPAddr
The IP address of a remote station is assigned to the index of the IP table (shortcut list) using the
Easy_SetIPAddr function. The IP table allows 32 remote stations. The communication functions use the
index (shortcut) from the IP table to communicate with a remote station.
Index in the IP shortcut table. Permitted range of values
0...31 (constant MAXIPTABLEINDEX).
IP address part 1 (nnn.xxx.xxx.xxx)
IP address part 2 (xxx.nnn.xxx.xxx)
IP address part 3 (xxx.xxx.nnn.xxx)
IP address part 4 (xxx.xxx.xxx.nnn)
FALSE = Processing was successful, IP address has been
added to the table at the specified index
TRUE = Error, invalid index
1.2.3 Easy_SetTimeOut
The timeout, which monitors communication between two EasyIP stations, is set using this function. The
default setting is 1 and the basic pulse is the task cycle time in the Easy_Server() program. The function
parameter is a multiplier for the default setting. The timeout time is therefore calculated as follows:
Timeout time = TimeOut * task cycle time
Timeout time in multiples of the task cycle time in the
Easy_Server() program; permitted range of values
1...65535