Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 13 of 23

Owner's Manual: BayTech M Series DAC, pages 121 to 130

Pages 121 to 130 of 229

The original document is the PDF (499 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the BayTech M3 DAC

Page 121

M SERIES DAC BASE UNIT AND MODULE OPERATION ____________________________________________________________________________

Configuration is done via verbose (menu-driven) mode or non-verbose mode where a character string is sent to configure the desired I/O module. You can also configure the system clock of the M Series unit from the V71 in the verbose mode. All I/O modules can be programmed to communicate in immediate reporting mode where data is sent to the host computer as it is received. An I/O module must be in command mode before the V71 can access the verbose (menu-driven) configuration mode for that I/O module, issue non-verbose configuration commands, or issue data commands. The main board must be in command mode to configure the system clock. An I/O module or the main board is placed into command mode by sending a select sequence to the V71 from the host computer. The select sequence consists of the port select code, the desired module number (0 to 16), and <cr>. The module number is "0" to place the M Series main board into command mode. For example, to place the fourth I/O module into command mode, send $BT4<cr> from the host computer. After you have configured and/or issued any necessary data commands to the desired I/O module or main board, you would typically disconnect from the I/O module/main board by sending the port select code followed by <cr>. NOTE: If you attempt to place an I/O module or the main board into command mode and the I/O module/main board is currently selected by another host module or the service port, you will receive a Busy! message. You will have to wait until the other host module or service port disconnects from the desired I/O module or main board. If you attempt to connect to a module from the service port and the module is currently in command mode, you will receive the following message: Requested Module is Busy! V72 OPERATION PROGRAMMABLE FEATURES IP ADDRESS The IP Address is the network address for the V72 host module. The IP Address consists of four bytes with each byte ranging from 0 to 255 decimal. This parameter must be programmed before the V72 can be accessed on the network. The factory default IP Address is 0.0.0.0. SUBNET MASK The SUBNET Mask is a bit mask that identifies the network portion of the IP address, allowing the V72 to determine whether to send a packet directly to the client or to a

109

Page 122

M SERIES DAC BASE UNIT AND MODULE OPERATION ____________________________________________________________________________ gateway. The Subnet Mask consists of four bytes with each byte ranging from 0 to 255 decimal. This parameter must be programmed before the V72 can be accessed on the network. The factory default Subnet Mask is 0.0.0.0. GATEWAY The Gateway is the address of a router for connection to other networks. The Gateway address consists of four bytes with each byte ranging from 0 to 255 decimal. The factory default Gateway address is 0.0.0.0. SELECT CODE The Port Select Code is sent as part of a select sequence by the host terminal to the V72 in order to select specific modules or the main board of the M-Series unit and issue configuration or data commands. The port select code is a programmable ASCII character string that can range from 1 to 8 characters. The factory default port select code is $BT. PASSWORD The V72 Password, if enabled, is required of all users who attempt to access the V72. The Password consists of an ASCII character string with a maximum length of 8 characters. The factory default Password is BTA. USER INTERFACE The user interface is a collection of items that affect the presentation or formatting of data and messages. These items are:

110

1)

"ID Msg"----Module ID Message. This is the message which is sent when the user first connects to the module. It identifies the V72 host and the firmware revision number. This message may be prevented from being displayed by disabling this option. Default is "enabled".

2)

"Login"----Login Procedure. The V72 implements an authentication procedure, requiring the user to successfully submit a password before gaining access to the module. Disabling this option eliminates the need for users to log in, granting access upon connection. Default is "enabled".

3)

"IMR"----Immediate Mode Message Quick Release. This option affects immediate mode messages only. In order to optimize data

Page 123

M SERIES DAC BASE UNIT AND MODULE OPERATION ____________________________________________________________________________ buffer utilization and minimize network data traffic, data buffers are held for up to 100 milliseconds or until full before being sent to the receiving workstation. This allows for packing of data and prevents transmission of an excessive number of packets with small amounts of data. For most applications, this aspect of operation poses no problem. But for some applications, the transmission delay may be undesirable. In the case of 4 port serial modules configured to operate in the immediate message mode (see DAC reference for V74/75 programming), the V72 may be configured to send all messages immediately upon receipt when this option is enabled. Default is "disabled". 4)

