S p e z i a l e l e k t r o n i k G m b H
iseg Spezialelektronik GmbH
Email: [email protected]
Tel ++ 49 (0)351 / 26 996 - 0
Bautzner Landstr. 23
http://www.iseg-hv.de
Fax ++ 49 (0)351 / 26 996 - 21
12
D - 01454 Radeberg / Rossendorf
5.5 Ethernet Interface
Attention:
Turn off the device with mains switch POWER before connecting/disconnecting
the interface cable.
The Ethernet Interface with 10-MBit/s, Full-Duplex, is connected via RJ-45 socket on the device rear.
The device can be connected to a switch via patch cable. If it shall be connected to a PC directly, a
crossover cable has to be used.
“Ethernet” has to be set in menu “F09 Set Interfce“. The additional settings (IP address, net-mask,
default gateway) have to be made with the SCPI Instruction set with EDCP. This can be done over
Ethernet or RS-232. Ex works settings are as follows:
IP-address:
192.168.16.13
Net mask:
255.255.255.0
Default Gateway:
192.168.16.1
Command port:
10001 (fixed)
The connection can be tested with the ping command (Start programs accessories com-
mand).
C:\>ping 192.168.16.13
Ping will done for 192.168.16.13 with 32 bytes data:
Answer from 192.168.16.13: bytes=32 time=4ms TTL=128
Answer from 192.168.16.13: bytes=32 time=4ms TTL=128
Answer from 192.168.16.13: bytes=32 time=4ms TTL=128
Answer from 192.168.16.13: bytes=32 time=4ms TTL=128
Ping statistic for 192.168.16.13:
Package: sent = 4, received = 4, lost = 0
Time in millisecond:
minimum = 1ms, maximum = 4ms, average = 1ms
During communication the HV unit act as server, the control PC act as client. The following table
shows the principle sequence of communication PC to HV unit.
Step
Function call
Computer HV-Unit
HV-Unit Computer
1.
connect()
SYN
2.
SYN, ACK
3.
ACK
4.
send()
"*IDN?\r\n"
5.
recv()
"iseg Spezialelektronik GmbH [...]"
6.
closesocket()
FIN, ACK
7.
FIN, ACK
8.
ACK
The first three packages are for the establishing of a TCP-Connection (three way handshake). Fourth
step is the inquiry from PC to HV unit. The order is ASCII coded in data field of the TCP packet. The
answer is also ASCII coded send to the PC in step 5. Package No. 6 confirms the receipt of the
packet and sends a FIN for termination of connection. Step 7 and 8 are the confirmation of termina-
tion of connection from HV unit and PC.
The communication can be monitored with a network sniffer (e. g. Wireshark). Control is done with
the instruction sets described later. The preferred command set for Ethernet is “SCPI with EDCP”, as
you can build longer Frames which reduces Ethernet Overhead.