PLC Layer 7 program interface
CP1413plus manual
4-48
Rev. 00/07
4.3.3.1 Get connection parameter from standard file
#include <MSGINDEX.H>
#include <S5ACCESS.H>
#include <NETFILE.H>
unsigned short WENTRY_C S5GetConnectionParameter (
S5_VERBINDUNGSDATEN W_POINTER s5data)
Certain parameters are required when assigning a connection by means of the function
S5StartConnection
. The function
S5GetConnectionParameter
is availabel to retrieve
these parameters from a file.
The respective file may be created and modified by means of the same program that was used to
configure the module VIPA CP143 plus (/QP). It is also possible to use another text editor that does
not write control characters to the data is located in a pure text file. Chapter 5 contains the exact
format of this file.
Parameters
s5data
is a pointer to the structure S5_VERBINDUNGSDATEN. The
element
Verbindungsname
must contain the connection name.
Return value
0
OK. The data was entered into the structure.
TEXT_NO_NET_FILE
The connection file does not exist.
TEXT_NO_SECTION
The connection name could not be found.
TEXT_NO_MEM
There is not enough memory available for processing
this function.
Note
As this function uses files it is not possible to execute it from within drivers.
See also
S5StartConnection
S5StartConnectionCard
S5StopConnection
S5GetConnectionCard
S5PutConnectionParameter
S5WriteConnectionCard
S5ListConnections
Содержание CP 1413plus
Страница 1: ...Subject to change to cater for technical progress Manual CP 1413plus Order No VIPA SSN HB83E Rev 00 07...
Страница 2: ...jkjlj...
Страница 8: ...Contents CP1413plus manual iv Rev 00 07...
Страница 10: ......
Страница 16: ...Special features CP1413plus manual 1 6 Rev 00 07...
Страница 18: ......
Страница 38: ...Standards and specifications CP1413plus manual 2 20 Rev 00 07...
Страница 40: ......
Страница 104: ...Entry into protocol file H1PROT_NIF CP1413plus manual 3 64 Rev 00 07...
Страница 106: ......
Страница 178: ...PLC Layer 7 program interface CP1413plus manual 4 72 Rev 00 07...
Страница 180: ......
Страница 194: ......
Страница 206: ...ksdjfk...
Страница 276: ...Programming CP1413plus manual 7 70 Rev 00 07 Flowchart Read from PLC Fig 7 7 Flowchart Read from PLC...
Страница 305: ...8 Supplement Please find here the current product description which was not ready for print earlier...
Страница 306: ......
Страница 317: ...Appendix A Technical data A 1 B Abbreviations B 1 C List of figures C 1 D Index D 1...
Страница 318: ...dfgdfgfdg...
Страница 324: ...List of figures CP1413plus manual C 2 Rev 00 07...