
Setting the Ethernet-address
Deutschmann Automation GmbH & Co. KG
28
Instruction manual UNIGATE
®
IC - Ethernet V. 2.9
5.7.13
9
Setting the Ethernet-address
Setting the address through the configuration
The UNIGATE® IC has to be in the configuration mode (see also chapter 7.2 ’The configuration
mode’). With WINGATE it is now possible to set the address. This address is preserved until it
will be changed again.
Script example for the initialization of the Ethernet
var InSize: word;
var OutSize: word;
Set ( EN_SOURCE_PORT , 2000 ) ;
Set ( EN_Destination_Port , 2000
BusStart;
// the Ethernet ASIC is ready now.
// from now on the Master CAN configure the participant.
// However, that does not mean that the configuration of the
// participant has already been carried out by the Master.
wait (Bus_Active);
// the Ethernet is now in the state of Data Exchange
// This command might take a very long time and is
// not interruptible!
// Now it is also known to the Script with which configuration
// the Slave was put into operation by the Master.
Get ( BusInputSize, InSize);
Get ( BusOutputSize, OutSize);
// Insize and OutSize ar from the IC's point of view!
// It is possible to read out data from the bus
// all available bytes should be read.
var InBuffer: Buffer[100];
Readbus ( InBuffer[0], InSize) ;
// It is now possible to write data.
// You must not write more bytes than available.
var OutBuffer: Buffer[100];
WriteBus ( OutBuffer[0], OutSize );
Содержание UNIGATE IC
Страница 2: ......
Страница 6: ...Deutschmann Automation GmbH Co KG 6 Instruction manual UNIGATE IC Ethernet V 2 9 5 7 13...
Страница 8: ...Deutschmann Automation GmbH Co KG 8 Instruction manual UNIGATE IC Ethernet V 2 9 5 7 13...
Страница 19: ...5 7 13 Instruction manual UNIGATE IC Ethernet V 2 9 19 Deutschmann Automation GmbH Co KG Hardwaredesign...
Страница 43: ...5 7 13 Instruction manual UNIGATE IC Ethernet V 2 9 43 Deutschmann Automation GmbH Co KG Appendix...
Страница 44: ...Appendix Deutschmann Automation GmbH Co KG 44 Instruction manual UNIGATE IC Ethernet V 2 9 5 7 13...
Страница 48: ......