Introduction to the 7526 Communication Adapters
The Serial-Parallel Adapter provides the following.
The IBM Data Collection Connection (DCConnect) and Data Collection Control/2 (DCC/2) 32-bit runtime version 1.11 program products provide server/controller support for LAN-attached 7526 terminals. Once the IP configuration data is set up in DCConnect or DCC/2 and in the 7526 terminal existing DCC/2-7526 applications will work without any changes.
Refer to the 7526 Programming Technical Reference, SC28-9629-03 for complete details of how a TCP/IP-equipped server can be used to download and control and receive transactions from a 7526 terminal that has the ESP card.
The Serial-Parallel card works with the standard memory shipped in any 7526 terminal.
Note:
This must be provided by the customer, since IBM only sells the communications cards in conjunction with a new 7526 terminal.
Note:
Items 2 through 4 are covered automatically (assuming you have kept the communications adapter with the terminal with which it was shipped).
Note:
The ESP and SP adapter cards extend approximately 60 mm (2.4 in.) behind the standard 7526 rear metal panel. Cabling then requires additional room beyond that for the connector shell and cable bend radius. 7526 models 100, 150, and 200 have a lot of flexibility in how they are mounted so this extended depth is not usually a problem. The 7526-155 however has little room inside the confines of its cover set. Ethernet connections can be made without exceeding the envelope of the cover set, but printer and serial port cables do not have room. When printer or serial cables are connected to the adapter, you must provide a recessed area approximately 75 mm (3 inches) deep underneath (desk-mount) or behind (wall-mount) the 7526-155 mounting base to provide cable clearance.To install the ESP or SP communications card in the 7526, perform the following steps.
The serial ports and the parallel port utilize standard IBM personal computer connector styles (DB9 males and DB25 female) and pin assignments, allowing use of typical personal computer peripheral cabling that is available from many sources.
The serial ports are marked 1 and 2, along with the personal computer serial port signal graphic. The parallel printer port is marked with a graphic of a PC printer. The 10baseT and 10base2 Ethernet LAN ports are clearly marked. :cp The RS-232 port pin-outs are: .
Pin Function
1 DCD
2 RD
3 TD
4 DTR
5 SIG GND
6 DSR
7 RTS
8 CTS
9 RI
When attaching the 7526 to the Ethernet network, follow the standards set by the Institute of Electronic and Electrical Engineers (IEEE) and the ANSI standard 802.3.
Note:
10baseT, which uses unshielded twisted pair cabling, is not recommended for installations with much EMI/RFI interference (for example harsh industrial environments). The 10base2 cabling system offers higher immunity to ambient electromagnetic noise.
The cable requirements and limitations are as follows.
Hubs may be in star configurations from other hubs or may be located on a backbone (10 base2 or 10base5).
+===========+====================+===============================================+ | Pin | Symbol | Function | +===========+====================+===============================================+ | 1 | TD+ | Transmit Data Plus | +-----------+--------------------+-----------------------------------------------+ | 2 | TD- | Transmit Data Minus | +-----------+--------------------+-----------------------------------------------+ | 3 | RD+ | Receive Data Plus | +-----------+--------------------+-----------------------------------------------+ | 6 | RD- | Receive Data Minus | +-----------+--------------------+-----------------------------------------------+ | 4,5 | NC | Not Connected | +-----------+--------------------+-----------------------------------------------+ | 7,8 | NC | Not Connected | +-----------+--------------------+-----------------------------------------------+
The Data Collection Control/2 Terminal Configuration program does not allow setting of RS-232 parameters for the 7526. It sets the configuration bytes that correspond to the 7526 RS-232 port settings to all zeros. If the 7526 finds all zeros in these configuration bytes, it uses a default configuration of 9600 bits/second, no parity, 1 stop bit, and 8 data bits for both Serial 1 and Serial 2 ports.
With the ESP card, the first menu item is the SERVER configuration item (instead of the ADDR- prompt). See to the table below as you configure each setting.
When inputting IP addresses or netmasks on the 7526, use the following special keys.
On the 7526 model 100, which has no numeric keypad, the numeric values and decimal point are input using a spinner function for each digit and decimal point. After the prompt for the item is shown briefly, the 7526-100 display clears and you can use the F1 (up) and F2 (down) keys to spin to the desired value. Then press F3 to lock in that digit and move to the next digit.
Note:
A zero is automatically filled in to the next digit position. However, it is not accepted as part of the IP address data until you press the F3 key. This last zero will be discarded if you simply press Enter.
+==============+==============+========+===========+====================+ | Configuratio | Prompt | User | Default | Available | | n Item | | Value | Value | Parameters Values | +==============+==============+========+===========+====================+ | Data | SERVER: | | RS-485 | RS-485, 10baseT, | | collection | | | | 10base2 | | server | | | | Selecting RS-485 | | connection | | | | causes the | | port to be | | | | Ethernet ports to | | used | | | | be ignored and the | | | | | | terminal will use | | | | | | the RS-485 serial | | | | | | port for | | | | | | communications to | | | | | | the server and the | | | | | | remaining | | | | | | configuration | | | | | | items in this | | | | | | table will be | | | | | | ignored. Selecting | | | | | | 10baseT (the RJ-45 | | | | | | connector) or | | | | | | 10base2 (the BNC | | | | | | coax connector) | | | | | | causes the 7526 to | | | | | | use TCP/IP | | | | | | protocols over the | | | | | | selected Ethernet | | | | | | port type. | +--------------+--------------+--------+-----------+--------------------+ | Terminal's | IP ADDR: | | None | Any valid IP | | IP address | | | | address, input in | | | | | | 'dotted decimal' | | | | | | format (e.g. | | | | | | 9.86.96.7 , | | | | | | 124.376.45.200, | | | | | | etc.). Refer to | | | | | | the appropriate | | | | | | section assign an | | | | | | IP address to each | | | | | | terminal. | +--------------+--------------+--------+-----------+--------------------+ | Sub-network | NETMASK: | | None | Any dotted decimal | | mask | | | | IP sub-network | | | | | | mask pattern (for | | | | | | example: | | | | | | 255.255.240.0 ). | | | | | | This is determined | | | | | | by the number of | | | | | | bits in the 32-bit | | | | | | IP address that | | | | | | are used to | | | | | | identify the | | | | | | network and subnet | | | | | | versus the host | | | | | | (for example: | | | | | | 7526) address on | | | | | | that network and | | | | | | subnet. | +--------------+--------------+--------+-----------+--------------------+ | Default | DEFAULT | | None | Any valid IP | | Router's IP | ROUTER: | | | address, input in | | address | | | | 'dotted decimal' | | | | | | format, that tells | | | | | | the 7526 the IP | | | | | | address of an IP | | | | | | host that performs | | | | | | routing functions | | | | | | when the 7526 | | | | | | finds that the | | | | | | server is not on | | | | | | the same network | | | | | | as itself. (For | | | | | | example: 9.86.96.1 | | | | | | , 124.376.45.2, | | | | | | and so forth). | +--------------+--------------+--------+-----------+--------------------+ | Menu now | | | | | | picks up | | | | | | with the | | | | | | TIME- | | | | | | prompt. | | | | | | Refer to the | | | | | | 7526 | | | | | | Installation | | | | | | , Operation, | | | | | | and Problem | | | | | | Determinatio | | | | | | n manual for | | | | | | a | | | | | | description. | | | | | +--------------+--------------+--------+-----------+--------------------+
Note:
If you do not see the settings for SERVER, IP ADDR, and so forth, this indicates that there is no valid terminal microcode loaded in the FLASH memory on the ESP card. In this case, refer to "Updating the FLASH Memory Programming" for instructions on how to load the FLASH memory.
Note:
Depending on the amount of data which is being transmitted and received on the RS-232 serial ports, you may or may not be able to use the ports at the higher speeds (e.g. 9600 or 19200 bps). If the terminal appears to be missing incoming characters, or your attached device is timing out while waiting to receive characters, or if the terminal is not responsive to other inputs (e.g. digital input counting, bar code/magnetic scanning, host communications, keypad input), then this indicates that the 7526's processor is overloaded with interrupts and that you need to slow the baud rates or reduce the frequency of other inputs (such as digital input counts or scanning speeds).
Transmitting and receiving on the RS-232 serial ports is accomplished only by using CFR function calls (ComWrite and ComRead). ComGetMdmCtl and ComSetMdmCtl functions are available to read and set modem control lines (RTS, CTS, DTR, and so forth). The ComInit function is used to set the baud rate, parity, and so forth for each port. Refer to the 7526 Programming Technical Reference manual SC28-9629-03 (4th edition) for details. An enhanced CFR programming library and C header file comes with this manual to support use of these programming application interfaces. These programming support files are also available for download from the IBM Data Collection World Wide Web site at http://wwprodsoln.bocaraton.ibm.com/dc . A sample Custom Function Routine that supports the RS-232 serial ports is included with the package.
Any computer with TCP/IP UDP sockets support can be a server to 7526 terminals on the network. Considerable programming is required to properly serve the configuration, program files to the 7526, and to handle transactions generated by the 7526. IBM currently offers two program products that serve this function:
This indicator has no function when the 10base2 (BNC coax port) is configured for use instead of the 10baseT port.
The IP address is a two part address as follows:
Note:
Do not use the numbers 0 or 255 -- these are reserved for broadcast address
Hosts that exchange packets on the same physical network should have the same network number.
For additional information on IP addresses, refer to your system administrator or TCP/IP for OS/2 Installation and Administration.
TCP/IP can divide a single network into multiple logical networks. For example, an organization can have a single network IP Address that is known to users outside the organization, but it can configure its local address portion of the IP address into a subnetwork number and a host number to represent different departments within the organization. The netmask is used to reserve a portion of the local internet address (IP address) for a subnetwork address. The netmask is in 32-bit dotted decimal notation as follows:
TCP/IP can divide a single network into multiple logical networks. For example, an organization can have a single network IP Address that is known to users outside the organization, but it can configure its local address portion of the IP address into a subnetwork number and a host number to represent different departments within the organization.
If the networks are to be connected to the Internet (for example: your LAN with attached TCP/IP workstations are to be connected through a gateway to the external, world-wide Internet), the system administrator must obtain authorized Internet addresses. The authorizing body is the InterNIC. WWW home page at http://rs.internic.net is an excellent source of information in obtaining authorized Internet domain naming and addresses.
If there are no connections to the Internet, the system administrator can design a custom addressing system (you can make up your own address numbers). If there are multiple physical networks (an internet that is isolated within your enterprise), the system should include a way to distinguish the addresses of each of the physical networks or subnets from the internet as a whole.
Note:
Never use a network address which begins with 0, 127, or any number above 223. These are reserved values in the IP protocol.
+================================+==========================================+ | Symptom | Fix | +================================+==========================================+ | "Insufficient RAM" error on | The Ethernet-Serial-Parallel adapter | | 7526 display | requires at least 128KB of RAM to be | | | installed on the 7526 processor card. | | | The terminal cannot be run with less | | | RAM. | +--------------------------------+------------------------------------------+ | Setup menus do not show any IP | Microcode version 3.0 or later is | | options, or option card | required to support both the SP and ESP | | functions do not work, or | cards. Read the LCD copyright display or | | terminal locks up | the label on the EPROM inside on the | | | 7526's processor card to determine if | | | proper microcode is installed. If 3.0 is | | | installed, replace the SP/ESP option | | | card. | +--------------------------------+------------------------------------------+ | The 7526 does not download or | Verify that the SERVER port selected in | | does not communicate with the | the menus matches that which is | | server machine. | connected. | | | If using 10baseT, if the GDLINK light is | | | not coming on make sure the patch cable | | | is good and that the hub is connected | | | and functioning. | | | For both Ethernet connection types, | | | verify that the RX light flashes | | | occasionally, indicating data received | | | on the network. If there is no activity, | | | check the connections and the receive | | | light on other workstations on the LAN. | | | If other workstations are showing | | | received data and the 7526 in question | | | is not, replace the ESP adapter. | | | If the RX indicator does come on, but TX | | | does not, verify that the 7526's IP | | | address, netmask, and default router IP | | | address are correctly set. | +--------------------------------+------------------------------------------+ | A printer attached to the | Verify the printer is on-line. Many | | serial port on the SP or ESP | printers do not actually print anything | | card does not print. | until a carriage-return/line feed is | | | received or the sheet is full. | +--------------------------------+------------------------------------------+ | A printer attached to the | Attach the printer to the printer port | | standard 7526 printer port | on the SP/ESP adapter card. All printing | | does not receive any print | is directed to this port when one of | | data. | these option cards is installed. | +--------------------------------+------------------------------------------+
To reload the FLASH memory on the ESP card, you need the following.
For use of PCs which have a 9-pin RS-232 port, this will usually mean a cable which connects:
PC ESP Card ----- -------- Pin 3 to Pin 2 Pin 2 to Pin 3 Pin 5 to Pin 5For use of PCs which have a 25-pin RS-232 ports, this will usually mean a cable which connects:
PC ESP Card ----- -------- Pin 2 to Pin 2 Pin 3 to Pin 3 Pin 7 to Pin 5
FLOAD26 filename.HEX /P:COMnwhere n is the PC port's COM number (the default is 1, for COM1). For example, to use COM2:
FLOAD26 filename.HEX /P:COM2
The 7526 re-starts when the load is completed.