Sign in today to find solutions:

Don't have an account? Sign up

OMRON CJ2 - Manuals

Manuals and User Guides for OMRON CJ2 -

We have 4 OMRON CJ2 - manuals available for free PDF download: User's Manual, Manual, Datasheet

  • Table of contents
    Table Of Contents15................................................................................................................................................................
    Overview of CJ2 CPU Units47................................................................................................................................................................
    Basic Operating Procedure47................................................................................................................................................................
    Overview47................................................................................................................................................................
    CJ2 CPU Unit Features47................................................................................................................................................................
    Memory Configuration59................................................................................................................................................................
    Memory Areas and Stored Data59................................................................................................................................................................
    Transferring Data from a Programming Device to the CPU Unit59................................................................................................................................................................
    CPU Unit Internal Operation63................................................................................................................................................................
    CPU Unit Operating Modes63................................................................................................................................................................
    Overview of CPU Unit Initialization78................................................................................................................................................................
    CPU Unit Initial Settings78................................................................................................................................................................
    PLC Setup84................................................................................................................................................................
    Creating I/O Tables85................................................................................................................................................................
    I/O Tables85................................................................................................................................................................
    Automatic Allocation86................................................................................................................................................................
    Manual Allocation86................................................................................................................................................................
    Setting Routing Tables87................................................................................................................................................................
    Routing Tables87................................................................................................................................................................
    Cases in Which Routing Tables Are Required89................................................................................................................................................................
    Setting and Transferring Routing Tables90................................................................................................................................................................
    Setting Allocated DM Area Words for Special I/O Units and CPU Bus Units91................................................................................................................................................................
    Setting Procedure91................................................................................................................................................................
    CPU Bus Unit Setup Area92................................................................................................................................................................
    Programming95................................................................................................................................................................
    Programming Overview95................................................................................................................................................................
    Basic Ladder Diagram Concepts98................................................................................................................................................................
    ST Language100................................................................................................................................................................
    SFC Overview101................................................................................................................................................................
    Tasks103................................................................................................................................................................
    Overview of Tasks103................................................................................................................................................................
    Cyclic Tasks106................................................................................................................................................................
    Interrupt Tasks112................................................................................................................................................................
    Designing Tasks122................................................................................................................................................................
    Sections132................................................................................................................................................................
    Overview of Sections132................................................................................................................................................................
    Function Blocks134................................................................................................................................................................
    Features of Function Blocks135................................................................................................................................................................
    Function Block Specifications136................................................................................................................................................................
    Symbols139................................................................................................................................................................
    Types of Symbols140................................................................................................................................................................
    Global Symbols142................................................................................................................................................................
    Local Symbols142................................................................................................................................................................
    Network Symbols (CJ2H-CPU6 @ -EIP and CJ2M-CPU3 @ Only)143................................................................................................................................................................
    Variables in Function Blocks147................................................................................................................................................................
    Symbol Data Types148................................................................................................................................................................
    Automatic Address Allocation to Symbols153................................................................................................................................................................
    Instructions154................................................................................................................................................................
    Basic Understanding of Instructions154................................................................................................................................................................
    Specifying Operands161................................................................................................................................................................
    Data Formats169................................................................................................................................................................
    I/O Refresh Timing173................................................................................................................................................................
    Index Registers178................................................................................................................................................................
    What Are Index Registers?178................................................................................................................................................................
    Using Index Registers178................................................................................................................................................................
    Processing Related to Index Registers183................................................................................................................................................................
    Monitoring Index Registers184................................................................................................................................................................
    Sharing Index and Data Registers between Tasks185................................................................................................................................................................
    Specifying Address Offsets187................................................................................................................................................................
    Examples of Address Offset Application189................................................................................................................................................................
    Checking Programs190................................................................................................................................................................
    Errors during CX-Programmer Input190................................................................................................................................................................
    Program Checks with the CX-Programmer190................................................................................................................................................................
    Debugging with the Simulator191................................................................................................................................................................
    Program Execution Check194................................................................................................................................................................
    Precautions197................................................................................................................................................................
    Condition Flags197................................................................................................................................................................
    Special Program Sections202................................................................................................................................................................
    I/O Memory Areas208................................................................................................................................................................
    I/O Memory Area Overview208................................................................................................................................................................
    I/O Memory Area Structure210................................................................................................................................................................
    Holding I/O Memory Values212................................................................................................................................................................
    I/O Area214................................................................................................................................................................
    Input Bits214................................................................................................................................................................
    Output Bits216................................................................................................................................................................
    Data Link Area219................................................................................................................................................................
    Synchronous Data Refresh Area220................................................................................................................................................................
    CPU Bus Unit Area221................................................................................................................................................................
    Special I/O Unit Area222................................................................................................................................................................
    Pulse I/O Area223................................................................................................................................................................
    Serial PLC Link Area224................................................................................................................................................................
    DeviceNet Area225................................................................................................................................................................
    Work Area226................................................................................................................................................................
    Holding Area227................................................................................................................................................................
    Auxiliary Area229................................................................................................................................................................
    Temporary Relay Area230................................................................................................................................................................
    Data Memory Area231................................................................................................................................................................
    Extended Data Memory Area234................................................................................................................................................................
    Timer Areas238................................................................................................................................................................
    Counter Areas240................................................................................................................................................................
    Task Flags241................................................................................................................................................................
    Data Registers247................................................................................................................................................................
    Clock Pulses251................................................................................................................................................................
    File Memory254................................................................................................................................................................
    Types of File Memory254................................................................................................................................................................
    Initializing File Memory255................................................................................................................................................................
    Memory Card Precautions257................................................................................................................................................................
    Types of Files Stored in File Memory259................................................................................................................................................................
    File Types259................................................................................................................................................................
    Creating and Saving Files for File Memory262................................................................................................................................................................
    File Memory Operations263................................................................................................................................................................
    Types of File Memory Operations263................................................................................................................................................................
    File Memory Operating Procedures and File Memory Files265................................................................................................................................................................
    Restrictions on File Use271................................................................................................................................................................
    File Sizes272................................................................................................................................................................
    Relation between Support Software and File Memory Files273................................................................................................................................................................
    I/O Allocations276................................................................................................................................................................
    I/O Table Errors and Precautions291................................................................................................................................................................
    Setting CPU Bus Units and Special I/O Units294................................................................................................................................................................
    Setting Parameters294................................................................................................................................................................
    Data Exchange298................................................................................................................................................................
    Overview of the PLC Setup304................................................................................................................................................................
    PLC Setup Settings306................................................................................................................................................................
    Startup Operation Settings307................................................................................................................................................................
    CPU Unit Settings310................................................................................................................................................................
    Timings/Synchronous Settings316................................................................................................................................................................
    Special I/O Unit Cyclic Refreshing321................................................................................................................................................................
    Basic I/O Unit Rack Response Times323................................................................................................................................................................
    Serial Port Settings325................................................................................................................................................................
    Peripheral Service332................................................................................................................................................................
    FINS Protection333................................................................................................................................................................
    I/O Module334................................................................................................................................................................
    Clock Functions337................................................................................................................................................................
    Times Stored in Memory338................................................................................................................................................................
    Free-running Timers340................................................................................................................................................................
    Cycle Time/High-speed Processing341................................................................................................................................................................
    Minimum Cycle Time341................................................................................................................................................................
    Maximum Cycle Time342................................................................................................................................................................
    Monitoring the Cycle Time343................................................................................................................................................................
    High-speed Inputs343................................................................................................................................................................
    Background Execution344................................................................................................................................................................
    High-speed Interrupt Function353................................................................................................................................................................
    Startup Settings and Maintenance356................................................................................................................................................................
    Holding Settings for Operating Mode Changes and at Startup356................................................................................................................................................................
    Power OFF Detection Delay Setting358................................................................................................................................................................
    Disabling Power OFF Interrupts359................................................................................................................................................................
    RUN Output360................................................................................................................................................................
    Automatic Transfer at Startup361................................................................................................................................................................
    Unit Management Functions369................................................................................................................................................................
    Basic I/O Unit Management369................................................................................................................................................................
    CPU Bus Unit Flags/Bits371................................................................................................................................................................
    Special I/O Unit Flags/Bits372................................................................................................................................................................
    Memory Management Functions373................................................................................................................................................................
    Automatic Backup373................................................................................................................................................................
    EM File Memory Functions375................................................................................................................................................................
    Comment Memory376................................................................................................................................................................
    Replacing the Entire Program during Operation377................................................................................................................................................................
    Security Functions384................................................................................................................................................................
    Write-protection Using the DIP Switch384................................................................................................................................................................
    Read Protection Using Passwords384................................................................................................................................................................
    Program Operation Protection Using Production Lot Numbers389................................................................................................................................................................
    Write Protection from FINS Commands390................................................................................................................................................................
    PLC Names394................................................................................................................................................................
    Debugging397................................................................................................................................................................
    Forced Set/Reset397................................................................................................................................................................
    Test Input398................................................................................................................................................................
    Differential Monitoring398................................................................................................................................................................
    Online Editing399................................................................................................................................................................
    Turning OFF Outputs401................................................................................................................................................................
    Tracing Data402................................................................................................................................................................
    Storing the Stop Position at Errors410................................................................................................................................................................
    Failure Alarm Instructions411................................................................................................................................................................
    Simulating System Errors412................................................................................................................................................................
    Failure Point Detection413................................................................................................................................................................
    Synchronous Unit Operation415................................................................................................................................................................
    Details on Synchronous Unit Operation418................................................................................................................................................................
    Synchronous Unit Operation Specifications421................................................................................................................................................................
    Synchronous Data Refresh422................................................................................................................................................................
    Restrictions in Using Synchronous Unit Operation426................................................................................................................................................................
    Application Procedure428................................................................................................................................................................
    Writing the Synchronous Interrupt Task431................................................................................................................................................................
    Adjusting and Troubleshooting Synchronous Unit Operation432................................................................................................................................................................
    Accessing a PLC from the CX-Programmer438................................................................................................................................................................
    System Configurations for Accessible PLCs440................................................................................................................................................................
    Automatic Online Connection447................................................................................................................................................................
    Serial Communications451................................................................................................................................................................
    Overview of Serial Communications451................................................................................................................................................................
    Communications Networks465................................................................................................................................................................
    CPU Unit Operation Flowchart472................................................................................................................................................................
    Computing the Cycle Time472................................................................................................................................................................
    Cycle Time Overview473................................................................................................................................................................
    I/O Unit Refresh Times for Individual Units475................................................................................................................................................................
    Cycle Time Calculation Example479................................................................................................................................................................
    Online Editing Cycle Time Extension481................................................................................................................................................................
    I/O Response Time481................................................................................................................................................................
    Response Time for Input Interrupts482................................................................................................................................................................
    Response Performance of Serial PLC Links483................................................................................................................................................................
    A-1-1 Sequence Input Instructions487................................................................................................................................................................
    A-1-2 Sequence Output Instructions489................................................................................................................................................................
    A-1-3 Sequence Control Instructions490................................................................................................................................................................
    A-1-4 Timer and Counter Instructions494................................................................................................................................................................
    A-1-5 Comparison Instructions498................................................................................................................................................................
    CJ2 CPU Unit Software User's Manual499................................................................................................................................................................
    A-1-6 Data Movement Instructions502................................................................................................................................................................
    A-1-7 Data Shift Instructions504................................................................................................................................................................
    A-1-8 Increment/Decrement Instructions508................................................................................................................................................................
    A-1-9 Symbol Math Instructions508................................................................................................................................................................
    A-1-10 Conversion Instructions513................................................................................................................................................................
    A-1-11 Logic Instructions519................................................................................................................................................................
    A-1-12 Special Math Instructions521................................................................................................................................................................
    A-1-13 Floating-point Math Instructions522................................................................................................................................................................
    A-1-14 Double-precision Floating-point Instructions526................................................................................................................................................................
    A-1-15 Table Data Processing Instructions529................................................................................................................................................................
    A-1-16 Tracking Instructions533................................................................................................................................................................
    A-1-17 Data Control Instructions534................................................................................................................................................................
    A-1-18 Subroutine Instructions538................................................................................................................................................................
    A-1-19 Interrupt Control Instructions539................................................................................................................................................................
    A-1-20 High-speed Counter/Pulse Output Instructions540................................................................................................................................................................
    A-1-21 Step Instructions542................................................................................................................................................................
    A-1-22 Basic I/O Unit Instructions542................................................................................................................................................................
    A-1-23 Serial Communications Instructions545................................................................................................................................................................
    A-1-24 Network Instructions547................................................................................................................................................................
    A-1-25 File Memory Instructions549................................................................................................................................................................
    A-1-26 Display Instructions550................................................................................................................................................................
    A-1-27 Clock Instructions551................................................................................................................................................................
    A-1-28 Debugging Instructions552................................................................................................................................................................
    A-1-29 Failure Diagnosis Instructions552................................................................................................................................................................
    A-1-30 Other Instructions553................................................................................................................................................................
    A-1-31 Block Programming Instructions554................................................................................................................................................................
    A-1-32 Text String Processing Instructions558................................................................................................................................................................
    A-1-33 Task Control Instructions561................................................................................................................................................................
    A-1-34 Model Conversion Instructions561................................................................................................................................................................
    A-1-35 Special Function Block Instructions562................................................................................................................................................................
    A-2 Instruction Execution Times and Number of Steps564................................................................................................................................................................
    A-2-1 Sequence Input Instructions565................................................................................................................................................................
    A-2-2 Sequence Output Instructions565................................................................................................................................................................
    A-2-3 Sequence Control Instructions566................................................................................................................................................................
    A-2-4 Timer and Counter Instructions567................................................................................................................................................................
    A-2-5 Comparison Instructions568................................................................................................................................................................
    A-2-6 Data Movement Instructions569................................................................................................................................................................
    A-2-7 Data Shift Instructions570................................................................................................................................................................
    A-2-8 Increment/Decrement Instructions571................................................................................................................................................................
    A-2-9 Symbol Math Instructions571................................................................................................................................................................
    A-2-10 Conversion Instructions573................................................................................................................................................................
    A-2-11 Logic Instructions575................................................................................................................................................................
    A-2-12 Special Math Instructions575................................................................................................................................................................
    A-2-13 Floating-point Math Instructions576................................................................................................................................................................
    A-2-14 Double-precision Floating-point Instructions577................................................................................................................................................................
    A-2-15 Table Data Processing Instructions578................................................................................................................................................................
    A-2-16 Tracking Instructions580................................................................................................................................................................
    A-2-17 Data Control Instructions580................................................................................................................................................................
    A-2-18 Subroutine Instructions581................................................................................................................................................................
    A-2-19 Interrupt Control Instructions582................................................................................................................................................................
    A-2-20 High-speed Counter/Pulse Output Instructions582................................................................................................................................................................
    A-2-21 Step Instructions585................................................................................................................................................................
    A-2-22 Basic I/O Unit Instructions585................................................................................................................................................................
    A-2-23 Serial Communications Instructions586................................................................................................................................................................
    A-2-24 Network Instructions587................................................................................................................................................................
    A-2-25 File Memory Instructions587................................................................................................................................................................
    A-2-26 Display Instructions588................................................................................................................................................................
    A-2-27 Clock Instructions588................................................................................................................................................................
    A-2-28 Debugging Instructions588................................................................................................................................................................
    A-2-29 Failure Diagnosis Instructions588................................................................................................................................................................
    A-2-30 Other Instructions589................................................................................................................................................................
    A-2-31 Block Programming Instructions589................................................................................................................................................................
    A-2-32 Text String Processing Instructions591................................................................................................................................................................
    A-2-33 Task Control Instructions592................................................................................................................................................................
    A-2-34 Model Conversion Instructions592................................................................................................................................................................
    A-2-35 Special Function Block Instructions593................................................................................................................................................................
    A-2-36 SFC Instructions593................................................................................................................................................................
    A-2-37 Function Block Instance Execution Time593................................................................................................................................................................
    A-3-1 Read-only Area (Set by System)595................................................................................................................................................................
    A-3 Auxiliary Area595................................................................................................................................................................
    A-3-2 Read/Write Area (Set by User)634................................................................................................................................................................
    A-3-3 Details on Auxiliary Area Operation645................................................................................................................................................................
    A-4-1 PLC Memory Addresses648................................................................................................................................................................
    A-4 Memory Map of PLC Memory Addresses648................................................................................................................................................................
    A-4-2 Memory Map649................................................................................................................................................................
    A-5-1 Power OFF Operation650................................................................................................................................................................
    A-5 Operation for Power Interruptions650................................................................................................................................................................
    A-5-2 Instruction Execution for Power Interruptions652................................................................................................................................................................
    A-6-1 Changing Windows Firewall Settings654................................................................................................................................................................
    A-6 EtherNet/IP Connections from Windows XP (SP2 or Higher), Windows Vista or Windows 7654................................................................................................................................................................
    A-7 PLC Comparison Charts: CJ-series and CS-series PLCs657................................................................................................................................................................
    A-8-1 CJ2H CPU Unit661................................................................................................................................................................
    A-8 Functions Supported for Unit Versions661................................................................................................................................................................
    A-8-2 CJ2M CPU Unit662................................................................................................................................................................
    Index663................................................................................................................................................................
    Revision History667................................................................................................................................................................
  • Table of contents
    Table Of Contents15................................................................................................................................................................
    Basic System Configuration41................................................................................................................................................................
    Overview of CJ2 CPU Units44................................................................................................................................................................
    Overview44................................................................................................................................................................
    CJ2 CPU Unit Features46................................................................................................................................................................
    Basic Operating Procedure54................................................................................................................................................................
    Specifications55................................................................................................................................................................
    General Specifications55................................................................................................................................................................
    Performance Specifications56................................................................................................................................................................
    Index57................................................................................................................................................................
    Function Specifications63................................................................................................................................................................
    Expanded System Configuration71................................................................................................................................................................
    CPU Units102................................................................................................................................................................
    CPU Section102................................................................................................................................................................
    Built-in EtherNet/IP Section (CJ2H-CPU6 @ -EIP and CJ2M-CPU3 @ Only)108................................................................................................................................................................
    Memory Card113................................................................................................................................................................
    Models and Specifications113................................................................................................................................................................
    Operating Procedures113................................................................................................................................................................
    Installing and Removing114................................................................................................................................................................
    Pulse I/O Modules (CJ2M CPU Unit Only)117................................................................................................................................................................
    Part Names and Functions117................................................................................................................................................................
    Serial Option Boards (CJ2M-CPU3@ Only)120................................................................................................................................................................
    Power Supply Units121................................................................................................................................................................
    Components124................................................................................................................................................................
    Selecting a Power Supply Unit127................................................................................................................................................................
    CJ-series Basic I/O Units128................................................................................................................................................................
    Basic I/O Units with Terminal Blocks128................................................................................................................................................................
    Thirty-two/Sixty-four-point Basic I/O Units with Connectors130................................................................................................................................................................
    I/O Control Units and I/O Interface Units132................................................................................................................................................................
    Component Names132................................................................................................................................................................
    System Configuration132................................................................................................................................................................
    Support Software134................................................................................................................................................................
    CX-One FA Integrated Tool Package134................................................................................................................................................................
    Connection Methods137................................................................................................................................................................
    Connecting by USB137................................................................................................................................................................
    Connecting by RS-232C139................................................................................................................................................................
    Connecting to Ethernet (CJ2H-CPU6 @ -EIP and CJ2M-CPU3 @ Only)141................................................................................................................................................................
    Fail-safe Circuits146................................................................................................................................................................
    Installation148................................................................................................................................................................
    Installation and Wiring Precautions148................................................................................................................................................................
    Installation in a Control Panel150................................................................................................................................................................
    Assembled Appearance and Dimensions152................................................................................................................................................................
    Connecting PLC Components157................................................................................................................................................................
    DIN Track Installation159................................................................................................................................................................
    Connecting CJ-series Expansion Racks161................................................................................................................................................................
    Wiring164................................................................................................................................................................
    Power Supply Wiring164................................................................................................................................................................
    Wiring CJ-series Basic I/O Units with Terminal Blocks171................................................................................................................................................................
    Wiring Basic I/O Units with Connectors173................................................................................................................................................................
    Connecting to Connector-Terminal Block Conversion Units or I/O Relay Terminals177................................................................................................................................................................
    Connecting Pulse I/O Modules to External I/O Devices (CJ2M CPU Unit Only)177................................................................................................................................................................
    Connecting I/O Devices179................................................................................................................................................................
    Connecting through an Ethernet Cable (CJ2H-CPU6 @ -EIP and CJ2M-CPU3 @ Only)183................................................................................................................................................................
    Control Panel Installation186................................................................................................................................................................
    Temperature186................................................................................................................................................................
    Humidity188................................................................................................................................................................
    Vibration and Shock188................................................................................................................................................................
    Atmosphere188................................................................................................................................................................
    Electrical Environment189................................................................................................................................................................
    Grounding194................................................................................................................................................................
    CPU Unit Errors198................................................................................................................................................................
    Errors and Remedies198................................................................................................................................................................
    Checking Errors198................................................................................................................................................................
    Checking Detailed Status199................................................................................................................................................................
    Reading Error Log Information199................................................................................................................................................................
    I/O Table Verification201................................................................................................................................................................
    Types of Errors202................................................................................................................................................................
    Handling Errors203................................................................................................................................................................
    Checking Built-in EtherNet/IP Port Error Status221................................................................................................................................................................
    Checking Error Status at the EtherNet/IP Port Seven-segment Display222................................................................................................................................................................
    Non-CPU Unit Errors and Remedies224................................................................................................................................................................
    Error Causes and Remedies224................................................................................................................................................................
    Inspections232................................................................................................................................................................
    Inspection Points232................................................................................................................................................................
    Unit Replacement Precautions234................................................................................................................................................................
    Replacing the Battery235................................................................................................................................................................
    Battery Replacement235................................................................................................................................................................
    Operation When Battery Is Exhausted or Not Installed238................................................................................................................................................................
    Power Supply Unit Replacement Time240................................................................................................................................................................
    Backing Up Data248................................................................................................................................................................
    Using a Computer to Back Up Data249................................................................................................................................................................
    PLC Backup Tool249................................................................................................................................................................
    PLC Backup Tool Operations250................................................................................................................................................................
    Simple Backup253................................................................................................................................................................
    Verifying Backup Operations with Indicators256................................................................................................................................................................
    Related Auxiliary Bits/Words258................................................................................................................................................................
    Time Required for Simple Backup258................................................................................................................................................................
    Data Backed Up Using Simple Backup258................................................................................................................................................................
    A-1 Specifications of Basic I/O Units264................................................................................................................................................................
    A-1-1 Overview of Units264................................................................................................................................................................
    A-1-2 Basic I/O Units267................................................................................................................................................................
    A-1-3 Precautions on Contact Output Units319................................................................................................................................................................
    A-1-4 Connecting Connector-Terminal Block Conversion Units and I/O Relay Terminals321................................................................................................................................................................
    A-2 Dimensions356................................................................................................................................................................
    A-2-1 CJ2H CPU Units356................................................................................................................................................................
    A-2-2 CJ2M CPU Units357................................................................................................................................................................
    A-2-3 Power Supply Units358................................................................................................................................................................
    A-2-4 Basic I/O Units360................................................................................................................................................................
    A-2-5 I/O Control Unit and I/O Interface Unit363................................................................................................................................................................
    A-2-6 I/O Memory Card363................................................................................................................................................................
    A-2-7 Pulse I/O Modules (CJ2M CPU Unit Only)363................................................................................................................................................................
    A-2-8 Serial Option Boards (CJ2M-CPU3 @ Only)364................................................................................................................................................................
    A-3 Fatal and Non-fatal Error Details365................................................................................................................................................................
    A-3-1 Fatal Errors365................................................................................................................................................................
    A-3-2 Non-fatal Errors370................................................................................................................................................................
    A-4 Connecting to a Serial Port on the CPU Unit373................................................................................................................................................................
    A-4-1 Serial Port Interface Types and Specifications373................................................................................................................................................................
    A-4-2 Connection Examples379................................................................................................................................................................
    A-4-3 Applicable Connectors and Recommended Cables394................................................................................................................................................................
    A-5 Installing the USB Driver401................................................................................................................................................................
    A-6 Load Short-circuit Protection and Line Disconnection Detection for Basic I/O Units411................................................................................................................................................................
    A-6-1 Load Short-circuit Protection and Line Disconnection Detection for CJ1W-OD202411................................................................................................................................................................
    A-6-2 Load Short-circuit Protection for CJ1W-OD204/OD212/OD232/MD232413................................................................................................................................................................
    A-7 Relay Output Noise Reduction Methods415................................................................................................................................................................
    A-8 Functions Supported for Unit Versions417................................................................................................................................................................
    A-8-1 CJ2H CPU Units417................................................................................................................................................................
    A-8-2 CJ2M CPU Units418................................................................................................................................................................
    Revision History421................................................................................................................................................................
  • Omron CJ2 - Manual (40 pages)

    Programmable automation controllers