CP1413plus manual
H1 Driver V3.xx for Windows NT
Rev. 00/07
7-61
7.6.3.2.6 Set station address
#include <S5Access.h>
USHORT WENTRY_C S5SetzeStationsAdresse(unsigned char W_POINTER
addresse)
This function modifies the local (own) station address.
Parameters
addresse
Pointer to a memory location containing the new station address. The
remaining 6 bytes contain the station address.
For an H1 environment the highest byte may not contain a broadcast-
or multicast-address.
Returns
0
H1_NO_DRIVER
H1_NO_ADAPTER
Note
The station address must be unique, otherwise it is possible that collisions occur on
the network.
It is only possible to modify the station address when the MAC driver (H1 driver) is
set to operate in promiscous mode. In windows NT this mode can be selected from
the properties of the network services (default=promiscous).
To ensure proper operation you must not change the station address at run time.
Promiscuous mode places severe demands on the system since every message must
be received and decoded. It is most likely that messages will be lost. Please refer to
the technical reference manual for your network.
Example
unsigned char addresse [6];
addresse[0] = 0x00;
addresse[1] = 0x20;
addresse[2] = 0xd5;
addresse[3] = 0x80;
addresse[4] = 0x02;
addresse[5] = 0x01;
S5SetzeStationsAdresse(addresse);
See also
S5HoleStationsAdresse
Содержание 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...