Main
Warnings, Cautions, and Notes as Used in this Publication
Warning
Preface
Content of this Manual
Page
Page
Section 1: Installing and Starting-Up the GSM 3-4 . . . . . . . . . . . . . . . .
Section 2: Configuring a Station 3-17 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Section 3: Downloading a Station 3-29 . . . . . . . . . . . . . . . . . . . . . . . . . . .
Section 4: Accessing the Station Manager 3-32 . . . . . . . . . . . . . . . . . . . .
Section 5: Using the GSM Support Functions 3-33 . . . . . . . . . . . . . . . . .
Section 2: The COMMREQ Function Block and Command Block 4-6
Section 3: Channel Commands 4-9 . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Section 5: Controlling Communications in the Ladder Program 4-34 .
Section 1: Accessing the Station Manager 5-2 . . . . . . . . . . . . . . . . . . . .
Section 2: Using the Station Manager 5-5 . . . . . . . . . . . . . . . . . . . . . . . .
Section 3: Command Descriptions 5-15 . . . . . . . . . . . . . . . . . . . . . . . . . .
Page
Page
Page
Page
Page
1
figure bi level 1 table_big level 1
Figure 1-1. Major Components of the TCP/IP LAN
1-1
Chapter 1Introduction
The Ethernet Interface
Capabilities of the Ethernet Interface
Attachment of the Ethernet Interface to the LAN
The Ethernet Software
The GEnet System Manager (GSM)
The Configuration Editor
The Downloader
Access to the Station Manager on the Ethernet Interface
1-6 TCP/IP Ethernet Communications Users Manual January 1996
How to Make it Work
*
Quick Guide to the Manual
2
Chapter 2Installing the Ethernet Interface
Ethernet Interface Hardware Overview
2-2 TCP/IP Ethernet Communications Users Manual January 1996
MODEL 70 CMM 741
Figure 2-1. Ethernet Controller Board
Board Indicators
Table 2-1. Ethernet Controller Board Indicators
Restart Button
Page
2
Procedure 1: Installing the Ethernet Controller Board in the PLC
Equipment Required to Perform the Installation Procedures
Ethernet Controller Board Installation
Warning
Ethernet Controller Board Installed in Series 90-70 PLC Rack
Figure 2-2. Ethernet Controller Installation in the Series 90-70 PLC
2
Procedure 2: Verifying Proper Power-Up of the Ethernet Interface
Using the GSM Access Station Manager Function
States of the Ethernet Interface
Figure 2-3. States of the Ethernet Interface
2
Powering-Up the Ethernet Interface
2-10 TCP/IP Ethernet Communications Users Manual January 1996
Problems During Power-Up
2
Procedure 3: Configuring the Ethernet Interface with Logicmaster 90-70 (PLC Module Configuration)
To configure the Ethernet Interface:
PLC Systems with CPU Firmware Version 5.03 or Later
Page
Configuration Mode:
Status Address:
Status Length:
IP Address, Subnet Mask, Gateway Address, and Name Server IP Address:
Page
PLC Systems with CPU Firmware Versions Prior to 5.03
Page
Page
Page
Procedure 4: Configuring and Downloading a Station
Configuring a Station
2
Downloading a Station
When Must a Station Be Downloaded?
Setting-Up the GSM and the Ethernet Interface for the Download
Initiating the Download
Local Downloading
Network Downloading
Problems During the Download
How to Issue the LOAD Command from the Station Manager
Procedure 5: Testing the Ethernet Interfaces on the Network
Field Network Test Utility
Invoking the Field Network Test Utility
Running Field Network Test
Page
Page
Page
Procedure 6: Pinging the TCP/IP Interfaces on the Network
Page
3
Chapter 3The GEnet System ManagerStation Configuration
Figure 3-1. GEnet System Manager (GSM) on 802.3 LAN
What is the GSM?
The primary GSM functions are:
The GSM also provides the following support functions.
Why Does a Station Have to be Configured and Downloaded?
3
Connecting the GSM to the LAN Interface
Section 1: Installing and Starting-Up the GSM
Hardware Requirements
3
Installing the PC Network Card (for Network GSM Operation)
Table 3-1. 802.3/Ethernet Cards for the PC
Table 3-2. Default PC Hardware Settings for 802.3/Ethernet Cards
Installing the GEnet System Manager (GSM) Software
Page
Setting-Up DOS System Files
Local GSM Operation (Exclusively)
Network GSM Operation (or Both Local and Network)
Checking for Existing NDIS Applications on Your PC
When the GSM is the Only NDIS Application on the PC
When an NDIS Application Already Exists
Page
Unusual Procedures
Updating or Adding to Existing GSM Software
Changing the PC Network Card
3
Starting-Up the GSM
Figure 3-2. GSM Main Menu
Working Your Way through the GSM Menus
GSM Keyboard Functions
Table 3-3. GSM Keyboard Functions (Alt-K)
3-16 TCP/IP Ethernet Communications Users Manual January 1996
GSM Menu Structure
Advanced Parameters Menu
Figure 3-3. GSM Menu Structure
The menu structure of the of the GEnet System Manager software is shown below.
GSM Main Menu
3
Section 2: Configuring a Station
Information Needed to Configure a TCP/IP Ethernet Interface Station
Configure a Station Screen
Figure 3-4. Configure a Station Screen
Creating a Station Configuration File
Field Definitions for the Configure a Station Screen
Page
Selecting a Station Configuration File
Deleting a Station Configuration File
Structure of the MAC Address
3
Configuration Editor Menu for Series 90-70 PLCs
Figure 3-5. Configuration Editor Menu
Saving Changes Before Exiting the Configuration Editor Main Menu
TCP/IP Parameters Screen
Figure 3-6. TCP/IP Parameters Screen
Determining If an IP Address Has Already Been Used
Precedence of TCP/IP Parameter Sources
Page
3
Data Link Parameters Screen
Figure 3-8. Data Link Parameters Screen
The Data Link Parameters are defined as follows:
Page
3
System Parameters Screen
Figure 3-9. System Parameters Screen
Memory Pool Allocation Parameters
The ranges for the Buffer Pool Parameter values are:
The Station Manager Parameters are as follows:
3
Section 3: Downloading a Station
Download Station Screen
Figure 3-10. Download Station Screen
Downloading Locally (Over the Serial Port)
Downloading Over the Network
Page
Page
3
Section 5: Using the GSM Support Functions
List All Stations Screen
Figure 3-12. List All Stations Screen
Page
3
Setup GSM Menu
Figure 3-13. Setup GSM Menu
Changing the GSM Password Screen
Page
4
Chapter 4Programming Communications Requests
Section 1: The Communications Request
Structure of the Communications Request
Figure 4-1. Elements of the Communications R equest
COMMREQ Function Block
COMMREQ Command Block
Channel Commands
Advantages of Channel Commands
Status Data
LAN Interface Status Bits (LIS Bits):
Channel Status Bits:
COMMREQ Status Word (CRS Word):
Detailed Channel Status Words (DCS Words):
4
Operation of the Communications Request
Figure 4-2. Operation of the Communications Request for an Establish R ead Channel- Command
Section 2: The COMMREQ Function Block and Command Block
The COMMREQ Function Block
Enable: Control logic for activating the COMMREQ Function Block. See Section 5 and
IN:
SYSID:
4
TASK:
OK Output:
FT Output:
The COMMREQ Command Block
COMMREQ Status Word:
(Word 3) COMMREQ Status Word Pointer Memory Type:
(Word 4) COMMREQ Status Word Pointer Offset: This word contains the offset within
4
Section 3: Channel Commands
Establishing a Channel
Aborting and Re-tasking a Channel
Retrieving Detailed Status on the Channel
Specifying the Location of the Channel Status
4
Establish Read Channel (2003)
(Word 7) Channel Command Number:
(Word 8) Channel Number: Word 8 specifies the channel to be used for the read. This value
(Word 9) Number of Read Repetitions:
(Word 10) Time Units for Read Period:
Table 4-1. Time Unit Values for Read/Write Repetition Period
(Word 11) Number of Time Units for Read Period:
Table 4-2. Series 90-70 PLC Memory Types
(Word 14) Local PLC - Memory Starting Address: W ord 14 specifies the starting address in
(Word 15) Remote PLC - Memory Type:
(Word 16) Remote PLC - Memory Starting Address: Word 16 specifies starting address in
(Word 17) Remote PLC - Number of Memory Units: Word 17 specifies the number of
(Word 18) R emote PLC - PLC (Node) Address Type:
(Word 19) R emote PLC - PLC (Node) Address Length:
(Words 20-23) Remote PLC - PLC (Node) IP Address: Words 20-23 specify the four
Words 24 - 27 Remote PLC - Program Name:
Word 28 - 31 Remote PLC - Program Block Name:
4
Establish Write Channel (2004)
(Word 7) Channel Command Number:
(Word 8) Channel Number: Word 8 specifies the channel to be used for the write. This
(Word 9) Number of Write Repetitions:
(Word 10) Time Units for Write Period:
(Word 11) Number of Time Units for Write Period:
(Word 12) Timeout for Each Write:
(Word 14) Local PLC - Memory Starting Address: Word 14 specifies the starting address
(Word 15) Remote PLC - Memory Type:
(Word 16) Remote PLC - Memory Starting Address: Word 16 specifies starting address in
(Word 17) Remote PLC - Number of Memory Units: Word 17 specifies the number of
(Word 18) R emote PLC - PLC (Node) Address Type:
Send Information Report (2010)
Example Command Block
(Word 7) Channel Command Number:
(Word 8) Channel Number: Word 8 specifies the channel to be used for the send. This
(Word 9) Number of Send Repetitions:
(Word 10) Time Units for Send Period:
(Word 11) Number of Time Units for Send Period:
(Word 12) Timeout for Each Send:
(Word 14) Local PLC - Memory Starting Address: Word 14 specifies the starting address
Page
4
Abort Channel (2001)
(Word 7) Channel Command Number:
(Word 8) Channel Number: The channel number specifies the channel to be
Retrieve Detailed Channel Status (2002)
(Word 7) Channel Command Number:
(Word 8) Channel Number: The channel number in Word 8 specifies the channel whose
(Word 9) Local PLC - Memory Type:
(Word 10) Local PLC - Memory Starting Address: Starting address to store the Detailed
Assign Channel Status Vector (2000)
Example Command Block
(Word 7) Channel Command Number:
(Word 8) Memory Type:
(Word 9) Starting Address:
4
Section 4: Status Data
Types of Status Data
Description of the Status Data
OK Output of the COMMREQ Function Block
FT Output of the COMMREQ Function Block
Status Bits
Table 4-3. Status Bits (LIS Bits and Channel Status Bits)
(Status Bit 8) AUI Fuse Blown: This bit is set to 1 when the AUI Fuse is blown. Other-
(Status Bit 9) Any Channel Error:
(Status Bit 13) LAN OK: This input will be held at the value 1 as long as the Ethernet
(Status Bit 14) Resource Problem:
Each channel has a dedicated pair of bits as follows:
(Status Bits 17, 19, 21 ... 47) Data Transfer Bit: This bit is normally set to 0. It is pulsed
(Status Bits 18, 20, 22 ... 48) Channel Error Bit: This bit is set to 1 when an error is de-
Communications Status Words
Figure 4-3. Format of the COMMREQ Status Word (CRS Word)
Figure 4-4. Format of the Detailed Channel Status Words (DCS Words)
Table 4-4. Major Error Codes
4
4-31
Minor Error Codes
Error Status Service Request Error Description
4-32 TCP/IP Ethernet Communications Users Manual January 1996
Table 4-5. Minor Error Codes for Major Error Codes 5H and 85H (Continued)
Error Status Service Request Error Description
Table 4-6. Minor Error Codes for Major Error Code 11H (at Remote Ser ver PLC)
Error Status SRTP Error Description
4-33
Table 4-7. Minor Error Codes for Major Error Code 90H (at Client PLC)
Error Status Application Interface Error Description
Section 5: Controlling Communications in the Ladder Program
Essential Elements of the Ladder Program
4-35
GFK-1004B Chapter 4 Programming Communications Requests
Page
4
Troubleshooting Your Ladder Program
FT Output is ON
COMMREQ Status Word is Zero (0) and FT Output is OFF
COMMREQ Status Word is Not One (1)
Monitoring the Communications Channel
Monitoring the COMMREQ Status Word
Monitoring the Channel Error Bit
Monitoring the Data Transfer Bit
4
Sequencing Communications Requests
Data Transfers with One Repetition
5
Chapter 5The Station Manager
Station Manager Services
Section 1: Accessing the Station Manager
5
Accessing the Station Manager Using the GSM
Accessing the Station Manager Using an ASCII Terminal
Remote Operation of the Station Manager
5
Section 2: Using the Station Manager
Using the Monitor Commands
Table 5-1. Monitor Commands
5
Using the Monitor Commands to Troubleshoot the Network
Using the Modify Commands
Table 5-2. Modify Commands
Date and Time
Station Manager Command Syntax
5
Task Identification
Table 5-3. Task Identifiers
Display Data Representation
Numeric Values
Byte String Values
IP Address
5
Station Manager in Utility Programs
Soft Switch Entry Utility
Table 5-4.
Field Network Test Utility
5-14 TCP/IP Ethernet Communications Users Manual January 1996
Table 5-5. Field Network Test Utility Commands
Command Restrictions
5
Section 3: Command Descriptions
Command Input Processing
Table 5-6. Control Characters
CHANNEL Command
BPS Command
CHBPS Command
CHDATE Command
CHLTIME Command
CHSOSW Command
Table 5-7. Load Source Parameters
Table 5-8.
CHTIME Command
CLEAR Command
CLSOSW Command
DATE Command
EXS Command
HELP Command
Page
LOAD Command
LOG Command
Table 5-9. Log Event Definitions
LOGIN Command
LOGOUT Command
LTIME Command
NET Command
NODE Command
OK Command
PING Command
PROG Command
REM Command
REPORT Command
Interpretation of Test Results
REPP Command
RESTART Command
SHOW Command
5-32 TCP/IP Ethernet Communications Users Manual January 1996
Configuration Parameters
Table 5-10. Configuration Parameters
Parameter Description Default Value
5-33
Table 5-10. Configuration Parameters - Continued Parameter Description Default Value
SOSW Command
STAT Command
STOPP Command
STOPT Command
TALLY Command
Table 5-11. PLC Driver Tallies (Tally c)
5-37
Table 5-12. Address Resolution Protocol (ARP) Driver Tallies (Tally f)
Table 5-13. Channel API Tallies (Tally h)
5-38 TCP/IP Ethernet Communications Users Manual January 1996
Table 5-14. Internet Protocol (IP) Tallies (Tally i)
5-39
Table 5-15. Internet Control Message Protocol (ICMP) Tallies (Tally j)
5-40 TCP/IP Ethernet Communications Users Manual January 1996
Table 5-17. MAC Layer Tallies (part of Tally l)
5-41
Table 5-18. Service Request Transfer Protocol (SRTP) Server Tallies (Tally v)
Table 5-19. Transmission Control Protocol (TCP) Tallies (Tally w)
TEST Command
TIME Command
TRACE Command
Page
6
Chapter 6Troubleshooting
Overview
Table 6-1. Ethernet Interface Diagnostic Tools
Using this Chapter
Page
Figure 6-1. Determining the State of the Ethernet Interface
What to do if you Cannot Solve the Problem
6
The Power-Up State
Table 6-2. Power-Up State
The Soft Switch Entry State
The Field Network Test State
Table 6-4. Field Network Test State
6
The Loader State
Table 6-5. Loader State
The Operational State
Table 6-6. Operational State
Troubleshooting When STATUS OK LED is OFF
Troubleshooting When the STATUS OK LED is ON
Table 6-7. Troubleshooting with ONLINE LED OFF
6-10 TCP/IP Ethernet Communications Users Manual January 1996
Table 6-8. Troubleshooting with ONLINE LED ON
LED Indicators Possible Cause and Resolution
Exception Log Event Error Codes
Table 6-9. Exception Log Event Definitions
Log Event Cause
6-11
Table 6-10. Exception Log Event Codes
6-12 TCP/IP Ethernet Communications Users Manual January 1996
Table 6-10. Exception Log Event Codes - Continued
6-13
6-14 TCP/IP Ethernet Communications Users Manual January 1996
6-15
6-16 TCP/IP Ethernet Communications Users Manual January 1996
6-17
6-18 TCP/IP Ethernet Communications Users Manual January 1996
6-19
6-20 TCP/IP Ethernet Communications Users Manual January 1996
6-21
6-22 TCP/IP Ethernet Communications Users Manual January 1996
6-23
6-24 TCP/IP Ethernet Communications Users Manual January 1996
6-25
6-26 TCP/IP Ethernet Communications Users Manual January 1996
6-27
6-28 TCP/IP Ethernet Communications Users Manual January 1996
6-29
6-30 TCP/IP Ethernet Communications Users Manual January 1996
6-31
6-32 TCP/IP Ethernet Communications Users Manual January 1996
6-33
6-34 TCP/IP Ethernet Communications Users Manual January 1996
6-35
6-36 TCP/IP Ethernet Communications Users Manual January 1996
A
Appendix AGlossary
Commonly Used Acronyms and Abbreviations
Glossary of Terms
Page
Page
Page
Page
Page
Page
B
Appendix BCommunications Ports Characteristics
What this Appendix Contains
Serial Port for Local GSM Communications
Serial Port Settings
Serial Cable
Figure B-1. Serial Cable to Connect GSM (25Pin Connector) to Ethernet Interface
Figure B-2. Serial Cable to Connect GSM (9Pin Connector) to Ethernet Interface
Display Terminal Settings
The AUI Port for the Ethernet Interface
Ethernet AUI Port Pinouts
Table B-2. Pinouts of the AUI Port
TCP/IP Ethernet Communications Users Manual January 1996B-4 GFK-1004B
AUI (Transceiver Cable)
Figure B-4. 10Base2 Transceiver Configuration
Figure B-3. Transceiver Cable Connection
Transceiver Description
PWR SQE XMT RCV CP
Table B-3. 10Base5 Transceiver Configuration
C
Appendix CSoft Switch Parameters
Config Mode
Station Address
Load Source
LAN Online
Backplane Online
Network Load Address
TCP/IP Ethernet Communications Users Manual January 1996C-4 GFK-1004B
Modify Soft Switch Settings
Table C-1. Soft Switch Settings
Parameter Description
Configuring Soft Switch Parameters
Configuring Soft Switch Parameters Using the GSM
Page
Correct Results of Soft Switch Configuration
D
Appendix DSample DOS System Files
TCP/IP Ethernet Communications Users Manual January 1996D-2 GFK-1004B
3Com Etherlink II
D-3
3Com Etherlink 3
TCP/IP Ethernet Communications Users Manual January 1996D-4 GFK-1004B
3Com Etherlink 16
D-5
3Com Etherlink /MC
TCP/IP Ethernet Communications Users Manual January 1996D-6 GFK-1004B
Western Digital EtherCard PLUS, EtherCard PLUS Elite 16, EtherCard PLUS/A
D-7
Intel 82593
TCP/IP Ethernet Communications Users Manual January 1996D-8 GFK-1004B
Xircom Pocket Adapter (PE2)
D-9
Xircom Pocket Adapter (PE3)
TCP/IP Ethernet Communications Users Manual January 1996 D-10
SMC EtherCard PLUS, EtherCard PLUS Elite 16, EtherCard PLUS/A
D-11
IBM PCMCIA
Optimizing the GSM for Network Operation
E
E-1
Appendix EGEnet System Manager Data Link Error Codes
Table E-1. GEnet System Manager Data Link Error Codes
Error Code Description
E
TCP/IP Ethernet Communications Users Manual January 1996 E-2
Table E-1. GEnet System Manager Data Link Error Codes - Continued
Error Code Description
E
E-3
Table E-2. NDIS Error Codes
Error Code (hexadecimal) Description
F
Appendix FNetwork Test Form
Test Form
Network Test Data Sheet
G
Appendix GAdvanced Information About IP and MAC Addresses
IP Addresses
Figure G-1. IP Address Format for Network Classes A, B, C
Gateways
A
BCG
Figure G-2. Connecting Two Networks with a Gateway
Subnets
A
E
C
B
MAC Addresses
H
Appendix HSample Ladder Program
TCP/IP Ethernet Communications Users Manual January 1996 H-2
H-3
TCP/IP Ethernet Communications Users Manual January 1996 H-4
H-5
TCP/IP Ethernet Communications Users Manual January 1996 H-6
H-7
TCP/IP Ethernet Communications Users Manual January 1996 H-8
H-9
TCP/IP Ethernet Communications Users Manual January 1996 H-10
H-11
TCP/IP Ethernet Communications Users Manual January 1996 H-12
Page
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
Q
R
S
T
U
V
W
X