SIEMENS AG
new_ss
The function new_ss activates the connection of the PG/PC, which is to be
used for the data exchange. The description of the connections and/or parties
is transferred with the load_tool function.
no = 1
connection 1 (connection address plc_adr_table[0])
no = 2
connection 2 (connection address plc_adr_table[1])
no = 3
connection 3 (connection address plc_adr_table[2])
no = 4
connection 4 (connection address plc_adr_table[3])
Closed connections can be re-established with this function!
If there were no errors, the function supplies 0 as the return value otherwise an
error message which can be evaluated in accordance with the error table (see
error_message).
See also load_tool
C-Adapter
int
new_ss (char no);
unload_tool
This function deinitialises the connections and the adaptor and must be re-
called prior to leaving the application!
If there were no errors, the function supplies 0 as the return value otherwise an
error message which can be evaluated in accordance with the error table (see
error_message).
See also load_tool
C-Adapter
int
unload_tool(void);
Toolbox for Data Link PGs/PCs to SIMATIC S7
21
PRODAVE S7
(mini)
(mini)