
H1 Layer 4 program interface
CP1413plus manual
4-24
Rev. 00/07
4.2.2.12 Set station address
#include <H1Def.h>
unsigned short WENTRY_C H1SetStationAddress(unsigned char
W_POINTER address)
This function modifies the local (own) station address.
Parameters
address
Pointer to a memory location containing the modified station parame-
ters. The remaining 6 bytes contain the station address.
For an H1 environment the highest byte may not contain a broadcast-
or multicast-address.
Return value
0
H1_NO_DRIVER
H1_NO_ADAPTER
Note
The station address must be unique, otherwise it is possible that collisions occur on
the network.
The station address is independent of other protocols, e.g. IPX, if the setting
“Protokollieren = Ja” (log protocol = yes) has been specified. On some LAN’s the
MAC-driver may not be set to operate in promiscous mode. In this case you must
set “Protokollieren = Nein” (log protocol = no). Other systems refuse to cooperate
when the station address is modified at run time, i.e. the setting is “Protokollieren =
Ja” (log protocol = yes). The system is loaded drastically by the promiscous mode.
Please refer to the technical reference for your network for further information in
this regard.
Example
unsigned char address [6];
station[0] = 0x00;
station[1] = 0x20;
station[2] = 0xd5;
station[3] = 0x80;
station[4] = 0x02;
station[5] = 0x01;
H1SetStationAddress(address);
See also
H1DriverOpen
H1DriverClose
H1GetStationAddress
H1GetStationAddressCard
H1SetStationAddressCard
Содержание 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...