"CRT"----Carriage Return Translation. Carriage return translation reconciles discrepancies between the TELNET end of line convention and other types. TELNET applications will typically place either a null (0x0) or line feed (0xa) after a carriage return. This may cause unpredictable operation if terminal devices connected to the DAC are expecting only a carriage return. By enabling this option, the V72 will strip off any null or line feed which follows a carriage return prior to sending the data on to its destination. Default is "disabled".

5)

“MENU”----Menu Mode of Operation. This option allows the user to enable or disable the “MENU”/attention character mode of operation. If the “MENU” mode of operation is disabled the V72 will be in the ASCII string mode. The default setting for the V72 is the “MENU” mode of operation.

6)

“BrkLen”----Programmable Break. Users may configure the V72/V72TP for a break length of 25 6.375 milliseconds (.025 - 6.375 seconds) in 25 millisecond increments. When a user, running a Telnet session with the V72/V72TP and connected to a serial port on a V74/V75, sends a Telnet break command (0xF4) to the V72/V72TP, the serial port will send a break signal of the programmed duration. The default setting for the Programmable Break on the V72/V72TP is 350 milliseconds.

7)

“Hst Cfg”----Host Configuration. Users may configure a V72/V72TP to allow it to be configured through other host modules, rather than just through the serial port. The default setting for “Hst Cfg” (Host Configuration) is disabled.

111

Page 124

M SERIES DAC BASE UNIT AND MODULE OPERATION ____________________________________________________________________________

8)

“Rtel”----Reverse Telnet Operation. When users want to prevent V71, V93A, or service port users from gaining access to the network through the V72/V72TP, the reverse Telnet feature may be disabled. The default setting for “Rtel” (Reverse Telnet Operation) Is enabled.

V72 HOST CONNECTION The V72 host module requires a physical network connection to perform data acquisition and control functions with the M-Series modules. The V72 supports 10BASE2 or 10BASE-T Ethernet connections with Ethernet II or 802.3 SNAP framing. IP version 4 is required and TCP connections may be established to the TELNET via A TELNET client or any ephemeral port (port number above 1024). The latter form of connection requires the user to develop workstation code, but allows for automated unit access and disposition of data. Use the following procedure to access the M-Series modules through the V72 host module: 1.

Open a session to the V72 module using any workstation TELNET client or ephemeral You will be presented with a welcome screen (if enabled) and a login prompt (if enabled) upon successful establishment of the session similar to the following: M-Series V72 DAC Host Unit: 1 Module: 1 F 0.28, copyright (c) 1995-1997 Bay Technical Associates To login, enter password. Login:

NOTE: You will not get the welcome message and/or the login prompt if either one of these options are disabled in configuration mode. 2. Enter the password at the login prompt (if enabled). 3.

112

If the login procedure is enabled, you will receive a "Login Successful" message and a prompt to enter a selection if the password is successfully entered. At this point, you may configure modules, connect to ports, receive messages, etc.. The V72 can route data from a peripheral communications module operating in Immediate Message mode or Immediate Data mode to one and only one network workstation. A network workstation must send a command to the V72 module to receive messages or data. This command consists of the port select code ($BT - default), capital "I",

Page 125

M SERIES DAC BASE UNIT AND MODULE OPERATION ____________________________________________________________________________ and <cr>. For example, if using the default port select code, send $BTI<cr>. If a workstation issues this command and another workstation is currently receiving immediate mode data, the requesting workstation will receive the message "Immediate Mode in use". The V72 will send the message "Command/configuration mode in use" to a workstation that attempts to access command mode of a module while another workstation is currently in command mode for that module. The requesting workstation will not be able to place a module into command mode until the other workstation either issues a disconnect command ($BT<cr>) or makes a connection to a specific peripheral communications port. 4.

A host connection to the V72 is terminated by sending the port select code ($BT - default), capital "X", and <cr>. For example, if using the default port select code, send $BTX<cr>.

