Technical Note #629

Technical Note #629
VT-MODEM Interfaces with GE Fanuc OCS
Abstract: This document explains the procedure for performing dial-up and establishing
communications between a GE Fanuc IC300OCS200-CsCAN and Cscape software through SIXNET
industrial modems (VT-MODEM-#) using a standard dial-up protocol.
From the Cscape dial feature the GE Fanuc OCS can be connected remotely via telephone wiring
using a pair of SIXNET’s industrial modems. The OCS can also send back polled data to the PC.
Software Used:
·
·
·
·
GE Fanuc Cscape version 3.50.00
SIXNET VT-MODEM Setup Wizard v1.15
SIXNET VT-MODEM firmware v1.06
Windows 2000 OS
Hardware Used:
·
·
·
·
·
·
·
(1) PC with one serial port connected to VT-MODEM-1 via the VT-CABLE-MDM
(1) IC300OCS200-CsCAN
(1) VT-MODEM-1 connected to the PC via the VT-CABLE-MDM
(1) VT-MODEM-2 connected to the IC300OCS200-CsCAN via the male-to-male cross-wired serial cable
(1) VT-CABLE-MDM
(1) Serial cable cross-wired between the OCS’s configure port and the VT-MODEM RS-232 port.
(2) RJ11 telephone cables
PC to VT-MODEM cable Pin-outs
SIXNET VT-CABLE-MDM
DB9 Female to PC (DTE)
1
2
3
4
5
6
7
8
9
ç
ç
è
è
ç
è
ç
ç
VT-MODEM to OCS cable pin-outs
Cross-wired serial cable
DB9 Male to modem (DCE)
1
DCD out
2
RD out
3
TD in
4
DTR in
5
GND
6
DSR out
7
RTS in
8
CTS out
9
RI out
DB9 Male to Modem (DTE)
DB9 Male to PLC (DTE)
è
1
4
RD out
è
2
3
TD out
ç
3
2
RD in
ç
4
6
RTS out
5
5
GND
6
N/C
è
7
8
CTS out
ç
8
7
RTS in
No connection to 6 on modem end
No connection to pin 9 on either end
Configuring the PC for the VT-MODEM:
· PC and VT-MODEM-1 Windows Setup:
To configure windows to recognize the VT-MODEM-1 go to Start à Settings à Control Panel à
Phone and Modem options. Next, go to the modems tab in the Phone and Modem options window, and
then click on Add… Next, check the “Don’t detect my modem; I will select it from list” box, and
manually select “Standard 28800 bps Modem” from the modem type list. Refer to screen shots 1 and 2
for details of how the modems were configured.
SIXNET • Box 767 • Clifton Park, NY 12065 USA • +1 (518) 877-5173 • FAX +1 (518) 877-8346 • [email protected]
TN629.DOC
PAGE 1 OF 5
REV: NOV 2002
Screen Shot 1
Screen Shot 2
Configuring the Hardware:
· VT-MODEM-1 – First, connect the VT-MODEM-1 to the PC via the VT-CABLE-MDM. Using
SIXNET’s VT-MODEM Setup Wizard configuration software the modem was set to the VTModem-1. Select the appropriate communications port from the “Device” drop down list (in this
case COM 2), and configure the Baud Rate to 9600 with 8 data bits, no parity, and 1 stop bits (See
Screen Shot 3).
Screen Shot 3
SIXNET • Box 767 • Clifton Park, NY 12065 USA • +1 (518) 877-5173 • FAX +1 (518) 877-8346 • [email protected]
TN629.DOC
PAGE 2 OF 5
In the modem parameters setup window set the modem to ignore DTR, Disable Command Echo, no
Flow Control, Disable Error Correction, Disable Data Compression, and set the auto detect feature to
9600 baud. Next, write the configurations to the modem using the “Write Configuration to the
Modem” button (See Screen Shot 4 and 5).
Screen Shot 4
·
Screen Shot 5
VT-MODEM-2- Connect the PC’s communications port to the VT-MODEM-2’s serial port (in this
case COM 2). In the VT-MODEM setup Wizard the VT-MODEM-2 option was chosen on the first
window, then click on the Next button. In the next window choose COM 2 from the “Device” drop
down list to set the communications port on the computer, and configure the Baud Rate to 9600 with
8 data bits, no parity, and 1 stop bits (See Screen Shot 6). Check the “Block Com Port Until
Connected” box. In the next window in the VT-MODEM setup Wizard check the “Disable Error
Correction”, “Disable Command Echo” boxes, and set the Flow Control to None. In the User
Defined “AT” String field type the following initialization string as needed by the IC300OCS200CsCAN: ATQ1 (See Screen Shots 7 and 8). Next, write the configuration to the modem by clicking
on the “Write Configuration to Modem” Button (See Screen Shot 9). After the configuration is
loaded into the VT-MODEM-2 the power LED should emit a half blink indicating that the Block
“Com Port Until Connected” feature is enabled. (Note: This configuration is on the SIXNET CD
under the file name GeFanuc_ocs_mdm2.6ms.)
SIXNET • Box 767 • Clifton Park, NY 12065 USA • +1 (518) 877-5173 • FAX +1 (518) 877-8346 • [email protected]
TN629.DOC
PAGE 3 OF 5
·
Screen Shot 6
Screen Shot 7
Screen Shot 8
Screen Shot 9
IC300OCS200-CsCAN – Connect the GE Fanuc configure port directly to the PC via the VT-Cable-
MDM serial cable to the PC’s serial port. To use the communications port on your computer to
connect to the IC300OCS200-CsCAN, using the Cscape software, go to Tools à Options… à
Communications Port Tab (in this case COM 2). Next, configure the software for the OCS’s on the
network by clicking on Controller à I/O Configure à Auto Config (See Screen Shots 10 and 11).
Once a valid connection has been made the status bar on the bottom right hand of the Cscape
window will read the specified local setting and the target status of the OCS. (Note: Make sure the
port on the computer is the same as the port specified on the Cscape software or the or the Status Bar
will read: “Local: no comm”.)
SIXNET • Box 767 • Clifton Park, NY 12065 USA • +1 (518) 877-5173 • FAX +1 (518) 877-8346 • [email protected]
TN629.DOC
PAGE 4 OF 5
Screen Shot 10
Screen Shot 11
Connecting the Hardware:
· Phone-line Connections- The two modems were connected to an internal analog phone system
using standard RJ11 telephone cable.
· Connecting the modems to the devices- Connect the VT-MODEM-1 to the computer’s
communications port 2 via the VT-CABLE-MDM. Connect the IC300OCS200-CsCAN to the VTMODEM-2 via the male to male cross-wired serial cable.
Establishing the connection:
The Cscape software has a modem dial-up provision, and can be accessed by clicking on Tools à
Connect Via Modem (See Screen Shot 12). When the modems connected a connected message is shown
in the Connect Via Modem window. (Note: To perform this step successfully you must exit SIXNET’s
VT-MODEM Setup Wizard completely.)
Screen Shot 12
Conclusion: This test successfully established communications between a PC and IC300OCS200-CsCAN
via SIXNET industrial modems.
SIXNET • Box 767 • Clifton Park, NY 12065 USA • +1 (518) 877-5173 • FAX +1 (518) 877-8346 • [email protected]
TN629.DOC
PAGE 5 OF 5