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 15 of 23

Owner's Manual: BayTech M Series DAC, pages 141 to 150

Pages 141 to 150 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 141

M SERIES DAC BASE UNIT AND MODULE OPERATION ____________________________________________________________________________ connection problem only if twisted pair cabling is being used. The red RX/TX LED indicates network activity. The four LED indicators on the front panel of the base unit are used for diagnostics and operation. DIAGNOSTIC LED INDICATIONS When the M-Series DAC unit is reset or powered up, the LEDs on the base unit will go through a scanning sequence beginning with Module 1 Port 1 and ending with the highest module number Port 4. Then a certain number of LEDs corresponding to the number of installed modules will stay on for a brief period of time. For example, if six modules are installed, the LEDs for Module 1 Ports 1 through 4 and Module 2 Ports 1 and 2 will stay on briefly. Next, the LEDs will scan down beginning with the highest module number Port 4 and ending with Module 1 Port 1. If you notice one of the LEDs corresponding to the number of installed modules stay on after the LEDs scan down, this indicates a failure with the corresponding module. For example, if the LED for Module 1 Port 2 stays on after the LEDs scan down, then Module 2 has a problem. The V72 will give diagnostic indications approximately five seconds after completion of the reset/power-up scan. The first diagnostic indication is a hardware check. If the V72 hardware checks out, all four V72 LEDs will flash once. If a hardware failure is detected, one of the first three LEDs for the V72 module will flash continuously. If this happens, you should contact BayTech. If the hardware check passes, the V72 will read the configuration parameters from the main board non-volatile RAM. If the V72 configuration checks out, all V72 LEDs will flash once. Therefore, if the V72 hardware and configuration checks both pass, you should notice all four LEDs on the V72 flash twice. If you notice that one of the V72 LEDs flashes continuously after the hardware check passes (i.e., after all four V72 LEDs flash once), this indicates that a configuration error has been detected. If this happens, the V72 will not respond to any network access attempts. Configuration problems can be corrected by programming the indicated parameter as follows:

129

Page 142

M SERIES DAC BASE UNIT AND MODULE OPERATION ____________________________________________________________________________

V72 CONFIGURATION DIAGNOSTIC LED DESCRIPTION Flashing Description LED 1 Non-volatile Memory Fault. The data stored in the non-volatile RAM for the V72's location contained an error. This causes the device in question to be programmed with default parameter information and the IP and Gateway addresses and the subnet mask will be set to 0.0.0.0. The module will need to be reconfigured and reset before it can operate. This symptom will occur when the V72 is installed into a module slot previously occupied by a different module type. 2 Ethernet Address Fault. If an error occurs in the retrieval of the module's Ethernet address, the address will be set to all 0s, an invalid address. Before the module can operate, it will need to be programmed with a proper address. This address cannot be programmed directly by the user. Contact BayTech if this LED symptom occurs. 3 IP Address Fault. When a module is first installed, it will program its IP Address to 0.0.0.0. The IP Address will need to be programmed before the module can operate. 4 Subnet Mask Fault. When a module is first installed, it will program its Subnet Mask to 0.0.0.0. The Subnet Mask will need to be programmed before the module can operate. NOTE: When you power up the M-Series DAC with a V72 installed for the first time, the LEDs for Ports 3 and 4 for the V72 will flash continuously until you program the IP Address and Subnet Mask (see Section 5) and reset the unit. OPERATIONAL MODE When the module passes it’s hardware and configuration checks, it will then enter operational mode. In operational mode, the following LED indications may be observed.

130

Page 143

M SERIES DAC BASE UNIT AND MODULE OPERATION ____________________________________________________________________________

LED 1 3 4 (flashing)

V72 OPERATION DIAGNOSTIC LED DESCRIPTION Description Active Connection. This LED will remain illuminated for about 30 seconds after the last network connection is terminated. Duplicate IP addresses--another mode on the subnet has the same IP address Cabling Error. This LED will flash continuously when a transmission attempt fails from a cable or a connection malfunction. Once this condition is detected, the module will periodically attempt to transmit on the link and this LED will flash as long as the transmission attempt fails. When the cable problem is corrected, this indication will cease with no further intervention by the user. However, connections may have been lost and will need to be checked and reconnected if necessary.

INTERACTIVE DIAGNOSTICS The interactive diagnostic may be accessed either through the Service Port via the V72's configuration menu, choice "7" or through a TELNET session, by entering the command "$BTS"<CR>, where "$BT" is the module select code. In either case, the user will then be presented with a menu similar to: V72 Status & Diagnostics Menu. System Internal Communications Network Interface Logged Users Exit