NOTE: Some workstation TELNET client packages will not terminate their side of the TCP connection when the server initiates an end to data transmission, resulting in an unwanted half open TCP connection. To avoid this situation, it is best to terminate a TELNET session from the workstation if that capability is provided with the workstation TELNET package. REVERSE TELNET OPERATION The V72 provides a Telnet Client which is available if the M-Series unit has a V71 serial host module or V93 modem host module installed. This service is invoked by connecting a terminal or PC running communications software to the V71 or by dialing into a V93 and entering $BTn,p<cr>, where $BT is the default port select code (assuming the default port select code is used), n is the module number of the V72, p is the V72 client port number (which must be between 80-95n). The V72 will respond with the following message: V72 Host Telnet Client Service. Enter target IP address in dotted decimal form: Enter the IP address of the device to which you wish to connect as a series of four decimal numbers separated by periods. There is no name resolver at this time, so the user must know the IP address of the destination. When the address is correctly entered, press "<cr>". A connection progress report will be displayed similar to the following: Connecting.....Connected

113

Page 126

M SERIES DAC BASE UNIT AND MODULE OPERATION ____________________________________________________________________________

Dots will be printed to the screen at the rate of 1 per second until the connection is established, at which time the "Connected" message is displayed. Once the connection is established, the target will take control of the session and the user may operate as from any Telnet client. If the host does not respond or refuses the connection, the following message will be displayed: Cannot connect to host. If a Telnet connection is terminated for any reason, the following message will be displayed: Host session terminated. In both the preceding connection failure and termination cases, the user will be prompted again to enter a target IP address. To terminate a Reverse Telnet session, the user may log out of the server or issue a disconnect command to the V71 or V93 (i.e., "$BT<cr>", if using the default port select code). A logout from the server will cause the TCP connection to terminate, but the client session will remain open and the user will be prompted for an IP address. Issuing a V71/V93 disconnect ("$BT<cr>") will cause the client to issue a disconnect from the server but no notice will be provided to the user as the V71/V93 - V72 connection will have been terminated. Subsequent Telnet connections will need to be obtained by opening another client session. RESOURCE RELEASE FUNCTION Circumstances may arise when it may be necessary to terminate a connection remotely without having to reset the unit. For example, this situation will occur if a network user does not terminate a port connection to a V74 port. Connection termination may be accomplished using the Resource Release function. There are 3 specific methods to accomplish a connection release. In addition, a fourth command can bed used to reset the unit if necessary. These functions are described below (assuming the default select code of "$BT" is used): $BTRI<cr> Causes the Immediate Receive mode to be released. $BTRC<cr> Causes the Command/Configuration mode to be released (except if user is connected to the Service Port). $BTRn,p<cr> Causes the module, port as specified by "n,p" to be released. $BTRS<cr> Causes the unit to reset after first terminating all open sessions. This may take several minutes, during which time the unit will not be accessible .

114

Page 127

M SERIES DAC BASE UNIT AND MODULE OPERATION ____________________________________________________________________________

USER INTERFACE There are two methods to select a serial I/O port (e.g., V74, V75, etc). You can either send a port selection sequence which consists of an (1) ASCII character string or send (2) the Attention Character five times (default ;;;;;) to invoke a port selection menu. IMPORTANT: If the ASCII String Method is used to select an I/O port(V74/V75), the ASCII String Method must be used for port disconnection. If the Menu mode or attention character method is used to select the port, the Menu mode or attention character method must be used for port disconnection. MENU MODE/ATTENTION CHARACTER METHOD The menu mode/attention character method of operation is the default mode of operation for port selection. M-Series V72-TP DAC Host Unit: 1 Module: 1 F 0.28 Copyright (c) 1995-1997 Bay Technical Associates IP Addr: 200.4.3.190 Gateway Addr: 200.4.3.1 Ethernet Addr: 00.C0.48.1A.24.5D enabled/enabled Unit Mem (MB): 16 TCP Sessions: 0 BrkLen 350 ms

Subnet Mask: 255.255.255.0 Select Code: $BT ID MSG/Login: IMR/CRT: disabled/disabled Menu/ATTN: enable (default) Hst Cfg/RTel disabled/enabled

After the Menu Mode/Attention Character method of operation has been selected, the V72 Ethernet module users can select a serial I/O module port(e.g., V74, V75, etc.) by invoking a port selection menu. The port selection menu is invoked by sending the Attention Character (default ;;;;;) to the V72 host module five times followed by a one second delay. The V72 will respond with a menu similar to the following, if two serial I/O modules are installed in the base unit:

