Emerson PACSystems RX3i User Manual
Hide thumbs Also See for PACSystems RX3i:
Table of Contents

Advertisement

User Manual
GFK-2222AK
October 2019
PACSystems™ RX3i and RSTi-EP CPU
Reference Manual

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PACSystems RX3i and is the answer not in the manual?

Questions and answers

Summary of Contents for Emerson PACSystems RX3i

  • Page 1 User Manual GFK-2222AK October 2019 PACSystems™ RX3i and RSTi-EP CPU Reference Manual...
  • Page 2 These instructions do not purport to cover all details or variations in equipment, nor to provide for every possible contingency to be met during installation, operation, and maintenance. The information is supplied for informational purposes only, and Emerson makes no warranty as to the accuracy of the information included herein. Changes, modifications, and/or improvements to equipment and specifications are made periodically and these changes may or may not be reflected herein.
  • Page 3: Table Of Contents

    Table of Contents Table of Contents ............................. i Table of Figures ............................vi Section 1: Introduction......................... 1 Revisions in this Manual ......................2 PACSystems Control System Overview .................. 5 1.2.1 Programming and Configuration ..................5 1.2.2 Process Systems ......................... 5 1.2.3 PACSystems CPU Models ....................
  • Page 4 Contents RX3i CPU Features and Specifications .................. 26 RSTi-EP CPU Features and Specifications ................33 2.3.1 CPE100/CPE115........................ 36 Section 3: CPU Configuration ......................45 Configuring the CPU ......................45 Configuration Parameters ....................46 3.2.1 Settings Parameters ......................46 3.2.2 Modbus TCP Address Map ....................50 3.2.3 SNTP ..........................
  • Page 5 Contents 4.5.2 STOP-to-RUN Mode Transition ..................91 Flash Memory Operation ..................... 92 4.6.1 RUN/STOP Switch Operation .................... 93 Logic/Configuration Source and CPU Operating Mode at Power-Up ........93 4.7.1 CPU Mode when Memory Not Preserved/Power-up Source is Flash ........95 4.7.2 CPU Mode when Memory Preserved .................
  • Page 6 Contents Section 6: Serial I/O, SNP & RTU Protocols ..................135 Configuring Serial Ports Using COMMREQ Function 65520 ..........135 6.1.1 COMMREQ Function Example ..................135 6.1.2 Timing ..........................136 6.1.3 Sending Another COMMREQ to the Same Port ..............136 6.1.4 Invalid Port Configuration Combinations ................
  • Page 7 Contents Appendix A: Performance Data ...................... 193 A-1.1 Boolean Execution Measurements (ms per 1000 Boolean executions) ......193 A-2 Instruction Timing ......................... 195 A-2.1 Overview ........................195 A-2.2 RX3i & RSTi-EP Instruction Times ..................197 A-3 Overhead Sweep Impact Times ...................... 198 A-3.1 Base Sweep Times ......................
  • Page 8: Table Of Figures

    Contents Table of Figures Figure 1: Configuring an Embedded PROFINET Controller _____________________________________________ 18 Figure 2: CPE100, Front, Top, and Bottom Views and Features _________________________________________ 36 Figure 3: CPE100/CPE115 Membrane Pushbutton and Module Status LEDs ______________________________ 38 Figure 4: State Diagram for CPE100/CPE115 Run/Stop Operation ______________________________________ 39 Figure 5: Typical Multi-Tier LAN Application (Star/Bus Topology) _______________________________________ 42 Figure 6: Typical Multi-Tier LAN Application (Ring Topology) __________________________________________ 42 Figure 7: Downloading Hardware Config to CPU ____________________________________________________ 70...
  • Page 9: Introduction

    2. PACSystems RX3i System Manual, GFK-2314. 3. RSTi-EP User Manual, GFK-2958. CPU Programming is covered in PACSystems RX3i and RSTi-EP CPU Programmer’s Reference Manual, GFK-2950. It provides an overview of program structure and describes the various languages which may be used, their syntax and operation, and provides examples.
  • Page 10: Revisions In This Manual

    Description Oct- Updated to reflect updated capabilities of FW 9.90 ▪ 2019 Following Emerson’s acquisition of this product, changes have been made to apply ▪ appropriate branding and registration of the product with required certification agencies. Jun- Updated the Appendix A on Boolean Execution for clarity.
  • Page 11 Update of Communications Section (Section 5:). Added Serial Port Electrical ▪ Isolation. Removed original Sections 5-11 (Sections dealing with CPU programming) and ▪ Section 14 (Diagnostics). These are now in PACSystems RX3i CPU Programmer’s Reference Manual, GFK-2950 (Sections 2-8 and Section 9 respectively). Introduction...
  • Page 12 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 1 GFK-2222AK October 2019 Date Description Nov- New Section, A-3.6 for EGD Sweep Impact for RX3i CPE302/CPE305/CPE310 and ▪ 2014 RSTi-EP CPE100/CPE115 Embedded Ethernet Interface. Oct- Support for OPC UA using embedded Ethernet port in CPE305/CPE310 with CPU ▪...
  • Page 13: Pacsystems Control System Overview

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 1 GFK-2222AK October 2019 Date Description earlier Added instructions for replacing the RX3i CPE305/CPE310 real-time clock battery: ▪ Section 2:. Corrected definitions of reverse acting and direct acting modes for PID functions: ▪...
  • Page 14: Pacsystems Cpu Models

    The RX3i CPE302/CPE305/CPE310 embedded Ethernet interface provides a maximum of two programmer connections. It does not support the full set of Ethernet interface features described in this manual. For a summary of RX3i embedded Ethernet interface features, refer to PACSystems RX3i TCP/IP Ethernet Communications User Manual, GFK-2224K or later. Introduction...
  • Page 15: Rx3I Overview

    I/O with catalog prefixes IC693 and IC694. RX3i modules with catalog prefixes IC695, including the Ethernet and other communications modules can only be installed in the universal backplane. See the PACSystems RX3i System Manual, GFK-2314 for a list of supported modules.
  • Page 16 PAC Machine Edition Release 9.50 SIM 10 or later is required for native configuration support of the CPL410. IC695PNS001 firmware version 2.40 added support for a number of I/O modules not previously supported, as documented in PACSystems RX3i PROFINET Scanner Important Product Information, GFK-2738L.
  • Page 17 IC695PNS001 firmware version 2.41 added support for the Remote Get HART Device Information COMMREQ not previously supported, as documented in PACSystems RX3i PROFINET Scanner Important Product Information, GFK-2738L. The syntax and usage for this COMMREQ are described in the PACSystems RX3i System Manual, GFK-2314M or later.
  • Page 18: Rsti-Ep Overview

    9.20, or CPE330 firmware version 9.21, the CPE embedded Ethernet interface supports Simple Network Time Protocol (SNTP) Client, Coordinated Universal Time (UTC), and Daylight Savings Time (DST). Refer to PACSystems RX3i and RSTi-EP TCP/IP Ethernet Communications User Manual, GFK-2224 version Q or higher.
  • Page 19: Migrating Series 90 Applications To Pacsystems

    The RX3i supports most Series 90-30 modules, expansion racks, and remote racks. ▪ For a list of supported I/O, Communications, Motion, and Intelligent modules, see the PACSystems RX3i System Manual, GFK-2314. The supports most existing Series 90-70 modules, expansion racks and Genius ▪...
  • Page 20: Documentation

    PACSystems RX3i Sequence of Events User Manual GFK-3050 PACSystems RX3i IC695ACC402 Energy Pack Quick Start Guide GFK-2939 PACSystems RX3i IC695ACC400 Energy Pack Data Sheet GFK-2724 DSM324i Motion Controller for PACSystems RX3i and Series 90-30 User’s GFK-2347 Manual PACSystems RX3i PROFIBUS Modules User’s Manual GFK-2301 Introduction...
  • Page 21: Field Agent Manuals

    Genius I/O Analog and Discrete Blocks User’s Manual GEK-90486-2 In addition to these manuals, datasheets and product update documents describe individual modules and product revisions. The most recent PACSystems documentation is available on Emerson’s support website. (See link located at the end of this document.) Introduction...
  • Page 23: Cpu Features & Specifications

    Section 2: CPU Features & Specifications This Section provides details on the hardware features of the PACSystems CPUs and their specifications. Common CPU Features ▪ RX3i CPU Features and Specifications ▪ RSTi-EP CPU Features and Specifications ▪ Common CPU Features Features are shared by all PACSystems CPU models ▪...
  • Page 24: Features Shared By Certain Pacsystems Cpu Models

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2 GFK-2222AK October 2019 Indirect mechanism for upgrading firmware in backplane modules via the CPU. ▪ 2.1.1 Features Shared by Certain PACSystems CPU Models RX3i CPE302, CPE305, CPE310, CPE330, CPE400 and CPL410 offer battery-less ▪...
  • Page 25: Operation, Protection, And Module Status

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2 GFK-2222AK October 2019 Each upgrade kit contains specific instructions for performing the upgrade. Depending on the CPU Model and firmware version, the method employed is one of the following: a) Use a serial port and the WinLoader utility (applies to CPU310, CPU315 & CPU320 models and to CPE305/CPE310 models containing firmware versions prior to v7.30) b) Use a USB port and memory stick for CPE302 (with firmware version 9.40 and later) or for CPE305/CPE310 models (with firmware version 7.30 and later)
  • Page 26: Figure 1: Configuring An Embedded Profinet Controller

    LAN Mode of the selected port to PROFINET. The PROFINET Controller node description then displays that a PROFINET node exists on the selected LAN. For further details, refer to the PACSystems RX3i & RSTi-EP PROFINET IO-Controller User Manual, GFK-2571G or later.
  • Page 27: Opc Ua

    CPE302 firmware version 9.40, OPC UA Server is configurable through PAC Machine Edition For more information on OPC UA support refer to PACSystems RX3i and RSTi-EP TCP/IP Ethernet Communications User Manual, GFK-2224 version M or higher. Not supported by RSTi-EP CPE100/CPE115 at the time of publication.
  • Page 28: Removable Data Storage Devices (Rdsds)

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2 GFK-2222AK October 2019 2.1.7 Removable Data Storage Devices (RDSDs) The RX3i CPE302/CPE305/CPE310/CPE330 and RSTi-EP CPE100/CPE115 CPUs provide the ability to transfer applications to and from Removable Data Storage Devices (RDSD). Typically, these are USB-compatible devices, such as a memory stick, smart phone, digital camera or an MP3 device.
  • Page 29: Uploading A Project From The Cpu To The Rdsd

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2 GFK-2222AK October 2019 2.1.8 Uploading a Project from the CPU to the RDSD Flash devices write in whole memory blocks and memory block sizes vary among devices. The amount of space used by a project may vary between RDSDs due to the differences in minimum block sizes and therefore the number of blocks used by a project.
  • Page 30: Downloading A Project From The Rdsd To The Cpu

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2 GFK-2222AK October 2019 Notes: Only one application project can be stored to the RDSD at a time. Before the RX3i writes the project to the RDSD, any previous application is removed; if a directory named PACS_Folder exists on the RDSD at the start of the upload, it is deleted with all of its contents.
  • Page 31 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2 GFK-2222AK October 2019 CAUTION If the RDSD is removed during data transfer to the CPU, the RX3i controller will generate a fatal fault (sequence store fault) and SYS FLT LED will turn red. You will need to clear the fault tables through a programmer connection or by power cycling the CPU with the Energy Pack disconnected before attempting to download again.
  • Page 32: Cpu Over-Temperature Monitoring And Behavior

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2 GFK-2222AK October 2019 2.1.9.1.2 Sample options.txt File If the following options.txt file is present on the RDSD, logic, configuration and reference data are copied to the CPU, and files are written to flash. Cam files are not copied. Download_LogicAndCfg Y Download_Data Y Download_CamFiles N...
  • Page 33 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2 GFK-2222AK October 2019 If the temperature continues to rise and reaches the specification limit, the CPU goes ▪ into a firmware-controlled reset. Uniquely, the CPE400 and CPL410 turn on its TEMP LED, using amber. ▪...
  • Page 34: Rx3I Cpu Features And Specifications

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2 GFK-2222AK October 2019 RX3i CPU Features and Specifications CPU320/ CPE302 CPE400/ CPU310 CPU315 CPE310 CPE330 CRU320 CPE305 CPL410 Discontinued - Discontinued - Discontinued - Lifecycle Phase use CPE310 Active Active Active Active use CPE310 use CPE330...
  • Page 35 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2 GFK-2222AK October 2019 CPU320/ CPE302 CPE400/ CPU310 CPU315 CPE310 CPE330 CRU320 CPE305 CPL410 LEDs LEDs LEDs LEDs LEDs LEDs LEDs & OLED Firmware Upgrade v7.30 & later: v7.30 & later: Web Interface Web Interface CPU Firmware Upgrade Mechanism <---------------WinLoader/Serial Port--------------->...
  • Page 36 Note: Whenever the size of any reference memory is changed, the content of the corresponding reference memory is automatically cleared. For discussion of memory types and how they are managed, refer to PACSystems RX3i CPU Programmer’s Reference Manual, GFK-2950 Section 3.
  • Page 37 5 years 5 years Refer to PACSystems RX3i TCP/IP Ethernet Communications User Manual, GFK-2224M or later for supported AUPs. The Advanced User Parameters (AUP) feature has been incorporated into PME Hardware Configuration (HWC) effective with PME release 8.60 SIM5. Effective with CPE302/CPE305/CPE310/CPE400 firmware version 9.20, or CPE330 firmware version 9.21, SNTP is supported by the embedded CPU Ethernet interfaces. PACMachine Edition Release 9.00 SIM 10, or 9.50 SIM 2, or later is required for SNTP Client, UTC, and DST support.
  • Page 38 CPE400 and CPE330 (firmware version 8.90 or later) provide PROFINET support via an embedded PROFINET Controller: no external hardware is required. All other CPUs that support PROFINET require a rack-mounted PROFINET Controller (IC695PNC001). CPE330 may also host IC695PNC001 modules in the CPU rack. Refer to the PACSystems RX3i PROFINET IO-Controller Manual, GFK-2571F or later.
  • Page 39 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2 GFK-2222AK October 2019 CPU320/ CPE302 CPE400/ CPU310 CPU315 CPE310 CPE330 CRU320 CPE305 CPL410 Configurable Model Configurable Redundancy Features in CPE400/ CRU320 only in CPE330 CPL410 Single bit Single bit Single bit Memory Error Checking and Correction correcting &...
  • Page 41: Rsti-Ep Cpu Features And Specifications

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2 GFK-2222AK October 2019 RSTi-EP CPU Features and Specifications CPE100/CPE115 Lifecycle Phase Active Operating System VxWorks #RX3i Slots Occupied Backplane Standalone Temperature Range RSTi-EP -40°C to 70°C Power Requirements RSTi-EP +3.3Vdc RSTi-EP +5 Vdc RSTi-EP +24Vdc Relay with Energy Pack RSTi-EP +24Vdc Relay w/o Energy Pack Input Power (Max)
  • Page 42 Note: Whenever the size of any reference memory is changed, the content of the corresponding reference memory is automatically cleared. For discussion of memory types and how they are managed, refer to PACSystems RX3i and RSTi-EP CPU Programmer’s Reference Manual, GFK-2950 Section 3.
  • Page 43 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2 GFK-2222AK October 2019 CPE100/CPE115 Protocols Modbus RTU Slave SNP Slave Serial I/O SRTP (# simultaneous server conns) up to 16 Modbus TCP up to 8 (# simultaneous server connections) SRTP Channel or Modbus TCP Client up to 8 (# simultaneous) Ethernet Global Data (EGD)
  • Page 44: Cpe100/Cpe115

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2 GFK-2222AK October 2019 2.3.1 CPE100/CPE115 2.3.1.1 Introduction The EPSCPE100 and EPSCPE115 are the first standalone CPUs in the RSTi-EP family. Each is supported by two mounting options: 1. As shipped, it mounts onto a DIN rail using a DIN-rail adaptor plate. 2.
  • Page 45 It is a standalone PLC that supports distributed I/O. The CPE100/CPE115 are programmed and configured over Ethernet via Emerson’s PAC Machine Edition (PME) software. Each is a standalone CPU with the following features: •...
  • Page 46: Figure 3: Cpe100/Cpe115 Membrane Pushbutton And Module Status Leds

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2 GFK-2222AK October 2019 • The CPE100/CPE115 is secure by design, incorporating technologies such as secure boot, trusted platform module (disabled), and encrypted firmware updates. • Module LEDs on the face plate provides basic status and control information of CPE100/CPE115. •...
  • Page 47: Figure 4: State Diagram For Cpe100/Cpe115 Run/Stop Operation

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2 GFK-2222AK October 2019 Figure 4: State Diagram for CPE100/CPE115 Run/Stop Operation STOP/IO RUN/IO Disabled Enabled The Run/Stop switch is enabled by default; it can be disabled in PME Hardware Configuration (HWC) settings. 2.3.1.3 LED Indicators (LEDs) 2.3.1.3.1...
  • Page 48 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2 GFK-2222AK October 2019 2.3.1.3.2 Module Status Indicators There are three LEDs and one membrane pushbutton on the front panel, as shown in Figure 3. The table below describes the behavior of each LED: LED State Operating State (after Power-Up) Blinking;...
  • Page 49 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2 GFK-2222AK October 2019 2.3.1.4 Ethernet Ports CPE100/CPE115 provides two independent Fast Ethernet LANs. LAN1 has only one port and is dedicated to embedded Ethernet controller and whereas LAN2 is comprised of 3 switched ports configurable either as a second embedded Ethernet controller or as an embedded PROFINET controller.
  • Page 50: Figure 5: Typical Multi-Tier Lan Application (Star/Bus Topology)

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2 GFK-2222AK October 2019 2.3.1.5 Ethernet Topology A typical application will take advantage of the two independent LANs. The dedicated LAN1 port will be used for communications with plant-level or supervisory layers. The switched LAN2 will be used to communicate with devices over PROFINET within the manufacturing cell or process.
  • Page 51 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2 GFK-2222AK October 2019 2.3.1.6 Super Capacitor In the event of loss of system power, the internal super capacitor maintains power long enough for the CPE100/CPE115 to write its user memory contents to non-volatile storage (flash) memory.
  • Page 53: Cpu Configuration

    Section 3: CPU Configuration The PACSystems CPU and I/O system is configured using PACMachine Edition (PME) Logic Developer-PLC programming software. The CPU verifies the physical module and rack configuration at power-up and periodically during operation. The physical configuration must be the same as the programmed configuration.
  • Page 54: Configuration Parameters

    Configuration Parameters 3.2.1 Settings Parameters These parameters specify basic operating characteristics of the CPU. For details on how these parameters affect CPU operation, refer to PACSystems RX3i and RSTi-EP CPU Programmer’s Reference Manual, GFK-2950 Section 2. Settings Parameters Passwords Specifies whether passwords are Enabled or Disabled. Default: Enabled.
  • Page 55 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 3 GFK-2222AK October 2019 Settings Parameters Data Power-up Specifies the location/source of the reference data that is to be used (or loaded/copied Source into RAM) after each power up. Choices: Always RAM, Always Flash, Conditional Flash. Default: Always RAM.
  • Page 56 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 3 GFK-2222AK October 2019 Settings Parameters Power-up Mode Selects the CPU mode to be in effect immediately after power-up. Choices: Last, Stop, Run. Default: Last (the mode it was in when it last powered down). Note: If the battery or Energy Pack is missing or has failed and if Logic/Configuration Power-up Source is set to Always RAM, the CPU powers up in STOP Mode...
  • Page 57 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 3 GFK-2222AK October 2019 Settings Parameters LAN2 Mode RX3i CPE330/CPE400/CPL410 and RSTi-EP CPE100/CPE115 CPUs only. CPU LAN2 port mode. Choices: Ethernet: LAN port 2 is used for Ethernet communications. This setting disables embedded PROFINET controller.
  • Page 58: Modbus Tcp Address Map

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 3 GFK-2222AK October 2019 Settings Parameters Enable UTC RX3i CPE302/CPE305/CPE310/CPE330/CPE400/CPL410 CPUs only. Offset Activates Coordinated Universal Time (UTC) settings for the controller. Allows you to select an appropriate local time zone with respect to UTC. Choices: Disabled: UTC settings are not active.
  • Page 59: Sntp

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 3 GFK-2222AK October 2019 End Address Lists the ending address of the mapped region. For word memory types (%AI, %R and %W) the highest address available is configured on the Memory tab. PLC Memory Lists the memory type of the mapped region.
  • Page 60: Time

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 3 GFK-2222AK October 2019 3.2.4 Time This tab displays the Coordinated Universal Time (UTC) and Day Light Savings Time (DST) configuration settings when UTC or DST are active. UTC Offset Local time zone offset with respect to UTC time. Valid Range: Select the closest appropriate time zone for your location.
  • Page 61 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 3 GFK-2222AK October 2019 DST End Month The month when DST ends. Valid Range: January to December. Default: January. DST End Day The day when DST ends. Valid Range: Sunday to Saturday. Default: Sunday.
  • Page 62: Scan Parameters

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 3 GFK-2222AK October 2019 3.2.5 Scan Parameters These parameters determine the characteristics of CPU sweep execution. Scan Parameters Sweep Mode The sweep mode determines the priority of tasks the CPU performs during the sweep and defines how much time is allotted to each task.
  • Page 63 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 3 GFK-2222AK October 2019 Scan Parameters Controller (Available only when Sweep Mode is set to Normal.) Execution settings for the Communication Controller Communications Window. Window Mode Choices: Complete: The window runs to completion. There is no time limit. ▪...
  • Page 64 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 3 GFK-2222AK October 2019 Scan Parameters Backplane (Available only when Sweep Mode is set to Normal. Read-only if the Backplane Communications Communications Window Mode is set to Complete.) The maximum execution time for Window Timer the Backplane Communications Window per scan.
  • Page 65: Memory Parameters

    An I/O variable is a symbolic variable that is mapped to the inputs and outputs of a module in the hardware configuration. For details on using symbolic variables and I/O variables, refer to PACSystems RX3i and RSTi-EP CPU Programmer’s Reference Manual, GFK-2950 Section 4.
  • Page 66 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 3 GFK-2222AK October 2019 Md = 3 or 4. The number of bits is multiplied by 3 to keep track of the force, transition, and value of each bit. If point faults are enabled, the number of I/O discrete bits is multiplied by 4.
  • Page 67 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 3 GFK-2222AK October 2019 3.2.6.3 Memory Allocation Configuration Memory Parameters Reference Points %I Discrete Input, %Q Discrete The upper limit for the range of each of these memory types. Read only. Output, %M Internal Discrete, %S System, %SA System, %SB System, System, Temporary...
  • Page 68: Fault Parameters

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 3 GFK-2222AK October 2019 Memory Parameters Point Fault References The Point Fault References parameter must be enabled if you want to use fault contacts in your logic. Assigning point fault references causes the CPU to reserve additional memory.
  • Page 69 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 3 GFK-2222AK October 2019 Fault Parameters System Bus Error (Fault group 12.) When a bus error occurs on the backplane, system variable #SBUS_ER (%SA32) turns (To turn it OFF, cycle power on the main rack.) Default: Fatal.
  • Page 70: Redundancy Parameters (Redundancy Cpus Only)

    Ethernet module failure than the Loss-of-Option module fault. One technique is to use application logic to monitor the Ethernet Interface Status bits, which are described in Monitoring the Ethernet Interface Status Bits in the PACSystems RX3i and RSTi-EP TCP/IP Ethernet Communications User Manual, GFK-2224. If the logic determined that a critical Ethernet module was malfunctioning, it could execute SVC_REQ #13 to stop the CPU.
  • Page 71 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 3 GFK-2222AK October 2019 These parameters configure the operating characteristics of the CPU serial ports . COM1 and COM2 have the same set of configuration parameters. The protocol (Port Mode) determines the parameters that can be set for each port. Port Parameters Port Mode The protocol to execute on the serial port.
  • Page 72 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 3 GFK-2222AK October 2019 Port Parameters Station (RTU Slave only) ID for the RTU Slave. Address Valid range: 1 through 247. Default: 1. Note: You should avoid using station address 1 for any other Modbus slave in a PACSystems control system because the default station address for the CPU is 1.
  • Page 73 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 3 GFK-2222AK October 2019 Port Parameters Physical (All port modes except Available.) The type of physical interface that this protocol is Interface communicating over. Choices: 2-wire: There is only a single path for receive and transmit communications. The ▪...
  • Page 74 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 3 GFK-2222AK October 2019 Port Parameters STOP Mode (Available only when Specify STOP Mode is set to Yes.) The STOP Mode protocol to execute on the serial port. If you set the STOP Mode to the same protocol as for the RUN Mode, then the other STOP Mode parameters are read-only and are set to the same values as for the RUN Mode.
  • Page 75: Scan Sets Parameters

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 3 GFK-2222AK October 2019 Port Parameters Timeout(s) (Available only when STOP Mode is set to SNP Slave.) The maximum time that the slave will wait to receive a message from the master. If a message is not received within this timeout interval, the slave will assume that communications have been disrupted, and then it will wait for a new attach message from the master.
  • Page 76: Power Consumption Parameters

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 3 GFK-2222AK October 2019 Number of (Editable only when the Scan Type is set to Fixed Scan.) The scan rate of the scan set. Double- Sweeps click the field, then select a value. A value of 0 prevents the I/O from being scanned. Valid range: 0 through 64.
  • Page 77 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 3 GFK-2222AK October 2019 3.2.13.1 Access Control List Settings Memory The memory area in which the reference address range is defined. Area Default: Select an Area Choices: %AI Analog Input, %AQ Analog Output, %I Discrete Input, %G Genius Global, %M Internal Discrete, %Q Discrete Output, %R Register Memory, %S System, System, System,...
  • Page 78: Opc Ua Parameters

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 3 GFK-2222AK October 2019 3.2.14 OPC UA Parameters These parameters enable or disable the OPC UA Server. OPC UA Parameters Server Specify whether the CPU’s OPC UA Server is enabled or not. Enabled Valid Range: True or False.
  • Page 79: Configuring The Embedded Ethernet Interface

    Ethernet interface configuration includes the following additional procedures. For details on completing these steps, refer to the PACSystems RX3i and RSTi-EP TCP/IP Ethernet Communications User Manual, GFK-2224. Assigning an IP Address for initial network operation, such as connecting the ▪...
  • Page 80: Establishing Initial Ethernet Communications

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 3 GFK-2222AK October 2019 (Optional) Setting up the Controller for Modbus/TCP Server operation. ▪ Note: Whenever a CPE310 is configured as a CPU310, Ethernet properties cannot be configured. The embedded Ethernet interface is not supported when CPE310 is configured as a ▪...
  • Page 81: Setting A Temporary Ip Address

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 3 GFK-2222AK October 2019 Connecting to CPE330 Embedded If the IP Addresses of the CPE330 embedded LAN1 and LAN2 Ethernet when IP Addresses are not Ethernet interfaces are not known, communication may be known established using one of these methods to set new IP addresses: •...
  • Page 82: Figure 9: Set Temporary Ip Address

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 3 GFK-2222AK October 2019 The target PACSystems must be located on the same local sub-network as the ▪ computer running the Set Temporary IP Address utility. The sub-network is specified by the computer's subnet mask and the IP addresses of the computer and the PACSystems Ethernet Interface.
  • Page 83 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 3 GFK-2222AK October 2019 CAUTION The temporary IP Address set by the Set Temporary IP Address utility is not retained through a power cycle. To set a permanent IP Address, you must set the IP Address property of the target and download (store) HWC to the PACSystems.
  • Page 85: Cpu Operation

    The Read Switch Position (Switch_Pos) function allows the logic to read the current position of the RUN/STOP Switch, as well as the mode for which the switch is configured. For details, refer to PACSystems RX3i and RSTi-EP CPU Programmer’s Reference Manual, GFK- 2950.
  • Page 86: Cpu Sweep

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 4 GFK-2222AK October 2019 CPU Sweep The application program in the CPU executes repeatedly until stopped by a command from the programmer, from another device, from the RUN/STOP Switch on the CPU module, or a fatal fault occurs.
  • Page 87: Parts Of The Cpu Sweep

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 4 GFK-2222AK October 2019 4.1.1 Parts of the CPU Sweep There are seven major phases in a typical CPU sweep as shown in the following figure. Figure 10: Major Phases of a Typical CPU Sweep Housekeeping Start-of-Sweep input scan...
  • Page 88 (Logic Window) For details on controlling the execution of programs, refer to PACSystems RX3i and RSTi-EP CPU Programmer’s Reference Manual, GFK-2950 . Interrupt driven logic can execute during any phase of the sweep. For details, refer to PACSystems RX3i and RSTi-EP CPU Programmer’s Reference Manual, GFK-2950 Section 2.
  • Page 89 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 4 GFK-2222AK October 2019 Phase Activity Controller Services the onboard Ethernet and serial ports. In addition, reconfiguration of expansion Communications racks and individual modules occurs during this portion of the sweep. Window The CPU always executes this window.
  • Page 90 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 4 GFK-2222AK October 2019 Phase Activity Background CPU self-tests occur in this window. Window A CPU self-test is performed in this window. Included in this self-test is a verification of the checksum for the CPU operating system software. The Background Window time defaults to 0 ms.
  • Page 91: Cpu Sweep Modes

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 4 GFK-2222AK October 2019 4.1.2 CPU Sweep Modes 4.1.2.1 Normal Sweep Mode In Normal Sweep mode, each sweep can consume a variable amount of time. The Logic window is executed in its entirety each sweep. The Communications windows can be set to execute in a Limited or Run-to-Completion mode.
  • Page 92 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 4 GFK-2222AK October 2019 4.1.2.2 Constant Sweep Mode In Constant Sweep mode, each sweep begins at a specified Constant Sweep time after the previous sweep began. The Logic Window is executed in its entirety each sweep. If there is sufficient time at the end of the sweep, the CPU alternates among the Controller Communications, Backplane Communications, and Background Windows, allowing them to execute until it is time for the next sweep to begin.
  • Page 93: Figure 12: Typical Sweeps In Constant Sweep Mode

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 4 GFK-2222AK October 2019 Figure 12: Typical Sweeps in Constant Sweep Mode SWEEP n SWEEP n+1 SWEEP n+2 SWEEP n+3 t = 0 ms t = 100 ms t = 220 ms t = 320 ms INPUT INPUT...
  • Page 94: Program Scheduling Modes

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 4 GFK-2222AK October 2019 Figure 13: Typical Sweeps in Constant Window Mode SWEEP n+1 SWEEP n SWEEP n+2 INPUT INPUT INPUT LOGIC LOGIC LOGIC OUTPUT OUTPUT OUTPUT Constant Window Time Abbreviations: HK = Housekeeping CC = Controller Communications Window BPC = Backplane Communications Window BG = Background Window...
  • Page 95: Data Coherency In Communications Windows

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 4 GFK-2222AK October 2019 Mode Type Description Run-to- In Run-to-Completion mode, all requests made when the window Completion has started are serviced. When all pending requests in the given window have completed, the CPU transitions to the next phase of the sweep.
  • Page 96: Run/Stop Operations

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 4 GFK-2222AK October 2019 Run/Stop Operations The PACSystems CPUs support four RUN/STOP Modes of operation. You can change these modes in the following ways: the RUN/STOP Switch, configuration from the programming software, LD function blocks, and system calls from C applications. Switching to and from various modes can be restricted based on privilege levels, position of the RUN/STOP Switch, passwords, etc.
  • Page 97: Figure 14: Cpu Sweep In Stop-I/O Disabled And Stop-I/O Enabled Modes

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 4 GFK-2222AK October 2019 4.5.1.2 STOP-I/O Disabled Mode I/O Scan Disabled - the Input and Output scans are skipped. When the CPU is in STOP Mode, it does not execute the application program. You can configure whether the I/O is scanned during STOP Mode.
  • Page 98 While the CPU is in STOP-Halt mode, the PACS Analyzer tool may be employed to examine the CPU’s fault tables. The PACS Analyzer software is a tool that is embedded in PME. It can also be downloaded from Emerson’s support website. (See link located at the end of this document.) If backplane communications have been suspended, the PACS Analyzer must be directly connected to a serial or Ethernet port on the CPU.
  • Page 99: Stop-To-Run Mode Transition

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 4 GFK-2222AK October 2019 2. Navigate to the “Controller Status” page in the OLED Display. 3. Select the “Recovery PLC” option. 4. Select the “Clear StopHalt” option. 5. Confirm the command by selecting “OK”. The message “Please wait.
  • Page 100: Flash Memory Operation

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 4 GFK-2222AK October 2019 Validation of sweep mode and program scheduling mode selections ▪ Validation of references used by programs with the actual configured sizes ▪ Re-initialization of data areas for external blocks and standalone C programs ▪...
  • Page 101: Run/Stop Switch Operation

    The Read Switch Position (Switch_Pos) function allows the logic to read the current position of the RUN/STOP Switch, as well as the mode for which the switch is configured. For details, refer to PACSystems RX3i and RSTi-EP CPU Programmer’s Reference Manual, GFK- 2950.
  • Page 102 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 4 GFK-2222AK October 2019 Before Power Cycle After Power Cycle Logic/Configuration Logic/Configuration Origin of Power-up Source CPU Mode Power-up Source in RAM Logic/Configuration in Flash Always Flash Memory not preserved Flash See CPU Mode when Memory Not (i.e.
  • Page 103: Cpu Mode When Memory Not Preserved/Power-Up Source Is Flash

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 4 GFK-2222AK October 2019 4.7.1 CPU Mode when Memory Not Preserved/Power-up Source is Flash Configuration Parameters RUN/STOP Switch Position CPU Mode Power-up Mode RUN/STOP Switch Enabled Stop Stop Disabled Enabled Run Disabled Run Disabled Enabled Run Enabled...
  • Page 104: Cpu Mode When Memory Preserved

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 4 GFK-2222AK October 2019 4.7.2 CPU Mode when Memory Preserved Configuration Parameters RUN/STOP Power Down CPU Mode Power-up RUN/STOP Switch Position Mode Stop-Mode I/O Scanning Mode Switch Enabled Enabled Stop Stop Enabled Enabled Disabled Stop...
  • Page 105: Clocks And Timers

    2036. You can read and set the hardware TOD time and date through the application program using Service Request function #7. For details, refer to PACSystems RX3i and RSTi-EP CPU Programmer’s Reference Manual, GFK-2950 Section 6.
  • Page 106: Watchdog Timer

    (AUP), ncpu_sync. The CPU must also use a COMMREQ in user logic to select an Ethernet module as the time master. For additional information, refer to Time-stamping of Ethernet Global Data Exchanges in PACSystems RX3i and RSTi-EP TCP/IP Ethernet Communications User Manual, GFK-2224 Section 4.
  • Page 107 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 4 GFK-2222AK October 2019 Infinite execution loop ▪ When selecting a software watchdog value, always set the value higher than the longest expected sweep time to prevent accidental expiration. For Constant Sweep mode, allowance for over sweep conditions should be considered when selecting the software watchdog timer value.
  • Page 108: System Security

    (See below for distinctions between CPU and CPE behavior.) The PACS Analyzer software is a tool that is embedded in PME. It can also be downloaded from Emerson’s support website. During startup following hardware watchdog reset, the CPU/CPE logs an ▪...
  • Page 109 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 4 GFK-2222AK October 2019 For example, users with a Level 4 Privilege Level will be able to access privileges at all privilege levels. Note: The RUN/STOP Switch on the CPU overrides password protection. Even though the programmer may not be able to switch between RUN and STOP Mode, the switch on the CPU can do so.
  • Page 110 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 4 GFK-2222AK October 2019 Table 4-2: PLC Operation Categorized by PLC Privilege Level PLC Privilege Level PLC Operations PLC mode Level 1 Level 2 Level 3 Level 4 Write to Data Memory STOP Read from Data Memory...
  • Page 111 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 4 GFK-2222AK October 2019 Upload Logic STOP Upload Configuration STOP Set Passwords for any Level STOP Delete Passwords for any Level STOP Modbus Writes STOP Modbus Reads STOP SRTP Writes STOP SRTP Reads STOP 4.9.1.2 Privilege Level Request from PAC Machine Edition...
  • Page 112: Oem Protection - Legacy Mode

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 4 GFK-2222AK October 2019 Table 4-3: Privilege Level After Password Config Passwords Defined Privilege Level on Connection Level 1 Level 2 Level 3 Level 4 Level 1 Level 2 Level 3 Level 2 Level 1 4.9.1.3 Maintaining Passwords through a Power Cycle...
  • Page 113: Enhanced Security For Passwords And Oem Protection

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 4 GFK-2222AK October 2019 For OEM protection, it is recommended to store the program to User Flash and set configuration to always load from Flash. When setting up OEM protection it is important to download the user program to RAM and User Flash before enabling the OEM protection.
  • Page 114 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 4 GFK-2222AK October 2019 4.9.3.1 Password and OEM Protection in Systems that Load from Flash Memory CAUTION Be careful when setting and loading passwords from User Flash on every power-up. In this situation, it is not possible to clear passwords back to a default state if the Level 4 password and OEM key are forgotten.
  • Page 115: Legacy/Enhanced Security Comparison

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 4 GFK-2222AK October 2019 4.9.4 Legacy/Enhanced Security Comparison Table 4-4: Legacy/Enhanced Security Comparison Feature Legacy (less secure) Enhanced (more secure) Level 2, 3 and 4 protection Levels 2, 3 and 4 must be set or Passwords can be set individually or modified simultaneously.
  • Page 116: Pacsystems I/O System

    ▪ between devices on the Genius I/O bus and a PROFINET Controller (IC695PNC001) which is installed in the RX3i Main I/O rack. Refer to PACSystems RX3i Genius Communications Gateway User Manual, GFK-2892. For information on Genius I/O, refer to Genius I/O System User’s Manual, ▪...
  • Page 117: I/O Configuration

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 4 GFK-2222AK October 2019 4.10.1 I/O Configuration 4.10.1.1 Module Identification In addition to the catalog number, the programming software stores a Module ID for each configured module in the hardware configuration that it delivers to the CPU. The CPU uses the Module ID to determine how to communicate with a given module.
  • Page 118 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 4 GFK-2222AK October 2019 4.10.1.2.2 Outputs Some output modules have a configurable output default mode that can be specified as either Off or Hold Last State. If a module does not have a configurable output default mode, its output default mode is Off.
  • Page 119: I/O System Diagnostic Data Collection

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 4 GFK-2222AK October 2019 4.10.2 I/O System Diagnostic Data Collection Diagnostic data in a PACSystems I/O system is obtained in either of the following two ways: If an I/O module has an associated bus controller, the bus controller provides the ▪...
  • Page 120: Power-Up And Power-Down Sequences

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 4 GFK-2222AK October 2019 The analog diagnostic data contains both diagnostics and process data with the process data being the High Alarm and Low Alarm bits. The diagnostic data is referenced with the -[F]- and -[NF]- contacts.
  • Page 121 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 4 GFK-2222AK October 2019 4.10.3.1.2 CPU Memory Validation The next phase of system power-up is the validation of the CPU memory. First, if the system verifies that user memory areas are still valid. A known area of user memory is checked to determine if data was preserved.
  • Page 122 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 4 GFK-2222AK October 2019 4.10.3.1.6 I/O System Initialization If the module is an input module, no further configuration is required. If the module is an output module, the module is commanded to go to its default state. The output modules default to all outputs off at power-up and in failure mode, unless configured otherwise.
  • Page 123 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 4 GFK-2222AK October 2019 The RX3i product lines encompass several different Energy Packs, so it is important to use compatible products: IC695CPE302 IC695CPE400 IC695CPE330 IC695CPE305 ICRXICTL000 IC695CPL410 IC695CPE310 Energy Pack IC695ACC403 IC695ACC402 IC695ACC400 ICRXIACCEPK01 Capacitor Pack...
  • Page 124 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 4 GFK-2222AK October 2019 4.10.3.3.2 Energy Pack Replacement If an Energy Pack fails, you can replace it while the CPU is in operation. Use a compatible new unit or a compatible replacement Cap Pack. Whenever an Energy Pack is replaced, the newly installed Cap Pack must build up its charge.
  • Page 125 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 4 GFK-2222AK October 2019 4.10.3.3.4 CPE400/CPL410/ACC403 Status Detection & Fault Reporting Both the CPU (CPE400 or CPL410) and ACC403 contain intelligence, allowing each to determine the status of the other. This permits the CPU to report various conditions to the user via the status bits discussed in Energy Pack Status Bit Operation.
  • Page 126 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 4 GFK-2222AK October 2019 4.10.3.4 Retention of Data Memory Across Power Failure The following types of data are preserved across a power cycle with an operational battery (or for RX3i CPE302, CPE305, CPE310, CPE330, CPE400 or CPL410 models with an operational and attached Energy Pack and RSTi-EP CPE100/CPE115): Application program ▪...
  • Page 127: Communications

    PACSystems CPU. Ethernet communications may be handled by the embedded CPU Ethernet port(s) or by an IC695ETM001 module installed in an RX3i rack. Refer to PACSystems RX3i TCP/IP Ethernet Communications User Manual, GFK-2224. Serial communications may be handled by the embedded CPU Serial port(s) or by an IC695CMM002 or IC695CMM004 module installed in an RX3i rack.
  • Page 128: Figure 15: Cpe330 Overlapping Local Ip Subnet Example

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 5 GFK-2222AK October 2019 SRTP, which is proprietary and which provides the interface with the PME ▪ programming and configuration software and supports communications with certain control systems and supervisory computer layers in the factory; Modbus/TCP, which supports the Modbus messaging structure over the Internet.
  • Page 129 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 5 GFK-2222AK October 2019 5.1.1.1.2 Problem example #2: A user wishes to communicate through a routed network to an RX3i CPU with multiple network interfaces (CPE330, in this example). This remote IP device is configured with the following IP parameters: 192.168.0.5 Subnet Mask...
  • Page 130: Figure 16: Expected Response Path

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 5 GFK-2222AK October 2019 Figure 16: Expected Response Path Figure 17: Actual Response Path Communications...
  • Page 131 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 5 GFK-2222AK October 2019 CAUTION The two ports on the Ethernet Interface must not be connected, directly or indirectly to the same device. The hub or switch connections in an Ethernet network must form a tree; otherwise duplication of packets may result.
  • Page 132: Ethernet Interface Modules

    Specifications) and RX3i systems support rack-based Ethernet Interface modules. These modules are not interchangeable. For details about the capabilities, installation, and operation of these modules, refer to PACSystems RX3i TCP/IP Ethernet Communications User Manual GFK-2224 and PACSystems TCP/IP Ethernet Communications Station Manager User Manual, GFK-2225. Type...
  • Page 133: Serial Port Communications Capabilities

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 5 GFK-2222AK October 2019 5.2.1 Serial Port Communications Capabilities COM1 and COM2 can each be configured for one of the following modes. For details on CPU configuration, refer to Section 3:. RTU Slave – The port can be used for the Modbus RTU slave protocol. This mode also ▪...
  • Page 134: Configurable Stop Mode Protocols

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 5 GFK-2222AK October 2019 5.2.2 Configurable STOP Mode Protocols You can configure the protocol to be used in STOP Mode, based upon the configured serial port (RUN Mode) protocol. The Run/Stop protocol switching is independently configured for each serial port.
  • Page 135 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 5 GFK-2222AK October 2019 5.2.3.3 COM1 (RS-232, RJ-25 Connector) The CPE302/CPE305 provides RS-232 communications via an RJ-25 connector and requires shielded cable IC693CBL316. 5.2.3.3.1 CPE302/CPE305 COM1 RS-232 Signals Pin No. Signal Name Description Clear to Send Transmit Data Signal Ground...
  • Page 136: Figure 18: Com1 Port Cpe400/Cpl410

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 5 GFK-2222AK October 2019 5.2.3.4 COM1 (RS232, RJ45 Connector) The RJ45 Connector is provided for COM1 on CPE400 and CPL410 only. It has the following pinout. Pin No. Signal Name Description Figure 18: COM1 Port CPE400/CPL410 No Connection No Connection Transmit Data...
  • Page 137 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 5 GFK-2222AK October 2019 5.2.3.5 COM2 (RS-485, 15-pin Female D-sub Connector) – All RX3i CPU/CRU Models & RX3i CPE310 This is a DCE port that allows a simple straight-through cable to connect with a standard AT-style RS-232 port.
  • Page 138: Serial Port Electrical Isolation

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 5 GFK-2222AK October 2019 5.2.3.5.2 Station Manager RS-232 Signals Pin No. Signal Name Description Data Carrier Detect Transmit Data Receive Data Data Set Ready Signal Ground Data Terminal Ready Clear To Send Request To Send Ring Indicator 5.2.4...
  • Page 139: Serial Cable Lengths And Shielding

    COM1 (RS-232) 15 m (50 ft.) Shielded cable required for RX3i Note: For details on conformance to radiated emissions standards, refer to Appendix A in the following manuals: PACSystems RX3i System Manual, GFK-2314 5.2.6 Serial Port Baud Rates COM1 COM2...
  • Page 140: Communications Coprocessor Module (Cmm)

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 5 GFK-2222AK October 2019 5.2.7 Communications Coprocessor Module (CMM) PACSystems does not support the following with an IC697CMM711: Access to Symbolic variables ▪ WAIT mode COMMREQs. ▪ Connecting the programming software to the CPU through the CMM’s serial ports. ▪...
  • Page 141 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 5 GFK-2222AK October 2019 get_one_rackfault ▪ get_rack_slot_faults ▪ The C function write_dev will not write to read only references (%S references, ▪ transition bits, and override bits). If this is attempted, the call will fail at run time and return an error code.
  • Page 143: Serial I/O, Snp & Rtu Protocols

    For details on the operands and command block format used by the COMMREQ function, refer to PACSystems RX3i CPU Programmer’s Reference Manual, GFK-2950 Section 4. The COMMREQ uses the following TASKs to specify the port for which the operation is...
  • Page 144: Timing

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 Figure 19: COMMREQ Example 6.1.2 Timing If a port configuration COMMREQ is sent to a serial port that currently has an SNP master (for example, the programmer) connected to it, the COMMREQ function returns an error code to the COMMREQ status word.
  • Page 145 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 Parameter Values Protocol Selector 1 = SNP 3 = RTU 5 = Serial I/O 7 = Message Mode Data Rate 0 = 300 1 = 600 2 = 1200 3 = 2400 4 = 4800 5 = 9600...
  • Page 146: Example Commreq Command Blocks For Serial Port Setup Function

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 6.1.6 Example COMMREQ Command Blocks for Serial Port Setup function The following COMMREQ command blocks provide examples for configuring the various protocols. All values are in decimal unless followed by an H indicating hexadecimal. Note that an example is not provided for Message Mode, but it can be setup with a command block similar to the one for Serial I/O, with a value of 7 for the protocol selector.
  • Page 147: Example Commreq Data Block For Configuring Rtu Protocol

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 6.1.8 Example COMMREQ Data Block for Configuring RTU Protocol Values Meaning Address 13, or 17 Data Block Length Address + 1 0 = No Wait (WAIT mode not supported) WAIT/NOWAIT Flag Status Word Pointer Memory Address + 2...
  • Page 148: Example Commreq Data Block For Configuring Serial I/O Protocol

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 Address + 19 Count of 100 µs units (0 = 3.5 character times) End-of-frame timeout Address + 20 not used Address + 21 not used Address + 22 Count of 10 ms units (range 0-255) Receive-to-transmit delay 6.1.9...
  • Page 149: Serial I/O Protocol

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 Address + 13 not used Timeout Address + 14 0=7 bits, 1=8 bits Bits per Character Address + 15 0 = 1 stop bit, 1 = 2 stop bits Stop Bits Address + 16 not used...
  • Page 150: Status Word For Serial I/O Commreqs

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 6.2.3 Status Word for Serial I/O COMMREQs A value of 1 is returned in the COMMREQ status word upon successful completion of the COMMREQ. Any other value returned is an error code where the low byte is a major error code and the high byte is a minor error code.
  • Page 151 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 Major Error Code Description 13 (0Dh) Remote error — Error processing a remote command. The minor error code identifies the error. 2 (02h) Number of bytes requested to read is greater than input buffer size OR number bytes requested to write is zero or greater than 250 bytes.
  • Page 152: Serial I/O Commreq Commands

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 Major Error Code Description 8 (08h) Modem responded with NO DIALTONE. Modem is unable to complete the requested connection. Check the modem connections and the telephone line. 9 (09h) Modem responded with ERROR.
  • Page 153: Initialize Port Function (4300)

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 6.2.5.1 COMMREQS that Must Complete Execution Autodial (4400) ■ Initialize Port (4300) ■ Set Up Input Buffer (4301) ■ Flush Input buffer (4302) ■ Read port status (4303) ■...
  • Page 154: Set Up Input Buffer Function (4301)

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 6.2.6.1 Example Command Block for the Initialize Port Function Value Value Meaning (decimal) (hexadecimal) Address 0001 0001 Data block length Address +1 0000 0000 NOWAIT mode Address +2 0008 0008 Status word memory type (%R)
  • Page 155: Flush Input Buffer Function (4302)

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 6.2.7.1 Retrieving Data from the Buffer Data can be retrieved from the buffer using the Read String or Read Bytes function. It is not directly accessible from the application program. If data is not retrieved from the buffer in a timely fashion, some characters may be lost.
  • Page 156 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 2. A write request was initiated previously and transmission of the specified number of characters is complete or a time-out has elapsed. The status returned by the function indicates the event or events that have completed. More than one condition can occur simultaneously, if both a read and a write were initiated previously.
  • Page 157 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 6.2.9.2.1 Port Status Word Meanings Name Definition Status Meaning Read Bytes or Read String invoked Read In Previous Read bytes or String has timed out, been progress Cleared canceled, or finished Read Bytes or Read String has successfully Read...
  • Page 158: Write Port Control Function (4304)

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 6.2.9.3 Operating Notes For reference, see the tables under Serial Port Pin Assignments in Section 5:. Support for the DSR status bit is provided for COM1 only, and on all RX3i models (except CPE302/CPE305), in versions 7.16 and later.
  • Page 159: Cancel Commreq Function (4399)

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 6.2.10.2.1 Port Control Word Meanings: Commanded state of Request to Send signal 1 = Activates RTS 0 = Deactivates RTS Commanded state of Data Terminal Ready signal 1 = Activates DTR 0 = Deactivates DTR 13-0 Unused (should be zero)
  • Page 160 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 6.2.11.1 Example Command Block for the Cancel Operation Function Value Value Meaning (decimal) (hexadecimal) Address 0002 0002 Data block length (2) Address +1 0000 0000 NOWAIT mode Address +2 0008 0008 Status word memory type (%R)
  • Page 161: Autodial Function (4400)

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 6.2.12 Autodial Function (4400) This feature allows the CPU to automatically dial a modem and send a specified byte string. To implement this feature, the port must be configured for Serial I/O. After the autodial function is executed and the modem has established a connection, other serial I/O functions (Write bytes, Set Up Input Buffer, Flush Input buffer, Read port status, Write port control, Read bytes, Read String, and Cancel Operation) can be used.
  • Page 162: Write Bytes Function (4401)

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 6.2.12.3 Sample Autodial Command Block This COMMREQ command block dials the number 234-5678 using a Hayes-compatible modem. Word Definition Values 0009h CUSTOM data block length (includes command string) 0000h NOWAIT mode 0008h...
  • Page 163 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 6.2.13.1 Example Command Block for the Write Bytes Function Value Value Meaning (decimal) (hexadecimal) Address 0006 0006 Data block length (includes characters to send) Address +1 0000 0000 NOWAIT mode Address +2 0008...
  • Page 164: Read Bytes Function (4402)

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 6.2.14 Read Bytes Function (4402) This function causes one or more characters to be read from the specified port. The characters are read from the internal input buffer and placed in the specified input data area.
  • Page 165: Read String Function (4403)

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 6.2.14.2 Return Data Format for the Read Bytes Function The return data consists of the number of characters actually read, the number of characters still available in the input buffer after the read is complete (if any), and the actual input characters.
  • Page 166 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 6.2.15.1 Example Command Block for the Read String Function Value Value Meaning (decimal) (hexadecimal) Address 0005 0005 Data block length Address +1 0000 0000 NOWAIT mode Address +2 0008 0008 Status word memory type (%R)
  • Page 167: Rtu Slave Protocol

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 6.2.15.2 Return Data Format for the Read String Function The return data consists of the number of characters actually read, the number of characters still available in the input buffer after the read is complete (if any), and the actual input characters: Address Number of characters actually read...
  • Page 168: Message Format

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 CPE400 and CPL410 do not support this protocol. 6.3.1 Message Format The general formats for RTU message transfers are shown below: 6.3.1.1 RTU Message Transfers Figure 20: RTU Message Transactions The master device begins a data transfer by sending a query or broadcast request message.
  • Page 169 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 6.3.1.3 Receive-to-Transmit Delay Part of the RTU Slave Turnaround time is the receive-to-transmit delay. The RTU driver inserts this delay after a request from the master has been received, and before the response to the master is sent.
  • Page 170 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 6.3.1.5 Message Fields The message fields for a typical message are shown in the figure below, and are explained in the following sections. FRAME Station Address Function Code Information Error Check 6.3.1.5.1...
  • Page 171: Figure 21: Rtu Read Output Table Example

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 Read/Write 4x Registers 24–66 Unsupported Function Read Scratch Pad Memory 68-127 Unsupported Function 128-255 Reserved for Exception Responses 6.3.1.5.3 Information Fields All message fields, other than the Station Address field, Function Code field, and Error Check field are called, generically, information fields.
  • Page 172 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 Note: Data addresses are 0-based. This means you will need to subtract 1 from the actual address when specifying it in the RTU message. For message (01) READ OUTPUT TABLE Query, used in the example above, you would specify a starting data address in the Starting Point No.
  • Page 173: Cyclic Redundancy Check (Crc)

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 6.3.1.6.5 Timeout Usage Timeouts are used on the serial link for error detection, error recovery, and to prevent the missing of the end of messages and message sequences. Note that although the module allows up to three character transmission times between each character in a message that it receives, there is no more than half a character time between each character in a message that the module transmits.
  • Page 174: Figure 22: Crc Register Operation

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 + 1 which in binary is 1 1000 0000 0000 0101. The CRC this polynomial generates is known as CRC-16. The discussion above can be implemented in hardware or software. One hardware implementation involves constructing a multi-section shift register based on the generating polynomial.
  • Page 175 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 6.3.2.2 Calculating the CRC-16 The pseudo code for calculation of the CRC-16 is given below. Preset byte count for data to be sent. Initialize the 16-bit remainder (CRC) register to all ones. XOR the first 8-bit data byte with the high order byte of the 16-bit CRC register.
  • Page 176 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 Transmitter CRC-16 Algorithm Receiver CRC-16 Algorithm Flag Flag Initial Remainder 1111 1111 1111 1111 Rcvr CRC after data 1110 0010 0100 0001 XOR 1st data byte 0000 0000 0000 0001 XOR 1st byte Trns CRC 0000 0000...
  • Page 177 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 6.3.2.4 Calculating the Length of Frame To generate the CRC-16 for any message, the message length must be known. The length for all types of messages can be determined from the table below. 6.3.2.5 RTU Message Length Function...
  • Page 178: Rtu Message Descriptions

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 18-21 Not Defined Not Defined Mask Write 4x Registers Read/Write 4x Registers 13+byte 11 5+byte 3 24–66 Not Defined Not Defined Read Scratch Pad 3 + 3rd byte 68-127 Not Defined Not Defined...
  • Page 179: Figure 24: Rtu Read Input Table Message Format

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 The number of points value is two bytes in length. It specifies the number of output ▪ points returned in the normal response. The sum of the starting point value and the number of points value must be less than or equal to the highest output point number available in the attached CPU.
  • Page 180: Figure 25: Rtu Read Registers Message Format

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 The number of points value is two bytes in length. It specifies the number of input ▪ points returned in the normal response. The sum of the starting point value and the number of points value must be less than or equal to the highest input point number available in the attached CPU.
  • Page 181: Figure 26: Rtu Read Analog Inputs Message Format

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 The number of registers value is two bytes in length. It must contain a value from 1 ▪ to 125 inclusive. The sum of the starting register value and the number of registers value must be less than or equal to the highest register number available in the attached CPU.
  • Page 182: Figure 27: Rtu Force Single Output Message Format

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 The Number Of Analog Inputs value is two bytes in length. It must contain a value ▪ from 1 to 125 inclusive. The sum of the Starting Analog Input value and the Number Of Analog Inputs value must be less than or equal to the highest analog input number available in the at-attached CPU.
  • Page 183: Figure 28: Rtu Preset Single Register Message Format

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 The Point Number field is two bytes in length. It may be any value less than the ▪ highest output point number available in the attached CPU. It is equal to one less than the number of the output point to be forced on or off.
  • Page 184: Figure 29: Rtu Read Exception Status Message Format

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 6.3.3.6.3 Response: The normal response to a preset single register query is identical to the query. Message (07): Read Exception Status 6.3.3.6.4 Format: Figure 29: RTU Read Exception Status Message Format 6.3.3.6.5 Query: This query is a short form of request for the purpose of reading the first eight output...
  • Page 185: Figure 30: Rtu Loopback/Maintenance Message Format

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 6.3.3.7 Message (08): Loopback/Maintenance (General) 6.3.3.7.1 Format: Figure 30: RTU Loopback/Maintenance Message Format 6.3.3.7.2 Query: The Function code is equal to 8. ▪ The Diagnostic Code is two bytes in length. The high order byte of the Diagnostic ▪...
  • Page 186 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 This request disables the listen-only mode (enables responses to be sent when ▪ queries are received so that communications can be restarted). The value of the first byte of the Data field (DATA1) must be 0 or FF. Any other value ▪...
  • Page 187: Figure 31: Rtu Force Multiple Outputs Message Format

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 6.3.3.10 Message (15): Force Multiple Outputs 6.3.3.10.1 Format: Figure 31: RTU Force Multiple Outputs Message Format Address Func Starting Number Error Check Byte Data Point Count Point No. of Points Query Func...
  • Page 188: Figure 32: Rtu Preset Multiple Registers Message Format

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 6.3.3.10.3 Response: The descriptions of the fields in the response are covered in the query description. ▪ Note: The force multiple outputs request is not an output override command. The outputs specified in this request are ensured to be forced to the values specified only at the beginning of one sweep of the user logic.Message (16): Preset Multiple Registers 6.3.3.10.4...
  • Page 189: Figure 33: Rtu Report Device Type Message Format

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 6.3.3.10.6 Response: The descriptions of the fields in the response are covered in the query description. 6.3.3.11 Message (17): Report Device Type 6.3.3.11.1 Format: Figure 33: RTU Report Device Type Message Format 6.3.3.11.2 Query: The Report Device Type query is sent by the master to a slave in order to learn what type...
  • Page 190 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 ▪ Response Data CPU Model (Minor Type) 02 hex IC698CPE010 04 hex IC698CPE020 05 hex IC698CRE020 06 hex IC698CPE030 08 hex IC698CPE040 IC695CPE302 0A hex IC695CPE305 IC695CPU310 0C hex IC695NIU001 10 hex IC695CPU320...
  • Page 191 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 Note: If the Or_Mask value is zero, the result is simply the logical ANDing of the current contents and And_Mask. If the And_Mask value is zero, the result is equal to the Or_Mask value. Note: The contents of the register can be read with the Read Holding Registers function (function code 03).
  • Page 192 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 Field Name Example (Hex) Slave address Function Read Reference Address Hi Read Reference Address Lo Quantity to Read Hi Quantity to Read Lo Write Reference Address Hi Write Reference Address Lo Quantity to Write Hi Quantity to Write Lo Byte Count...
  • Page 193 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 6.3.3.13.2 Response: The normal response contains the data from the group of registers that were read. The Byte Count field specifies the quantity of bytes to follow in the Read Data field. Here is an example of a response to the query: Field Name Example (Hex)
  • Page 194: Figure 34: Rtu Read Scratch Pad Memory Message Format

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 6.3.3.14 Message (67): Read Scratch Pad Memory 6.3.3.14.1 Format: Figure 34: RTU Read Scratch Pad Memory Message Format 6.3.3.14.2 Query: An Address of 0 is not allowed as this cannot be a broadcast request. ▪...
  • Page 195: Rtu Scratch Pad

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 6.3.4 RTU Scratch Pad The entire scratch pad is updated every time an external READ request is received by the PACSystems RTU slave. All scratch pad locations are read only. The scratch pad is a byte- oriented memory type.
  • Page 196: Communication Errors

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 6.3.5 Communication Errors Serial link communication errors are divided into three groups: Invalid Query Message ▪ Serial Link Time Outs ▪ Invalid Transaction ▪ 6.3.5.1 Invalid Query Message When the communications module receives a query addressed to itself, but cannot process the query, it sends one of the following error responses: Subcode...
  • Page 197 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 6.3.5.1.2 Invalid Address Error Response (2) An error response with a subcode of 2 is called an invalid address error response. This error response is sent in the following cases: 1.
  • Page 198: Rtu Slave/Snp Slave Operation With Programmer Attached

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 6.3.5.2 Serial Link Timeout The only cause for a RTU device to timeout is if an interruption to a data stream of 4 character times occurs while a message is being received. If this occurs the message is considered to have terminated and no response will be sent to the master.
  • Page 199: Snp Slave Protocol

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 Therefore, it is important to be careful when disabling timeouts used by the SNP Slave protocol. When the CPU recognizes the programmer disconnect, it reinstalls RTU Slave protocol unless a new protocol has been configured in the meantime.
  • Page 200: Communication Requests (Commreqs) For Snp

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6 GFK-2222AK October 2019 The maximum number of permanent datagrams that can be established is 32. When this limit is reached, additional requests to establish datagrams are denied. One or more of the permanent datagrams will need to be cancelled before others can be established.
  • Page 201: Appendix A: Performance Data

    Appendix A: Performance Data This appendix contains instruction and overhead timing collected for each PACSystems CPU module. This timing information can be used to predict CPU sweep times. The information in this appendix is organized as follows: A-1.1 Boolean Execution Measurements (ms per 1000 Boolean executions) Boolean Category CPU Model...
  • Page 203: Instruction Timing

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Appendix A GFK-2222AK October 2019 A-2 Instruction Timing A-2.1 Overview The tables in this section list the execution and incremental times in microseconds (µs) for each function supported by the PACSystems CPUs. Two execution times are shown for each instruction.
  • Page 204 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Appendix A GFK-2222AK October 2019 Model PLC Firmware Version All instructions RSTi-EP EPSCPE100 9.15 except as listed below RSTi-EP EPSCPE115 9.45 IC695CPL410 9.55 IC695CPE400 9.00 IC695CPE305/CPE310/CPE330 7.10 IC695CPE302 9.40 IC695CPU310/CPU315 IC695CPU320/IC695CRU320 7.18 IC698CPE010/CPE020 IC698CRE020 6.0 (with ECC enabled) IC698CPE030/CPE040...
  • Page 205: A-2.2 Rx3I & Rsti-Ep Instruction Times

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Appendix A GFK-2222AK October 2019 Instructions for PACMotion CPU315/CPU320 CPU310 A-2.2 RX3i & RSTi-EP Instruction Times The following tables are intended to provide guidance for expected instruction execution times when using Ladder Diagram (LD) and C Language. For simplicity, the instructions are grouped as follows: Boolean Operation: this includes coil and contact operation (LD only).
  • Page 206: A-3 Overhead Sweep Impact Times

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Appendix A GFK-2222AK October 2019 A-3 Overhead Sweep Impact Times This section contains overhead timing information for the PACSystems CPUs. This information can be used in conjunction with the estimated logic execution time to predict sweep times for the CPUs.
  • Page 207 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Appendix A GFK-2222AK October 2019 The following diagram shows the differences between the full sweep phases and the base sweep phases. Base Sweep vs. Full Sweep Phases Base Sweep Full Sweep <START OF SWEEP> <START OF SWEEP>...
  • Page 208: A-3.2 What The Sweep Impact Tables Contain

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Appendix A GFK-2222AK October 2019 configuration with no I/O modules or intelligent I/O modules (GBC) has the same effect. The logic execution time is not zero in the base sweep. The time to execute the empty _MAIN program is included so that you only need to add the estimated execution times of the functions actually programmed.
  • Page 209: A-3.3 Programmer Sweep Impact Times

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Appendix A GFK-2222AK October 2019 A-3.3 Programmer Sweep Impact Times The following table shows nominal programmer sweep impact times in microseconds (µs). RX3i CPU315 CPE330 Sweep Impact Item CPU310 CPU320 CPE400 CPE010 (µs) CRU320 CPL410 (µs)
  • Page 210: I/O Scan And I/O Fault Sweep Impact

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Appendix A GFK-2222AK October 2019 A-3.4 I/O Scan and I/O Fault Sweep Impact The I/O scan sweep impact has two parts, Local I/O and Genius I/O. The equation for computing I/O scan sweep impact is: Sweep Impact of Local I/O Modules The I/O scan of I/O modules is impacted as much by location and reference address of a module as it is by the number of modules.
  • Page 211 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Appendix A GFK-2222AK October 2019 RX3i I/O Module Types Type Part Numbers Discrete Input, 16-point IC694MDL240, IC694MDL241, IC694MDL645, IC694MDL646 Discrete Input - Smart Digital Input, IC695MDL664 16-point Discrete Input, 32-point IC694MDL654, IC694MDL655, IC694MDL654 Discrete Output, 8-point IC694MDL330, IC694MDL732, IC694MDL930, IC694MDL940 Discrete Output, 16-point and...
  • Page 212 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Appendix A GFK-2222AK October 2019 RX3i I/O Module Sweep Impact Times The following table provides sweep impact times for modules in the Main rack and in an expansion (Exp) rack. The base case provides the overhead for a single module in the rack. The increment (Inc) refers to the overhead for each similar module that is added to the same rack.
  • Page 213 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Appendix A GFK-2222AK October 2019 Worksheet A: I/O Module Sweep Time The following form can be used for computing I/O module sweep impact. The calculation contains times for analog input expanders that are either grouped into the same scan segment as the preceding module or are grouped in a separate new scan segment.
  • Page 214 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Appendix A GFK-2222AK October 2019 Sweep Impact of Genius I/O and GBCs For the sweep impact of Genius I/O and Genius Bus Controllers (GBC), there is a sweep impact for each GBC, a sweep impact for each scan segment, and a transfer time (per word) sweep impact for all I/O data.
  • Page 215: A-3.5 Ethernet Global Data Sweep Impact

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Appendix A GFK-2222AK October 2019 per word analog I/O data in the main rack 24.0 per word analog I/O data in expansion racks 34.0 11.0 11.0 Worksheet B: Genius I/O Sweep Time Use the following worksheet for predicting the sweep impact due to Genius I/O. The sweep impact times can be found in Sweep Impact Time of Genius I/O and GBCs.
  • Page 216 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Appendix A GFK-2222AK October 2019 the exchanges must be taken into account when computing the worst-case sweep impact. The Ethernet Global Data (EGD) sweep impact has two parts, Consumption Scan and Production Scan: EGD Sweep Impact Consumption Production...
  • Page 217 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Appendix A GFK-2222AK October 2019 CPE040 Consume / 35.08 47.12 READ Produce / 75.16 103.0 WRITE Data Transfer Time Note: This is the time required to transfer the data between the CPU module and the rack-based Ethernet module.
  • Page 218 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Appendix A GFK-2222AK October 2019 Embedded Rack-based Data Size (Bytes) Direction Ethernet Ethernet Module Interface (µS) (µS) CPE020 Consume / READ Consume / READ 23.6 19.5 Consume / READ 46.3 34.9 Consume / READ 58.9 42.7 Produce / WRITE...
  • Page 219 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Appendix A GFK-2222AK October 2019 Embedded Rack-based Data Size (Bytes) Direction Ethernet Ethernet Module Interface (µS) (µS) CPE030 Consume / READ Consume / READ 25.8 18.7 Consume / READ 50.7 33.4 Consume / READ 60.1 40.4 Produce / WRITE...
  • Page 220: Egd Sweep Impact For Embedded Ethernet Interface On Rx3I & Rsti-Ep Cpe Models

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Appendix A GFK-2222AK October 2019 __________________ Predicted EGD Sweep Impact A-3.6 EGD Sweep Impact for Embedded Ethernet Interface on RX3i & RSTi-EP CPE Models 6.4.2.1.2 EGD Sweep Impact for RX3i CPE330 and CPE400/CPL410 The CPE330 and CPE400 process Ethernet communications independently from logic and sweep execution.
  • Page 221: Cpe100/Cpe115 213 A-3.8 Embedded Ethernet Interface

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Appendix A GFK-2222AK October 2019 – Exchange Period n Exchange, as configured in ms (Production Period for ������������_���� �� production exchanges and Consumption timeout for consumption exchanges – n Exchange configured (value=1) or not configured (value=0) ������ℎ����������������������...
  • Page 222 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Appendix A GFK-2222AK October 2019 Production Period Data size per Exchange Maximum Number of EGD [Consumption Timeout*] (Bytes) Exchanges ( Recommended) (ms) 1400 1400 1400 1400 1400 1400 1400 The following table shows the chart for setting up EGD exchanges on Embedded Ethernet for RSTi-EP CPE100/CPE115 with a no sweep load and no network traffic.
  • Page 223: Constant Sweep - Egd On Rx3I Cpe302/Cpe305/Cpe310 And Rsti-Ep Cpe100/Cpe115

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Appendix A GFK-2222AK October 2019 Note: The Consumption Timeout is set at twice the Production Period on the other consuming RX3i CPE310 / RSTi-EP CPE100/CPE115 node. For example, for A, the Production Period for all the Producer exchanges is set to 500ms.
  • Page 224 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Appendix A GFK-2222AK October 2019 Fixed Sweep Impact Times of RX3i Intelligent Option Modules CPU310 (µs) CPU315/CPU320 (µs) NIU001+ (µs) Sweep Impact Main Main Main Item Base Base Base Base Inc Base Inc Base Inc IC694APU300B 1085 —...
  • Page 225 PACSystems™ RX3i and RSTi-EP CPU Reference Manual Appendix A GFK-2222AK October 2019 PROFINET Controller (PNC001) and PROFINET I/O Sweep Impact The PLC CPU sweep impact for a PROFINET IO network is a function of the number of PNCs, the number of PROFINET devices, and the number of each PROFINET device’s IO modules.
  • Page 226: A-3.11 I/O Interrupt Performance And Sweep Impact

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Appendix A GFK-2222AK October 2019 DSM314 Sweep Impact Rx3i CPU310 Rack (µs) Rx3i NIU001+ Rack (µs) No. of Axes Configured Main Main 1535 2160 1830 2360 2018 2906 2304 3160 2500 6371 2840 3920 2990 4430...
  • Page 227: Figure 36: Interrupt Execution Considerations

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Appendix A GFK-2222AK October 2019 system occurs at the same time so that one of them has to wait for all others to complete before it starts.) The maximum response times shown below do not include the two unbounded events. I/O Interrupt Block Performance and Sweep Impact Times CPE302 CPU310...
  • Page 228: Timed Interrupt Performance

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Appendix A GFK-2222AK October 2019 Worksheet D: Programmer, IOM, I/O Interrupt Sweep Time The following worksheet can be used to calculate the sweep impact times of programmer sweep impact, intelligent option modules, and I/O Interrupts. For time data, refer to the following tables: Programmer Sweep Impact Times RX3i I/O Module Sweep Impact Times...
  • Page 229: A-4 User Memory Allocation

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Appendix A GFK-2222AK October 2019 Timed Interrupt Performance and Sweep Impact Times for a 0.001s Timed Interrupt Block Sweep Impact Item CPU310 CPU315 CPE010 CPE020 CPE030 CPE040 (µs) CPU320 (µs) (µs) (µs) (µs) (µs) Timed interrupt sweep impact 87.3...
  • Page 230: A-6 User Program Memory Usage

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Appendix A GFK-2222AK October 2019 Word Memory Size (%W) Bytes = %W references configured  2 Analog Inputs (%AI) If point faults enabled: Bytes = %AI references configured  3 If point faults disabled: Bytes = %AI references configured  2 Analog Outputs (%AQ) If point faults enabled: Bytes = %AQ references configured ...
  • Page 231: A-6.2 Program Logic And Overhead

    PACSystems™ RX3i and RSTi-EP CPU Reference Manual Appendix A GFK-2222AK October 2019 You can add, change, or delete %L and/or %P variables in your application and RUN ▪ Mode Store the application if these variables fit in the size of the last-stored %L/%P tables (where the size includes the previous buffer space), or if going from a zero to non-zero size.
  • Page 232 Emerson product remains solely with the purchaser. © 2019 Emerson. All rights reserved. Emerson Terms and Conditions of Sale are available upon request. The Emerson logo is a trademark and service mark of Emerson Electric Co. All other marks are the property of their respective owners.

This manual is also suitable for:

Pacsystems rsti-ep

Table of Contents

Save PDF