Microlok II
®
Serial-to-Ethernet Converter (SEC)
Copyright 2019 SM6800O Rev. 1, March 2019
5-6
•
The mlk_addr is specified as <mlk_dest_addr>[:<mlk_source_addr>]
5.3.1.2 Network Adapter Configuration
The Microlok II addresses have to be in 4-digit Hexadecimal notation. For example, Address
10 would be 000A, and Address 20 would be 0014
Example:
•
192.168.1.16:60000=000A
•
192.178.1.17:60000=0014
In the application.ml2 file:
PROTOCOL: MII.PEER;
ADJUSTABLE PORT: 3;
ADJUSTABLE MII.ADDRESS: 10;
STATION.NAME: STATION_1;
ADJUSTABLE PEER.ADDRESS: 20;
This definition defines a Microlok.Peer port and a station. The station address is 10, and the
address of the station it is communicating with is 20. Messages sent from the station have a
source address of 10, and a destination address of 20.
PROTOCOL: MII.PEER;
ADJUSTABLE PORT: 4;
ADJUSTABLE MII.ADDRESS: 20;
STATION.NAME: STATION_2;
ADJUSTABLE PEER.ADDRESS: 10;
This definition is the other end of the communication. Messages sent from this link have a
source address of 20 and a destination address of 10. With PAIR routing, the following
definition would work:
192.168.1.16:60000=000A:0014
192.178.1.17:60000=0014:000A
5.3.2 TCP Section Options
The general format for entries in this section is:
<local_port>:<target_ip_addr>:<target_port>=<mlk_addr_list>
Where:
local_port is the port on the SEC that target units connect to when communicating using
the addresses listed in the mlk_addr_list.
The first number is the host and the second number is the target which act like a pair.
An example of this format is shown in Figure 5-1.
Summary of Contents for Microlok II
Page 2: ......
Page 12: ...Microlok II Serial to Ethernet Converter SEC Copyright 2019 SM6800O Rev 1 March 2019 1 4 ...
Page 38: ......
Page 40: ...Microlok II Serial to Ethernet Converter SEC Copyright 2019 SM6800O Rev 1 March 2019 4 2 ...
Page 50: ...Microlok II Serial to Ethernet Converter SEC Copyright 2019 SM6800O Rev 1 March 2019 6 2 ...
Page 52: ...Microlok II Serial to Ethernet Converter SEC Copyright 2019 SM6800O Rev 1 March 2019 7 2 ...