M-Series V72-TP DAC Host Unit: 1 Module: 1 F 0.28 Copyright (c) 1995-1997 Bay Technical Associates

115

Page 128

M SERIES DAC BASE UNIT AND MODULE OPERATION ____________________________________________________________________________

To login, enter password. (default is BTA in capital letters) Login: Login successful. Attention Character: ; Device A (2,1 Device B (2,2 Device C (2,3 Device D (2,4 Device A (3,1 Device B (3,2 Device C (3,3 Device D (3,4 Immediate Data Collection Configure

1 CX. 2 3 4 5 6 7 8 I C

Manual Connection Unit Reset Module Status Logout

M R S T

Enter Request : The names in the left column are the same as programmed for the Serial I/O Port Device Names and the (m,n) numbers in the middle correspond to the module and port. Type the number corresponding to the desired V72 module to select that port followed by <ENTER>. Type "C" to receive the "Configuration" selection menu , "X" to exit, or "T" to logout. Once a port is selected, you can select another port by sending the Attention character five times followed by a one second delay to invoke the port selection menu. If you type "T" to logout, the V72 will respond with the following: < Your ‘TELNET’ connection has terminated> NOTE: The “CX” in the above menu selection indicates that Device B (Module 2, Port 2) has been selected by another session hosted by the V72. Users will see the following message when the V72 Ethernet host module wants to connect with a previously established port connection made by another host module on the M-Series DAC unit.

116

Page 129

M SERIES DAC BASE UNIT AND MODULE OPERATION ____________________________________________________________________________

<Module 2, Port 1 is use by other host.> IMMEDIATE DATA COLLECTION By responding to the Enter Request: message at the end of the V72 menu with “I” users can receive immediate mode data. When “Immediate Data Collection” is selected, the user receives messages or data from modules configured to operate in immediate message mode or immediate data mode. Messages are sent automatically to the designated host computer, when it is received by any port on the peripheral communications module. NOTE: Users will see the following “CX” message when another session hosted by the V72 is in the immediate data collection mode. <Immediate Data Collection ...........CX. I> CONFIGURATION MODULE CONFIGURATION Configuration changes to the M-Series DAC with a V72 Ethernet module installed can be made through the V72 host module. The configuration changes can be made for all the modules installed in the M-Series DAC, except the V72(See Section 8 for V72 Configuration) or a M03 Memory Module. The V72 will respond with a menu prompting you to enter the desired module number or main board. By responding to “C” to change the configuration of a M3 DAC with a V72 installed in Module 1 and two other modules, you will see a menu similar to the following: Enter Request: C Configuration Module 2 Module 3 Main Board Exit Enter Request:

1 2 3 X 1

By responding to the Enter Request: message at the end of the configuration menu with “1” you receive the configuration menu for Module 2 that looks similar to the following: Enter Request: 1

117

Page 130

M SERIES DAC BASE UNIT AND MODULE OPERATION ____________________________________________________________________________

Copyright(C) Bay Technical Associates 1994-1996 Model 74/75 High Speed Serial 4C-232 Revision F.2.13 Unit: 1, Module: 2 Status..................................1 Serial Port Configuration...............2 Port Device Name........................3 Port I.D................................4 Designate Host Port location............5 Message Terminate Character.............6 Mode of Operation.......................7 Time Tag Mode...........................8 Connect Port ID Echo ...................9 Exit....................................X NOTE: For detailed configuration information see the M-Series DAC Owner’s Manual Number U140E111-02(Section 16) or other manuals corresponding to the specific modules installed in your M-Series DAC base unit. IMPORTANT: There should be no active connections while configuring the unit. Reset the M-Series DAC base unit after configuration NOTE: Users will see the following “CX” message when another session hosted by the V72 is configuring a module. <Configure ...........................CX. C> MAIN BOARD CONFIGURATION By responding to the Enter Request: message at the end of the configuration menu with “3” you receive the “Control Board System Menu” for M-Series DAC Main Board that looks similar to the following: Enter Request: 3 Control Board System Menu Bay Technical Associates Copyright 1994 Revision 0.33 C718 Unit Number 001 Set Date 1 Set Time 2

118