1 2 3 4 X

Pressing "1" displays system status information. This includes information about the amount of local memory available for data, system memory (resident on any installed M03 modules), the number of TCP sessions active, the module numbers of any modules (V74/V75) that have messages queued to send to the user, the Immediate mode user (the IP address of the workstation collecting immediate mode data, if there is one), the Command/Configuration mode user (the IP address of the workstation using the Command or Configuration mode, if there is one), and the system up time. Pressing "2" displays information about internal bus communications. There is a log of bus errors (since last reset) and status of the bus transmit channel. Pressing "3" will show the status of the network communications hardware and associated parameters. Status of the network connection, a count of network errors

131

Page 144

M SERIES DAC BASE UNIT AND MODULE OPERATION ____________________________________________________________________________ since last reset, transmit errors, network transmit buffer count and status of the network packet receive queue are shown. Pressing "4" displays a list of the connections currently hosted by the module by IP address. For each session, internal module/port connections in the transmit and receive directions are shown if they exist. Also, an indication is given for whether or not a connection can send and receive data on the network and on the internal bus. TX data flow is data in the module's outbound direction, RX data flow is data in its inbound data direction. In cases where data is not being received at a destination, this screen can help determine the source of a problem. For example, if a workstation is attempting to send data to an RS-232 device connected to a V74 which has handshook its port connection, a user can identify this situation by noting that Bus Data Flo is set to "no" in the TX direction. V74/V75/V87 OPERATION V74/V75/V87 USER-PROGRAMMABLE FEATURES The V74/V75/V87 can be programmed to operate in one of three reporting modes. Other programmable features include the serial port configuration and device name for each individual port, the host module location, the message terminating character, and time tag. These features are programmed by accessing the menu-driven configuration mode from the host module or service port. All features can be programmed from the front panel of units equipped with LCD and control panel. V74/V75/V87 SERIAL PORT CONFIGURATION The V74/V75/V87 module translates data for devices using different serial configurations. You can set the baud rate, word size, stop bits, parity and XON/XOFF handshaking for each port. Factory default configuration on serial ports is 9600 baud rate, 8 bit word size, 1 stop bit, no parity and XON/XOFF disabled. V74/V75/V87 PORT DEVICE NAME You can assign individual names to each port for reference while the unit is in configuration mode or port message/data identification. Factory default is Device A for Port 1, Device B for Port 2, Device C for Port 3, and Device 4 for Port 4. V74/V75/V87 HOST MODULE LOCATION An M Series unit can have multiple host modules installed on a single unit or multiple units. You can program the V74/V75/V87 module to send messages to any individual host module on a single unit. The host module location consists of the M Series unit

132

Page 145

M SERIES DAC BASE UNIT AND MODULE OPERATION ____________________________________________________________________________ number, module number, and port number. Messages are sent only to the designated host module in immediate reporting mode. The factory default host module location is Unit 1, Module 1, Port 1. V74/V75/V87 PORT ID The Port ID feature allows a user to enable or disable the Port ID for individual I/O ports. When Port ID is enabled, a port identification code proceeds data sent to the host computer when using Immediate and Command Reporting modes. The Port ID can consist of the Unit Number:Module Number,Port Number corresponding to the I/O port that received the data. The Port ID can also consist of the Device Name assigned to the I/O port in the configuration mode. The factory default Port ID is enabled and has the UU:MM,PP format. V74/V75/V87 THE MESSAGE TERMINATING CHARACTER The message terminating character is a single character that indicates a complete message has been received in immediate and command reporting modes. Data is held in the buffer of the M Series unit until the terminating character is received from the connected peripheral device which defines a complete message. The complete message is eventually sent to the host device depending on the mode of operation. The message terminating character can be programmed to be any two-digit hexadecimal character from 00 Hex to 7F Hex. The factory default message terminating character is 0D Hex <cr>. V74/V75/V87 MODES OF OPERATION This section briefly describes the three programmable modes of operation. The default mode of operation is full duplex mode.

FULL DUPLEX MODE Full duplex mode increases input/output by interfacing the host module to four peripheral devices for each module. The host system selects a specific port by sending a port select sequence. The host system remains connected to the selected port until another port is selected. Data received by non-selected ports are stored in a buffer until the port is selected or a clear buffer command is sent. IMMEDIATE MESSAGE MODE

133

Page 146

M SERIES DAC BASE UNIT AND MODULE OPERATION ____________________________________________________________________________

