GEFanuc Automation
State Logic Products
State Logic Processor
For Series 90 -30 PLC
User’s Guide
GFK-0726B
March 1998
GE Fanuc Automation North America,Inc.
Software License Agreement
GFJ–317C
YOU SHOULD CAREFULLY READ THE FOLLOWING TERMS AND CONDITIONS BEFORE OPENING THIS PACKAGE. OPENING THIS PACKAGE SIGNI-
FIESYOURACCEPTANCE OF THESE TERMS AND CONDITIONS. IF YOU DO NOT AGREE WITH THEM, YOU SHOULD PROMPTLY RETURN THE PACK-
AGE UNOPENED ALONG WITH ANY OTHER ITEM THAT WAS INCLUDED IN THE SAME CATALOG NUMBER FOR FULL CREDIT.
You, as the Customer, agree as follows:
4.4 The products to be licensed or sold hereunder are not intended for use in any nuclear,
chemical or weapons production facility or activity, or other activity where failure of the products
couldleaddirectlytodeath,personalinjuryorseverephysicalorenvironmentaldamage. Ifsoused,
GEFanucdisclaimsallliabilityforanydamagesarisingasaresultofthehazardousnatureofthebusi-
ness in question, including but not limited to nuclear, chemical or environmental damage, injury or
contamination,andCustomershallindemnify,holdharmlessanddefendGEFanuc, its officers, direc-
tors, employees and agents against all such liability, whether based on contract, warranty, tort (in-
cludingnegligence),oranyotherlegaltheory,regardlessofwhetherGEFanuchadknowledgeofthe
possibility of such damages.
1. DEFINITIONS
”Application Software”shallmeanthoseportionsoftheLicensedSoftware, in object code form only,
createdby GE Fanuc.
”Designated Computer” shall mean the one (1) computer upon which Customer shall run the Li-
censedSoftware.
”Licensed Software” shall mean the Application Software plus any other software, in object code
form only, supplied by GE Fanuc pursuant to this Agreement. The Licensed Software may include
thirdparty software,includingbutnotlimitedtooperatingsystems,licensedtoGEFanuc. If no oper-
ating system software is included in the software provided under this Agreement, you must make
provision for any required operating system software licenses.
5. INDEMNITY
5.1 GEFanuc warrants that the Application Software shall be delivered free of any rightful
claimforinfringementofanyUnitedStatespatentorcopyright. Ifnotifiedpromptlyinwritingandgiven
authority, informationandassistance,GEFanucshalldefend,ormaysettle,atitsexpense,anysuitor
proceedingagainst Customer so far as based on a claimed infringement which would result in a
breachof this warrantyandGEFanucshallpayalldamagesandcostsawardedthereinagainstCus-
tomer due to such breach. In case the Application Software is in such suit held to constitute such an
infringementanditsuseisenjoined,GEFanucshall,atitsexpenseandoption,eitherprocureforCus-
tomer the right to continued use, or replace same with a non–infringing product or part, or modifythe
Application Software so that it becomes non–infringing, or remove the software and refund the li-
censecharge pertaining thereto (less reasonable depreciation for any period of use) and any trans-
portationcostsseparatelypaidbyCustomer. TheforegoingstatestheentireliabilityofGEFanuc for
patentand copyright infringement by the Licensed Software or any part thereof.
2. LICENSE
2.1 Exceptas provided in section 2.2 below, you are granted only a personal, non–transfer-
able,nonexclusivelicensetousetheLicensedSoftwareonlyontheDesignatedComputer. You may
copytheLicensedSoftwareintomachinereadableform for backup purposes in support of your use
of the Licensed SoftwareontheDesignatedComputer, limited to one copy. No other copies shall be
madeunless authorized in writing by GE Fanuc. You may not reverse compile or disassemble the
software. TheLicensedSoftware, comprisingproprietarytradesecretinformationofGEFanucand/
or its licensors, shall be held in confidence by Customer and protected from disclosure to third par-
ties. Notitletotheintellectualproperty is transferred. Youmustreproduceandincludeallapplicable
copyright notices on any copy.
5.2 The indemnity under the preceding paragraph shall not apply to any use of Application
Software in conjunction with any other product in a combination not furnishedbyGEFanucasapart
ofthistransaction. Astoanysuchuseinsuchcombination,GEFanucassumesnoliabilitywhatsoev-
erfor patent and copyright infringement and Customer will hold GE Fanuc harmless against any in-
fringementclaims arising therefrom.
2.2 IfyouareanauthorizedGEFanucdistributororanOriginalEquipmentManufacturerwho
incorporatestheLicensedSoftware into your equipment for sale to an end user, you may transfer the
LicensedSoftwaretoanenduserprovidedthattheenduseragreestobeboundbytheprovisionsof
this Agreement.
2.3 GEFanuc’slicensorshavingaproprietaryinterestintheLicensedSoftwareshallhavethe
right to enforce such interests, including the right to terminatethisAgreementintheeventofabreach
of its terms pertaining to such proprietary interests.
6. TERM AND TERMINATION
6.1 You may terminate the license granted hereunder at any time by destroying the Licensed
SoftwaretogetherwithallcopiesthereofandnotifyingGEFanuc in writing that all use of the Licensed
Software has ceased and that same has been destroyed.
2.4 EXCEPTASPROVIDEDINSECTION2.2ABOVE,IFYOUTRANSFERPOSSESSIONOFANY
COPYOFTHELICENSEDSOFTWARETOANOTHERPARTYWITHOUTWRITTENCONSENTOFGE
FANUC,YOURLICENSEISAUTOMATICALLYTERMINATED. Any attempt otherwise to sublicense,
assign or transfer any of the right, duties or obligations hereunder is void.
6.2 GEFanuc,uponthirty (30) days notice, may terminatethisAgreementoranylicensehere-
under if Customer fails to perform any obligation or undertaking to be performed by it under this
Agreementor if Customer attempts to assign this Agreement without the prior written consent of GE
Fanuc. Within twenty (20) days after any such termination of this Agreement, Customer shall certify
in writing to GE Fanuc that all use of the Licensed Software has ceased, and that same has been re-
turnedor destroyed, in accordance with GE Fanuc’s instructions.
2.5 IftheLicensedSoftwareisbeingacquiredonbehalfoftheU.S.Government,Department
ofDefense,theLicensedSoftware is subject to ”RestrictedRights”,includingthelegendtobeaffixed
tothesoftwareassetforthinDODSupplementtotheFederalAcquisitionRegulations(DFAR’s)para-
graph 252.227–7013(c)(1). If software is being acquired on behalf of any other U.S. Government
entity, unit or agency, the Government’s rights shall be as defined in paragraph 52.227–19(c)(2) of
theFederal Acquisition Regulations(FAR’s).
6.3
Sections 4, 6 and 7 of this Agreement shall survive any expiration or terminationand
remainineffect. TerminationofthisAgreementoranylicensehereundershallnotrelieveCustomerof
itsobligationtopayanyandalloutstandingchargeshereundernorentitleCustomertoanyrefundof
such charges previously paid.
3. WARRANTY
3.1 GEFanuc warrants that the Application Software will be in substantial conformance with
thespecificationsinthemanualpertainingtheretoasofthedateofshipmentbyGEFanuc. If, within
ninety (90) days of date of shipment, it is shown that the Application Software does not meet this
warranty,GEFanucwill,atitsoption,eithercorrectthedefectorerrorintheApplicationSoftware,free
ofcharge,ormakeavailabletoCustomersatisfactorysubstitutesoftware,or,asalastresort, returnto
Customerallpaymentsmadeaslicensefeesandterminatethelicense withrespecttotheApplication
Softwareaffected. GEFanucdoesnotwarrantthatoperationoftheApplicationSoftwarewillbeunin-
terruptedor error free or that it will meet Customer’s needs. All other portions of the Licensed Soft-
ware are provided ”as is” without warranty of any kind.
7. EXPORT
7.1 Ifyouintendtoexport (orreexport), directly or indirectly, the softwareproductsortechni-
cal informationrelatingtheretosuppliedhereunderoranyportionthereof, it is your responsibility to
assurecompliance with U.S. export control regulations and, if appropriate, to secure any required
export licenses in your own name.
8. GENERAL
8.1 ThisAgreementshallbegovernedbythelawsoftheStateofVirginia,withoutregardtoits
conflictoflawprovisions. TheprovisionsoftheUnitedNationsConventionontheInternationalSaleof
Goodsshall not apply to this Agreement.
3.2 WITHRESPECTTOTHESOFTWAREWHICHISTHESUBJECTOFTHISAGREEMENT,THE
FOREGOINGWARRANTIES ARE EXCLUSIVE AND ARE IN LIEU OF ALL OTHER WARRANTIES
WHETHERWRITTEN,ORAL,IMPLIEDORSTATUTORY. NOIMPLIEDORSTATUTORYWARRANTYOF
MERCHANTABILITYORFITNESS FOR A PARTICULARPURPOSESHALLAPPLY.
ShouldyouhaveanyquestionsconcerningthisAgreement,youmaycontactGEFanuc by writiing to:
GEFanuc, P.O. Box 8106, Charlottesville, VA 22906.
YOUACKNOWLEDGETHATYOUHAVEREADTHISAGREEMENT,UNDERSTANDITANDAGREETO
BEBOUNDBYITSTERMSANDCONDITIONS.YOUFURTHERAGREETHAT IT IS THE COMPLETE
ANDEXCLUSIVESTATEMENTOFTHEAGREEMENTBETWEENUSANDSUPERSEDESANYPRO-
POSALOR PRIOR AGREEMENT, ORAL OR WRITTEN, AND ANY OTHER COMMUNICATIONSBE-
TWEENUSRELATINGTOTHESUBJECTMATTEROFTHISAGREEMENT. FURTHER,NOCHANGEOR
AMENDMENTTO THIS AGREEMENT SHALL BE EFFECTIVE UNLESS AGREED TO BY WRITTEN
INSTRUMENTSIGNEDBY A DULY AUTHORIZEDREPRESENTATIVEOFGEFANUC.
4. LIMITATIONOF LIABILITY
4.1 INNOEVENT, WHETHER AS A RESULTOFBREACHOFCONTRACT,BREACHOFWAR-
RANTY,TORT(INCLUDINGNEGLIGENCE)OROTHERWISESHALLGEFANUCORITSSUPPLIERSBE
LIABLEFORANYSPECIAL,CONSEQUENTIAL,INCIDENTALORPENALDAMAGESINCLUDING,BUT
NOTLIMITEDTO, LOSSOFPROFITORREVENUES,LOSSOFUSEOFTHELICENSEDSOFTWAREOR
ANYPARTTHEREOF, OR ANY ASSOCIATEDEQUIPMENT, DAMAGE TO ASSOCIATEDEQUIPMENT,
COSTOFCAPITAL,COSTOFSUBSTITUTEPRODUCTS,FACILITIES,SERVICESORREPLACEMENT
POWER,DOWNTIMECOSTS,ORCLAIMSOFCUSTOMER’SCUSTOMERSANDTRANSFEREESFOR
SUCHDAMAGESEVENIFGEFANUCHASBEENADVISEDOFTHEPOSSIBILITYOFSUCHDAMAGES.
4.2 EXCEPTASPROVIDEDINSECTION5,INDEMNITY,INNOEVENT,WHETHERASARESULT
OFBREACH OF CONTRACT OR WARRANTY, TORT (INCLUDINGNEGLIGENCE)OROTHERWISE,
SHALLGEFANUC’SLIABILITYTOCUSTOMERFORANYLOSSORDAMAGEARISINGOUTOF, OR
RESULTINGFROMTHISAGREEMENT,ORFROMITSPERFORMANCEORBREACH,ORFROMTHE
LICENSEDSOFTWARE OR ANY PARTTHEREFORE, ORFROMANYSERVICEFURNISHEDHERE-
UNDER,EXCEEDTHEQUOTEDCHARGESFORTHELICENSEDSOFTWARE. ANYSUCHLIABILITY
SHALLTERMINATEUPONTHETERMINATIONOFTHEWARRANTYPERIODASSETFORTHINSEC-
TION4.
4.3 IfGEFanucfurnishesCustomerwithadviceorotherassistancewhichconcerns Licensed
Software or any portion thereof supplied hereunder or any system or equipment on which any such
softwaremaybeinstalledandwhichisnotrequiredpursuanttothisAgreement,thefurnishingofsuch
adviceor assistance will not subject GE Fanuctoanyliability, whether in contract, warranty, tort, (in-
cluding negligence) or otherwise.
Preface
Content of this Manual
Chapter 1. State Logic Processor Description
Chapter 2. Installation and Maintenance
Chapter 3. Troubleshooting
Chapter 4. Serial Communications
Chapter 5. Specifications
We Welcome Your Comments and Suggestions
At GE Fanuc automation, we strive to produce quality technical documentation. After
you have used this manual, please take a few moments to complete and return the
Reader ’s Comment Card located on the next page.
StateLogic is a registered trademark of Adatek, Inc.
GFK-0726B
iii
Contents
Chapter 1
Chapter 2
State Logic Processor Description . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-1
PhysicalDescription . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Operational Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-2
1-4
Installation and Maintenance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-1
Selecting the Right Slot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Inserting the SLP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Battery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-1
2-1
2-2
2-3
Chapter 3
Chapter 4
Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-1
Status LED is not ON Steady . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Serial Communication Problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-1
3-1
SerialCommunications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-1
Programming Serial Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Serial Port Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Serial Cable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-2
4-3
4-5
Chapter 5
Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-1
Content of this Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
We Welcome Your Comments and Suggestions . . . . . . . . . . . . . . . . . . . . . . .
iii
v
GFK-0726B
StateLogic Processor for Series 90–30 PLC User’s Guide – March 1998
vii
Contents
GFK-0726B
StateLogic Processor for Series 90–30 PLC User’s Guide – March 1998
viii
Contents
GFK-0726B
StateLogic Processor for Series 90–30 PLC User’s Guide – March 1998
ix
restart lowapp ARestart oddapp: ARestarts for autonumbers that do not restart in
each chapter. figure bi level 1, reset table_big level 1, reset chap_big level 1, reset1
Lowapp Alwbox restart evenap:A1app_big level 1, resetA figure_ap level 1, reset
table_ap level 1, reset figure level 1, reset table level 1, reset these restarts
oddbox reset: 1evenbox reset: 1must be in the header frame of chapter 1. a:ebx, l 1
resetA a:obx:l 1, resetA a:bigbx level 1 resetA a:ftr level 1 resetA c:ebx, l 1 reset1
c:obx:l 1, reset1 c:bigbx level 1 reset1 c:ftr level 1 reset1 Reminders for
autonumbers that need to be restarted manually (first instance will always be 4)
let_in level 1: A. B. C. letter level 1:A.B.C. num level 1: 1. 2. 3. num_in level 1: 1. 2.
3. rom_in level 1: I. II. III. roman level 1: I. II. III. steps level 1: 1. 2. 3.
Chapter 1 StateLogic Processor Description
1
The State Logic Processor (SLP) is a module which inserts into a Series 90 -30 PLC chas-
sis. This module has the State Engine operating system to execute State Logic control
programs produced by the ECLiPS programming software package.
The SLP exists together with a CPU module in the Series 90 -30 PLCs. The CPU must be
a model 331, Revision 3.03 or higher. The CPU may execute a Relay Ladder Logic Pro-
gram at the same time the State Logic Processor is executing a State Logic Program. The
SLP manipulates the CPU memory space and the CPU controls the I/ O during its normal
cycle of operations. More than one SLP can be installed in one Series 90-30 PLC system,
although the SLP must be installed in the main rack with the CPU.
The software products, ECLiPS and OnTOP, are the user interfaces to the SLP. ECLiPS is
a program development and on-line monitoring software product which runs on an
IBM-PC compatible computer. OnTOP, the On-Line Troubleshooting Operator Pro-
gram, also runs on an IBM-PC compatible computer. For questions about programming
or on-line functions, see the ECLiPS or OnTOP User ’s Manuals.
IBM-PC is a registered trademark of International Business Machines Corporation.
1-1
GFK-0726B
1
Physical Description
The SLP occupies a single slot in the Series 90-30 rack, communicating with the PLC CPU
over the backplane to perform its many control functions. The SLP controls and accesses
CPUI/ O, register, and system data.
a45085
LOCAL RACK CONFIGURATION
P
S
C S
P L
U P
Figure 1-1. SLP in Series 90-30 Chassis
The 90-30 SLP uses an 8 mHz 80C188 microprocessor and has two serial ports, port 1 is
and RS-232 port and port 2 is an RS-422/ 485 port. One port is designated the program-
ming port, to be used to communicate with ECLiPS or OnTOP. The other port may be
configured to be a CCM port, communicating to a host computer using the CCM proto-
col. See the section on Serial Communications for more information on using the serial
ports.
There are three LED indicators located at the top front edge of the SLP. The top LED is
the status indicator for the SLP. During power-up this LED flashes while the SLP is run-
ning its diagnostic checks. If this LED is off, either the power is off, there is some hard-
ware malfunction of the SLP, or there is no CPU present in the Series 90-30 PLC system.
When the LED is on, the SLP is functioning normally.
GFK-0726B
1-2
State Logic Processor for Series 90–30 PLC User’s Guide – March 1998
-
1
a45127
BD
OK
OK
CURRENTLY
INSTALLED
BATTERY
CONNECTOR
RESTART
BATTERY
OPEN
REPLACEMENT
BATTERY
CONNECTOR
PORTS
1 AND 2
SLP 300
Figure 1-2. Series 90-30 State Logic Processor
The SLP comes with a battery to maintain memory when power is removed. This is a
lithium battery which is installed as shown in the SLP drawings. When the battery
reaches a low charge, this condition is reported to the PLC fault table.
GFK-0726B
Chapter 1 State Logic Processor Description
1-3
1
Operational Description
The State Logic Processor (SLP) uses areas in the CPU memory for I/ O references and
Register values. The SLP and the CPU communicate this information over the PLC
backplane.
When a Ladder Logic control program and a State Logic control program are running at
the same time, the State Logic and Ladder Logic programs should not be controlling the
same outputs. The SLP cannot control an output that is being controlled by the CPU,
since the 90-30 CPU always takes precedence when both processors are controlling the
same outputs.
All of the outputs used in the State Logic program should be selected to be contiguous if
system response time is important. Outputs being non-contiguous causes the scan rate
to increase significantly.
When changing outputs the SLP writes to a byte of I/ O bits at a time, so that any the SLP
actually controls eight ouputs at a time. Therefore, if some outputs of a byte are not
named in the SLP program, ECLiPS issuses a warning that the other outputs in that byte
are changed when the program executes.
GFK-0726B
1-4
State Logic Processor for Series 90–30 PLC User’s Guide – March 1998
-
Chapter 2 Installation and Maintenance
section level 1 1
figure bi level 1
table_big level 1
2
This chapter describes how to install the SLP into a Series 90-30 PLC rack. There is also a
section describing maintenance considerations.
Selecting the Right Slot
The SLP can be installed in any unused slot in the CPU rack of the Series 90-30 PLC if the
following rules are followed:
1. Configuration created by Logicmaster must match the physical location of the
modules. Configuration faults are logged in the PLC fault table.
2. For the 90-30 SLP all the slots between the SLP and CPU must be occupied. If any
slots between are empty the SLP cannot communicate with the CPU. The SLP must
be in the main rack with the CPU.
Inserting the SLP
Follow these steps to insert the SLP into the Series 90-30 rack:
1. Power down the Series 90-30 PLC system
2. Locate the desired rack and slot.
3. Slide the 90-30 SLP completely into the slot.
4. Press down firmly to lock the module in place, but do not use excessive force.
5. Power up the PLC rack. The Status LED flashes during power-up diagnostics. The
LED comes on steady when the SLP is ready for operations.
2-1
GFK-0726B
2
Configuration
Use the Logicmaster 90-30 configuration software to add the SLP to the Series 90-30
I/ O configuration. This software is used to describe the modules present in the PLC
racks. Rack and slot location and other features for each module are entered by com-
pleting setup screens that describe the modules in a rack.
Figure 2-1.
From the main menu of the Logicmaster 90-30 configuration software, press I/ O <F1>.
The screen displays a representation of the modules in a rack. To add an SLP to the con-
figuration, highlight the desired slot, then press Other <F8> and then PCM <F1>.
Now press Zoom <F10> to view the current configuration. Press <Enter> to enter the
highlighted catalog number and display the PCM detail screen.
Now set the Configuration Mode to PCM CFG for the 90-30 SLP. First highlight the Con-
fig Mode option and repeatedly press the <Tab> key until PCM CFG is displayed on the
screen. The serial ports are under program control and the parameters are initialized by
the State Logic Processor.
Now press the <Esc> key to save the configuration and return to the rack display. The
display should now show a PCM in the correct slot. Send the configuration to the PLC
CPU and the configuration is complete.
During program execution the CPU must be in run mode with the outputs enabled. Use
LM90-30 to set the status of the CPU before executing the State Logic program.
Logicmasteris a trademark of GE Fanuc Automation North America, Inc.
GFK-0726B
2-2
State Logic Processor for Series 90-30 PLC User’s Guide – March 1998
2
Battery
The State Logic Processor comes with a 3 volt lithium battery (IC697ACC701) to maintain
memory through a power cycle. If the battery charge becomes low, a fault is set in the
fault table. These faults can be monitored by the State Logic program.
To replace the battery, connect the new battery to the extra set of battery connections
then disconnect the old battery. A Product Safety Data Sheet for the battery is available.
Order from GE Fanuc using number GFK-0633.
GFK-0726B
Chapter 2 Installation and Maintenance
2-3
Chapter 3 Troubleshooting
section level 1 1
figure bi level 1
table_big level 1
3
This chapter provides procedures for diagnosing State Logic Processor (SLP) problems.
If these procedures do not solve the problem, contact the GE Fanuc Hotline
(1-800-828-5747) for assistance.
Status LED is not ON Steady
1. Check that power is supplied to the I/ O rack housing the SLP. Try removing and
reinstalling the SLP.
2. Cycle power to the SLP, then press the reset button for more than 5 seconds.
3. Turn the power OFF and disconnect the battery and short the SLP battery terminal
connection points to clear the SLP. Reconnect the battery, turn ON power again, and
reset the SLP.
4. Check that the CPU is functioning properly by checking its “OK” LED.
5. Check that there are no empty slots between the CPU and the SLP. If there are
empty slots, the Status LED blinks continuously.
6. If the Status LED is still not ON, try to download a program from ECLiPS or OnTOP.
If you can connect with the SLP and download a program, then the Status LED is
faulty.
7. If you get a message that ECLiPS or OnTOP cannot connect to the controller, then
check the fault table in the CPU using Logicmaster 90. If there is a fault “Bad or
missing module”, then the SLP is faulty and must be returned for repairs.
8. If there is no fault then contact the GE Fanuc Hotline for assistance.
Serial Communication Problems
This section is split into two parts, communication problems to ECLiPS or OnTOP and
problems with other serial devices.
3-1
GFK-0726B
3
Communications Problems with ECLiPS or OnTOP
1. Check that the serial cable used conforms to one of the types specified for
communications to the SLP ports. Check that the cable is firmly secured at both
ends.
2. When there is a communications problem, a message indicating problems
connecting to the controller is displayed together with some options. Select the
“Change Host Comm Port Settings” option to check the computer port being used
and the baud rate. The default SLP baud rate is 19.2K.
3. The SLP programming port may have been changed. ECLiPS and OnTOP must be
connected to the designated programming port. The default programming port is
Port 1 but can be changed by ECLiPS or OnTOP. Make sure the serial cable is
connected to the current programming port.
4. The SLP serial port configuration may have been changed. These parameters can
only be changed by Statements using the Set_Commport keyword in the State Logic
program. Reset the SLP to return the SLP serial port parameters to their default
state. If the program is setup to start running automatically and the program
continues to change the serial port parameters after the reset switch is pressed, turn
off the power to the SLP, remove the battery, and short the SLP battery leads to reset
the SLP.
5. Port 2 of the 90-30 SLP is an RS-422/ 485 port and Port 1 is an RS-232 port. Make sure
that the host computer serial port setup matches the SLP port for RS-232-RS-422/ 485
option.
6. If there is still no communication between the SLP and OnTOP or ECLiPS then call
the GE Fanuc Hotline for assistance.
Communications Problems with Another Serial Device
1. Check that the serial cable used conforms to one of the types specified for
communications to the SLP ports. Check that the cable is firmly secured at both
ends.
2. Make sure that the serial port parameters of the serial device match the settings of
the SLP. The default settings of the SLP are 19.2K baud rate, 8 data bits, 2 stop bits,
and no parity.
3. Make sure the RS-422/ 485-RS-232 standards are the same for SLP and the serial
device
4. When connecting some device to the programming port, make sure that you exit
ECLiPS or OnTOP normally before disconnecting from the SLP.
5. If there are still problems contact the GE Fanuc Hotline for assistance.
GFK-0726B
3-2
State Logic Processor for Series 90-30 PLC User’s Guide – March 1998
Chapter 4 SerialCommunications
section level 1 1
figure bi level 1
table_big level 1
4
Serial communications with the State Logic Processor (SLP) is provided through one of
the two serial ports. Each of these ports can send and receive serial data independent
from the other. Port 1 is an RS-232 port and port 2 is an RS-422/ 485 port. There is only
one 25-pin connector on the SLP which provides access to the connections for both
ports. The SLP comes with a WYE cable which provides one 25-pin connector for each
port.
ECLiPS and OnTOP must communicate with the SLP through the programming port.
Either port can be the programming port, but port 1 is the default programming port.
When ECLiPS or OnTOP is not connected to the SLP, the programming port can be used
to communicate with some other serial device. To properly set the programming port to
communicate with another device, exit ECLiPS or OnTOP normally before disconnect-
ing from the SLP.
Either of these ports may also be a CCM port. The CCM port uses the GE Fanuc CCM2
protocol for all communications. This protocol is used for connecting the SLP with a host
computer which collects data and changes data in the SLP. Typical CCM uses are con-
necting to a graphical user interface program such as CIMPLICITY or for custom host
interaction with the SLP.
The SLP is always a slave to the host, i.e., all communications are initiated by the host
computer. The SLP may be one of several devices on a CCM network. The CCM port is
always the port that is not designated as the programming port. The CCM port is a nor-
mal RS-232 or RS-422/ 485 port when CCM communications are not enabled.
CIMPLICITY is a registered trademark of GE Fanuc Automation North America, Inc.
4-1
GFK-0726B
4
Programming Serial Communications
The program communicates through two ports using WRITE and READ terms. For ex-
ample:
State: Get_Setpoint
Write “Enter New Setpoint” to Operator_Panel.
Read SetPoint1 from Operator_Panel, then go to Check_Setpoint State.
The Write Term sends the string of characters, Enter New Setpoint, to the port defined as
the Operator_Panel. This same port is then monitored for input by the Read Term in the
next Statement. The variable Setpoint1 is set to the value entered through the specified
port.
In this example the WRITE and READ term information is directed to a particular port.
Operator_Panel in this case is defined in ECLiPS as Port 1 or Port 2. Use the ECLiPS, DE-
FINE or LIST menus to make the port definitions. The default names are Port_1 and
Port_2.
The Read and Write Terms may also be used without being directed to any particular
channel, for example:
State: Choose_Recipe
Write “Enter Recipe Number ”.
Read Recipe_Number, then go to StartBatch State.
Since no port is specified in this example, information is sent to the programming port.
For a more detailed discussion of programming serial input and output, refer to the Ref-
erence Section of the ECLiPS User ’s Manual.
GFK-0726B
4-2
State Logic Processor for Series 90-30 PLC User’s Guide – March 1998
4
Serial Port Setup
There are several serial port configuration options. Some of these options are set using
ECLiPS or OnTOP, and others can only be set by an executing State Logic program.
ECLiPSor OnTOP Options
The options available in the ECLiPS or OnTOP menus to change the configuration of the
SLP serial ports are displayed below.
The options available in the ECLiPS or OnTOP menus to change the configuration of the
SLP serial ports are displayed below.
Each of these options is set in the State Engine Configuration Menu selected from the
Debug Mode Project Menu in ECLiPS or from the Controller Option in OnTOP.
Programmable Setup Options
On power up the serial port parameters are set to their default settings. These settings
may be changed by using the Set_Commport programming keyword in the control pro-
gram. The Set_Commport keyword and parameters must be executed by the control
program to change the serial port settings. Just changing the parameters in the ECLiPS
serial communications setup form does not automatically change these settings.
After the SLP serial port parameters are set, ECLiPS automatically enters the Set_Comm-
port instruction into the program when the following selections are made. Select the
LIST option from the program mode menu; then select the Communication Ports option.
Highlight the appropriate port and press <Enter>. ECLiPS prompts whether to enter
the port name only or enter reconfiguration data. After selecting Enter Reconfiguration
Data, the Set_Commport keyword plus the instructions to change the serial port param-
eters are entered into the ECLiPS program.
These options affect the SLP serial port configuration only, not the ECLiPS or OnTOP
serial port setup. The option to change the ECLiPS or OnTOP host computer serial port
configuration is available only when there is some problem connecting ECLiPS or On-
TOP to the SLP. The only options which can be changed on the ECLiPS or OnTOP serial
port configuration are selecting COM1 or COM2 and changing the baud rate.
GFK-0726B
Chapter 4 Serial Communications
4-3
4
Table 4-1. Serial Port Parameters
Parameter
Settings
Baud Rate
19.2K
9600
4800
2400
1200
300
Data Bits
Parity
8, 7 or 6
Even, Odd, None
2, 1.5, or 1
Stop Bits
Respond to
Backspace
Enabled
Disabled
Stop Transmit
on Receive
Enabled
Disabled
Receiver
AlwaysOn
Enabled
Disabled
Line Feed After
CarriageReturn
Enabled
Disabled
Auto Echo
Enabled
Disabled
XON/ XOFF
Protocol
Enabled
Disabled
End of Message
Character
Hex OD (Carriage
Return
* Default Settings are Underlined
GFK-0726B
4-4
State Logic Processor for Series 90-30 PLC User’s Guide – March 1998
4
Serial Cable
The State Logic Processor (SLP) is designed to work with two GE Fanuc standard serial
cables. One cable is the Mini Converter Kit that comes with the ECLiPS. The other is the
PCM to IBM-PC cable. Use the RS-422/ 485 serial cables to connect to Port 2, if
RS-422/ 485communications are used.
Mini Converter Kit
ECLiPS comes with a serial cable kit that can be used to both connect the CPU with Lo-
gicmaster and to connect the SLP with ECLiPS or OnTOP running on an IBM PC. This
cable kit comes with three adapters:
Table 4-2.
9-pin Male to 15-pin Male
9-pin Male to 25-pin Male
9-pin Male to 25-pin Female
CPU Port
HE693SNP232
AD232/ 1-2
SLP Ports 1 or 2
IBM PC COM 2
HE693XTADP
The cable provided in the kit is terminated with two 9-pin connectors. One of the adapt-
ers connects the 9-pin serial cable to the 15-pin serial port on the CPU (HE693SNP232),
another adapter connects the serial cable to the 25-pin female Port 1 on the SLP
(AD232/ 1-2), and the third adapter can be used to connect to a 25-pin port on the IBM
computer running Logicmaster 90, ECLiPS, or OnTOP (HE693XTADP).
GFK-0726B
Chapter 4 Serial Communications
4-5
4
Other Cable Options
Other cables that work with the SLP are the IBM-AT cable, IC697CBL702, and the Work-
master II or PS/ 2 cable, IC697CBL705. The connector on the SLP end can be made to be a
right angle connector, so that the SLP front cover can be closed and the cable brought
a42832
out the side of the SLP or through the bottom of the Series 90-
30 chassis.
PC–AT
a45088
a42832
PIN
PIN
SLP
DCD
RD
1
2
3
4
7
8
5
SHLD
TD
RD
DCD
CTS
DTR
GND
1
2
3
8
5
20
7
IC690CBL702
3PL
RS–232
(DEFAULT PORT)
TD
DTR
RTS
CTS
GND
4PL
AT
9-PIN
CONNECTOR
PCM
25-PIN
CONNECTOR
Figure 4-1.
WORKMASTER II
a45093
SLP
a45089
SLP
PIN
PIN
TD
RD
2
3
2
5
RD
TD
CTS
IC690CBL705
3
4
5
8
9
7
3PL
RS–232
(DEFAULT PORT)
RTS
CTS
DCD
DTR
GND
WORKMASTER II
AND
20 DTR
8
1
7
DCD
SHLD
GND
IBM PS/2
4PL
25– PIN
MALE
25– PIN
FEMALE
25– PIN
FEMALE
25– PIN
MALE
Figure 4-2.
GFK-0726B
4-6
State Logic Processor for Series 90-30 PLC User’s Guide – March 1998
4
Custom Made Cables
If you want to make your own cable to connect to some serial device, use the drawing of
the SLP pin assignments and the cable connection drawings in the previous section for
the required connections. Hardware flow control lines must be used when communicat-
ing with the SLP using RS-232. The flow control lines are not used for RS-422/ 485 com-
munications.
a45090
1
2
SHIELD
( PORT 1 ) RS–232 TD
14
15
16
17
18
19
20
21
22
23
24
25
3
( PORT 1 ) RS–232 RD
4
( PORT 1 ) RS–232 RTS
( PORT 1 ) RS–232 CTS
NO CONNECTION
5
6
7
SIGNAL GROUND
RS–232 DTR ( PORT 1 )
8
( PORT 1 ) RS–232 DCD
( PORT 2 ) RS–485 SD ( A )
( PORT 2 ) RS–485 RTS ( A )
( PORT 2 ) RS–485 CTS ( A’ )
( PORT 2 ) TERMINATION ( CTS )
( PORT 2) RS–485 RD ( A’ )
RS–485 SD ( B ) (PORT 2 )
RS–485 RTS ( B ) ( PORT 2 )
RS–485 CTS ( B’ ) ( PORT 2 )
TERMINATION ( RD ) (PORT 2)
RS–485 RD ( B’ ) ( PORT 2 )
9
10
11
12
13
Figure 4-3. Serial Port Assignments for Series 90-30 SLP
GFK-0726B
Chapter 4 Serial Communications
4-7
4
PORT 1
1
PORT 2
1
a45091
SHIELD
RS–232 TD
RS–232 RD
RS–232 RTS
RS–232 CTS
SHIELD
14
2
14
2
15
3
15
3
16
4
16
4
17
5
17
5
18
6
18
6
19
7
19
7
SIGNAL GROUND
RS–232 DCD
SIGNAL GROUND
RS–232 DTR
20
8
20
8
21
9
21
9
RS–485 SD ( B )
RS–485 SD ( A )
RS–485 RTS ( A )
22
10
22
10
RS–485 RTS ( B )
RS–485 CTS ( B’ )
TERMINATION ( RD )
RS–485 RD ( B’ )
23
23
RS–485 CTS ( A’ )
TERMINATION ( CTS )
RS–485 RD ( A’ )
11
11
24
24
12
12
25
25
13
13
a44225
PIN 1
RS–232
25–PIN FEMALE-
CONNECTOR
1 FOOT
(+2.0 INCH, –0 INCH)
LABEL
PORT 1
PORT 2
PCM COMM. CABLE
IC693CBL305B
RS–232
25–PIN MALE
CONNECTOR
RS–232/RS–485
25–PIN FEMALE
CONNECTOR
PIN 1
PIN 1
Figure 4-4. WYE Cable Connections for Series 90-30 SLP
NOTE
In the drawing above, the SD (Send Data) and RD (Receive Data)
connections are the same as TXD and RXD used in other terminologies.
(A) and (B) are the same as - and +. A’ and B’ denote inputs, and A and
B denote outputs.
GFK-0726B
4-8
State Logic Processor for Series 90-30 PLC User’s Guide – March 1998
Chapter 5 Specifications
section level 1 1
figure bi level 1
table_big level 1
5
Table 5-1.
Serial Ports
1RS-232 1RS-422/ 485
3 VoltLithium
Memory Backup Battery
Battery Shelf LIfe
10years
Battery Memory Retention with Power OFF
Operating Temperature
6months nominal
0 to 60 C
Storage Temperature
–40 to 85 C
5-95%
Humidity (non-condensing)
Vibration
3.5 mm, 5-9 Hz:
1.0 G 9-150 Hz
Shock
15 G‘s 11 msec
Table 5-2. Standards
IEC
JIS
485,380
C 0912,
JIS C 0911
DIN
435,380
UL
508,1012
CSA
C22.2No. 142, C22.2
2-230.40
NEMA/ ICS
ANSI/ IEEE
VDE
C-37.90A-1978
805,806,871-877
15J Part A
FCC
VME
Supports VMEStandard C.1
5-1
GFK-0726B
5
Table 5-3. Firmware Specifications
Tasks
256
States Per Task
255
Integer Variables (range –32768 to +32767)
1000
1000
Floating Point Variables (range +/ – 1.175494E–38 to
+/ – 3.402823E+38) 32 BIT IEEE
Format.
String Variables
100
String Variable Size
Character Variables
PID Loops
80 Characters
64
20
Number of Timers
Timer Resolution
Unlimited
1/ 100second
3000
Maximum Total Number of States
Available Program Memory
Flags
46 K Bytes
1000
Total VariablesPlusI/ O
3000
90-30 SLP I/O and Register Specifications
Type
%I
Capacity
512
512
128
64
%Q
%AI
%AQ
%T
256
1024
1280
32
%M
%G
%S
%SA
%SB
%SC
%R
32
32
32
2048
GFK-0726B
5-2
State Logic Processor for Series 90-30 PLC User’s Guide – March 1998
|