
WAGO-I/O-SYSTEM 750
Appendix 253
758-874/000-131 WAGO-I/O-IPC-C6
Manual
Version 1.0.0
Pos: 64 /Alle Serien (Allgemeine Module)/Überschriften für alle Serien/Anhang - Überschrift 1 @ 4\mod_1239874070437_21.doc @ 30560 @ 1 @ 1
19 Appendix
Pos: 65 /Serie 758 (Funk, IPC und PFC)/Anhang/Anhang 758-87x WagoConfigToolLIB_lib @ 12\mod_1338539824410_21.doc @ 95800 @ 23 @ 1
19.1
WAGOConfigToolLIB.lib
With the function block of the CoDeSys "WAGOConfigToolLIB.lib" library,,
configure and parameterize the I/O-IPC like with the WBM and "IPC
Configuration Tool". You need the calls from the next Section. These have no
effect on the run time of the tasks because the functions are called asynchronsly.
configToolFB
bDone
bBusy
stResultString
iFbResult
iConfigToolResult
stConfigToolErrorString
bEnable
stCallString
Figure 118: Graphical representation of the "ConfigTool" function block
Table 127: "ConfigTool" function block
Parameter
Name
Data Type
Description
bEnable
BOOL
The function block starts processing when the
input registers an ascending edge.
Input
stCallString STRING
(150)
Enter a call like in the Linux consol. An
overview of the calls is available in section
"Calls for the WAGOConfigToolLIB.lib
Library" .
bDone
BOOL
Indicates whether the function block is executed
fully or after canceled after reporting an error
code.
bBusy
BOOL
The function block processes a call.
Output
stResultString STRING
(80)
Return value displayed on the Linux console.
iFbResult
INT
The return values have the following meaning:
0: No error
1: Invalid input parameter, e.g. an
empty string at stCallString
2: Error at implementation of the
function block
3: Unknown Configtool
4: The Configtool result string is too large
for the function block return parameter
stResultString
iConfigToolResult INT
The value corresponds directly to the Configtool
result parameter.
Output
stConfigToolError
String
STRING
(150)
This parameter displays the error description if
the call "wConfigToolResult" returns a value
≠
0.