Using DeviceMaster® Primo for Pair Connect and Raw Connect Methods
Trademark Notices Comtrol and DeviceMaster are trademarks of Comtrol Corporation. Windows, MS-DOS, and Microsoft are a registered trademarks of Microsoft Corporation. Other product names mentioned herein may be trademarks and/or registered trademarks of their respective owners. URL References All URLs in this document worked at the time of publication. Due to the nature of web sites, some links may not work, and you may need to search their site to locate the referenced information.
Table of Contents Overview.......................................................................................................................................................... 4 Pair Connection Mode.................................................................................................................................. 5 Pair Connection (Master) ........................................................................................................................... 5 Pair Connection (Slave)..
Overview Other documents related to this one are: • DeviceMaster Primo Serial Port Server Hardware Installation (p1portHW.pdf). • DeviceMaster Primo Serial Port Server Device Driver Installation for Windows NT (p1pWinNT.pdf). • DeviceMaster Primo Serial Port Server Device Driver Installation for Windows 98/Me (p1pWin9x.pdf). • DeviceMaster Primo Serial Port Server Device Driver Installation for Windows 2000 (p1pWin2k.pdf).
Pair Connection Mode Pair Connection Mode You use a combination of the Master and Slave Pair Connection operating modes to connect two DeviceMaster Primo units. Use the following two procedures. DeviceMaster Primo (Master) Terminal DeviceMaster Primo (Slave) Ethernet Hub LAN/WAN Printer Ethernet Hub Pair Connection Example Pair Connection (Master) 1. From the Start menu, select the Run command. 2. Type Telnet plus the master Primo IP address, and select the OK button. 3.
Pair Connection (Master) 4. Use the arrow keys to select the serverConfig menu item, and press the Enter key. If you need to, use the Server Name field to change the name of your DeviceMaster. Then use the arrow keys to move to the next configurable setting. 5. Press the Esc key to return to the menu. Use the arrow keys to select the OP_mode menu item, and press the Enter key 6. Select the item in the Application list, and press the Enter key to display connection options. 7.
Pair Connection (Master) 8. From the More setting list, highlight the Select for more setting item, and press the Enter key. 9. Review the following values, and make any changes if needed: • Remote IP Address Enter the IP address of the single remote Slave device. • TCP alive check time Amount of minutes that Telnet keeps the program active.
Pair Connection (Master) 10. Press the Esc key twice to return to the menu. Select the Serialport option, and press the Enter key. Review the options. Take note of the port information and compare the Master and the Slave parameters. They must be the same. 11. Press the Esc key to return to the main menu. Select the Monitor option. Review the options. 12. Press the Esc key to return to the menu. Select the Restart option to save any changes.
Pair Connection (Slave) Pair Connection (Slave) Setting the parameters for a Pair Connection requires two procedures. Use the previous procedure, Pair Connection (Master), to complete the connection. 1. From the Start menu, select the Run command. 2. Type Telnet plus the slave Primo IP address, and select the OK button. 3. Confirm that it is a vt100 session, and press the Enter key. 4. Use the arrow keys to select the serverConfig menu item, and press the Enter key. Review the values. 5.
Pair Connection (Slave) 6. Select an item in the Application list, and press the Enter key to display connection options. 7. Use the arrow keys to select the Pair Connection (Slave) item, and press the Enter key.
Pair Connection (Slave) 8. From the More setting list, highlight the Select for more setting item, and press the Enter key. 9. Review the following values: • Remote IP Address Enter the IP address of the single remote Master device. You can leave this field blank if you want to connect to multiple servers. • TCP alive check time Amount of minutes that Telnet keeps the program active. 10. Press the Esc key to return to the main menu. Select the Serialport option. Review the values.
Raw Connection Mode 11. Press the Esc key to return to the menu. Select the Monitor option. Review the options. 12. Press the Esc key to return to the menu. Select the Restart option to save any changes. Raw Connection Mode This operation mode is used to transmit “raw” data between a remote network card and a DeviceMaster Primo and then to a serial device.
TCP Server 2. Type Telnet plus the Primo IP address, and select the OK button. 3. Confirm that it is a vt100 session, and press the Enter key. 4. Use the arrow keys to select the serverConfig menu item, and press the Enter key. Review the values. 5. Press the Esc key to return to the menu. Use the arrow keys to select the OP_mode menu item, and press the Enter key.
TCP Server 6. Select the an item on the Application list, and press the Enter key to display the connection options. 7. Select the Raw Connection (TCP Server) item from the pop-up box. Press the Enter key. 8. From the More Setting list, highlight the Select for more setting item, and press the Enter key. 9. Set up a TCP port number, Destination IP address, Inactivity time, and TCP alive check time, as the following describes. TCP port Enter the desired TCP port number.
TCP Client 10. Press the Esc key twice to return to the main menu. Select the Monitor option. 11. Review the options and make any desired changes. Note: The Connection Status is set to listen. After you restart the device, the TxChar Count and the Rx Char Count fields display data transfer activity. 12. Press the Esc key to return to the menu. Select the Restart option to save any changes.
TCP Client 4. Use the arrow keys to select the serverConfig menu item, and press the Enter key. Review the values. 5. Press the Esc key to return to the menu. Use the arrow keys to select the OP_mode menu item, and press the Enter key. 6. Select an item on the Application list and press the Enter key to display the connection options. 7. Select the Raw Connection (TCP Client) item from the pop-up box. Press the Enter key to display the port parameters.
TCP Client 8. From the More Setting list, highlight the Select for more setting item, and press the Enter key. 9. Set up a TCP port number, Destination IP address, Inactivity time, and TCP alive check time, as the following describes. Destination IP address: Enter the IP address of the remote network card which will be sending raw data to your DeviceMaster Primo. Leave the IP address blank to allow access for all hosts. TCP port: Enter the desired TCP port number.
Raw Connection - UPD 10. Press the Esc key twice to return to the menu. Select the Monitor option. 11. Review the options, and make any desired changes. Note: The Connection Status is set to listen. After you restart the device, the TxChar Count and the Rx Char Count fields display data transfer activity. 12. Press the Esc key to return to the menu. Select the Restart option to save any changes. Raw Connection - UPD UDP Server Setting the parameters for a UDP Raw Connection requires two procedures.
UDP Server 2. Type Telnet plus the Primo IP address, and select the OK button. 3. Confirm that it is a vt100 session, and press the Enter key. 4. Use the arrow keys to select the serverConfig menu item, and press the Enter key. Review the values. 5. Press the Esc key to return to the menu.
Serial to Ethernet 6. Select the an item on the Application list, and press the Enter key to display the connection options. 7. Select the Raw Connection (UDP Server/Client) item from the pop-up box. Press the Enter key. 8. Highlight the Select for more settings item in the More setting list, and press the Enter key to display the port parameters 9. Consider the following parameters. When you finish entering the desired parameters, press the Enter key to return to the previous window.
Ethernet to Serial (Optional) Port: The default Port number is 4001. If you change a range of Port numbers, they should be the same number. Ethernet to Serial (Optional) Src (Source) IP: A list of source IP addresses which DeviceMaster accepts data from and transmits it to the serial port. If you want to accept all hosts, keep the fields blank. Local listen Port: The default Port number is 4001.
UDP Client Note: The Connection Status states that the device is transmitting. 13. Press the Enter key to return to the main menu. Select the Restart menu item to restart and save the changes. 14. You have to repeat this procedure for each client device. UDP Client Setting the parameters for a UDP Raw Connection requires two procedures. Follow the UDP Server procedure first then complete the following UDP Client procedure. 1. From the Start menu, select the Run command. 2.
UDP Client 4. Use the arrow keys to select the serverConfig menu item, and press the Enter key. Review the values. 5. Press the Esc key to return to the menu. Use the arrow keys to select the OP_mode menu item, and press the Enter key 6. Select the an item on the Application list, and press the Enter key to display the connection options. 7. Select the Raw Connection (UDP Server/Client) item from the pop-up box. Press the Enter key to display the port parameters.
UDP Client 8. From the More setting list, highlight the Select for more settings item, and press the Enter key to display the port parameters. 9. Clear all the fields except for the Port and Local listening Port fields which you can keep at the default setting. You can enter the server DeviceMaster IP address if you want to transmit data from the client to the server. 10. Press the Esc key to return to the main menu. 11. Select the Monitor menu item, and press the Enter key.
Telnet Console Note: The Connection Status states that the device is transmitting. 12. Press the Enter key to return to the main menu. Select the Restart menu item to restart the device, and save the changes. 13. You have to repeat this procedure for each client device. Telnet Console This section instructs you on how to use the Telnet Console Interface.
Navigating the Telnet Console Navigating the Telnet Console After activating the Telnet Console, use the keyboard keys to maneuver about the vt100 window. • While in the main menu, the left and right arrow keys move the cursor between menu headings, and pressing the Enter key activates whichever menu heading that is currently selected. • After pressing the Enter key when you are in the main menu, use the Tab key, and the up and down arrow keys, to move between configurable options.
Telnet Console Menu Functions Telnet Console Menu Functions In this discussion, we outline the six main menu categories: serverConfig, Op_mode, Serialport, Monitor, Ping, Restart, and Exit. Note that the setting names are listed in the left column, with the current settings given to the right of each name. Settings that can be edited are enclosed in square brackets, and those that can not be edited are not enclosed in brackets.
Serialport Options When all the settings are correct, press the Esc key to return to the main menu. Serialport Options Using the left and right arrow keys, maneuver the cursor so that Serialport is selected, and press the Enter key to display the options Port Number, Baud Rate (bps), Parity, Data Bit, Stop Bit, Flow Control, and UART FIFO. Note that the Serialport window displays additional settings if the Operating Mode is set to Raw Connection in the Op_mode window.
Monitor Monitor The Monitor window displays the following information. Ping Ping is a standard network testing function that checks to see if a computer with a particular IP address is logged into the network. Restart and Exit When you are sure that all of your settings are correct, return to the main menu, and select Restart. You will be prompted with a warning that your settings are going to change. Press the Enter key to confirm your changes.
Index D Data Packing 17, 21 Driver Installation 4 H Hardware Installation 4 I Installation Driver 4 Hardware 4 M Master 5 Mode UDP Raw Connection 18 Modes Master 5 Pair Connection 5 Raw Connection 12 Slave 9 TCP Client 15 TCP Server 12 UDP Client 22 UDP Server 18 N Navigating Telnet 26 P Pair Connection Mode 5 R Raw Connection Mode 12 S Slave 9 Starting Telnet 25 T TCP Client 15 TCP Server 12 Telnet Console 25 U UDP Client 22 UDP Raw Connection 18 30