Page 5
The current issue status of the manual is :- 20/01/98 Issue 2 Major revisions to all sections 20/04/99 Issue 3 Inclusion of GEM80-400S Controller and minor corrections to all sections. Page ii ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04/99...
Page 6
Directive should be established before any installation, apparatus or machine which incorporates the product is taken into service. The product complies with the requirements of the Low Voltage Directive, 73/23/EEC as amended. Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Page iii...
Page 7
When working on the product, the local health and safety legislation must be observed. Conductors, protective devices etc. should be provided in accordance with the requirements stated in the manual. Operation Page iv ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04//99...
Page 8
This technical manual should be regarded as part of the product. It should be stored with the product and passed on to any subsequent owner or user of the product. Any question or doubt should be referred to ALSTOM DRIVES & CONTROLS Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL...
Page 9
Normal handling of the equipment is safe. However, care must be exercised with those devices incorporating glass or plastic. If these devices are broken or damaged, precautions must be taken against the hazards that may arise. Page vi ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04/99...
Page 10
After eye wash immediately with copious amounts of water contact and seek medical advice. After inhalation seek medical advice. Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Page vii...
Page 11
COSHH GEM80-400 This page left intentional blank Page viii ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04/99...
Page 13
1.15.2. Earthing ......................1-27 1.15.3. High Voltages ....................1-27 1.15.4. Power Down Before Removing Modules or Connectors ......1-27 1.15.5. Power Down Safety Procedure............... 1-27 1.15.6. On-line Programming..................1-27 ALSPA Page x GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04/99...
Page 14
2.11.1. CLEAR STORE..................... 2-24 2.11.2. Declare Highest Address ................. 2-24 2.11.3. Storing Programs....................2-25 2.11.4. Storing Program and Presets in EPROM............2-25 2.11.5. Transferring Program and Presets to EPROM ..........2-26 Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Page xi...
Page 19
8.16.4. Further Details ....................8-12 8.17. Fitting a Memory Expansion Board to the Processor Module ....... 8-12 8.18. Processor Modules fitted with FIP Interface Facility ..........8-12 8.19. A Few Final Comments.....................8-13 ALSPA Page xvi GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04/99...
Page 20
9.18. Power Module Self-test and Manual Test ............... 9-27 9.18.1. Self-test ......................9-27 9.18.2. Manual test ....................... 9-27 9.19. Intermittent Tripping Problems ................. 9-27 9.19.1. Electrical Noise or Electromagnetic Interference ......... 9-27 Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Page xvii...
A5.2. Termination Using Cable End Connectors ............A-2 A.5.3. Terminating Middle Connectors................ A-6 A.5.4. Right Angled Bends in Cable ................A-7 A.5.5. Fitting Ribbon Cable Label ................A-8 Index ALSPA Page xviii GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04/99...
Page 22
GEM80-400 Table of Contents This page left intentionally blank Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Page xix...
Page 23
Table of Contents GEM80-400 This page left intentionally blank ALSPA Page xx GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04/99...
Page 24
The time and date may be read and written via the E-tables from the Data List screen of a suitable GEM 80 programming tool. The clock E-tables are read-only when accessed directly by the ladder program, however they can be written to Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Page xxi...
Page 25
I/O capacity is possible with the 400S version. If more that four Fast I/O Modules are required then the GEM80-400 Enhanced Controller must be used and additional Fast I/O subracks fitted. Page xxii ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04/99...
Page 26
Toggle Flip Flop S128 ONESHOT One-Shot: on for one scan S129 SEQGRP Sequence Group Control T111 Set Reset Flip Flop T112 Reset Set Flip Flop T113 3.2. Rack Id Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Page xxiii...
Page 27
• allocating the time assigned to the operation of the processor module self checks to be a percentage of the user program scan time. Expandability and Adaptability Page xxiv ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04/99...
Page 28
The GEM 80-400S Controller provides space for up to 5 single width Central Highway Modules to be fitted in the controller subrack, and is compatible with the following modules: Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Page xxv...
Page 29
Fast I/O slots available. Where the Fast I/O Modules require a -15V supply then this must be provided by means of a separate power supply. See Chapter 6 for details. Page xxvi ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04/99...
Page 30
GEM 80-400 Enhanced Controller Backplane. The Fast I/O Modules are accessed in the normal way via C- and D-tables. Status linking is not provided. Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Page xxvii...
Page 31
GEM80-400 Standard Controller and up to 5 Central highway Modules in the case of the GEM80-400 Enhanced Controller. This should help to reduce the number of I/O Subracks required and reduce the installation cost for smaller systems. Page xxviii ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04/99...
Page 32
F1 which will also cause a user requested watchdog trip. Values greater than 999 will be displayed as "!???". 7.4. System Log Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Page xxix...
Page 33
(except M-tables). The controller will still accept Halt and Run commands, and allow the user program to be archived and monitored. Page xxx ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04/99...
Page 34
The user program, in an EPROM system without a battery, must assume that all data tables apart from the P-tables will be cleared at power up. 7.7. Controller Firmware Update. Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Page xxxi...
Page 35
This firmware update utility communicates with the GEM 80-400 front panel programming port in the same way as a PC based GEM80 programming tool and will normally be able to use the same serial link connection lead. Page xxxii ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04/99...
Page 36
GEM80-400 Product Overview This page left intentionally blank Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Page xxxiii...
Page 37
GEM80-400 1. Introduction Introduction 1.1. Manual Overview This manual describes the operation, installation and maintenance of the GEM 80-400 Series Controllers . It is intended to be used by qualified Technical Personnel engaged in operating and maintaining plant that is controlled by GEM 80 equipment.
Page 38
1. Introduction GEM80-400 interconnections are shown in this chapter. The GEM80/400S controller accommodates fast I/O modules in the controller subrack and the 400 Enhanced controller can accommodate them in additional Fast I/O subracks. The details are given in this chapter 1.1.6.
Page 39
1.3. GEM 80-400 Series Controller The GEM80-400 Series Controller, which currently consists of the Standard and Enhanced models, is a medium/large powerful PLC which is designed to control and monitor processes and machinery for complex industrial plant applications.
Page 40
1. Introduction GEM80-400 As can be seen from the Specification, later in this chapter, the GEM 80-400 Controller provides considerable memory size and I/O capacity. Figures 1.1 and 1.2 and 1.2A illustrate the GEM 80-400 Standard Controller the GEM80/400S Controller and GEM80-400 Enhanced Controller respectively Figure 1.1 -GEM80-400 Standard Controller.
Page 41
GEM80-400 1. Introduction Figure 1.2A GEM80-400 Enhanced Controller It should be noted that the GEM 80-400 Enhanced Controller may be fitted with either a 9017 or 9018 Power Supply Module. In this example, a 9017 Power Supply Module is illustrated. Note different versions have slightly different front panels Throughout the remainder of this manual, the details given can be assumed to apply to both GEM 80-400 Controllers, Standard and Enhanced, unless otherwise stated or...
Page 42
1. Introduction GEM80-400 As a safety measure, two pairs of watchdog relays are fitted to the backplane. These watchdogs open in the event of a detected controller failure. Refer to Chapter 11 of this manual for further details. 1.4.1. Processor Module The 8239 Processor Module is used to handle all I/O highway communication, serial communication and to run the control program and the ladder compilation.
Page 43
GEM80-400 1. Introduction 1.4.4. Basic and Verification I/O Highways The Basic and Verification Input/ Output Highways are medium speed, parallel, digital highways used for transferring data between the controller and I/O modules or Operator Input Units. Physically, these highways consist of 26-way ribbon cables which can be up to 30 metres long, although loading restrictions apply beyond 10 metres.
Page 44
1. Introduction GEM80-400 Full details are given in the relevant GEM 80 Product Data Sheets and User Information Sheets. The incorporation of a Fast I/O Driver within one of the slots in a 400S or Enhanced Controller is described in Chapter 5 of this manual. 1.4.9.
Page 45
GEM80-400 1. Introduction A retention mechanism has been built into the subrack to provide module security in high shock or vibration applications. This consists of two sliders which pass through notches cut into the upper and lower edges of the PCBs. Pointers at each end of the sliders indicate whether the modules are locked ' ' or unlocked ' '.
Page 46
1. Introduction GEM80-400 The 8239 Processor Module is shown in Figure 1.3. Details of the processor module can be found in Chapter 2 of this manual. Figure 1.3 - 8239 Processor Module Page 1-10 ALSPA GEM80-400 CONTROLLER TECHNICAL MANUAL Issue 3 04/99...
Page 47
GEM80-400 1. Introduction 1.7. 9032 Power Supply The 9032 Power Supply Module is illustrated in Figure 1.4; this module is used specifically with the Standard Controller. It should be noted that the 9032 Power Supply Module is factory-set to 220V. This setting may need to be adjusted, depending on the user's requirements.
Page 48
1. Introduction GEM80-400 1.8. 9017/ 9018 Power Supply Module The Enhanced Controller Subrack contains either one 9017 (ac or dc) or one 9018 (dc only) Power Supply Module, dependent upon the user's supply requirements. The 9017 Power Supply Module is illustrated in Figure 1.5. Detailed specifications of both power supply modules are contained in Chapter 6 of this manual;...
Page 49
GEM80-400 1. Introduction their respective User Information Sheets. A selection of Basic and Verification I/O Modules is shown in Figure 1.6. Figure 1.6 - Basic and Verification I/O Modules 1.10. Central Highway Modules 1.10.1. 8272 Memory Module (RAM) This module contains up to 256K bytes of static random access memory (RAM) arranged in blocks of 64K bytes and sub-divided into a number of areas.
Page 50
1. Introduction GEM80-400 information on these areas is contained in Chapter 2 of this manual. The 8272 Memory Module is illustrated in Figure 1.7. Module Function Label 'PROG' LED Module Type Number EPROM Sub-module - optional 'PROG PASS' LED Battery Pack Battery Low LED (lit for battery low) Ejection Handle 'PROG FAIL' LED...
Page 53
GEM80-400 1. Introduction 1.11. GEM80-400 Controller Backplanes Description Some early controllers may be fitted with backplanes which differ slightly from those shown in figures 1.12 to 1.15. 1.11.1. Upper Backplane Figures 1.12 and 1.13 detail, respectively, the Upper Backplane of the Standard and Enhanced Controllers.
Page 54
1. Introduction GEM80-400 Figure 1.13 - GEM 80-400 Enhanced Controller Upper Backplane type 25X9707 with exploded view centre and right-hand end Page 1-18 ALSPA GEM80-400 CONTROLLER TECHNICAL MANUAL Issue 3 04/99...
Page 55
GEM80-400 1. Introduction The upper backplane for the GEM80-400S Controller 25X9710 is very similar to the 25X9707 except that it has five fast I/O connectors at the left hand end rather than four basic/ verification connectors. In addition it has two Faston connectors immediately to the left of the processor connector to allow a -15V fast I/O supply to be connected.
Page 56
1. Introduction GEM80-400 Processor module connector (SK6) Watchdog Relay 1 (RL1) Five connectors for central highway Watchdog Relay 2 (RL2) modules (SK5-SK1) Interface to upper backplane (PL3) Interlock & Enable Terminal block Power Terminal Block (TB3) Enable Output 0VG Signal Ground Enable Input 0VG Signal Ground Interlock Output...
Page 57
GEM80-400 1. Introduction 1.12. Specification Controller Standard 400S and Enhanced Memory Up to 1Mbyte of off-line RAM for Capacity data storage, including 512Kbytes for additional video formats. Memory support - battery or EPROM Typical 20,000 instructions + 30,000 data tables, as standard; this can be Instruction expanded to give 40,000 instructions by fitting optional memory Capacity...
Page 58
1. Introduction GEM80-400 Voltage Input 9032 Power Supply Module, 9017 Power Supply Module, 88- 88-121V ac (110V nominal), 264V ac @45-63Hz, or 88-250V dc; or 204-264V ac (240V maximum wattage rating: 260W. nominal) @47-63Hz OR 22-85V 9018 Power Supply Module, 19- dc (48V nominal).
Page 59
GEM80-400 1. Introduction 1.13.2. Environment The following environmental conditions apply for GEM 80-400 equipment: Temperature 0 to +60°C operating ( 0 to 50 C if GEMLAN fitted ) -25 to +70°C storage Humidity 5 to 95% RH non-condensing SO 2 25ppm Vol./Vol.
Page 60
1. Introduction GEM80-400 Cegelec Industrial Controls Ltd, Kidsgrove, should be contacted immediately and the following details quoted: List of damaged or missing items Description of any damage. Package numbers. Delivery/Advice Note numbers, dates and any other reference numbers such as order and item numbers. Note...Failure to inform Cegelec Industrial Controls Ltd, Kidsgrove of damage to goods or shortages within three days from receipt of equipment will be held to free Cegelec Industrial Controls Ltd from liability.
Page 61
GEM80-400 1. Introduction 1.13.7. Transmitter Output The field strength generated by a radio transmitter, received at a point 'p' in free space, is a function of the power output of the transmitter and the distance from the transmitter aerial. E = √ √ { (377Pt) / (4π π r 2 ) } or r = (5.5 / E) √...
Page 62
1. Introduction GEM80-400 Protective measures are required when handling PCBs to prevent damage to ESDs. When handling PCBs containing ESDs the following rules must be observed: Personnel handling PCBs shall NOT wear outer clothing which will generate a static charge, e.g. synthetic materials like nylon, cotton is preferable. All personnel handling PCBs shall put themselves in contact with a grounded surface before removing PCBs from their protective packing or from equipment, see the 'Recommended Antistatic Equipment' section,...
Page 63
GEM80-400 1. Introduction 1.14.7. Reference Reading BS 5958: Code of Practice for the Control of Undesirable Static Electricity - Part BS 5783: Code of Practice for Handling of Electro-Static Sensitive Devices. 1.14.8. Recommended Antistatic Equipment The following 3M's Antistatic Equipment is recommended for use: Velostat Wrist Strap Type 2063 - Strap with IMO resistor and alligator clip.
Page 64
1. Introduction GEM80-400 Controllers which are executing, accept on-line program changes, but the controller will freeze all outputs and ignore all inputs for approximately 1 milliseconds per 1000 instructions on recompilation with large programs. Note...(1) The controller cannot tell whether the program change is safe and simply carries out the instructions given.
Page 65
Disposal Under no circumstances must any GEM 80 battery be crushed, incinerated or disposed of in normal waste. Discharged or unwanted batteries are to be returned to the following address for disposal: ALSTOM DRIVES & CONTROLS West Avenue, Kidsgrove, Stoke-on-Trent,...
Page 66
1. Introduction GEM80-400 In the event of a fire, the cell may rupture. However, the amount of lithium involved is very small so any lithium fire will be very minor, lasting only a few minutes. It is best to isolate the supply but only to investigate when all signs of combustion have ceased.
Page 67
GEM80-400 1. Introduction The 'COSHH Regulations 1988 and Completed Cell/Batteries' states the following: '7. Lithium Copper Oxide Batteries Lithium content becomes hazardous (fire and corrosion) if exposed to air and water. The electrolyte is highly flammable. Substance Risk Type of Hazard Lithium Foil High May ignite in air.
Page 68
Modules fitted with an EPROM sub-module, the compiled program and the P- table can be transferred to EPROM memory for increased security. See later in this chapter for further details. Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Page 2-1...
Page 69
I/O scan time, the repetitive cycle will not be regular and the controller free runs. The output scan is the first item in the cycle. If a regular Page 2-2 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04/99...
Page 70
See the 'P-Data Table' section, later in this chapter, for details. Cycle time calculation and measurement is discussed in the 'Calculating and Program Scanning Interval' section of this chapter. Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Page 2-3...
Page 72
The controller can be restarted by switching the power off and then on again, after the fault has been cleared. There are three categories of error and these are detailed in Table 2.1. Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Page 2-5...
Page 73
States of the GEM 80-400 Controller 2.4. The current 'state' of the controller is displayed on the processor front panel display via simple mnemonics, and on the display of a suitable GEM 80 Page 2-6 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04/99...
Page 74
Controller display: "Run". 2.4.4. Running, Test Inputs Inputs are not being read. Outputs are being set from output tables. User program is being scanned continuously. Controller watchdogs are open. Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Page 2-7...
Page 75
User program is not being scanned. Controller watchdogs are open. ESP, terminal and printer ports no longer function. Front programming port no longer functions. GEMSTART CCU communications no longer function. Page 2-8 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04/99...
Page 76
The total cycle scan time is the sum of the times taken by each individual function plus the time taken by any serial communication activity. The free-running cycle time is therefore variable. Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Page 2-9...
Page 77
Verification Inputs to be scanned. number of words of Basic Inputs to be scanned directly. number of words of Basic Inputs to be scanned via an 8191 Expander Module. Page 2-10 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04/99...
Page 78
Verification Outputs to be scanned. number of words of Basic Outputs to be scanned directly. number of words of Basic Outputs to be scanned via an 8191 Expander Module. Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Page 2-11...
Page 79
2.7.1. Programmer Units To obtain the correct display of diagnostic messages and to use the on-line program change facility a suitable GEM 80 programming tool, such as Gemesys 3, is required. Page 2-12 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04/99...
Page 80
'Compilation' and is carried out under the following conditions, for RAM based systems: At power up (automatically). On halt/run transitions (automatically). When the user issues a RECOMPILE command while the program is running. Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Page 2-13...
Page 81
I/O is present. When the TEST INPUTS mode is selected from a suitable GEM 80 programming tool: The Watchdog contacts do not close. Input scanning is executed but the A-tables are not updated. Page 2-14 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04/99...
Page 82
Standard Instruction Set are contained in the 'GEM 80 Programming Manual', Publication No.T391. Note...EPROM based systems cannot be programmed, only downloading to a suitable GEM 80 programming tool, such as Gemesys 3, is allowed. User Program 2.8. Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Page 2-15...
Page 83
Each rung may have up to 5 parallel branches and up to 20 loops (branch open/branch closed). Figure 2.3 - Ladder Diagram Language Page 2-16 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04/99...
Page 84
Table 2.1 details the instruction set. Table 2.1 - GEM 80-400 Controller Instruction Set Some functions are only available in certain controllers . See end of table for details Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Page 2-17...
Page 85
+32767 to - 32768 Array division DIVARAY Integer division limits See Note 6 +32767 to -32768 Linear LINCON Provides arithmetic 4 (See also conversion calculation Note 7) Page 2-18 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04/99...
Page 86
2 OR 1 - OR 13 generation 5. Closed Absolute 3 term PIDABS Provides absolute 15 (See Note Loop Control controller proportional, integral and derivative control with absolute output Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Page 2-19...
Page 87
Makes a number positive Non-zero NONZERO Convert non-zero input into integer -1 9. Numerical Floating point to FPTOINT Floating point to integer Manipulation integer conversion Error flag FPFLAGS Floating point maths error Page 2-20 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04/99...
Page 88
STARNET ports Send Message SEND Transmit outgoing data See note 30 Receive RECEIVE receive incoming data See note 31 Message Log Statistics STATS Report STARNET errors and 1300 statistics Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Page 2-21...
Page 89
(20) 4 + store length (21) 94 + Qty (22) 360 + (11 x message number) + (110 x number of words) + (120 x number of bits) (23) (message length)/2 Page 2-22 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04/99...
Page 90
Certain special functions are only available in the FP ( Floating Point ) versions of the GEM80/400 Processor. These are Floating Point Maths Functions S70-S82, S84, S85, T70, T73 GEMLAN-B Special Functions S86-S88, T86-T89 Control Special Functions T60, T61, T18 Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Page 2-23...
Page 91
This page left intentionally blank Page 2-24 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04/99...
Page 92
If any or all the inputs are floating-point, a floating-point calculation is performed and the output is floating-point. Where a function references a table, reference to a Q-table gives a floating value. Other tables give an integer value. Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Page 2-23...
Page 93
To ensure that unnecessary space has not been allocated by the 'old' version of the program, use of the CLEAR STORE command sets all data table areas to their minimum size first. Page 2-24 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04/99...
Page 94
2.11.4. Storing Program and Presets in EPROM The user program, user messages and P-tables (presets) may be transferred to EPROM for more permanent storage. Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Page 2-25...
Page 95
Run from RAM Run from EPROM Program EPROM Note...S0 may only be changed when the controller is halted. When the controller is running S0 is write protected. 2.11.6. Programming EPROM Page 2-26 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04/99...
Page 96
"PROG PASSED" LEDs light on any 8272 Memory Modules • the S0 table is set to 1 • the controller remains halted • the word "Halt" is written to the alphanumeric display • any IMAGEM Modules restart. Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Page 2-27...
Page 97
This is achieved by enclosing the instruction to write to F1 in an obey block, such as that shown: - - -] [- - - - - - - - - - - - - -OBEY G10.0 BLOCK Page 2-28 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04/99...
Page 98
Each data table location may hold: 16 ON/OFF bits, a numerical value in the range -32,768 to +32,767 or floating point numbers, i.e. the contents of Q-table addresses. Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Page 2-29...
Page 99
Decimal As shown in the above example, when converting from binary to decimal, 2s complement notation is used. Bit 15 is taken as the sign bit and the number Page 2-30 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04/99...
Page 100
The numbers are to base 16 and are denoted by a preceding '@'. The range of numbers covered is from @0000 to @FFFF. 2.13.2.4. Text Text strings are stored using the ASCII format for use as messages. Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Page 2-31...
Page 101
G-table address in the user program is G345 then G0 to G345 will be reserved. Page 2-32 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04/99...
Page 102
Basic and Verification I/O Highways Fast I/O This table stores INPUT data Size sent to the controller from depends Except if Fast I/O Modules on Fast R0.0 set equipme Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Page 2-33...
Page 103
STARNET fitted, or as General Workspace when not used by STARNET TIMING AND These tables are written to FLAGS by the controller and indicate overflow, time, date and timing flags. Page 2-34 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04/99...
Page 104
2000 or 4000 (ms), zero for negative numbers are inserted the sign is ignored free-running and if numbers greater than 2000 or 4000 are inserted the scan time limits to the maximum, Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Page 2-35...
Page 105
Limit flag set ON or OFF after each Can be used more than once in program. Set ON if ADD or SUB instruction result in Error due to + or - 32767 limits. Page 2-36 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04/99...
Page 106
Processor Module must be at design status E06 or greater to be compliant. Modules with serial numbers less than 439 will not be complaint unless they have been returned to ALSTOM Drives & Controls, Kidsgrove for update. Issue 3 04/99...
Page 107
Port 2 F50 to F69 Serial link diagnostics for Serial Port 3 F70 to F129 Serial link statistics See Chapter 9 F70 to F89 Serial link statistics for Serial Port Page 2-38 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04/99...
Page 108
There is one R-table permanently declared in the system which has the function of selecting whether or not certain data tables are retained. R0.0 is set to retain tables. The R-table is not part of the user allocation. Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Page 2-39...
Page 109
To set a single bit in a data table location to 0 if the rung input is 1, otherwise the bit is unchanged. 2.14.1.2. Format ABCDEFG BCDEFG --(S)--+ SET --(R)--+ RESET G12.3 12.3 Page 2-40 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04/99...
Page 110
It should be particularly noted that an ON state driving a RESET coil will be observed as the output bit OFF, because the reset signal turns the memory bit OFF. Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Page 2-41...
Page 111
The SET and RESET retentive coil instructions are extensions to the GEM 80 Ladder Programming Instruction Set. The instructions can be used only with controllers and programming tools with support them, such as Gemesys 3. 2.14.2. JUMP/LABEL Page 2-42 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04/99...
Page 112
To create a LABEL, select the LABEL instruction, as the first element in the rung, from the 'Rung Element Tool Bar'. This causes the LABEL to appear and initiates a dialogue box, into which the Label number is entered. 2.14.2.5. Programming Rules Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Page 2-43...
Page 113
JUMP instruction. 2.14.2.7. Application Notes Example Program | CONDN JUMP +--] [------------------------------------------------->> Rungs to be skipped + LABEL: | 15 Rungs to be obeyed after jump Page 2-44 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04/99...
Page 114
(Timer with ON delay). It should be noted that there are minor differences as follows: TON stores a 'timer initialised' bit in the same location as the 'remaining duration', whilst SEQELEM stores it in a different location. Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Page 2-45...
Page 115
RESET signal that is applied to all STEPs in a group of SEQELEM instructions. GROUP SIMULATE A signal, common to a group of SEQELEM instructions, which aids testing, by allowing all STEPs in a Page 2-46 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04/99...
Page 116
4 adjacent data table locations. All data elements, apart from the ENABLE input and COMPLETED output mentioned above, are held and used in the parameter list. Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Page 2-47...
Page 117
CONDITIONS step is ENABLED and STEP INHIBIT inputs are preventing ACTIONs. TIMER Zm bit 12 Output used to indicated that ON (1) = Timer expired. EXPIRED timer has expired. Page 2-48 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04/99...
Page 118
In addition to the inputs and outputs already described, there are four additional 'GROUP' inputs whose logic states are determined by the SEQGRP (sequence group) Special Function. The usage of these GROUP inputs is as follows: Symbol Condition Result Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Page 2-49...
Page 119
This input is used for simulation of ON (1) = GROUP SIMULATE mode sequence elements, to force all the active. STEPs to use the internal timer to trigger their STEP COMPLETE output. Timing Diagrams Page 2-50 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04/99...
Page 120
Program Entry The instruction can be selected from the 'Rung Instruction Tool Bar' in the usual manner. This initiates a dialogue box into which is entered the instruction data. Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Page 2-51...
Page 121
The application examples which are described here are all shown in the form of a 'sequence overview'. Refer to the following figure, illustrating the overall program structure, as an aid to understanding how the 'sequence overview' fits into the overall program structure. Page 2-52 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04/99...
Page 122
ACTIVE and has expired. STEPs 3 and 4 are ENABLED in a similar manner. Example Program for Parallel Execution of SEQELEMs | SE01/1 SE01/2 SE01/5 +[SQ]-|---+[SQ]-|-+[SQ]-|---------------------------( )--+ | W100 | W104 | W116 W120.0 | Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Page 2-53...
Page 123
01. STEPs 2, 3 and 4 are ENABLED as soon as STEP 1 is COMPLETED. However, unlike case a), STEP 5 is ENABLED only after COMPLETION of ALL of STEPs 2, 3 and 4. Page 2-54 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04/99...
Page 124
The STEP on the top branch will have priority should both W1.0 and W2.0 be permissive; this is due to the order of evaluation of the ladder rung. Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Page 2-55...
Page 126
The copying does not occur on halt to run transitions, or on power off/on, so the elements of a sequence are capable of remembering the state of the plant through a shutdown period. Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Page 2-57...
Page 127
Mode for step 5 no bits ON P218 P219 1200 STEP5 Timer Required Duration P220 *** DATA FOR STEP 6 ******* P221 Mode for step 6 no bits ON Page 2-58 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04/99...
Page 128
The user must avoid any program organisation which causes rungs containing active sequence elements to be executed intermittently. For example, executing a rung containing a sequence element instruction on alternate scans would give inaccurate and unpredictable timing. Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Page 2-59...
Page 129
2. Controller Architecture and Program Operation GEM80-400 This page left intentionally blank Page 2-60 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04/99...
Page 130
Basic I/O. The GEM 80-400 Controller will not trip automatically under these circumstances. This allows you to determine which I/O addresses are necessary for correct operation of the plant. Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLER TECHNICAL MANUAL Page 3-1...
Page 131
3.3. Figure 3.1 shows a typical I/O system using Basic I/O, Verification I/O and Verification I/O converted to Basic I/O using 8191 expanders. Figure 3.1 - Typical I/O System Page 3-2 ALSPA GEM80-400 SERIES CONTROLLER TECHNICAL MANUAL Issue 3 04/99...
Page 133
16-point modules, located in slots 1 to 6, are allocated addresses according to the setting of the three address decoder switches S1, S2 and S3. Modules located in the highest numbered slots are fixed at addresses 6 and 7. Page 3-4 ALSPA GEM80-400 SERIES CONTROLLER TECHNICAL MANUAL Issue 3 04/99...
Page 134
Table 3.3 shows how the switch settings control the slot addresses. Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLER TECHNICAL MANUAL Page 3-5...
Page 135
Details applicable to the 12-slot I/O Subrack are included here to assist the user in configuring a complete system. Note...When used via an 8191-4004 Verification I/O Expander or Remote I/O system, add the base address of these modules to the I/O addresses. Page 3-6 ALSPA GEM80-400 SERIES CONTROLLER TECHNICAL MANUAL Issue 3 04/99...
Page 136
Table 3.6 - 16-Point Modules I/O Slot Addresses Determined By Switch Settings Fixed Address Slots Slots Slots Slots Controlled Controlle Controlle by S3 d by S2 d by S1 S1/S2/S3 Resulting Address of I/O Module in Setting Slot Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLER TECHNICAL MANUAL Page 3-7...
Page 137
Verification I/O ribbon can be 'daisy chained' to successive Verification I/O Subracks. However, there is a limitation on the length of ribbon cable used, imposed by the method of feeding the +15V supply. If the +15V power is directly Page 3-8 ALSPA GEM80-400 SERIES CONTROLLER TECHNICAL MANUAL Issue 3 04/99...
Page 138
PLO, provides Verification I/O Highway connections. Ribbon cables from PLO and PLO connect to corresponding connectors on the upper backplane of the subrack. The Verification ribbon input from the processor Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLER TECHNICAL MANUAL Page 3-9...
Page 139
@1F (31 decimal), the maximum allowable, the module will respond to addresses in the range 35 to 66 (35 + 31). If the switches are set to @20 or higher, neither Basic I/O ribbon is scanned. Page 3-10 ALSPA GEM80-400 SERIES CONTROLLER TECHNICAL MANUAL Issue 3 04/99...
Page 140
Figure 3.3 shows the Range Switches set to @19 (25 decimal). If the address of the module is set to 320, the module will respond to addresses within the range 320 to 345. Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLER TECHNICAL MANUAL Page 3-11...
Page 141
+ 11 n + 27 n + 12 n + 28 n + 13 n + 29 n + 14 n + 30 n + 15 n + 31 Page 3-12 ALSPA GEM80-400 SERIES CONTROLLER TECHNICAL MANUAL Issue 3 04/99...
Page 142
Fn = (n/8) + 200 where n is the I/O address used. E.g. to find the F-table associated with A/B 49 Fn = (49/8) + 200 = 6 + 200 = F206 Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLER TECHNICAL MANUAL Page 3-13...
Page 143
I/O Address Fault I/O Address Fault I/O Address Fault I/O Address Table Table Table Table From From From From 1000 1007 1008 1015 1016 1023 1024 1031 1032 1039 Page 3-14 ALSPA GEM80-400 SERIES CONTROLLER TECHNICAL MANUAL Issue 3 04/99...
Page 144
Figures 3.5 and 3.6. In Figure 3.5, a GEM 80-400 Controller is shown connected to an 8859 I/O subrack via an 8191 Verification I/O Expander. Only the Basic I/O Modules are shown in this example to emphasise the data table content. Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLER TECHNICAL MANUAL Page 3-15...
Page 147
A/B 0 to 15 Figure 3.6 - Typical Verification I/O System Page 3-18 ALSPA GEM80-400 SERIES CONTROLLER TECHNICAL MANUAL Issue 3 04/99...
Page 148
In practice, both Basic and Verification I/O Modules can be accommodated in the same subrack. As previously explained, the 8191 Verification I/O Expander must be employed when Basic I/O Modules are to be addressed. Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLER TECHNICAL MANUAL Page 3-19...
Page 150
Table 3.9 - I/O Ribbon Cable Current Carrying Capacity Length of Maximum I/O Ribbon Current Carried (Metres) (Amps) 1.05 0.84 Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLER TECHNICAL MANUAL Page 3-19...
Page 151
+5V and +15V requirement of I/O Modules. Note...Care must be taken to ensure that the controller power capacity or ribbon cable capacity is not exceeded. Page 3-20 ALSPA GEM80-400 SERIES CONTROLLER TECHNICAL MANUAL Issue 3 04/99...
Page 152
I/O Ribbon cable. Figure 3.7 shows multiple subracks powered from the Basic I/O Ribbon cable. Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLER TECHNICAL MANUAL Page 3-21...
Page 153
All wiring is VERY CLEAN (see Cable Routing and Segregation, Chapter 7) Page 3-22 ALSPA GEM80-400 SERIES CONTROLLER TECHNICAL MANUAL Issue 3 04/99...
Page 154
TB1.7 (+15V) and TB1.8 (0V) on the I/O subrack backplane. Figure 3.8 shows the method of connecting I/O subracks using discrete wiring. No additional links are required on the I/O subrack backplane; this is to avoid feedback. Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLER TECHNICAL MANUAL Page 3-23...
Page 155
If required, the I/O subracks can be fed from an external power supply module (+15V), connecting +15V to TB1.7 and 0V to TB1.8 on the 12-slot I/O subrack. The Page 3-24 ALSPA GEM80-400 SERIES CONTROLLER TECHNICAL MANUAL Issue 3 04/99...
Page 156
Link LK5 on the Expander must be fitted in position 'B' when power is supplied through the Verification I/O ribbon cables. Figure 3.9 shows the position of LK5 on the module. Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLER TECHNICAL MANUAL Page 3-25...
Page 157
I/O subrack backplane terminal block. However, the supply can be fed from an external power source. Full details of the subrack backplane connections are given in the 'I/O Subracks User Information Sheet', Publications Page 3-26 ALSPA GEM80-400 SERIES CONTROLLER TECHNICAL MANUAL Issue 3 04/99...
Page 158
2nd socket (1st I/O subrack) - length A. The length between I/O subracks (sockets 2, 3 & 4) is one metre in each case, see Figure 3.11 for details. Figure 3.11 - Standard Ready Assembled I/O Ribbon Cables Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLER TECHNICAL MANUAL Page 3-27...
Page 159
Basic I/O and Verification I/O ribbon cables is given in the 'I/O Subracks User Information Sheet', Publications No. T1503 and T1504. WARNING ALSTOM DRIVES & CONTROLS accepts no responsibility for failure of non-standard ribbon cables or damage to any equipment caused by the connection of faulty non-standard ribbon cables Length Limits for 26-Way Basic I/O Ribbon Cables 3.12.
Page 160
Note...The 0Ω resistor is located immediately to the right of the I/O module connector as illustrated in Figure 3.14. A typical module interlock circuit is shown in Figure 3.13. Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLER TECHNICAL MANUAL Page 3-29...
Page 162
The enable signal would normally be provided via the watchdog follower relay so that the outputs are inhibited on initial switch-on and when the watchdog opens. Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLER TECHNICAL MANUAL Page 3-31...
Page 163
Note...Each Output Enable Module connected using the GEM 80 power supply draws an additional 10mA. Figure 3.15 - Connection of Output Enable Signal using the GEM 80 Power Supply Page 3-32 ALSPA GEM80-400 SERIES CONTROLLER TECHNICAL MANUAL Issue 3 04/99...
Page 165
Expander Module, does not occur, as this can cause problems during commissioning. Relevant F-tables should be monitored when adding Verification I/O Expander Modules and I/O modules to the system. Page 3-34 ALSPA GEM80-400 SERIES CONTROLLER TECHNICAL MANUAL Issue 3 04/99...
Page 166
Figure 3.17- GEM80-400 Enhanced Controller and I/O System Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLER TECHNICAL MANUAL Page 3-35...
Page 167
8168 8168 8112 8112 8191 Total Module (mA) Current: at +5v Current: 1454 at +15V Rack 3 Slot No. 12 11 10 9 Total Module (mA) Current: at +5v Page 3-36 ALSPA GEM80-400 SERIES CONTROLLER TECHNICAL MANUAL Issue 3 04/99...
Page 168
Current: at +15V Rack 4 Slot No. 12 11 10 9 Total Module (mA) Current: at +5v Current: at +15V Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLER TECHNICAL MANUAL Page 3-37...
Page 169
Rack 3 Slot No. Total Module (mA) Rack 3 Current: at +5v Current: at +15V Rack 4 Slot No. Total Module Rack 4 (mA) Current: at +5v Current: at +15V Page 3-38 ALSPA GEM80-400 SERIES CONTROLLER TECHNICAL MANUAL Issue 3 04/99...
Page 170
This page left intentionally blank Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLER TECHNICAL MANUAL Page 3-39...
Page 171
Communications Introduction 4.1. GEM 80-400 Controllers may transfer and receive controller memory data using serial communications links. The serial ports can be used for the following types of application: Operating the GEM 80-400 Controller as part of a distributed controller network, i.e.
Page 172
Figure 4.1 - Serial Port Connections Note...In the case of GEM 80-400 Enhanced Controllers, further serial ports can be added using Fast I/O Serial Communications Modules and/or STARNET Modules. See the relevant User Information Sheets for connection details. 4.1.1. Connecting Serial Ports 1 and 2 Serial Ports 1 and 2 produce RS232 and RS485 format signals.
Page 173
Figure 4.2 - Serial Ports (Ports 1 and 2) Pinouts The RS232 output from Port 1 or 2 may be converted to 20mA current loop using a suitable active converter. GEM 80-400 to other GEM 80 Controllers 4.2. Some GEM 80 controllers other than the GEM 80-400 provide a form of 'RS422' serial links.
Page 174
4.2.1. Communication Protocols The GEM 80-400 Controllers have a built-in facility for communicating with other GEM 80 equipment using a communication protocol called ESP (Extended Simple Protocol). ESP enables a GEM 80-400 Controller to transmit and receive the contents of up to 128 data tables at any one time through a serial communications link to other GEM 80 controllers.
Page 175
Ports 1, 2 and 3 are configured by presetting data in the P-data table, and then entering a RECOMPILE command (powering down is not required). The type of serial port is determined by the value entered in P11 for Port 1, P31 for Port 2 or P51 for Port 3, and the function of the rest of the P-table locations is dependant upon this value.
Page 176
CONTROL TRIBUTARY PORT PORT ( Set up by Data (Set up by Data in Controller 1 in Controller 2 P - Tables ) P - Tables ) RS232 50 Feet Maximum Distance PORT 1 Rx PORT 1 Connector 0V 0V Connector Figure 4.5 - Point-to-Point Serial Communications Link Between Two GEM 80-400 Controllers, RS232 4.3.2.
Page 177
GEM80 -400 GEM80 -400 CONTROLLER CONTROLLER TRIBUTARY PORT CONTROL ADDRESS 0 PORT GEM80 -400 CONTROLLER TRIBUTARY PORT ADDRESS 1 GEM80 -400 CONTROLLER TRIBUTARY PORT ADDRESS 2 Figure 4.6 - Multi-drop Serial Link Issue 3 04/99 ALSPA GEM 80-400 SERIES CONTROLLERS TECHNICAL MANUAL Page 4-7...
Page 178
MULTIDROP CONTROL PORT (Set up by data in Controller 1 P table ) Controller 1 Port 1 connection RXA RXB TXA TXB 220R 220R TRIBUTARY PORT (Set up by data in Controller 2 P table ) Controller 2 Port 1 connection TXA TXB RXA RXB 220R 220R...
Page 179
This is achieved by fitting a link in the Printer/Programming cable connector; see Figure 4.8 for Issue 3 04/99 ALSPA GEM 80-400 SERIES CONTROLLERS TECHNICAL MANUAL Page 4-9...
Page 180
details. When used to program, the port may be used at either 9,600 or 19,200 baud. The baud rate is automatically selected by the GEM 80. Suitable GEM 80 programming tools, such as Gemesys 3, have the option under the set-up menu to select the faster baud rate.
Page 181
If it is to be connected to a suitable GEM 80 programming tool, such as Gemesys 3, using RS232 then link the following: Pin 1 to Pin 7 Pin 2 to Pin 8. Communication with a Printer, VDU or Suitable GEM 80 Programming 4.4.
Page 182
Port 1 Port 2 2 Port 3 Contents Baud rate (110 to 19,200) 0 = Printer mode 1 = Terminal mode 2 = Free format mode No. of characters per line (1 to 132) No. of padding characters (1 to 131) Parity Enable 0 = 8 data bits no parity 1 = 7 data bits plus 1 parity bit...
Page 183
terminal or VDU terminal. It performs the functions of auto-echoing and line editing without the need for user programming. The terminal is expected to have the following characteristics (ASCII character names are shown in parentheses): Pressing the carriage-return key generates @0D (CR). Pressing the Delete/Rub out key generates @7F (DEL).
Page 184
replaced in the line buffer with @FF and is echoed back to the VDU as SUB. Thus, if the VDU displays an upside-down question mark for SUB (@1A), the operator will be able to back space to any symbol of this type on the line and overkey the character to re-transmit it to the printer/Keyboard Port.
Page 185
To furnish the user program with information regarding the state of the output buffer, two flags called the 'empty flag' and the 'filling flag' are provided. The empty flag is set ON between program scans when the cyclic buffer is empty and all characters have been transmitted.
Page 186
to the message area of the P-table the messages will be moved and the extra P-table created filled with zeros. The quantity of messages that can be stored in a system is restricted only by the memory occupied by data tables and the user program. Remember that data table P2 contains the length of the preset message area in bytes and is therefore limited to the maximum number that can be stored.
Page 187
After loading a program containing messages, the program must be compiled before using the editor. The editor cannot be entered until this has been done. Whenever the editor is ready to accept input it will output the 'greater than' symbol, '>', known as the prompt. Entry of input is terminated in one of two ways: By pressing the ESC key which aborts the current command.
Page 188
normalised form, with only one significant digit before the decimal point. For example, a format entered as ^###.## will be displayed as ^#.##. Stands for Message and is the command for adding new messages and replacing existing ones. The editor automatically repositions other messages if the size of an existing message is changed.
Page 189
Serial Communication Between Two or More GEM 80 Controllers 4.5. (ESP Protocol) When communication is required between two or more GEM 80 controllers, the serial port of one of the controllers must be used as a control port and the rest as tributaries.
Page 190
4.5.1.2. User-Control Mode User-control mode uses data in the I-table to control the generation of a reply. The I-table is set to indicate reception and length of received message. The transmission of the reply is initiated at the end of the program scan in which the I- table bit is set.
Page 191
P22 to P29 P42 to P49 Unused Table 4.5 - J- and K-Tables for an ESP Control Port Port 1 Port 2 Function J/K0 to 31 J/K512 to 543 Tributary address 0 J/K32 to 63 J/K544 to 575 Tributary address 1 J/K64 to 95 J/K576 to 607 Tributary address 2...
Page 192
Table 4.6 - I-Table for an ESP Control Port Port 1 Port 2 Contents Transmit and receive flags bit 0 - Transmit flag tributary address 0 bit 1 - Transmit flag tributary address 1 bit 2 - Transmit flag tributary address 2 bit 3 - Transmit flag tributary address 3 bit 4 - Transmit flag tributary address 4 bit 5 - Transmit flag tributary address 5...
Page 193
Table 4.7 - I-Table for an ESP Control Port Using Flexible Data Tables Port 1 Port 2 Contents Transmit and receive flags bit 0 - Transmit flag, Route 0 bit 1 - Transmit flag, Route 1 bit 2 - Transmit flag, Route 2 bit 3 - Transmit flag, Route 3 bit 4 - Transmit flag, Route 4 bit 5 - Transmit flag, Route 5...
Page 194
Route 3, Tx and Rx addresses (bits 0 to 7 (Tx) = 0 to 15 bits 8 to 15 (Rx) = 0 to 14) Route 4, Tx and Rx addresses (bits 0 to 7 (Tx) = 0 to 15 bits 8 to 15 (Rx) = 0 to 14) Route 5, Tx and Rx addresses (bits 0 to 7 (Tx) = 0 to 15 bits 8 to 15 (Rx) = 0 to 14)
Page 195
4.5.3. J- and K-Tables for an ESP Control Port with Flexible Data Tables When an ESP control port is configured for flexible data tables, P11/31 = 3, the tables are assigned dynamically according to the two-byte values set in P14 to P21/P34 to P41.
Page 196
P-table Bits 8 to 15 Bits 0 to 7 J/K-tables assigned. (J - tables) (K-tables) P14 = 0020 32 10 assigns the first 32 tables to J0 to J31 and K0 to K31 P15 = 3420 52 10 32 10 assigns the next 52 tables to J32 to J83 and K32 to K83 P16 = 1002...
Page 197
transmitted immediately The reply message, if received, is placed in the J-tables and the length, if using flexible data tables, is placed in the appropriate I-tables. The receive flag is then set to inform the user program of the arrival of the reply message and the link statistics are updated to show that the transfer was successful.
Page 198
Set the Tx address in the I-tables to 15. Set the transmit data in the appropriate K-tables. Set the transmit flag for the route in the I-table. When the message has been transmitted, the transmit flag is automatically cleared. Notes... (1) The tributaries do not reply to a broadcast message.
Page 199
4 off 220R Resistors Controller RXB RXA TXB TXA RXB RXA TXB TB4.10 .9 B4.10 ( LAST IN LINE ( FIRST ) Figure 4.9 - GEM 80-400 Controller to GEMSTART CCU Interface 4.6.2. P-Tables Table 4.10 shows the configuration data which must be entered into the P-table if the GEM 80 serial links are to operate in the GEMSTART CCU mode.
Page 200
PRINTER TRIBUTARY CONTROL CONTROL (Flexible J/K table allocation) GEMSTART CCU ENHANCED GEMSTART CCU PRINTER 4.6.3. J/K-Tables These tables hold the data to be sent and the data that is received from the GEMSTART CCU. Four locations in each table are reserved for each GEMSTART CCU.
Page 201
For example: If P11=6, P15 =61= ASCII 'R' and P16 = 5, the configuration information starts at R5. R5 to R9 contain the control data (non-user changeable) R10 contains the start of the configuration data for GEMSTART CCU 0, R15 for GEMSTART CCU 1, etc. If P11=8 then R5 to R14 contains the control data and R15 contains the start of the configuration data .
Page 202
Maximum Length of Serial Links 4.9. The maximum length of cable associated with RS485 and RS232 is 3Km and approximately 15m, respectively. A discussion of this topic is available in Serial Links Technical Publications such as the 'Serial Communications Manual', Publication No.T457.
Page 203
choice of two protocols, HDLC (High Level Data Link Control) or ESP (Extended Simple Protocol). For full details of the STARNET Module, including more information on operation, software and connections, see the 'STARNET User Information Sheet', Publication No.T464, and refer also to Chapter 5 of this manual.
Page 204
Central Highway Modules Introduction 5.1. The GEM 80-400S and GEM80-400 Enhanced Controller subracks provide 5 slots which may be fitted with Central Highway Modules. The following tables list the Central Highway Modules which may be fitted into the controller subrack together with the number of subrack slots they require. The tables also list the maximum number of a particular module type that the default Enhanced Controller configuration caters for.
Page 205
procedure, the layout is recorded in the space provided on the lower subrack label. This may be done by sliding off the protective cover strip, writing the full ordering code (e.g. 8284-4001) of each module onto the label, and then replacing the cover strip.
Page 206
As the Central Highway space is searched from left to right (viewed from the front of the controller subrack), the first 64K block of RAM configured as Off-line memory, on the leftmost RAM Module, will become Block Number 0, the next block, Block Number 1, etc.
Page 207
a multi-coder link from its default Central Highway site to its Fast I/O site. These multi-coder link sites are situated on the upper backplane, slightly to the left of the GEM 80-400 Processor Module and are labelled "Fast I/O" and "SLOT1". Multi- coder links should always be fitted so that the red stripe is closest to the top of the subrack.
Page 208
Repeat 1 and 2 until there is a choice. Assign any double width modules to two adjacent slots, attempting to cover up any unwanted functionality. Assign single width modules to cover up unwanted functionality. Redo steps 3 and 4 to obtain the most logical layout. Record the chosen layout in the space provided on the lower rail label.
Page 209
Where: GEMLAN-D accessed as GEMLAN-D 0 GEMLAN-D accessed as GEMLAN-D 1 IMAGEM 0 IMAGEM 1 RAM Module used for OFF-LINE memory RAM Module split between OFF-LINE and IMAGEM memory Page 5-6 ALSPA GEM 80-400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04/99...
Page 210
Central Central Central Central Central Highway Slot Highway Slot 2 Highway Slot 3 Highway Slot 4 Highway Slot Unit ID 0 Unit ID 1 Unit ID 0 Unit ID 1 Unit ID 0 Processor Unit ID Number 128K IMAGEM 256K IMAGEM 256K Off-line 256K Off-line 256K...
Page 211
Figure 5.2 - IMAGEM Module Note...The Signal Ground (S.G.) must be connected to a clean ground to provide a suitable ground connection for the front end circuit. Page 5-8 ALSPA GEM 80-400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04/99...
Page 212
5.7.2. L-Data Table The display is controlled by the content of the L-table (see Table 5.1) and the controller writes data to the L-table to select the required display. The video processor outputs one picture at a time and each picture can be divided into four formats.
Page 213
or colour printers. When 'daisy-chaining' monitors, make sure that the 75Ω/high impedance input switches on each monitor are correctly set. Set the last monitor switches to 75Ω and all previous monitors in the chain to high impedance. Also illustrated, on the front panel, is the Video Program Port to which a suitable GEM 80 programming tool, such as Gemesys 3, may be connected.
Page 214
Further details of IMAGEM programming, suitable monitors and power supply modules, and other information on the video is available in either the Product Data Sheets or the 'IMAGEM Programming Manual' Publication No. T390. STARNET 5.10. 5.10.1. Introduction GEM 80 STARNET Modules provide the GEM 80-400 Enhanced Controller with a fast and flexible communications facility for running a master/slave protocol.
Page 216
5.10.2. Power Supplies The STARNET Module plugs directly into the GEM 80-400 Enhanced Controller Central Highway and draws power from the GEM 80 controller power module. External power supply connections are not necessary. Each module draws approximately 1.7A at +5V from the GEM 80 controller power module. For further information, see the 'STARNET User Information Sheet', Publication No.
Page 218
5.11.2. Hardware The GEMLAN-D Module is a double width module that fits into a GEM 80-400 Enhanced Controller subrack. Network connections to the module are made via the connectors on the front panel. GEM 80 system connection is made via connectors at the rear of the module.
Page 219
For further details and information regarding the GEMLAN-D Module, refer the 'GEMLAN-D Module Technical Manual', Publication No. T1603. Fast I/O 5.12. 5.12.1. Introduction Fast I/O equipment can be incorporated into the GEM80-400S and GEM80-400 Enhanced Controllers. It is not possible to include Fast I/O into the GEM80-400 Standard Controller.
Page 220
1. Module Function Label 2. Module Ordering Number 3. Ejection Handle Figure 5.6 - Fast I/O Driver Issue 3 04/99 ALSPA GEM 80-400 SERIES CONTROLLERS TECHNICAL MANUAL Page 5-17...
Page 221
5.12.2. Adding Fast I/O Equipment 5.12.2.1. Adding Fast I/O to GEM80-400S Controllers Any of the range of Fast I/O modules can be added to the 400S controller. The Fast I/O section of the subrack comprises the five slots at the left hand end. The right most slot is reserved for the Fast I/O Driver and is labelled 8300 on the subrack label.
Page 223
R0 PL8 Pin 3 R1/U06/W6 (XCINA) ) - Twisted pair between Subracks R0 PL7 Pin 8 R1/U06/W19 (0V) Remove R12 on the Enhanced GEM80-400 Upper backplane Fast I/O Group Enable links - Wired from rear subrack pins (nearest to 50 Way ribbon header) R0/U8/C28 (Slot 1) -- R1/U20/C07 ) - Twisted pair between Subracks...
Page 224
The Fast I/O Module number is derived from the position in which the Fast I/O Module is fitted in the subrack. Table 5.2 - Fast I/O Addresses C & D-Table Module 400S 12-Way Fast I/O Subrack Address Number Controller Slot Fast I/O Slot 0 to 31 32 to 63...
Page 225
Power Supplies Power Supply Requirements 6.1. The GEM 80-400 Controller requires one of the following supplies: Standard - 88 to 121V ac, or 204 to 264V ac, single phase, 47 to 63Hz AND/OR 22 to 85V dc - 9032-4002 or 9032-4010 Power Supply Module.
Page 226
Figure 6.1 - Power Input Terminal Block Figure 6.2 - Filter Assembly for 9017-4001 Power Supply Page 6-2 ALSPA GEM 80-400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04/99...
Page 227
Power Supply Specification 6.2. 6.2.1. Controller Power Supply Module Specification Table 6.1 details the specification of each of the controller power supply modules. Table 6.1 - GEM 80-400 Controller Power Supply Modules Specification 9017 Power Comments 9018 Power Comments 9032 Power Comments Module Module...
Page 228
Inrush 1.8A For ac 3.6A at 24V, Current 50A at 110V For either ac maximum at operation, 7.2A at 48V decays ac, 25A at or dc 121V ac, 4.2A current (i.e. 0.15A exponentially 240V ac, operation, maximum at peaks per volt) with 87ms 86A at 48V current peak...
Page 229
The Red ‘POWER’ LED on the 9017-4001 Power supply indicate that an incoming supply is present at the unit and could therefore be illuminated whether the power supply itself was switched on or off. The Green ‘POWER’ LED on the 9017-4010 however, only illuminates when there is an incoming supply, the power supply is switched on and the internal control supply is healthy.
Page 230
Inrush 2.6A maximum at For ac operation, 3.6A at 24V, 7.2A Current 121V ac, 6A current peaks at 48V, (i.e. 0.15A decays maximum at 264V decay over per volt). exponentially ac, 4A at 250V dc. approximately with 125ms 500ms. For dc time constant.
Page 231
6.3.1. Power Consumed from Power Supply Module Table 6.3 details the power consumed by each item of equipment. Table 6.3 - Current Consumption in Milliamperes +15V -15V Controller Processor Module 2,600 8272 Series RAM/EPROM Modules 1,000 Extra for EPROM Sub-module IMAGEM Video Processor 2280 STARNET Module...
Page 232
6.4.1. AC Fed Only Power input connections are on the front of the 9032 Power Supply Modules as shown in Figure 6.3. AC power input is via the ac power connector which is supplied loose with the equipment. Line, neutral and earth connections are as marked on the connector.
Page 233
9017-4010 9032-4010 2. AC Power Input Socket 4. DC Input Anti-Surge Fuse 5. DC Power Input Socket 6. Output Control Switch 7 Combined AC Power Input, AC fuse holder and AC voltage selector. Figure 6.3 - Power Supply Module AC and DC Connections Figure 6.4 - Signal Ground and Safety Earth Connection for AC Input 6.4.2.
Page 234
connection only. A 3-metre lead is available for the dc power input socket, order code 8891-4072. The wires are colour coded as follows: Positive - Brown, Negative - Blue, Earth - Yellow/green. Connections for power input safety earths and signal grounds for dc only fed GEM 80 are shown in Figure 6.5.
Page 235
Figure 6.6 - Signal Ground and Safety Earth Connection for AC and DC Input 6.4.4. -15VDC Fast I/O Power Supply If the Fast I/O modules fitted to the controller subrack require a -15VDC supply the user must fit a suitable power supply which is connected by means of a pair of twisted wires to the rear of the controller subrack.
Page 236
Figure 6.7 -- Fast I/O Power Connections for GEM80-400S Controllers Page 6-12 ALSPA GEM 80-400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04/99...
Page 237
GEM80-400 7. Installation Installation Subrack Specification 7.1. The subrack is delivered fully assembled. Module guides, on a 0.4-inch pitch, are an integral part of the subrack. System builders must ensure that power supply modules are removed from subracks before shipping. Modules are inserted from the front of the subrack and are retained by two sliding strips built into the subrack which lock the modules in position by engaging slots at the top and bottom of the modules.
Page 238
7. Installation GEM80-400 Humidity 5 to 95% RH non-condensing SO 2 25ppm Vol/Vol H 2 S 15ppm Vol/Vol Nitrous Oxides 15ppm Vol/Vol Dimensions 356mm high (8U) x 483mm wide x 332mm deep with modules and front connectors fitted. Allow 15mm for plant-side wiring. Fire resistance UL94V-0 UL Approval...
Page 239
GEM80-400 7. Installation Ensure that the space at the rear of the mounting panel is a minimum of 600mm wide and 500mm deep with an aperture of 450mm. Insert a mounting peg into the top fixing hole of each of the subrack flanges Insert the subrack assembly sideways through the mounting panel aperture, rotate the subrack to offer the front of the assembly to...
Page 240
7. Installation GEM80-400 When GEM 80 equipment is supplied loose for the customer to mount in a cubicle, the installation procedure is as follows: Plan the layout of GEM 80 equipment in the cubicle. Assemble the cubicle and fix it in position. Mount the equipment in the cubicle.
Page 242
7. Installation GEM80-400 Figure 7.3 - Typical GEM 80 3-Cubicle Layout 7.4.4. Position of GEM80 Controller It is recommended that the controller be mounted at a reasonable height for access (i.e. between waist and eye level) to permit: Connection of a suitable GEM 80 programming tool, such as Gemesys 3. Access to control switches.
Page 243
GEM80-400 7. Installation terminal blocks containing the Watchdog terminals and the power supply output terminals are accessible from the front of the Standard Controller subrack with the 9032 Power Supply Module and the 8239 Processor Module removed. These connections are accessible in the Enhanced Controller subrack by the removal of the blanking panel and the 9017/9018 Power Supply Module.
Page 244
7. Installation GEM80-400 7.4.8. Cable Routing and Segregation To help in removing the possibility of noise problems, GEM 80 interconnecting cables are categorised into groups and these separate groups must be run physically separated by at least the distances given in Figure 7.5. Figure 7.5 - Wiring Segregation 7.4.9.
Page 245
Cabling GEM80 7.5. 7.5.1. Tools for Cabling 7.5.1.1. Ribbon Cables No special tools are required for the installation of factory-assembled ribbon cables. Special tools are required for assembling connectors onto ribbon cables and for the user wishing to assemble his own cables, details are given in Appendix A. 7.5.2.
Page 246
Figure 7.6 - GEM 80-400 Controller Signal Grounds and Earthing - Typical Example 7.5.3.2. GEM 80 0V The system logic 0V is classified as very clean, it should be run directly from the 0V connection on the controller subrack to the signal ground bar. Minimum wire size should be 1.5mm²...
Page 247
7.5.3.3. Screen Signal Grounds These should run from signal ground terminals on the termination units to the signal ground bar; the screens should be run to a star point, never in a loop. They should be run with the cable whose screen is being connected to signal ground, and in accordance with the segregation requirements in the 'Wiring Segregation Within GEM 80 Cubicles' section of this chapter.
Page 248
Any loose wires must be properly insulated and secured to prevent inadvertent contact with any metal parts or by persons needing to work on the equipment. All plantside connectors must be mechanically restrained using the various locking mechanisms provided to prevent accidental disconnection. 7.6.2.
Page 249
Table 7.1 - Plant Cabling Unit Location of Size of Remarks Connections Conductors Basic/Compact Lower, front part Up to 1.5mm²; On 8-way I/O modules only, the plastic I/O Subrack of individual 8- shroud must be fitted after plant terminations Point conductor per have been made.
Page 250
on the mechanism being positioned opposite the open or the closed symbols marked on the subrack flanges. The open position is shown by a circle ' ' and the circle is filled in ' ' to indicate the closed position. Under normal conditions, retention should not be required, but the slider should be left in the locked position.
Page 251
1. Decoder Switch Setting S1 2. Decoder Switch Setting S2 3. Decoder Switch Setting S3 4. Expander Decoder Switch Setting Figure 7.7 - I/O Label Ribbon Cable Connectors 7.10. There is a self-adhesive strip label on the cable next to the connector which has a 'write-on' area for identifying where it connects to and also other information;...
Page 252
This page left intentionally blank Page 7-16 ALSPA GEM 80-400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04/99...
Page 253
GEM80-400 8. Commissioning Commissioning Introduction 8.1. Your GEM 80 controller and I/O will have to be configured to meet your particular requirements. It is extremely unlikely that these requirements are the same as those of other GEM 80 customers. Therefore, we can only give you general commissioning procedures rather than specific ones for your particular system.
Page 254
8. Commissioning GEM80-400 These will allow you to write test programs for checking out the equipment. In addition, you will need User Information Sheets or Technical Manuals, depending on your system configuration, for: Basic I/O Modules Verification I/O Modules and, optionally, in the case of Enhanced Controller systems: Fast I/O Modules Extra Central Highway Modules (such as IMAGEM videos, GEMLAN-D Modules,...
Page 255
GEM80-400 8. Commissioning watchdog follower relay should be put at the neutral end of the circuit. Check with a multimeter that there is no voltage, relative to ground, on either of the watchdog terminals on the GEM 80 controller subrack, and that they are safe to work on.
Page 256
8. Commissioning GEM80-400 Set the switch on the power module front panel to RUN or '1', depending on the type of power module fitted. Check the LED indicators for healthy conditions. (10) Set the switch on the power module to STANDBY or '0', depending on the type of power module fitted.
Page 257
(ii) above. If the link failure has cleared, proceed with the checks at (b) below. (viii) If the link failure is still present, note as much detail as possible, including any fault codes, and contact Customer Support, ALSTOM DRIVES & CONTROLS, Kidsgrove, with this information. Issue 3 04/99...
Page 258
8. Commissioning GEM80-400 Set the controller into the RUN mode. Check that the Watchdog LEDs on the Processor light and extinguish a number of times, and finally remain lit. Simultaneously with (c) check that the Watchdog relays can be heard to click in and out and finally remain energised.
Page 259
GEM80-400 8. Commissioning Basic and Verification I/O Logic Input Checks 8.10. A GEM 80 series controller will only scan I/O addresses that are referred to in the user ladder program. You can therefore begin by putting in a rung which contains a number of A-table references and outputs to an internal trash can workspace table location (e.g.
Page 260
8. Commissioning GEM80-400 (14) Check that each input state can be seen to change on the programming tool screen when the corresponding plant device is operated. (15) Check also each input by LED indication on the module front panel. If checks (14) and (15) both fail for an input device, you may have: a cable terminated on a wrong terminal or wrong module.
Page 261
GEM80-400 8. Commissioning Fast I/O Input Checks 8.12. If your controller does not include any Fast I/O Input Modules, skip to the 'Connecting Output Equipment' section of this chapter. Switch OFF those power modules that feed the processor subrack and any separate Fast I/O subrack.
Page 262
8. Commissioning GEM80-400 − Ensure that plant-side power is disconnected from the output modules. − With the GEM 80 programming tool set to Data List mode (or suitable equivalent if Gemesys 3 is not your programming tool), check each I/O output in turn by writing to the B-table addresses for Basic and Verification I/O and D-table for Fast I/O...
Page 263
GEM80-400 8. Commissioning Connecting Output Equipment 8.14. Once you have checked the outputs and found them to operate correctly without plant-side power, the next stage in the commissioning procedure is to connect the plant-side power to them. Check that each output device responds to the controller in an appropriate manner, e.g.
Page 264
8. Commissioning GEM80-400 Note...The Tx LEDs on the processor module, when it is configured as a Control Port, light when it attempts to transmit, even if no serial link connections are made. There are several types of serial link. To keep this chapter reasonably brief, we cannot tell you in detail how to commission every individual type.
Page 265
GEM80-400 8. Commissioning For user-controlled serial link, you will also need to set values and bits in appropriate locations in I-table to initiate transmission, or to set message destinations. Note...As with printer ports, control and tributary ports will only exchange data with each other if they are set to the same baud rate.
Page 266
8. Commissioning GEM80-400 Processor Modules fitted with FIP Interface Facility 8.18. If the processor is fitted with the FIP Interface facility then consult the FIP Manual T1653. Some older controllers were fitted with separate FIP Interface modules. If attempting to fit an Interface board then the User Instructions sheet contained with the Interface should be followed.
Page 267
GEM80-400 8. Commissioning This page left intentionally blank Issue 3 04/99 ALSPA GEM 80-400 SERIES CONTROLLERS TECHNICAL MANUAL Page 8-15...
Page 268
Maintenance and Fault Finding General 9.1. This chapter gives details of the upkeep and general maintenance requirements of the GEM 80-400 Controller, and includes fault finding information which can be used in the event of either an in-service fault or faults which occur because of ladder program development.
Page 269
Batteries 9.4. 9.4.1. General The battery life times depend on the proportion of time that the battery is supporting memory, and mains power is switched off. The GEM 80-400 Processor Module memory is supported by a 950mA/H lithium/manganese dioxide battery, which has a typical shelf-life of 6 years (4 years minimum) and a typical support life, after one year powered up, of 9 weeks minimum at 70°C or 47 weeks minimum at 40°C.
Page 270
9.4.3. Battery Replacement Procedure Note...The system should be powered up while the battery is being changed to prevent the contents of the memory, i.e. user program and data tables, being lost. Observe the safety and handling procedures detailed in Chapter 1; spares and reordering codes are detailed in Chapter 10.
Page 271
Table 9.1 - Error Messages Error Message Type of Error Message Number #100 to #199 Compilation Errors #400 to #499 Boot Code Test Errors #500 to #699 System Status Errors #700 to #799 Self-test Errors #800 to #899 Interprocessor Communications Errors #900 to #999 System Errors In addition to the error messages, there is a data table which contains additional...
Page 272
9.5.3. Indicators 9.5.3.1. Front Panel Indications Where a fault is evident, a quick guide to the state of the system can be obtained from the front panel indications. Controllers have monitoring LEDs mounted on the module front panels. Chapter 1 details the meaning of these LEDs. I/O modules have fuse indication LEDs on selected output modules;...
Page 274
Table 9.2 - Compilation Error Messages Code Fault Message Possible Causes Recommended Recovery #101 Source Could be caused by Use back-up copy. corruption. Error loading corrupt program. near instruction Could occur while Re-edit program with programming, i.e. if lead lead connected. rung Y.
Page 275
Code Fault Message Possible Causes Recommended Recovery #110 Write protect Cannot output to P- or V- Alter address to write- violation. Error tables. enabled data table. near instruction rung Y. #111 Illegal J/K Attempting to access a Configure port reference. J/K-table associated with a correctly, or change Error at...
Page 276
Code Fault Message Possible Causes Recommended Recovery #124 Invalid Instruction User program has become Replace the specified encountered. corrupted. instruction. Error at instr. X, rung Y. Issue 3 04/99 ALSPA GEM 80-400 SERIES CONTROLLERS TECHNICAL MANUAL Page 9-9...
Page 277
#125 Special Function A Special Function with a Modify the Special without ''S'' or ''T''. table letter other than 'S' or Function. Error at instr. X, 'T' has been encountered. rung Y. #126 Cannot access Floating point values (in a Modify the reference.
Page 278
#139 P-table limit Reference to P-table higher Optimise program or fit exceeded for than allowed by system. larger memory system. Error expansion board. near instr. X, rung #140 Unmatched A JUMP was specified but Add LABEL at JUMP (data) at no corresponding LABEL to appropriate place or instruction...
Page 279
end of a table, a specific reference must be included to create a large enough table. 2. Also note that existing data table locations will be removed if they are no longer required by a program that has been modified. This can create confusion in the case of the P-table since they may be created simply by attempting to access them through a suitable GEM 80 programming tool, such as Gemesys 3.
Page 280
When compilation is attempted the program will not run if any forbidden addresses have been used in the program, and the programming tool will display a diagnostic message. Forbidden addresses are where A-table and B-table addresses have the same number (e.g. A4 and B4) or where addresses have a number greater than the maximum imposed by the hardware, i.e.
Page 281
It should be noted that if the only reference to a B-table, or the only reference to a Fast I/O Module, is deleted from a program and a recompilation performed, the I/O hardware associated with that table will no longer be scanned. This could result in outputs being left in an uncontrolled state until the next power up.
Page 282
Code Fault Message Possible Causes Recommended Recovery #504 Invalid Monitor A ‘jumper’ link has Remove any ‘jumper’ Mode Selected. accidentally been left on links from brown test one of the brown test points. points, or the board is damaged. #505 Workspace Faulty/static damaged Power off/on.
Page 283
Code Fault Message Possible Causes Recommended Recovery #614 EPROMs not Attempting to switch to Insert missing EPROM fitted. EPROM or to program module and try once EPROM with sub-module again. missing. #620 EPROM EPROMs were Blow user program into compatibility programmed in a different EPROM using the system level does not...
Page 284
Code Fault Message Possible Causes Recommended Recovery #635 Program in EPROM board swapped for Verify new program is EPROM is different program. correct. Do not run the different from new program if it is previous incorrect. Clear store version. and reload correct program.
Page 285
Fault Message Possible Causes Recommended Recovery #703 User program Source code corrupted. Try clear store, power checksum off/on and reload. If failure. the problem persists,. Substitute spare processor module and sub board if fitted. #704 V-table On-line RAM failure. Power off/on (will give checksum test #603), then reload.
Page 286
Fault Message Possible Causes Recommended Recovery #718 Program Only occurs on power- Clear store, power corrupted during up. P-tables or off/on and reload, power down instructions corrupted. check battery warning store cleared. indication. If the problem persists, Substitute spare processor module and sub board if fitted.(see also #703).
Page 287
Fault Message Possible Causes Recommended Recovery #735 Failed P Re-load backup Message area program/P- RAM test. tables/messages. If problem persists Substitute spare processor module and sub board if fitted. #737 P-table Re-load backup checksum program/P- failure. tables/messages.. If problem persists substitute spare processor module and sub board if fitted.
Page 288
Alteration detected in the contents of the read only memory. Failure of any part of the read/write memory to store and recall data. 9.9.2.4. Faults from which recovery is automatic AC supply reapplied after a break. Corrupt message received on the serial link. 9.9.2.5.
Page 289
Table 9.6 - System Errors Error Messages Code Fault Message #900 Unknown error data. #901 %i task. Illegal task number used. #902 %i task. Too many messages sent. #903 %i task. No messages available. #904 %i task. No messages to return. #905 %i task.
Page 290
#946 Invalid memory size data. #947 Invalid processor Id. data. #948 Invalid call. #949 Invalid return. #950 Invalid switch. #951 Memory board type not supported. #952 EPROM types are Incompatible. #957 Power failure. #958 DMA 1 interrupt. #959 DMA 0 interrupt. #960 Single step error.
Page 291
F2.1 Set to 1 if recompile successful. Set to 0 if unsuccessful F2.2 Set to 1 if recompilation will occur on the current scan F2.3 Reserved F2.4 Battery condition. Set to 1 if battery power low Onboard battery low warning bit F2.5 Central Highway Set to 1 if battery power low...
Page 292
Table 9.9 - ESP Tributary Port F-Tables Port 1 Port 2 Port 3 Remarks F10.0 F30.0 F50.0 Tributary failed (set when tributary has not been polled for at least 30 seconds). F10.8 F30.8 F50.8 Last message received was truncated. 9.13.3. ESP Control Port Port 3 is not available as a control port Table 9.10 - ESP Control Port F-Tables Port 1...
Page 293
Data error (incorrect data format) No tables assigned to this route 9.13.4. GEMSTART CCU Port Port 3 is not available as a CCU port The fault bits for the GEMSTART CCU protocol indicate which addresses are connected and are replying correctly to the master polls. The fault bit is set when an address has failed.
Page 294
F114 Number of hardware errors ( Framing errors ) F115 Number of time-outs F116 Number of CRC errors in received data F117 Number of data errors. Incoming message too large for bu F118 Number of transmit data errors F119 Number of stuffing errors F100 F120 Number of ENQs received.
Page 295
Port 1 Port 2 Contents F70 and F71 F90 and F91 Number of message requests F72 and F73 F92 and F93 Number of attempted transmissions (including retries) Number of hardware errors Number of time-outs. on receive Number of CRC errors in incoming message Number of NAK replies.
Page 296
The majority of the locations in the V-table are for system internal functions and have no significance for the user. However, a few are useful and these are described in Table 9.15. Issue 3 04/99 ALSPA GEM 80-400 SERIES CONTROLLERS TECHNICAL MANUAL Page 9-29...
Page 297
Table 9.15 - V-Table Address Content Remarks Not used Compilation count, moving flag. Lower byte contents are incremented after each successful compilation V2 to V47 Used by system software for data table offsets and lengths V48 to V51 Reserved for system usage Length of the message area in bytes V53 to V57...
Page 298
Where the controller is programmed remotely via one of the serial ports, the configuration data must be the same for this port as the values already in store, otherwise you will lose communication after a recompilation or power off/on. Note...When the data being loaded includes messages, the message area, made write-accessible by the CLEAR STORE command, becomes write-protected again, except via the message editor, after recompilation.
9.19.2. Connector/Termination Problems All connections should be checked. Suspect connections, e.g. mechanically damaged or corroded, should be re-terminated. 9.19.3. Overheating The installation should conform to the environmental conditions detailed in Chapter 1. The I/O should be installed as per Chapter 7. Firmware Update 9.20.
Page 301
Fax: ++44 (0) 1782 781041 Where user repair is required on a PCB, further information on PCB repair may be obtained on request, but when PCBs are repaired by the user, ALSTOM DRIVES & CONTROLS cannot accept any responsibility for faults which may arise.
Enhanced Non FIP with FP 8239-4006 Standard with FIP with FP 8239-4007 Enhanced with FIP with FP 8239-4008 Standard Non FIP 8239-4015 Enhanced Non FIP 8239-4016 Standard with FIP 8239-4017 Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLER TECHNICAL MANUAL Page 10-1...
(3) Ribbon cables and termination units must be specified separately. (4) The Fast I/O Driver is fitted in one of the Fast I/O Slots of a GEM80-400S controller and does not occupy a central highway slot. Page 10-2 ALSPA GEM80-400 SERIES CONTROLLER TECHNICAL MANUAL Issue 3 04/99...
Fuse for ac/dc power input on 9017-4001 power module (10A, time 82030/153 delay, high breaking capacity) Fuse for dc power input on 9018-4001 power module (15A, time delay, 82030/190 high breaking capacity) Battery for memory module 20T 0319/01 88400/152 Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLER TECHNICAL MANUAL Page 10-3...
Watchdog and Safety Circuits Introduction 11.1. Power, 0V, and watchdog terminals are located on the backplane terminal boards which are shown in Figures 1.12 to 1.15. A safety earth stud is fitted to the terminal bracket. Safety earth studs are also located on the subrack side cheeks at the rear of the mains input filter.
Safety Earth Connections 11.2. Figure 11.1 - Location of Safety Earth Studs Safety earth studs are located on the subrack side panels at either end of the subrack. The equipment must be earthed by a secure safety earth connection of 2.5mm² minimum cross-sectional area. Watchdog Contacts 11.3.
The watchdog contact terminals of the Standard Controller are located on W/D, two watchdog circuit push-on terminals on the lower backplane. The watchdog contact terminals of the Enhanced Controller are located on TB1, the Terminal Block on the lower backplane. See Figure 11.2 for details of both controller connections.
AC 200VA 1A 250V make/break, dc 100W 1A 250V make/break. 11.3.2.3. Operation Closed when the host controller is healthy and its status is running with normal inputs. Held closed during user program on-line re-compilation. 11.3.3. Watchdog Connections Figures 1.14, and 1.15 show the location of the watchdog terminals. Safety and the User Program 11.4.
Method (1) allows suppression of several outputs of different voltage levels with a single contact. This relies on the electronic circuitry of each module working correctly. Therefore, for ultimate safety, where outputs operate moving machinery or otherwise provide a personnel hazard, Method (2) should be used with one contact for each plant-side power voltage.
2) Serial Communications Highway 1) Fast I/O Analogue Terminations 34 (17Pr ) 132-2802-234 * Denotes ALSTOM DRIVES & CONTROLS recommended supplier CAUTION... Following problems with the termination of ribbon cables, the cable manufacturers advise that: "ALL RIBBON CABLES ON REELS MUST BE STORED ON END"...
A5.2. Termination Using Cable End Connectors Cut the ribbon cable to length ensuring that edge of cable is flush with alignment guide on cable cutter as shown in Figure A.1. Page A-2 ALSPA GEM80-400 SERIES TECHNICAL MANUAL Issue 3 04/99...
Page 314
(pin 1) detailed in Figure A.2. Also ensure that cable is inserted from the 'wrong side' since it will be doubled back when strain relief is fitted (see Figure A.5). Issue 3 04/99 ALSPA GEM80-400 SERIES TECHNICAL MANUAL Page A-3...
Page 315
(see Figure A.3). Ensure that the cover is pressed fully home as detailed at Figure A.4. Figure A.3 - Use of Hand Tool Page A-4 ALSPA GEM80-400 SERIES TECHNICAL MANUAL Issue 3 04/99...
Pass the free end of the cable back through the strain relief as in Figure A.8, and remove the slack before pushing the strain relief fully home as in the Termination Using Cable End Connectors' section, part (g), of this chapter. Page A-6 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04/99...
Figure A.9 or, if this would cause the wrong edge to come out on top, the cable should first be doubled back as in Figure A.10 Figure A.9 - Right Angled Bend - Single Fold Issue 3 04/99 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Page A-7...
Fitting Ribbon Cable Label The label is wrapped around the ribbon cable as shown in Figure A.11. Refer to Chapter 7 for label marking. Figure A.11 - Label Fitting Page A-8 ALSPA GEM80-400 SERIES CONTROLLERS TECHNICAL MANUAL Issue 3 04/99...
Need help?
Do you have a question about the GEM80-400 Series and is the answer not in the manual?
Questions and answers