Page 2 - Warning
GFL-002 Warnings, Cautions, and Notes as Used in this Publication Warning Warning notices are used in this publication to emphasize that hazardous voltages,currents, temperatures, or other conditions that could cause personal injury exist in thisequipment or may be associated with its use. In situat...
Page 3 - Preface; Revisions to This Manual
Preface GFK-0467K iii This manual describes the system operation, fault handling, and Logicmaster 90™ programminginstructions for the Series 90™-30, Series 90™-20 and Series 90™ Micro programmable logiccontrollers. Series 90-30 PLCs, Series 90-20 PLCs, and Series 90 Micro PLCs are all members ofthe ...
Page 4 - Related Publications
Preface iv Series 90-30/20/Micro Programmable Controllers Reference Manual–September 1998 GFK-0467K Appendix B. Interpreting Fault Tables: describes how to interpret the message structure formatwhen reading the fault tables using Logicmaster 90-30/20/Micro software. Appendix C. Instruction Mnemonics...
Page 5 - We Welcome Your Comments and Suggestions
Preface GFK-0467K Preface v We Welcome Your Comments and Suggestions At GE Fanuc Automation, we strive to produce quality technical documentation. After you haveused this manual, please take a few moments to complete and return the Reader's Comment Cardlocated on the next page. David D. Bruton Sr. T...
Page 7 - Contents; Chapter 1
Contents GFK-0467K vii Chapter 1 Introduction ......................................................................................................... 1-1 Additional Reference Information: See the appendices in the back of this manual....1-2 Chapter 2 System Operation .................................
Page 8 - Chapter 3
Contents viii Series 90-30/20/Micro Programmable Controllers Reference Manual–September 1998 GFK-0467K Elapsed Time Clock ........................................................................................................ 2-34Time-of-Day Clock ......................................................
Page 9 - Chapter 4; Positive Transition Coil —(
Contents GFK-0467K Contents ix Application Fault ...................................................................................................... 3-12No User Program Present ......................................................................................... 3-13Corrupted User Program on ...
Page 15 - Appendix A
Contents GFK-0467K Contents xv PID Parameter Block: .....................................................................................4-173Operation of the PID Instruction .....................................................................4-175Internal Parameters in RefArray.......................
Page 19 - Introduction; Chapter
GFK-0467K 1-1 Introduction The Series 90-30, 90-20, and Micro PLCs are members of the GE Fanuc Series 90™ family ofProgrammable Logic Controllers (PLCs). They are easy to install and configure, offer advancedprogramming features, and are compatible with the Series 90-70 PLC. The Series 90-20 PLC pro...
Page 21 - System Operation
GFK-0467K 2-1 System Operation This chapter describes certain system operations of the Series 90-30, 90-20, and Micro PLCsystems. These system operations include: • A summary of PLC sweep sequences (see Section 1). • Program organization and user references/data (see Section 2). • Power-up and power...
Page 22 - Section 1: PLC Sweep Summary; Standard Program Sweep; STANDARD PROGRAM SWEEP
2-2 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K 2 Section 1: PLC Sweep Summary The logic program in the Series 90-30, 90-20, and Micro PLCs execute repeatedly until stoppedby a command from the programmer or a command from another device. The sequence o...
Page 24 - Sweep; Note
2-4 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K 2 As shown in the PLC sweep sequence, several items are included in the sweep. These itemscontribute to the total sweep time as shown in the following table. Table 2-1. Sweep Time Contribution Sweep Elemen...
Page 26 - Sweep Time Calculation; Example of Sweep Time Calculation; Housekeeping; CONSTANT SWEEP
2-6 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K 2 Sweep Time Calculation Table 2-1 lists the seven items that contribute to the sweep time of the PLC. The sweep timeconsists of fixed times (housekeeping and diagnostics) and variable times. Variable time...
Page 27 - Input Scan; STOP
GFK-0467K Chapter 2 System Operation 2-7 2 time. In order to maintain accuracy, the actual start of sweep is recorded in 100 microsecondincrements. Each timer has a remainder field which contains the number of 100 microsecondincrements that have occurred since the last time the timer value was incre...
Page 28 - Application Program Logic Scan or Solution
2-8 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K 2 Application Program Logic Scan or Solution The application program logic scan is when the application logic program actually executes. Thelogic solution always begins with the first instruction in the us...
Page 29 - Output Scan; Logic Program Checksum Calculation; Programmer Communications Window
GFK-0467K Chapter 2 System Operation 2-9 2 Output Scan Outputs are scanned during the output scan portion of the sweep, immediately following the logicsolution. Outputs are updated using data from %Q (for discrete outputs) and %AQ (for analogoutputs) memory, as appropriate. If the Genius Communicati...
Page 30 - Figure 2-2. Programmer Communications Window Flow Chart; System Communications Window (Models 331 and Higher)
2-10 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K 2 The following figure is a flow chart for the programmer communications portion of the sweep. Figure 2-2. Programmer Communications Window Flow Chart System Communications Window (Models 331 and Higher) ...
Page 31 - Run; Figure 2-3. System Communications Window Flow Chart
GFK-0467K Chapter 2 System Operation 2-11 2 In the default Run - to - Completion mode, the length of the system communications window is limited to 50 milliseconds. If an intelligent option module makes a request that requires more than50 milliseconds to process, the request is spread out over multi...
Page 32 - PCM Communications with the PLC; Figure 2-4. PCM Communications with the PLC
2-12 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K 2 PCM Communications with the PLC (Models 331 and Higher) There is no way for intelligent option modules (IOM), such as the PCM, to interrupt the CPUwhen they need service. The CPU must poll each intellig...
Page 33 - Standard Program Sweep Variations; Constant Sweep Time Mode; mode. This prevents the occurrence of extraneous; PLC Sweep When in STOP Mode
GFK-0467K Chapter 2 System Operation 2-13 2 Standard Program Sweep Variations In addition to the normal execution of the standard program sweep, certain variations can beencountered or forced. These variations, described in the following paragraphs, can be displayedand/or changed from the programmin...
Page 34 - Communication Window Modes; Using the Release 7 and Later Key Switch
2-14 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K 2 Communication Window Modes The default window mode for the programmer communication window is “Limited” mode. Thatmeans that if a request takes more than 6 milliseconds to process, it is processed over ...
Page 35 - Clearing the Fault Table with the Key Switch; Enhanced Memory Protect with Release 8 and Later CPUs
GFK-0467K Chapter 2 System Operation 2-15 2 Clearing the Fault Table with the Key Switch If you turn the key from the RUN to STOP and back to RUN position during the 5 seconds when the RUN light is flashing this will cause the faults to be cleared and the CPU will be placed into RUN mode. The light ...
Page 36 - Section 2: Program Organization and User References/Data
2-16 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K 2 Section 2: Program Organization and User References/Data The total logic size for the Series 90-30 programmable controller can be up to 6 KB in size for aModel 311 or Model 313 CPU, up to 16 KB in size ...
Page 38 - Examples of Using Subroutine Blocks
2-18 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K 2 Examples of Using Subroutine Blocks As an example, the logic for a program could be divided into three subroutines, each of whichcould be called as needed from the program. In this example, the program ...
Page 39 - How Blocks Are Called
GFK-0467K Chapter 2 System Operation 2-19 2 In addition to being called from the program, subroutine blocks can also be called by othersubroutine blocks. A subroutine block may even call itself. a45663 PROGRAM SUBROUTINE 3 SUBROUTINE 2 SUBROUTINE 4 The PLC will only allow eight nested calls before a...
Page 40 - User References; Type
2-20 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K 2 User References The data used in an application program is stored as either register or discrete references. Table 2-3. Register References Type Description %R The prefix %R is used to assign system reg...
Page 41 - Transitions and Overrides; RUN
GFK-0467K Chapter 2 System Operation 2-21 2 Table 2-4. Discrete References - Continued Type Description %T The %T prefix represents temporary references. These references are never checked formultiple coil use and can, therefore, be used many times in the same program even when coiluse checking is e...
Page 43 - Data Types
GFK-0467K Chapter 2 System Operation 2-23 2 Data Types Data types include the following: Table 2-5. Data Types Type Name Description Data Format INT SignedInteger Signed integers use 16-bit memorydata locations, and are representedin 2’s complement notation. Thevalid range of an INT data type is –32...
Page 44 - System Status References; Reference
2-24 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K 2 System Status References System status references in the Series 90 PLC are assigned to %S, %SA, %SB, and %SC memory.They each have a nickname. Examples of time tick references include T_10MS, T_100MS,T_...
Page 46 - Function Block Structure; Format of Ladder Logic Relays
2-26 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K 2 Table 2-6. System Status References - Continued Reference Nickname Definition %SB0010 BAD_RAM Set when the CPU detects corrupted RAM memory at power-up.Cleared when the CPU detects that RAM memory is va...
Page 47 - Format of Program Function Blocks
GFK-0467K Chapter 2 System Operation 2-27 2 For a coil, the reference represents a location in memory that is controlled by the flow of powerinto the coil. In this example, if power flows into the left side of the coil, reference %Q0004 isturned ON. %Q0004 –( )– The programming software and the Hand...
Page 48 - Function Block Parameters
2-28 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K 2 Function Block Parameters Each line entering the left side of a function block represents an input for that function. There aretwo forms of input that can be passed into a function block: constants and ...
Page 49 - Power Flow In and Out of a Function
GFK-0467K Chapter 2 System Operation 2-29 2 For functions which operate on tables, a length can be selected for the function. In the followingfunction block, a string length of up to 256 words can be selected for the logical AND function. _____ | | (enable) —| AND |— (ok) | | | | ???????—|I1 Q|—????...
Page 52 - FLOW CHART EXPANDED TEXT:
2-32 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K 2 FLOW CHART TERMS:PRG = user programCFG = user configurationREGS = user registers (%I, %Q, %M, %G, %R, %AI, and %AQ references).USD = user storage device, either an EEPROM or flash device.URAM = non-vola...
Page 54 - Section 4: Clocks and Timers; Elapsed Time Clock
2-34 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K 2 Section 4: Clocks and Timers Clocks and timers provided by the Series 90-30 PLC include an elapsed time clock, a time-of-dayclock (Models 331, 340/341, 350 and 360 series of 90-30 CPUs and the 28-point ...
Page 55 - Watchdog Timer; Constant Sweep Timer; CONSTANT SWEEP TIME; Time-Tick Contacts
GFK-0467K Chapter 2 System Operation 2-35 2 Watchdog Timer A watchdog timer in the Series 90-30 PLC is designed to catch catastrophic failure conditions thatresult in an unusually long sweep. The timer value for the watchdog timer is 200 milliseconds(500 milliseconds in the 350 and 360 series of PLC...
Page 56 - Section 5: System Security; Privilege; Passwords
2-36 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K 2 Section 5: System Security Security in Series 90-30, Series 90-20, and in the Micro PLCs is designed to prevent unauthorizedchanges to the contents of a PLC. There are four security levels available in ...
Page 57 - Privilege Level Change Requests; Type of Lock; Permanently Locking a Subroutine; Caution
GFK-0467K Chapter 2 System Operation 2-37 2 Privilege Level Change Requests A programmer requests a privilege level change by supplying the new privilege level and thepassword for that level. A privilege level change is denied if the password sent by the programmerdoes not agree with the password st...
Page 59 - Model 30 I/O Modules
GFK-0467K Chapter 2 System Operation 2-39 2 Model 30 I/O Modules Model 30 I/O modules are available as five types, discrete input, discrete output, analog input,analog output, and option modules. The following table lists the Model 30 I/O modules by catalognumber, number of I/O points, and a brief d...
Page 61 - Catalog; Default Conditions for Model 30 Output Modules
GFK-0467K Chapter 2 System Operation 2-41 2 Table 2-7. Model 30 I/O Modules - Continued Catalog Number Description Pub Number Option Modules IC693APU300 High Speed Counter GFK-0293 IC693CMM311 Communications Coprocessor Module GFK-0582 IC693PCM300 PCM, 160K Bytes (35KBytes User MegaBasic Program) GF...
Page 62 - Global Data; Catalog Number
2-42 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K 2 Global Data The Series 90-30 PLC supports very fast sharing of data between multiple CPUs using Geniusglobal data. The Genius Bus Controller, IC693BEM331 in CPU, version 5 and later, and theEnhanced Gen...
Page 63 - Micro PLCs
GFK-0467K Chapter 2 System Operation 2-43 2 Micro PLCs The following Series 90 Micro PLCs are available. Each Micro is listed by catalog number,number of I/O points, and a brief description. The CPU, power supply, and I/O are all part of oneunit. For the specifications and wiring information of each...
Page 64 - Fault Explanation and Correction
GFK-0467K 3-1 Fault Explanation and Correction This chapter is an aid to troubleshooting the Series 90-30, 90-20, and Micro PLC systems. Itexplains the fault descriptions, which appear in the PLC fault table, and the fault categories, whichappear in the I/O fault table. Each fault explanation in thi...
Page 65 - Section 1: Fault Handling; Alarm Processor
3-2 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K 3 Section 1: Fault Handling Note This information on fault handling applies to systems programmed usingLogicmaster 90-30/20/Micro software. Faults occur in the Series 90-30 , 90-20, or Series 90 Micro PLC ...
Page 66 - System Reaction to Faults; Fault Tables
GFK-0467K Chapter 3 Fault Explanation and Correction 3-3 3 Note For information specific to Micro PLC fault handling, refer to chapter 7 of theSeries 90 Micro PLC User’s Manual (GFK-1065). System Reaction to Faults Typically, hardware failures require that either the system be shut down or the failu...
Page 67 - Fault References
3-4 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K 3 Fault Action Faults may be fatal, diagnostic or informational. Fatal faults cause the fault to be recorded in the appropriate table, any diagnostic variables to be set,and the system to be halted. Diagno...
Page 68 - Fault Reference Definitions; PLC Fault Table Display; I/O Fault Table Display
GFK-0467K Chapter 3 Fault Explanation and Correction 3-5 3 Fault Reference Definitions The alarm processor maintains the states of the 128 system discrete bits in %S memory. These faultreferences can be used to indicate where a fault has occurred and what type of fault it is. Faultreferences are ass...
Page 69 - Accessing Additional Fault Information
3-6 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K 3 The programming software may be in any operating mode. If the programming software is in OFFLINE mode, no faults are displayed. In ONLINE or MONITOR mode, I/O fault data is displayed. In ONLINE mode, fau...
Page 70 - Section 2: PLC Fault Table Explanations
GFK-0467K Chapter 3 Fault Explanation and Correction 3-7 3 Section 2: PLC Fault Table Explanations Each fault explanation contains a fault description and instructions to correct the fault. Many faultdescriptions have multiple causes. In these cases, the error code, displayed with the additional fau...
Page 71 - Fault Actions
3-8 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K 3 Fault Actions Fatal faults cause the PLC to enter a form of STOP mode at the end of the sweep in which the error occurred. Diagnostic faults are logged and corresponding fault contacts are set.Informatio...
Page 73 - System Configuration Mismatch
3-10 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K 3 System Configuration Mismatch The Fault Group Configuration Mismatch occurs when the module occupying a slot is differentfrom that specified in the configuration file. The fault action is Fatal. Error C...
Page 74 - Option Module Software Failure; Low Battery Signal
GFK-0467K Chapter 3 Fault Explanation and Correction 3-11 3 Option Module Software Failure The Fault Group Option Module Software Failure occurs when a non-recoverable softwarefailure occurs on a PCM or ADC module. The fault action for this group is Fatal. Error Code: All Name: COMMREQ Frequency Too...
Page 75 - Constant Sweep Time Exceeded; Application Fault
3-12 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K 3 Constant Sweep Time Exceeded The Fault Group Constant Sweep Time Exceeded occurs when the PLC CPU operates in CONSTANT SWEEP mode, and it detects that the sweep has exceeded the constant sweep timer. Th...
Page 76 - No User Program Present; Corrupted User Program on Power-Up; Password Access Failure
GFK-0467K Chapter 3 Fault Explanation and Correction 3-13 3 No User Program Present The Fault Group No User Program Present occurs when the PLC CPU is instructed to transitionfrom STOP to RUN mode or a store to the PLC and no user program exists in the PLC. The PLC CPU detects the absence of a user ...
Page 77 - PLC CPU System Software Failure
3-14 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K 3 PLC CPU System Software Failure Faults in the Fault Group PLC CPU System Software Failure are generated by the operating softwareof the Series 90-30, 90-20 or Micro PLC CPU. They occur at many different...
Page 79 - Communications Failure During Store
3-16 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K 3 Communications Failure During Store The Fault Group Communications Failure During Store occurs during the store of programblocks and other data to the PLC. The stream of commands and data for storing pr...
Page 80 - Section 3: I/O Fault Table Explanations; Loss of I/O Module
GFK-0467K Chapter 3 Fault Explanation and Correction 3-17 3 Section 3: I/O Fault Table Explanations The I/O fault table reports data about faults in three classifications: • Fault category. • Fault type. • Fault description. The faults described on the following page have a fault category, but do no...
Page 81 - Addition of I/O Module
3-18 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K 3 Addition of I/O Module The Fault Category Addition of I/O Module applies to Model 30 discrete and analog I/O modules.There are no fault types or fault descriptions associated with this category. The fau...
Page 83 - Section 1: Relay Functions; Using Contacts
4-2 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K 4 Section 1: Relay Functions This section explains the use of contacts, coils, and links in ladder logic rungs. Function Page Coils and negated coils. 4-3 Normally open and normal closed contacts. 4-2 Rete...
Page 84 - Using Coils
GFK-0467K Chapter 4 Series 90-30/20/Micro Instructions Set 4-3 4 Using Coils Coils are used to control discrete references. Conditional logic must be used to control the flow ofpower to a coil. Coils cause action directly; they do not pass power flow to the right. If additionallogic in the program s...
Page 88 - Links
GFK-0467K Chapter 4 Series 90-30/20/Micro Instructions Set 4-7 4 Retentive SET Coil —(SM)— Retentive SET and RESET coils are similar to SET and RESET coils, but they are retained acrosspower failure or when the PLC transitions from STOP to RUN mode. A retentive SET coil sets a discrete reference ON ...
Page 90 - Section 2: Timers and Counters; Function Block Data Required for Timers and Counters
GFK-0467K Chapter 4 Series 90-30/20/Micro Instructions Set 4-9 4 Section 2: Timers and Counters This section explains how to use on-delay and stopwatch-type timers, up counters, and downcounters. The data associated with these functions is retentive through power cycles. Abbreviation Function Page O...
Page 95 - TMR
4-14 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K 4 TMR The simple on-delay timer (TMR) function increments while it receives power flow and resets tozero when power flow stops. Time may be counted in tenths of a second (the default selection),hundredths...
Page 98 - OFDT
GFK-0467K Chapter 4 Series 90-30/20/Micro Instructions Set 4-17 4 OFDT The off-delay timer (OFDT) increments while power flow is off, and resets to zero when powerflow is on. Time may be counted in tenths of a second (the default selection), hundredths of asecond, or thousandths of a second. The ran...
Page 101 - UPCTR
4-20 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K 4 UPCTR The Up Counter (UPCTR) function is used to count up to a designated value. The range is 0 to+32,767 counts. When the up counter reset is ON, the current value of the counter is reset to 0.Each tim...
Page 103 - DNCTR
4-22 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K 4 DNCTR The Down Counter (DNCTR) function is used to count down from a preset value. The minimumpreset value is zero; the maximum present value is +32,767 counts. The minimum current value is–32,768. When...
Page 107 - Section 3: Math Functions
4-26 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K 4 Section 3: Math Functions This section describes the math functions of the Series 90-30/20/Micro Instruction Set: Abbreviation Function Description Page ADD Addition Add two numbers. 4-27 SUB Subtractio...
Page 110 - Math Functions and Data Types
GFK-0467K Chapter 4 Series 90-30/20/Micro Instructions Set 4-29 4 Math Functions and Data Types Function Operation Displays as ADD INT Q(16 bit) = I1(16 bit) + I2(16 bit) 5-digit base 10 number with sign ADD DINT Q(32 bit) = I1(32 bit) + I2(32 bit) 8-digit base 10 number with sign ADD REAL* Q(32 bit...
Page 122 - Section 4: Relational Functions
GFK-0467K Chapter 4 Series 90-30/20/Micro Instructions Set 4-41 4 Section 4: Relational Functions Relational functions are used to compare two numbers. This section describes the followingrelational functions: Abbreviation Function Description Page EQ Equal Test two numbers for equality. 4-41 NE Not...
Page 128 - Section 5: Bit Operation Functions
GFK-0467K Chapter 4 Series 90-30/20/Micro Instructions Set 4-47 4 Section 5: Bit Operation Functions Bit operation functions perform comparison, logical, and move operations on bit strings. TheAND, OR, XOR, and NOT functions operate on a single word. The remaining bit operationfunctions may operate ...
Page 147 - If All Bits in I1 and I2 are the Same
4-66 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K 4 MSKCMP (WORD, DWORD) The Masked Compare (MSKCMP) function (available for Release 4.41 or later CPUs) is used tocompare the contents of two separate bit strings with the ability to mask selected bits. Th...
Page 149 - Ladder Diagram Representation
4-68 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K 4 Example: In the following example, after first scan, the MSKCMPW function block is executed. %M0001through %M0016 is compared with %M0017 through %M0032. %M0033 through %M0048contains the mask value. Th...
Page 150 - Section 6: Data Move Functions
GFK-0467K Chapter 4 Series 90-30/20/Micro Instructions Set 4-69 4 Section 6: Data Move Functions Data move functions provide basic data move capabilities. This section describes the followingdata move functions: Abbreviation Function Description Page MOVE Move Copy data as individual bits. The maxim...
Page 153 - Before using the Move function:
4-72 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K 4 Example 1: When enabling input %Q0014 is ON, 48 bits are moved from memory location %M0001 tomemory location %M0033. Even though the destination overlaps the source for 16 bits, the moveis done correctl...
Page 161 - Memory Required for a Bit Sequencer
4-80 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K 4 BITSEQ (BIT) The Bit Sequencer (BITSEQ) function performs a bit sequence shift through an array of bits. TheBITSEQ function has five input parameters and one output parameter. The operation of thefuncti...
Page 164 - COMMREQ; Command Block
GFK-0467K Chapter 4 Series 90-30/20/Micro Instructions Set 4-83 4 COMMREQ Use the Communication Request (COMMREQ) function if the program needs to communicate withan intelligent module, such as a Genius Communications Module or a Programmable CoprocessorModule. Note The information presented on the ...
Page 167 - Section 7: Table Functions
4-86 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K 4 Section 7: Table Functions Table functions are used to perform the following functions: Abbreviation Function Description Page ARRAY_MOVE Array Move Copy a specified number of data elements from a sourc...
Page 175 - Section 8: Conversion Functions
4-94 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K 4 Section 8: Conversion Functions Use the conversion functions to convert a data item from one number type to another. Manyprogramming instructions, such as math functions, must be used with data of one t...
Page 188 - Section 9: Control Functions
GFK-0467K Chapter 4 Series 90-30/20/Micro Instructions Set 4-107 4 Section 9: Control Functions This section describes the control functions, which may be used to limit program execution andalter the way the CPU executes the application program. (Refer to Chapter 2, section 1, “PLCSweep Summary,” fo...
Page 189 - CALL
4-108 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K 4 CALL Use the CALL function to cause program execution to go to a specified subroutine block. ———————————————— | | -| CALL ??????? |- | | | (SUBROUTINE) | | | ———————————————— When the CALL function rec...
Page 190 - DOIO
GFK-0467K Chapter 4 Series 90-30/20/Micro Instructions Set 4-109 4 DOIO The DO I/O (DOIO) function is used to update inputs or outputs for one scan while the program isrunning. The DOIO function can also be used to update selected I/O during the program in additionto the normal I/O scan. If input re...
Page 194 - Enhanced DO I/O Function for 331 and Later CPUs
GFK-0467K Chapter 4 Series 90-30/20/Micro Instructions Set 4-113 4 Enhanced DO I/O Function for 331 and Later CPUs Caution If the Enhanced DO I/O function is used in a program, the program shouldnot be loaded by a version of Logicmaster 90-30/20 software prior to 4.01. An enhanced version of the DO ...
Page 195 - SER
4-114 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K 4 SER The SER function (Sequential Event Recorder) function is used to collect data based on an eventtrigger. A function control block contains user-supplied information about function block execution,ch...
Page 198 - Status Extra Data
GFK-0467K Chapter 4 Series 90-30/20/Micro Instructions Set 4-117 4 Status Extra Data The Status Extra Data provides additional state information for the SER function. State Description Inactive State(1) State between the Reset State and the Active State. No actions are performed inthis state. The Bo...
Page 199 - SER Data Block; SER Notes
4-118 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K 4 SER Data Block The SER Data Block contains the sample buffer, sample offsets, and trigger information. Thisinformation is supplied by the CPU and the user should only read from this data area. It is th...
Page 203 - Data Block
4-122 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K 4 last channel description is required to pad the sample buffer out to the 24 bits specified inthe number of channels parameter. Since all 24 channels are configured there are no more channel description...
Page 204 - END
GFK-0467K Chapter 4 Series 90-30/20/Micro Instructions Set 4-123 4 END The END function provides a temporary end of logic. The program executes from the first rung tothe last rung or the END function, whichever is encountered first. The END function unconditionally terminates program execution. Ther...
Page 205 - MCR
4-124 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K 4 MCR All rungs between an active Master Control Relay (MCR) and its corresponding End MasterControl Relay (ENDMCR) function are executed without power flow to coils. An ENDMCRfunction associated with th...
Page 206 - Differences Between MCRs and JUMPs
GFK-0467K Chapter 4 Series 90-30/20/Micro Instructions Set 4-125 4 Both forms of the MCR function have the same parameters. They both have an enable booleaninput EN and also a name which identifies the MCR. This name is used again with an ENDMCRinstruction. Neither the MCR nor the MCRN function has ...
Page 208 - ENDMCR
GFK-0467K Chapter 4 Series 90-30/20/Micro Instructions Set 4-127 4 ENDMCR Use the End Master Control Relay (ENDMCR) function to resume normal program execution afteran MCR function. When the MCR associated with the ENDMCR is active, the ENDMCR causesprogram execution to resume with normal power flow...
Page 209 - JUMP
4-128 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K 4 JUMP Use the JUMP instruction to cause a portion of the program logic to be bypassed. Programexecution will continue at the LABEL specified. When the JUMP is active, all coils within itsscope are left ...
Page 211 - LABEL
4-130 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K 4 LABEL The LABEL instruction functions as the target destination of a JUMP. Use the LABEL instructionto resume normal program execution after a JUMP instruction. There can be only one LABEL with a parti...
Page 212 - COMMENT
GFK-0467K Chapter 4 Series 90-30/20/Micro Instructions Set 4-131 4 COMMENT Use the COMMENT function to enter a comment (rung explanation) in the program. A commentcan have up to 2048 characters of text. It is represented in the ladder logic like this: (* COMMENT *) The text can be read or edited by ...
Page 213 - SVCREQ
4-132 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K 4 SVCREQ Use the Service Request (SVCREQ) function to request one of the following special PLC services: Table 4-3. Service Request Functions Function Description 1 Change/Read Constant Sweep Timer. 2 Re...
Page 222 - SVCREQ #4: Change System Comm. Window Mode and Timer Value; High Byte
GFK-0467K Chapter 4 Series 90-30/20/Micro Instructions Set 4-141 4 SVCREQ #4: Change System Comm. Window Mode and Timer Value Use SVCREQ function #4 to change the system communications window mode and timer value.The change will occur in the CPU sweep following the sweep in which the function is cal...
Page 228 - Parameter Block Contents; To Change/Read Date and Time Using BCD Format:
GFK-0467K Chapter 4 Series 90-30/20/Micro Instructions Set 4-147 4 Parameter Block Contents Parameter block contents for the different data formats are shown on the following pages. For bothdata formats: • Hours are stored in 24-hour format. • Day of the week is a numeric value: Value Day of the Wee...
Page 231 - SVCREQ #9: Read Sweep Time from Beginning of Sweep
4-150 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K 4 SVCREQ #9: Read Sweep Time from Beginning of Sweep Use SVCREQ function #9 to read the time in milliseconds since the start of the sweep. The data isin 16-bit Word format. Note Of the CPUs discussed in ...
Page 245 - SVCREQ #29: Read Elapsed Power Down Time
4-164 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K 4 SVCREQ #29: Read Elapsed Power Down Time Use the SVCREQ function #29 to read the the amount of time elapsed between the last power-downand the most recent power-up. The SVCREQ output is always set to O...
Page 252 - PID
GFK-0467K Chapter 4 Series 90-30/20/Micro Instructions Set 4-171 4 PID The Proportional plus Integral plus Derivative (PID) control function is the best known generalpurpose algorithm for closed loop process control. The Series 90 PID function block compares aProcess Variable feedback with a desired...
Page 259 - Internal Parameters in RefArray
4-178 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K 4 Table 4-5. PID Parameters Details - Continued Data Item Description Manual Command (13) This is an INT value set to the current CV output while the PID block is in Automaticmode. When the block is swit...
Page 260 - PID Algorithm Selection (PIDISA or PIDIND) and Gains
GFK-0467K Chapter 4 Series 90-30/20/Micro Instructions Set 4-179 4 As described in Table 4-6 on the previous pages, the PID block reads 13 user parameters and usesthe rest of the 40 word RefArray for internal PID storage. Normally you would not need to changeany of these values. If you are calling t...
Page 261 - CV Amplitude and Rate Limits
4-180 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K 4 If an Integral Ki gain is used, the CV Bias would normally be 0 as the integrator acts as anautomatic bias. Just start up in Manual mode and use the Manual Command word (%Ref+13) to setthe integrator t...
Page 263 - Setting User Parameters Including Tuning Loop Gains
4-182 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K 4 Plotting a step response at time t0 in the time domain provides an open loop unit reaction curve: t0 Tc K 0.632K 1 a45709 Tp t0 CV Unit Step Output to Process PV Unit Reaction Curve Input from Process ...
Page 265 - Sample PID Call
4-184 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K 4 Sample PID Call The following example has a Sample Period of 100 millisecond, a Kp gain of 4.00 and a Ki gain of1.500. The Set Point is stored in %R1 with the Control Variable output in %AQ2 and the Pr...
Page 267 - Instruction Timing; Appendix
GFK-0467K A-1 Instruction Timing The Series 90-30, 90-20, and Micro PLCs support many different functions and function blocks.This appendix contains tables showing the memory size in bytes and the execution time inmicroseconds for each function. Memory size is the number of bytes required by the fun...
Page 276 - Instruction Sizes for 350 and 360 Series CPUs; Boolean Execution Speed
A-10 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K A Instruction Sizes for 350 and 360 Series CPUs Memory size is the number of bytes required by the instruction in a ladder diagram applicationprogram. 350 and 360 Series CPUs require three (3) bytes for m...
Page 277 - Interpreting Fault Tables
GFK-0467K B-1 Interpreting Fault Tables The Series 90-30 PLCs maintain two fault tables, the I/O fault table for faults generated by I/Odevices (including I/O controllers) and the PLC fault table for internal PLC faults. The informationin this appendix will enable you to interpret the message struct...
Page 278 - PLC Fault Table
B-2 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K B PLC Fault Table Access the PLC fault table through your programming software. The following diagram identifies each field in the fault entry for the System ConfigurationMismatch fault displayed above: 00...
Page 279 - Spare
GFK-0467K Appendix B Interpreting Fault Tables B-3 B The System Configuration Mismatch fault entry is explained below. (All data is in hexadecimal.) Field Value Description Long/Short 00 This fault contains 8 bytes of fault extra data. Rack 00 Main rack (rack 0). Slot 03 Slot 3. Task 44 Fault Group ...
Page 280 - PLC Fault Group
B-4 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K B PLC Fault Group Fault group is the highest classification of a fault. It identifies the general category of the fault. Table B-1 lists the possible fault groups in the PLC fault table. The last non-maska...
Page 283 - PLC Fault Time Stamp
GFK-0467K Appendix B Interpreting Fault Tables B-7 B Fault Extra Data This field contains details of the fault entry. An example of what data may be present are: Four of the error codes in the System Configuration Mismatch group supply faultextra data: Table B-5. PLC Fault Data - Illegal Boolean Opc...
Page 285 - Long/Short Indicator
GFK-0467K Appendix B Interpreting Fault Tables B-9 B The following paragraphs describe each field in the I/O fault table. Included are tables describingthe range of values each field may have. Long/Short Indicator This byte indicates whether the fault contains 5 bytes or 21 bytes of fault specific d...
Page 286 - Rack
B-10 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K B Rack The rack number ranges from 0 to 7. Zero is the main rack, i.e., the one containing the PLC. Racks1 through 7 are expansion racks. Slot The slot number ranges from 0 to 9. The PLC CPU always occupi...
Page 287 - I/O Fault Specific Data; Fault Actions for Specific Faults
GFK-0467K Appendix B Interpreting Fault Tables B-11 B I/O Fault Action The fault action specifies what action the PLC CPU should take when a fault occurs. Table B-11lists possible fault actions. Table B-11. I/O Fault Actions Fault Action Action Taken by CPU Code Informational Log fault in fault tabl...
Page 288 - I/O Fault Time Stamp
B-12 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K B I/O Fault Time Stamp The six-byte time stamp is the value of the system clock when the fault was recorded by the PLCCPU. Values are coded in BCD format. Table B-13. I/O Fault Time Stamp Byte Number Desc...
Page 289 - Instruction Mnemonics
GFK-0467K C-1 Instruction Mnemonics In Program Display/Edit mode, you can quickly enter or search for a programming instruction bytyping the ampersand (&) character followed by the instruction’s mnemonic. For some instructions,you can also specify a reference address or nickname, a label, or a l...
Page 292 - Key Functions
GFK-0467K D-1 Key Functions This appendix lists the keyboard functions that are active in the software environment. Thisinformation may also be displayed on the programmer screen by pressing ALT-K to access keyhelp. Key Sequence Description Key Sequence Description Keys Available Throughout the Soft...
Page 296 - Using Floating-Point Numbers; Floating-Point Numbers
GFK-0467K E-1 Using Floating-Point Numbers There are a few considerations you need to understand when using floating-point numbers. The firstsection discusses these general considerations. Refer to page E-5 and following for instructions onentering and displaying floating-point numbers. Note Floatin...
Page 298 - Internal Format of Floating-Point Numbers
GFK-0467K Appendix E Using Floating-Point Numbers E-3 E Internal Format of Floating-Point Numbers Floating-point numbers are stored in single precision IEEE-standard format. This format requires32 bits, which translates to two (adjacent) 16-bit PLC registers. The encoding of the bits isdiagrammed be...
Page 299 - Values of Floating-Point Numbers
E-4 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K E Values of Floating-Point Numbers Use the following table to calculate the value of a floating-point number from the binary numberstored in two registers. Exponent (e) Mantissa (f) Value of Floating Point...
Page 300 - Entering and Displaying Floating-Point Numbers
GFK-0467K Appendix E Using Floating-Point Numbers E-5 E Entering and Displaying Floating-Point Numbers In the mantissa, up to six or seven significant digits of precision may be entered and stored;however, the programming software will display only the first six of these digits. The mantissa maybe p...
Page 301 - Errors in Floating-Point Numbers and Operations
E-6 Series 90-30/20/Micro Programmable Controllers Reference Manual – September 1998 GFK-0467K E Errors in Floating-Point Numbers and Operations On a 352 CPU, overflow occurs when a number greater than 3.402823E+38 or less than-3.402823E+38 is generated by a REAL function. On all other 90-30 models ...
Page 303 - Index
Index GFK-0467K Index-1 3 350 and 360 series CPUs: changing mode with key switch, 2-14 350 and 360 series CPUs: key switch, 2-14 A ACOS, 4-35ADD, 4-27ADD_IOM, 2-25ADD_SIO, 2-25Addition function, 4-27Addition of I/O module, 3-18Alarm, 3-2Alarm error codes, B-5Alarm processor, 3-2ALT keys, D-1AND, 4-4...