
CP1413plus manual
Programming
Rev. 00/07
4-25
4.2.2.13 Set station address for multiple adapters
#include <H1Def.h>
unsigned short WENTRY_C H1SetStationAddressCard(unsigned
char W_POINTER address, unsigned short card)
This function modifies the station address of the local (own) station. This function is required in an
environment where more than one adapter is used. You may also use this function when your
hardware contains only a single adapter.
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.
card
The number of the adapter. 0 represents adapter 1
Return value
0
H1_NO_DRIVER
H1_NO_ADAPTER
Note
See note on
H1SetStationAddress
in chapter 4.2.2.12
Example
unsigned char address [6];
station[0] = 0x00;
station[1] = 0x20;
station[2] = 0xd5;
station[3] = 0x80;
station[4] = 0x02;
station[5] = 0x01;
H1SetStationAddressCard(address,card);
See also
H1DriverOpen
H1DriverClose
H1GetStationAddress
H1GetStationAddressCard
H1SetStationAddress
Содержание 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...