Immediate message mode provides multiplexing of all messages from all ports to the designated host module automatically. Data is buffered until an end of message terminating character is received or 256 bytes are received. The messages are sent to the host device and can be preceded by a port identification code corresponding to the unit, module, and port number or the device name of the peripheral port that sent the message. IMMEDIATE DATA MODE Immediate data mode is similar to immediate message mode described above. The primary difference is that immediate data mode does not wait for a message terminating character to send data to the designated host module. Data is sent to the designated host module automatically, as soon as it is received by any port on the peripheral communications module. COMMAND MODE Command mode provides multiplexing of single messages, all messages, or all buffered data from specified ports on request from a host computer. When a host computer sends a data command, the V74/V75/V87 sends a single message, all messages, or all buffered data from the requested port(s) through the host module. This information can be preceded by a port identification code corresponding to the unit, module, and port or the device name of the peripheral port that sent the message. Complete messages and/or buffered data are sent to the designated host device in a round-robin fashion. TIME TAG The module can be programmed to provide a time tag in immediate or command operation mode. A time tag provides the month, day, year, hour, minute, and second the message or block of data was recorded according to the M Series main unit's timeof-day clock. The time tag is inserted after the port identification code if enabled. The time tag can appear in one of four formats: 1) 2) 3) 4)

HH:MM:SS, HH:MM:SS:mmm, MM/DD/YY HH:MM:SS, MM/DD/YY/ HH:MM:SS mmm where HH: is the hour, MM: is the minute, SS is the second, mmm is the millisecond, MM/ is the month, DD/ is the day, and YY is the year of the M-Series time-of-day clock.

134

Page 147

M SERIES DAC BASE UNIT AND MODULE OPERATION ____________________________________________________________________________

If you type "8" from the main configuration menu of the peripheral communications module (Time Tag Mode), the module will respond with: Current Time Tag Mode is Disabled Time: HH:MM:SS Time: HH:MM:SS mmm Date/Time: MM/DD/YY HH:MM:SS Date/Time: MM/DD/YY HH:MM:SS mmm Exit Enter Selection

Disabled 1 2 3 4 5 X

Type the selection corresponding to your desired choice. V74/V75/V87 OPERATING IN THE DIFFERENT MODES A typical application using a V74/V75/V87 module would have a host computer such as an IBM PC connected to the host module and various devices such as cash registers, digital laboratory instruments, bar code readers, numerical machines, printers, modems, terminals, etc. connected to the serial ports. Regardless of the mode of operation, any terminal connected to a host module can connect and send data to a specific port by sending the appropriate port select sequence followed by the data. A port select sequence consists of the port select code (default is $BT), the desired unit number followed by a colon (1: to 30: - only if using cascaded units), the desired module number (2 to 16), a comma, the desired port number (1 to 4), and a terminating character (0A Hex - Carriage Return). The port select sequence is not passed through to the selected port. NOTE: When the host computer/controller selects an EIA-485 port on a V87 module, all characters sent to the peripheral device are echoed back to the host device. Full duplex reporting mode provides bidirectional communication between the host computer and the selected peripheral device. Data received by non-selected peripheral ports is buffered until selected by the host computer. Immediate message mode provides automatic message multiplexing. A message begins when a port on the module receives a character from the device connected to it. A message is completed when the message terminating character is received or 2048 characters have been received without a terminating character. Immediate data mode is similar to immediate message mode. The primary difference is that immediate data mode does not wait for a message terminating character to send data to the designated host module. Data is sent to the designated host module

135

Page 148

M SERIES DAC BASE UNIT AND MODULE OPERATION ____________________________________________________________________________ automatically as soon as it is received by any port on the peripheral communications module. Command reporting mode allows the host computer to send commands requesting messages or buffered data from the ports Each message or data block sent to the host computer in immediate or command mode can be preceded by a port identification code consisting of either the unit number, a colon, the module number, a comma, and the port number or the device name of the port that received the message. In numeric form, the Port ID can range from 01:01,1 (for Unit 1, Module 1, Port 1) to 30:16,4 (for Unit 30, Module 16, Port 4). If time tag is enabled, the month, day, year, hour, minute, and second the message or block of data was recorded are sent in addition to the port identification code. There are six commands supported by the serial port modules. Two of these commands can be issued regardless of the operation mode. These are the $CONFIG<cr> and CBn<cr> commands. The $CONFIG<cr> command instructs the module to go into configuration mode. The CBn<cr> command clears the buffer of Port n (n = 1 to 4 or 0 for all ports). You must select the 4-port serial module from the host module in order to issue the clear buffer command. This is done by sending the port select code, the appropriate unit number followed by a colon (1: to 30: - only if using cascaded units), the module number (2 to 16), and <cr>. You can issue the clear buffer command for multiple ports by separating the port numbers with a comma. For example, to clear the receive buffer for Ports 1 through 3 of the selected module, send CB1,2,3<cr>. The other four supported commands can be issued in command reporting mode only. OPERATING IN FULL DUPLEX MODE In full duplex mode, the V74/V75/V87 module provides full duplex communication between the host module and the selected port. The host module and the selected port remains connected until a different port is selected or until the host module disconnects from the module by sending the port select code followed by <cr>. Data received by non-selected peripheral devices is stored in the buffer and sent to the host device when the port is selected. The serial port module does not start loading data from the new port into the host module until the new module number, port number and terminating character are received. NOTE: The port select sequence has a ten second timer. The timer starts when the first character of the port select sequence is received. Any incomplete sequence received ten seconds or more after the first character

