
PLC Layer 7 program interface
CP1413plus manual
4-42
Rev. 00/07
4.3.2 General Layer 7 functions
4.3.2.1 Start connection
#include <S5ACCESS.H>
unsigned short WENTRY_C S5StartConnection (
H1_CONNECT_PARAMS W_POINTER cr)
The
S5StartConnection
function is used to define a connection to another system on the
network.
This function must be executed before a connection can be used.
Parameters
cr
Pointer to a structure containing connection parameters. These
parameters are read by means of
S5GetConnectionParameter
.
The value Vnr is set if the function completes without error. This
represents the connection number. However, this number will only be
returned if
- all drivers have been installed.
- the connection parameters are correct.
- the remote station acknowledges the connection if required by the
connection parameters.
A valid Fehler! Textmarke nicht definiert.connection number does
not imply that the connection to the partner exists. This also depends
on the connection parameters.
Return value
0
H1_BAD_CR_PARAMS
H1_NO_SLOT
H1_NO_DRIVER
H1_NO_ADAPTER
See also
S5StartConnectionCard
S5StopConnection
Содержание 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...