![background image](http://html1.mh-extra.com/html/rabbit/em1500/em1500_product-manual_3112140078.webp)
74
EM1500 Examples
6.2 Example 2: Remote Data Acquisition
This example describes using an EM1500 to transfer data received on a serial line to a remote host, where
the data is automatically entered into an Excel spreadsheet. This simulates gathering data from a serial
device, such as a bar code reader, and sending it to a remote destination for processing.
You will need:
•
One EM1500, configured as described in the next section.
•
One PC with a free COM port, running terminal emulation software.
•
One PC with an Ethernet interface, running TCP-Wedge
1
and Excel (or any Win-
dows application that is compatible with TCP-Wedge). This PC can be the same
PC with the free COM port running the terminal emulation software.
•
One serial cable to connect the PC COM port to the EM1500. SER1 needs a DE9
female null-modem cable, and SER2 requires a straight-through M-F cable.
•
Access to an Ethernet network from the PC and the EM1500. A likely scenario is a
hub to which the PC and the EM1500 are both connected.
The EM1500 must be configured with the following goals in mind:
•
to accept data from a serial device
•
to act as a client to transmit data to TCP-Wedge
6.2.1 Configuration Settings for EM1500
Use the stand-alone program
emconf
to configure the EM1500. The serial port speed and geometry must
match on both sides of the serial connection.
The Serial tab for SER1 or SER2 is set to:
•
Speed: 115200 (this is arbitrary, provided the PC COM port is set to the same value)
•
Character size: 8
•
Parity: None (also arbitrary provided the PC COM port is set to the same value)
•
Flow control Tx: None (also arbitrary, provided the PC COM port is set to the same value)
•
Flow control Rx: None (also arbitrary, provided the PC COM port is set to the same value)
•
Relay action: (not required)
1. TCP-Wedge accepts data from a TCP port and puts it directly into any Windows application. This product
is available from www.TALtech.com.
Summary of Contents for EM1500
Page 14: ...10 www rabbit com Introduction...
Page 22: ...18 www rabbit com Getting Started...
Page 76: ...72 www rabbit com EM1500 Configuration...
Page 90: ...86 www rabbit com EM1500 Specifications...
Page 104: ...100 www rabbit com Serial and TCP Protocols...
Page 118: ...114 www rabbit com EM1500 FAQ...