
Contents GEM80-500 Series Controller
GEM80-500 Technical Manual (T2025En) (08/04)
Page viii
4. Serial Communications ...................................................................................... 4-1
4.1 Applications of Serial Communication Links ........................................................................ 4-1
4.2 Data Tables....................................................................................................................... 4-1
4.3 Communication between GEM80 Controllers...................................................................... 4-2
4.4 Operation as a Printer/Keyboard Port................................................................................. 4-3
4.4.1 Direct Mode ...................................................................................................................... 4-3
4.4.2 Terminal Mode.................................................................................................................. 4-4
4.4.3 Free Format Mode............................................................................................................. 4-5
4.5 Serial communications between two or more GEM80 Controllers (ESP Protocol) ................... 4-6
4.5.1 Operation as an ESP Tributary Port..................................................................................... 4-6
4.5.2 Operation as an ESP Control Port....................................................................................... 4-7
4.5.3 Operation as an ESP Control Port with Flexible Data Tables................................................. 4-9
4.5.4 Operation as a Control Port............................................................................................. 4-12
5. Programming .....................................................................................................5-1
5.1 Introduction....................................................................................................................... 5-1
5.2 Programming .................................................................................................................... 5-1
5.2.1 Programmer Units and Tools.............................................................................................. 5-1
5.2.2 Remote Programming ........................................................................................................ 5-1
5.2.3 Program and Data Table Capacity ..................................................................................... 5-1
5.2.4 Message Editing Facility ..................................................................................................... 5-1
5.2.5 Connecting a Suitable GEM 80 Programming Tool.............................................................. 5-2
5.2.6 Programming Port (Port 0) Connections .............................................................................. 5-2
5.2.7 Program Compilation ........................................................................................................ 5-3
5.2.8 On-line Program Changes................................................................................................. 5-3
5.2.9 Off-line Program Debugging.............................................................................................. 5-4
5.2.10 Loading Programs ............................................................................................................. 5-4
5.2.11 Programming the Controller............................................................................................... 5-5
5.3 User Program....................................................................................................................5-5
5.3.1 Introduction....................................................................................................................... 5-5
5.3.2 GEM80-500 Controller Instruction Set ................................................................................ 5-5
5.4 Differences between the GEM80-400 and GEM80-500 Instruction Sets.............................. 5-11
5.5 Programming Procedures................................................................................................. 5-11
5.5.1 Declare Highest Address .................................................................................................. 5-11
5.5.2 Storing Programs............................................................................................................. 5-11
5.5.3 Storing Program and Presets in Flash EPROM.................................................................... 5-13
5.5.4 Transferring Program and Presets to Flash EPROM ............................................................ 5-13
5.5.5 Programming Flash EPROM ............................................................................................. 5-14
5.6 Watchdog Trip Initiated by User Program.......................................................................... 5-15
5.7 Data Tables.....................................................................................................................5-15
5.7.1 Data Table Addressing..................................................................................................... 5-15
5.7.2 Data Storage Formats...................................................................................................... 5-16
5.7.3 Data Table Content and Addresses................................................................................... 5-16
5.7.4 Data Table Sizes.............................................................................................................. 5-17
5.7.5 Action of Clear Store on Data Tables ................................................................................ 5-17
5.7.6 P-Tables.......................................................................................................................... 5-21
5.7.7 E-Tables.......................................................................................................................... 5-23
5.7.8 F-Tables.......................................................................................................................... 5-24
5.8 Fault Reporting and Detection .......................................................................................... 5-25
5.8.1 I-Tables........................................................................................................................... 5-26
5.8.2 J/K-Tables....................................................................................................................... 5-26
5.8.3 R-Tables.......................................................................................................................... 5-26
5.8.4 V-Tables.......................................................................................................................... 5-26
6. Installation and Commissioning .........................................................................6-1
6.1 Introduction....................................................................................................................... 6-1
6.2 Receipt of a GEM80-500 Controller ................................................................................... 6-1
6.2.1 Unpacking and Checking the Consignment ........................................................................ 6-1
6.2.2 What to do if something is missing or damaged.................................................................. 6-2