136

Page 149

M SERIES DAC BASE UNIT AND MODULE OPERATION ____________________________________________________________________________ has been received is treated as normal data and is sent to the current selected port. OPERATING IN IMMEDIATE MESSAGE MODE Immediate message mode provides automatic message multiplexing between the designated host module and all ports on the V74/V75/V87 module. Messages are sent automatically to the designated host computer in a round-robin fashion a message at a time. For example, if two V74 modules installed as Module 2 and Module 3 are sending messages from all ports to the same designated host module, a message from Module 2 Port 1 is sent to the designated host module followed by a message from Module 3 Port 1 followed by a message from Module 2 Port 2 followed by a message from Module 3 Port 2, and so on. NOTE: The designated host computer can select and transmit data to any serial port while simultaneously receiving messages from all ports. A terminal connected to a non-designated host module can select and send data to any port. However, messages are sent to the designated host terminal only. If a connection exists between a host module and the desired port, the requesting host module is sent a busy message. If a designated host module is currently receiving messages and the host computer selects a port on a V74/V75/V87 operating in immediate or command mode, the messages continue to be sent to the host computer. If the host computer selects a port on a module operating in full duplex mode while receiving messages, the messages stop until the host computer disconnects. If the host computer selects a module operating in command mode while receiving messages, messages continue to be sent until the host issues a data command (not CBn<cr>). The messages do not resume until the host disconnects from the module. The host module can make a full duplex connection to a serial port when the peripheral module is operating in full duplex, immediate message, or immediate data mode by sending the port select code, the peripheral module number, a comma, the peripheral port number, Capital "F", and <cr>. For example, if the default port select code is used ($BT) and the peripheral module is installed as Module 2, peripheral port 1 is selected for full duplex communication by sending $BT2,F<cr>. The host module remains in full duplex communication with Module 2, Port 1, until a disconnect is sent ($BT<cr>) or a different port is selected. When a disconnect command is sent, the peripheral module reverts back to the previous mode of operation.

137

Page 150

M SERIES DAC BASE UNIT AND MODULE OPERATION ____________________________________________________________________________

OPERATING IN IMMEDIATE DATA MODE Immediate data mode is similar to immediate mode. The primary difference is that the immediate data mode does not wait for a message terminating character to send data to the designated host module. Data is sent to the designated host module automatically as soon as it is received by any port on the peripheral communications module. If you type "7" from the main configuration menu of a peripheral communications module (Set Mode of Operation), the module will respond with the following menu: MODE OF OPERATION Full Duplex Mode Immediate Message Mode Command Mode Immediate Data Mode Current Mode of Operation is Enter Mode of Operation 1-4 :

1 2 3 4 Full Duplex

Type "4" from this menu to select immediate data mode. NOTE: If immediate data mode is selected, the time tag will not be appended to the data if Time Tagging is enabled. OPERATING IN COMMAND MODE Command mode provides multiplexing to a host module of messages or buffered data from individual ports or all ports upon request from the host computer via data commands. The host computer can request single messages, all messages, or all current buffered data for individual ports. V74/V75/V87 data commands are sent through a host module using the following procedure:

138

1.

Select the 4-port serial module from the host module by sending the port select code ($BT - default), the appropriate Unit Number followed by a colon (1: to 30: - only if using cascaded units), the desired module number (2 to 16), and <cr>. For example, to select a V74 installed on a non-cascaded unit as Module 2 using the default port select code, send $BT2<cr>.

2.

Once the 4-port serial module is selected, it is placed into command mode and allows you to send data commands. Data commands consist of two capital letters designating the specific command, the desired port number(s), and <cr>. If you have a requirement to send the same command to multiple channels simultaneously, you