![ZLG CANSwitch-AF2S2 Скачать руководство пользователя страница 29](http://html1.mh-extra.com/html/zlg/canswitch-af2s2/canswitch-af2s2_user-manual_3897400029.webp)
CANSwitch-AF2S2
High-Performance Dual-CAN to Fiber Switch User Manual
©2021 Guangzhou ZLG Electronics Technology Co.,Ltd.
25
User Manual
Figure 4.9 Adding an IP address
Enter the content, and click the Add button. Press OK. Now you can communicate
with the CANSwitch-AF2S2 device.
4.2.5 Modifying the Local IP Address
In the operating system, click the Start button Control Panel Network and sharing
center to modify the advanced sharing settings, select the "Local Connection"
corresponding to the network card connected to the CANSwitch-AF2S2 device, right-click
and choose "Properties". In the displayed dialog box, select "Internet Protocol Version 4
(TCP/Ipv4)" and click "Properties". The page shown in Figure 4.10 is displayed. Select
[Use the following IP address], and enter the IP address 192.168.0.22, the subnet mask
255.255.255.0, and the default gateway 192.168.0.1 (the DNS part can be left blank).
Click "OK" on this page, and wait until the system is configured.
Figure 4.10 TCP/IP Properties window
Now you can communicate with the CANSwitch-AF2S2 device.
4.3 TCP Server Mode
4.3.1 System Block Diagram
In TCP Server mode, CANSwitch-AF2S2 will not actively connect with other devices.
It always waits for the connection of the client (TCP Client), and can perform two-way data
communication after establishing a TCP connection with the client. Figure 4.11 shows the
communication establishment process.