Modicon PC-L984-785 Extra Register Programmable Controller User Manual GM-L984-785 AEG Rev.
Modicon PC-L984-785 Extra Register Programmable Controller User Manual GM-L984-785 Rev. 6 May, 1993 MODICON, Inc.
Preface The data and illustrations found in this book are not binding. We reserve the right to modify out products in line with our policy of continuous product improvement. Information in this document is subject to change without notice and should not be construed as a commitment by Modicon, inc., Modicon, Inc., assumes no responsibility for any errors that may appear in this document.
Table of Contents Chapter 1 Introduction . . . . . . . . The PC-L984-785 PLC . . . Product Overview . .. ..... . ... . ExeclD ...................... Front Panel Status Indicators ..... . . ................ 6 ................ 6 ................ 6 ................ 7 ................ 8 . .. . . .. ... . .. ... ... .... ........... Size of RAM ........................ Configuration Partition ................ Number of Discretes and Registers ...... ................ 8 ...............
. 33 Standard Modbus Functions * ............. Mask Write 4X Register ................ Read and Write 4X Registers ............ . 33 . 33 . 34 . .. Read FIFO Queue. .................... Modified DX Functions ................... 36 XMWT and XMRD Function Blocks ...... .. . 37 . 37 Extended Memory Read and Write Functions Appendix A Stopped Error Codes Stopped Error Codes .................... 36 . 37 CKSM Function ...................... Standard DX Loadable ................ ........ .....
Figures Figure 1 Location of Removable Executive and Memory Cartridges .......... 7 9 Figure 2 View Showing Controls and Indicators .......................... Figure 3 Modbus Port DIP Switch Orientation and Coding ................. 11 Figure 4 Modbus Plus Node Address DIP ............................. 12 Figure 5 Memory Distribution ....................................... 16 Figure 6 Modsoft Configuration Initialization for Extra Register L785 .........
Chapter 1 Introduction o This document describes the functionality of the PC-L984-785 Programmable Controller. When used in an Extra Register Configuration, particular attention is given to deviations from other 984 product family members. This manual does not apply when using the PC-L984-785 as a PC-0984-785 replacement. Refer to GM-0984-501 for system Planning and installation of the 785.
The PC-L984-785 PLC Product Overview The functionality of the new PC-L984-785 when used as an Extra Register Controller is similar to the 984-785, with the size of State RAM increased from the 12.5k to an optional 32k or 64k words, This controller provides more reference numbers than any existing Modicon PLC. The User Logic area is increased to expand the amount of relay logic that can be programmed. The re-arrangement of the storage memory, in the PLC, makes programming loadable DXs easier.
for loading special DX functions. Depending on the size of the main RAM (512 or 768K bytes) and your state RAM configuration election, the memory partitions into four different allocations. When you configure the memory by selecting either 32 or 64k state RAM, the partitioned result allows Extended Memory for 6X register files. Your selection sets configuration parameters for controller downloading.
Table 2 Loadable DX Upgrades Part Loadable - Disk Media P190 Tape Disk Media PI 90 Tape Disk Media ICMP I DRUM MTRM EARS EUCA HLTH MAP3 FNXX CALL SW-APS&SDA SW-AP98-STA SW-MRTM-1 DA SW-MRTM-1 TA SW-APSD-EDA SW-EUCA-D8L SW-HLTH-D8L SW-APPL-MAP SW-AP98-GDA SW-AP98-CXA Hot standby is supported with an AS-S911-801 module with the following limits: HSBY data transfers are limited to 9999 registers, including up to 1000 input registers (3x references), 8192 discrete outputs (Ox references), and 8192 disc
Chapter 2 Installation o This Chapter provides an orientation regarding the and Start up the PC-L984-785 when used with the ter Executive cartridge. This manual does not apply the PC-L984-785 as a PC-0984-785 replacement. GM-0984-501 for system Planning and installation GM-L9&?4-785 Chmter2 installation Extra Regiswhen using Refer to for the 785.
Controller Orientatifon Extra Register Model When used in the Extra Register configuration,There are a number of possible configurations of the PC- L984-785 FLC memory (see Table 3). The size of the State RAM is selectable at 32k or 64k words. The user logic, Execution Buffer and Extended Memory (6X reference) is determined by the size of the RAM cartridge you install and the selected state RAW.
Modbus Plus Node DIP switchfor Modbus Port 1 parameters and baud rate settings Fi‘gure 1 Location of Removable Executive and Memory Cartridges Exec ID The Exec ID for the PC-L984-785 Extra Register is in the range 0850 to 085F hex. l?T GM-L984-785 Note Chapter 2 One of the memory cartridges MUST be installed.
Controls and Indicators Figure 2 illustrates the front panel of this One and one-half slot wide controller. This figure provides the additional detail related to input power and primary switching that are located under the Modicon standard module handle. Front Panel Status indicators POWER OK Green LED: Generated by the power supply to indicate input power is OK and voltage outputs are OK. READY Amber LED: Is on to indicate the controller has passed power-up diagnostics.
AC POWER IN PLUS TOR TOR MEM-DIP TOGGLE Figure 2 View Showing Controls and Indicators GM-L984-785 Chapter 2 Installation 9
Front Panel Controls There are two switches directly located on the front panel: AC POWER This ON/OFF switch controls the main power MEMORY PROTECT This key switch can be set to ON and key removed to protect the content of the memory from change. OFF allows normal program development. The Detail of figure 1 illustrates the AC input power connections and the DC option select switch located under the Controller handle.
SWITCH FUNCTION SWITCH NO. 1 i 3 4 5 6 7 DOWN UP BAUD SELECT BAUD SELECT BAUD SELECT NO PARITY ODD PARITY 2 STOP BITS ASCII (7 BITS) BAUD SELECT BAUD SELECT BAUD SELECT PARITY EVEN PARITY 1 STOP BIT RTU (8 BITS) Default settings as shown above: 9600 Baud/Even/Parity/l StoplRTU Figure 3 Modbus Port DIP Switch Orientation and Coding ET Note Although certain production units may contain an 8-position DIP switch set, only the first seven are used.
Figure 4 Modbus Plus Node Address DIP Modbus Plus Address These switches are accessible from the top of the unit and are factory set to the above pattern. Switch 7 and 8 are not used. Switches One through six can be set to the binary bit pattern 000000 through 111111 which are the equivalent of decimal 0 through 63 respectively. To derive the node address add “1” to the binary. The default shown in Figure 4 is the binary 0 which is node address 1.
Low Battery From the time the Low Battery LED comes on, if the unit continues to be powered ON, the battery must be changed withen 14 days. If the battery is not changed the PLC will not restart on a power up and data may be lost.
Chapter 3 PC-L984-785 Specif its o This Chapter, while providing some typical 984 Series Controller operation, concentrates on differences encountered due to it’s specific architecture when used in a Extra Register configuration.
984-785 Memory Physical - Logical Overview Chapter One described the Physical - Logical relationship between the selection of Memory cartridges and your memory partition using the configurator. In Figure 5 the distribution of memory in hardware elements is provided. FFFFF EXECUTIV AS-E785-914 51 2tCrbytes 768K bytes Extended Memory and .
configuration table must be updated when there is a change to this flag, or the illegal configuration and dim awareness is set in the stop word. The table is set from the panel configuration as in Figure 6 where the “L785” is selected (Modsoft Type selection displays as 785L) and the partition selections are displayed for your choice.
A Caution When you initially configure your State RAM size, a power cycle is required to guarantee all option modules will get proper memory partition information. If you subsequently change to the other size you must repeat the power cycle to implement the change. 1 You must select the partition you want and write the configuration to the PLC before loading any .exe buffer loadables. Internal software checks are made against the history of the state selection in config.
Number of Discretes and Registers The maximum number of each register type increases over current limits in the existing 984-8 products. The 785 Extra Register limits for each configuration are shown in Table 6.
D = Number of 3X E = 0 if ready to start 4X on a 16 word boundary otherwise add the required difference. F = Number of 4X + (2 l ( ( #4X +I 5) I 16)) to include Up I Down counter history. Changes in the Modsoft and DIBM panel software (Configurator, Traffic Cop, and Programmer) have been made to display register addresses that can now be up to 6 digits long. Figure 7 illustrates the Modsoft configuration assignment of Type address as 6 digit entries (including Specials) based in the 785L selection.
904 CONFIG.(24-BIT 29494 TOTAL LOGIC: 000000 TOTAL XMEM: 0032 SEGMENTS: DX MODULES: -001 000 DCP DROP ID: AVAIL PAGE 0: 29494 TOTAL MESSAGEWORDS: 00200 NUMBEROF MESSAGES: 00005 04 # OF RS232 PORTS: 000000 TIME OF DAY CLOCK: COILS: INPUT REGS: PORT 1: PORT 2: PORT 3: PC TYPE : 984-785-XR LOGIC WORD) MODE __-RTU RTU RTU 00544 00640 PARITY __---EVEN EVEN EVEN I OOOOOE BATTERY COIL: 00000EI TIMER REG: # OF IO DROPS: 32 TOTAL T.C.
Chapter 4 The .EXE Loadable 0 This Chapter instructs you in how to implement the .exe Loadable Function. The .exe Loadable DX is implemented in a standard DOS file architecture but cannot be executed on a DOS PC. GM-L984-785 Chapter 4 The .
DX Loadable Format The 785L handles two types of loadable DX, one is standard upgraded loadable used on all 984-8 controllers, the other is .exe loadable which is a new feature. The standard loadable is stored in memory page 0, but as the loadable consumes memory it subtracts from available User Logic restricting user programming. The .exe loadable is designed to eliminate this program limitation, by arranging the PC-L984-785 memory to make pages 1 - 8 available to store the .exe loadable code.
JUtility LPLC -Fl-FZ-F+F4-FS-F6- Ops LEdit lDir Quit F7-FS-OFF-F9- DX Loadable Configuration -1 Name -Press Size Rev 'Enter' or '?' to Opcode view current loadable selection list Figure 10 Loadable screen You can display existing loadables and enter the data you requre on the display prompt line. If you want to add a loadable from an external file use the Dir function which provides a pulldown selection for load or delete operations.
lutllity $PLC Ops .Fl-F2-F3-F4-F5-F6-F7- OX Loadable Name RW Filename: 1Edlt lDir Quit Configuration Size drive Opcode path\fIlename.exe Figure 12 Setting the File Path for DX Load If your programming panel is the IBM-PC running Modicon PI 90 Emulator (DIBM) software you start the DX load process from the main configuration menu by pressing the or MODULES key. The display appears as Figure 13 offering you a choice of loading or deleting modules. 26 The .
NET:00000 SIZE UNIT:001 SEG:E0 AVAIL:00000 USED:00000 DATE:090591 F6 F4 F3 F2 SPECIALS ASCII MODBUS PORTS CONTROLLERMUST BE STOPPED TO LOAD/DELETE PROGRAM NET:OBEG0 UNIT:001 SEG:aE AVAIL:00086 USED:00000 DATE:090591 F6 F4 F5 F2 F3 Fl DELETE LOAD t.4ODULES MODULES AR:000000 F7 FB AR:000000 F7 FB PREVIOUS MENU I Figure 13 DIBM 785L Extra Register Load DX Module Screen When Load Modules (Fl) is selected the display illustrated in Figure 14 appears to prompt you for a disk path and file name entry.
INSERT 984 MODULES PROGRAMDISK IF NECESSARY ENTER DISK PATH AND FILE NAME C:\MODICON\PROGRAMS\FILE.EXE NET:OEBBB UNIT:@@1 SEG:88 AVAIL:BEE’JB lJSED:BBBBB DATE:698591 F6 F4 F3 F5 Fl F2 AR:EBBBEB FB F7 CANCEI PROCEED Figure 14 .
There is only one filename in the directory of the .exe disk. The date at the top of the screen comes from the DOS directory date on the file being loaded. The program name is put in for you. Delete a .exe File If you had chosen the “delete” action from the load/delete screen the softkey menu appears as in: Figure 16 785L Extra Register Delete DX Module Softkeys When using the Modsoft Panel you can delete the DX by deleting the assigned Opcode and downloading the resulting configuration.
Chapter 5 Commands o This Chapter describes both Port programmingfunctionsthat are available in the PC-L984-785 Controller,when used in an Extra register configuration GML984-785 Chapter 5 Commands 31
Peripheral Port Commands Changes to Current Commands The following defines the Peripheral Port Command Programming Subfunctions that now have access to the execution buffer, pages 1 - 8. Each page is 64k bytes long and is accessed by these commands as 32k words. These commands also have full access to Page F, including the Header Control Block (HCB).
Standard Modbus Functions * Mask Write 4X Register Function (22) modifies the specified 4X register using an AND’ ‘ mask and an OR’ ‘ mask. The masked write function can be used to set and/or clear individual bits within an 4X register. The function can alter the contents of any 4X register at any time.
COMMAND: RESPONSE: Figure 18 Read and Write 4X Command Read FIFO Queue This function (24) is used to read the contents of a FIFO, of up to 31 4X queue registers, plus the queue total, or up to 32 registers in total. The Read Queue function will only return the queue count and the number of entries an 34 error in the queue, or (03 (illegal data value)) if the queue count is greater than 31.
Error Check Figure 19 Read FIFO Queue Command GM-L984-785 Chaoter 5 Commands 35
Modified DX Functions XMWT and XMRD Function Blocks The Extended Memory function blocks XMWT and XMRD function as described in the 984 Programmable Controller systems manual GM-0984-SYS with two ex- ceptions. The functions are available from the panel DX selection when 785L is configured. 1). The bottom input is ignored because the 984-78511 can not detect memory errors as it reads or writes to the extended memory. 2).
CKSM Function The Checksum function block has a new opcode of ZD’ ‘ in the 785L instead of BF’ ‘ . This change allows the 785L to have both the MSTR and CKSM function blocks installed at the same time. Standard DX Loadable In the DX loadable header the software ‘ revision’ byte (OE hex) must contain a value of OCO hex or greater if the loadable is to run with 64k of state RAM. With 64k state RAM the addresses of the 4x registers in the top and/or middle nodes may be in the 2nd 32k of state RAM.
Appendix A Stopped Error Codes o The Stopped error code displayed on you programming panel is defined in this Appendix.
Stopped Error Codes The following lists stopped error codes for your 984 controller Hex code 7FFF Controller unhealthy 8000 4000 Controller stopped Bad I/O traffic cop 2000 Controller in dim awareness 1000 Bad port intervention 0800 Bad segment scheduler 0400 Son did not start segment Bad power-down checksum 0200 0080 0040 0020 40 Description Watchdog expired Real time clock failed 0010 Bad coil used table Remote 1.
Index Symbols .
Modicon, Inc., Industrial Automation Systems One High Street, North Andover, MA 011345 (508) 794-0800 24 Hour Support Center l-800-468-5342 ,, c,. c,mn.In __._.