
CP1413plus manual
Programming
Rev. 00/07
4-67
4.3.4.2.3 Poll a write operation
#include <S5ACCESS.H>
unsigned short WENTRY_C S5PollWrite(
ushort W_POINTER s5fehler,
ushort connectionnumber)
The
S5PollWrite
function is used to check whether data that was previously transferred by
means of an
S5StartWrite
function has been sent or not.
This function must be repeated until the data has been sent successfully or until an error message
indicating a faulty connection is received.
Parameters
s5Fehler
is a pointer to an integer variable. If the function returns a
value of 0 then
s5Fehler
contains the error code
received from the remote station. Some of the possible
error codes are located in the table on page 4-71. A 0 in
s5Fehler
indicates
that
the
data
transfer
was
terminated without errors.
connectionnumber
i
s the connection that was started by means of the
function
5StartConnection
and that has not yet been
terminates by a
S5StopConnection
.
Return value
0
H1_BAD_LINE
H1_WAIT_DATA
H1_WAIT_CONNECT
H1_WAIT_SEND
H1_NO_DRIVER
H1_NO_REQUEST
H1_NO_ADAPTER
See also
S5StartConnection
S5StartConnectionCard
S5WriteToPLC
S5StartWrite
Содержание 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...