RX3i and RSTi-EP CPU Manual
RX3i and RSTi-EP CPU Manual
GFK-2222AT
Sep 2021
WARNING
Warning notices are used in this publication to emphasize that hazardous voltages, currents, temperatures, or other
conditions that could cause personal injury exist in this equipment or may be associated with its use.
In situations where inattention could cause either personal injury or damage to equipment, a Warning notice is used.
CAUTION
Caution notices are used where equipment might be damaged if care is not taken.
Note: Notes merely call attention to information that is especially significant to understanding and operating the equipment.
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. It is understood that Emerson may make changes, modifications, or improvements to the
equipment referenced herein or to the document itself at any time. This document is intended for trained personnel
familiar with the Emerson products referenced herein.
Emerson may have patents or pending patent applications covering subject matter in this document. The furnishing of
this document does not provide any license whatsoever to any of these patents.
Emerson provides the following document and the information included therein as-is and without warranty of any
kind, expressed or implied, including but not limited to any implied statutory warranty of merchantability or fitness for
particular purpose.
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Contents
GFK-2222AT Sep 2021
Contents iv
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Contents
GFK-2222AT Sep 2021
Contents v
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Contents
GFK-2222AT Sep 2021
Contents vi
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Contents
GFK-2222AT Sep 2021
Contents vii
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Contents
GFK-2222AT Sep 2021
Table of Figures
Figure 1: Configuring an Embedded PROFINET Controller _______________________________________________________ 18
Figure 2: CPE400 and CPL410 Front View and Features _________________________________________________________ 32
Figure 3: Underside Ports & Connectors _____________________________________________________________________ 40
Figure 4: CPE400 Micro-SD & USB Connectors ________________________________________________________________ 41
Figure 5:Location of RTC Battery on CPE400/CPL410 ___________________________________________________________ 42
Figure 6: LAN3 Interconnects for Hot Standby Redundancy ______________________________________________________ 45
Figure 7: Display Port Connector ___________________________________________________________________________ 47
Figure 8: Front Display Port _______________________________________________________________________________ 48
Figure 9: CPE330 Run/Stop Switch and RDSD Switches __________________________________________________________ 50
Figure 10: Location and Orientation of Real-Time Clock Battery in CPE330 __________________________________________ 53
Figure 11: IC695CPE302/CPE305 Front View __________________________________________________________________ 57
Figure 12: IC695CPE310 Front View _________________________________________________________________________ 57
Figure 13: External Features of CPE302/CPE305 _______________________________________________________________ 59
Figure 14: External Features of CPE310 ______________________________________________________________________ 59
Figure 15: Accessing Real-Time Clock Battery (CPE302, CPE305, and CPE310 ________________________________________ 63
Figure 16: Sample Tool for Battery Removal __________________________________________________________________ 64
Figure 17: IC695CPU320 Front View ________________________________________________________________________ 67
Figure 18: CPU310 Front View _____________________________________________________________________________ 69
Figure 19: CPE100, Front, Top, and Bottom Views and Features __________________________________________________ 74
Figure 20: CPE100/CPE115 Membrane Pushbutton and Module Status LEDs ________________________________________ 76
Figure 21: State Diagram for CPE100/CPE115 Run/Stop Operation ________________________________________________ 77
Figure 22: Typical Multi-Tier LAN Application (Star/Bus Topology) ________________________________________________ 79
Figure 23: Typical Multi-Tier LAN Application (Ring Topology) ____________________________________________________ 80
Figure 24: Embedded Ethernet Interface Configuration ________________________________________________________ 109
Figure 25: Set Temporary IP Address _______________________________________________________________________ 112
Figure 26: Major Phases of a Typical CPU Sweep _____________________________________________________________ 115
Figure 27: Typical Sweeps in Normal Sweep Mode ____________________________________________________________ 119
Figure 28: Typical Sweeps in Constant Sweep Mode ___________________________________________________________ 120
Figure 29: Typical Sweeps in Constant Window Mode _________________________________________________________ 121
Figure 30: CPU Sweep in Stop-I/O Disabled and Stop-I/O Enabled Modes __________________________________________ 124
Figure 31: CPE330 Overlapping Local IP Subnet Example _______________________________________________________ 157
Figure 32: Expected Response Path ________________________________________________________________________ 158
Figure 33: Actual Response Path __________________________________________________________________________ 159
Figure 34: COM1 Port CPE400/CPL410 _____________________________________________________________________ 164
Figure 35: COMMREQ Example ___________________________________________________________________________ 171
Figure 36: RTU Message Transactions ______________________________________________________________________ 195
Figure 37: RTU Read Output Table Example _________________________________________________________________ 198
Figure 38: CRC Register Operation _________________________________________________________________________ 200
Figure 39: RTU Read Output Table Message Format __________________________________________________________ 204
Figure 40: RTU Read Input Table Message Format ____________________________________________________________ 205
Figure 41: RTU Read Registers Message Format ______________________________________________________________ 206
Figure 42: RTU Read Analog Inputs Message Format __________________________________________________________ 207
Figure 43: RTU Force Single Output Message Format __________________________________________________________ 208
Contents viii
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Contents
GFK-2222AT Sep 2021
Figure 44: RTU Preset Single Register Message Format ________________________________________________________ 209
Figure 45: RTU Read Exception Status Message Format ________________________________________________________ 210
Figure 46: RTU Loopback/Maintenance Message Format ______________________________________________________ 210
Figure 47: RTU Force Multiple Outputs Message Format _______________________________________________________ 212
Figure 48: RTU Preset Multiple Registers Message Format _____________________________________________________ 213
Figure 49: RTU Report Device Type Message Format __________________________________________________________ 214
Figure 50: RTU Read Scratch Pad Memory Message Format ____________________________________________________ 219
Figure 51: Interrupt Execution Considerations________________________________________________________________ 251
Contents ix
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 1
GFK-2222AT Sep 2021
Section 1 Introduction
This manual contains general information about PACSystems CPU operation and product features.
Section 1 provides a general introduction to the PACSystems family of products, including new
features, product overviews, and a list of related documentation.
CPU Features & Specifications are provided in Section 2.
Installation procedures for the different platforms are described in their respective manuals as given
below:
1. PACSystems RX7i Installation Manual, GFK-2223.
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.
CPU Configuration is described in Section 3. Configuration using the proprietary PAC Machine Edition™
(PME) programming and configuration software package determines characteristics of CPU, System,
and module operation. It also establishes the program references used by each module in the system.
For details on the configuration of RX3i Ethernet Interface modules, refer to PACSystems RX3i and RSTi-
EP TCP/IP Ethernet Communications User Manual, GFK-2224.
CPU Operation is described in Section 4.
Ethernet Communications and Serial Communications are described in Section 5.
Serial I/O, SNP & RTU Protocols are described in Section 6.
Performance Data, including Instruction Timing, is provided in Appendix A.
User Memory Allocation is described in Appendix B.
Introduction 1
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 1
GFK-2222AT Sep 2021
Feb-
AL ▪ Addition of DNP3 to CPE400
2020
Jun-
AJ ▪ Updated Appendix A on Boolean Execution for clarity.
2019
1
Requires PME 9.50 SIM 14 or later and CPE330 firmware 9.75 or later.
Introduction 2
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 1
GFK-2222AT Sep 2021
Apr-
AD ▪ Added CPE115 module
2018
Feb-
X ▪ Corrected Ethernet Indicators CPE305 & CPE310 table.
2016
Aug-
W ▪ Addition of support for Ethernet Global Data (Class 1) on CPE330
2015
Introduction 3
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 1
GFK-2222AT Sep 2021
Introduction 4
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 1
GFK-2222AT Sep 2021
Introduction 5
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 1
GFK-2222AT Sep 2021
Introduction 6
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 1
GFK-2222AT Sep 2021
2
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 7
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 1
GFK-2222AT Sep 2021
Introduction 8
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 1
GFK-2222AT Sep 2021
• Effective with RX3i firmware version 8.303, the CPE310/CPE305 CPUs also support Ethernet
Global Data (EGD). Before that firmware version, EGD was only available in the RX3i via the
RX3i Ethernet Interface Module (IC695ETM001). With this upgrade, these CPUs are
positioned as a direct replacement for S90-30 IC693CPU374.
• Effective with RX3i firmware version 8.604, the CPE330 supports Ethernet Global Data (EGD)
Class 1. This feature is available on all firmware versions of CPE4005, CPL4106, CPE100,
CPE115, and CPE30211.
• The rack-based IC695ETM001 Ethernet Interface has dual RJ45 ports connected through an
auto-sensing switch. This eliminates the need for rack-to-rack switches or hubs. The ETM001
supports upload, download, and online monitoring, and provides 32 SRTP channels with a
maximum of 48 simultaneous SRTP server connections. It also supports Modbus TCP. For
details on Ethernet Interface capabilities, refer to PACSystems RX3i TCP/IP Ethernet
Communications User Manual, GFK-2224.
• PROFIBUS communications via the PROFIBUS Master module, IC695PBM300. For details, refer
to the PACSystems RX3i PROFIBUS Modules User’s Manual, GFK-2301.
• PROFINET communications via any supported PROFINET Controller and any supported
PROFINET Scanner.
• Supported PROFINET Controllers include the embedded PROFINET Controller function offered
by IC695CPL410, IC695CPE400, IC695CPE330, and the rack-mounted PROFINET Controller
module IC695PNC001.
• Supported PROFINET Scanners include the RX3i PROFINET Scanner modules IC695PNS0017,
IC695PNS101, the RX3i IC695CEP001, and the VersaMax PROFINET Scanner modules
IC200PNS001 and IC200PNS002.
• For details, refer to the PACSystems RX3i PROFINET IO-Controller Manual, GFK-2571F or later
and PACSystems RX3i PROFINET Scanner Manual, GFK-2737F or later.
• Effective with the release of IC695CEP001 and IC694CEE001, the RX3i may be configured to
control a remote drop consisting of one or two I/O modules. The RX3i interface to the remote
drop is managed by the PROFINET Controller, IC695PNC001.
• Effective with the release of IC695GCG001, the RX3i may be equipped to control a Genius
Bus. The RX3i interface to the Genius Gateway is managed by the PROFINET Controller,
IC695PNC001. Refer to PACSystems RX3i Genius Communications Gateway User Manual,
GFK-2892.
• Effective with the release of IC695EDS001, the RX3i may be configured as a DNP3 Outstation.
Refer to PACSystems RX3i DNP3 Outstation Module IC695EDS001User’s Manual, GFK-2911.
• Effective with the release of IC695EIS001, the RX3i may be configured to act as an IEC 104
Server. Refer to PACSystems RX3i IEC 104 Server Module IC695EIS001 User’s Manual, GFK-2949.
3
PAC Machine Edition Release 8.50 SIM 7 is required for EGD Class 1 on Embedded Ethernet interface of CPE305/CPE310.
4
PAC Machine Edition Release 8.60 SIM 5 is required for EGD Class 1 on both LAN1 and LAN2 of CPE330. This PME version also supports Advanced Configuration
Parameters for EGD on CPE330. Alternately, PME Release 8.60 (not SIM 5) supports EGD on CPE330 LAN1 only, and does not support Advanced Configuration
Parameters for EGD.
5
PAC Machine Edition Release 9.00 SIM 8 or later is required for native configuration support of the CPE400.
6
PAC Machine Edition Release 9.50 SIM 10 or later is required for native configuration support of the CPL410.
7
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.
Introduction 9
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 1
GFK-2222AT Sep 2021
8
When used to support HART Pass Through, CPE330 must do so via a PNC001 and cannot employ its embedded PROFINET feature for this purpose.
9
IC695CPE330 firmware version 8.95 added support for the Remote Get HART Device Information COMMREQ.
10
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.
11
PAC Machine Edition Release 9.50 SIM 7 or later is required for CPE302 configuration.
12
PAC Machine Edition Release 9.00 SIM 10, or 9.50 SIM 2, or later is required for SNTP Client, UTC, and DST support.
Introduction 10
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 1
GFK-2222AT Sep 2021
• Effective with RX3i firmware version 9.40, the Authorized Firmware Update functionality is
available. Users may now authorize access to firmware updates using a custom password.
Details are included in the revised firmware update instructions.
• Effective with CPE330 firmware version 9.60, Sequence of Events functionality is available.
Refer to PACSystems RX3i Sequence of Events User Manual, GFK-3050.
• Effective with CPE330 firmware version 9.75, Hot Standby CPU redundancy is supported with
a single RMX per rack. Refer to the PACSystems Hot Standby CPE Redundancy User Manual, GFK-
2308.
• CPE400 and CPL410 firmware version 9.75 provide a mechanism to recover from STOP-Halt
mode using the OLED Display and without removing the Energy Pack.
• Effective with firmware version 10.05, Auto-Recovery from STOP-Halt mode functionality is
available. This supersedes/deprecates the mechanism to recover from STOP-Halt mode using
the OLED Display on the CPE400 and CPL410.
Introduction 11
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 1
GFK-2222AT Sep 2021
1.6 Documentation
Introduction 12
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 1
GFK-2222AT Sep 2021
Introduction 13
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
13
CPE400 firmware version 9.00 or later is required for the embedded PROFINET Controller feature.
14
CPE330 firmware version 8.90 or later is required for the embedded PROFINET Controller feature.
15
PAC Machine Edition™ (PME) 9.50 SIM 4 or later is required in order to configure the MRP parameters for CPE100/CPE115.
16
PAC Machine Edition Logic Developer PLC 8.60 SIM 13 or 9.00 SIM 4 or later is required for configuration of the Embedded PROFINET Controller function.
CPU Features & Specifications 18
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
2.1.7 OPC UA
Each PACSystems CPE302/CPE305/CPE310/CPE330/CPE400/CPL410/CPE100/CPE115 supports Open
Productivity and Connectivity Unified Architecture (OPC UA) Server communications on the
embedded Ethernet port only.
Effective with CPE310/CPE305 firmware version 8.20, or CPE302 firmware version 9.40, the CPE
embedded Ethernet port supports OPC UA Server.
Effective with CPE310/CPE305 firmware version 9.20, or CPE330 firmware version 9.21, or CPE302
firmware version 9.40, OPC UA Server is configurable through PAC Machine Edition17.
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.
17
PAC Machine Edition Logic Developer PLC 9.00 SIM 10, or 9.50 SIM 2, or later is required for OPC UA Server configuration.
18
Not yet available on RX3i CPE400 and RSTi-EP CPE100/CPE115
CPU Features & Specifications 20
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
▪ The RDSD LED blinks green during the transfer. This can take from 10 – 150 seconds,
depending upon the size of the project data.
▪ The RDSD LED should turn solid green, indicating that the transfer completed successfully.
▪ If the RDSD LED turns solid red, the transfer has failed. There will be a copy of the fault
tables as they existed at the end of the attempted transfer on the RDSD. Insert the RDSD
into a PC which has the PacsAnalyzer Utility software and select the [Link] file on
the RDSD for fault table analysis by PacsAnalyzer. The PacsAnalyzer Utility software can be
downloaded from the support website.
▪ If the RDSD LED turns solid red, indicating an error, another RDSD operation cannot be
initiated until the device is disconnected then reconnected.
CAUTION
If the RDSD is removed during data transfer from the CPU, the integrity of the RDSD and the files on it
cannot be guaranteed. The RDSD status LED may indicate an RDSD fault, and the CPU will abort the
data transfer and remain in its current operating mode.
The project files, consisting of the entire contents of the PACS_Folder directory and all of its
subdirectories, loaded on the RDSD must not be modified. If they are modified, the files transferred to
the CPU will be invalid.
6. When the RDSD LED turns solid green, indicating the transfer has been successfully completed,
remove the RDSD from the CPU. The RDSD can now be used to transfer the application to other
RX3i controllers of the same model type.
You can copy the entire applications directory to another USB device and use that device as the
source for downloads to CPE302/CPE305/CPE310/CPE330 CPUs, provided none of the files in that
directory are changed in any way during the transfer.
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.
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. Each type of data being downloaded (logic, config, and/or data) is
cleared within the target CPU.
6. When the RDSD LED turns solid green, indicating the transfer has been successfully completed,
remove the RDSD from the CPU.
The RUN/STOP Switch can be used to place the RX3i into RUN Mode after the transfer, unless it has
been disabled in the hardware configuration just stored. If the RUN/STOP Switch is disabled, you will
first need to connect with the programmer to place the RX3i in RUN Mode.
Security
When the application is written to the RDSD from a controller that has passwords and/or an OEM key
defined, the passwords and OEM key are encrypted and stored on the RDSD. When the project is
written from the RDSD to a CPE302/CPE305/CPE310/CPE330 19, the passwords and OEM key are
copied to it.
If an OEM key is defined on the RDSD, when transfer is complete, the OEM protection will be enabled
(locked). When an application is being stored to a CPE302/CPE305 that already has passwords and/or
an OEM key defined, the passwords/key on the RDSD must match the passwords/key in the target
CPE302/CPE305/CPE310/CPE330, or the transfer will fail.
19
Not implemented on CPE400 at time of publication.
CPU Features & Specifications 24
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
20
For CRU-type CPUs, see Redundancy section at bottom of this table.
21
Where different, CPE302 value is shown in parentheses (). Also note that first Firmware Version of CPE302 was FW 9.40.
22
LT versions of the hardware are rated from -40°C to 60°C.
23
The maximum operating temperature varies according to installation altitude: 70C at 0m to 2000m, 65C at 2000m to 3000m, and 60C at 3000m to 4000m.
24
See Battery Compatibility and Memory Retention (Time in Days at 20°C) in GFK-2741
Communications 26
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
25
Effective with RX3i firmware version 9.40, the Authorized Firmware Update feature was added: with it, user can set/change his own password.
26
See corresponding IPI for target CPU.
27
Battery-backed RAM.
28
RAM backup with compatible Energy Pack attached.
Communications 27
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
29
Support for up to 768 blocks requires firmware release 9.70 or later and PME 9.50 SIM 13 or later.
30
Note: Whenever the size of any reference memory is changed, the content of the corresponding reference memory is automatically cleared.
31
For discussion of memory types and how they are managed, refer to PACSystems RX3i CPU Programmer’s Reference Manual, GFK-2950 Section 3.
Communications 28
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
32
Refer to PACSystems RX3i TCP/IP Ethernet Communications User Manual, GFK-2224M or later for supported AUPs.
33
The Advanced User Parameters (AUP) feature has been incorporated into PME Hardware Configuration (HWC) effective with PME release 8.60 SIM5.
34
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. PAC Machine Edition Release 9.00 SIM 10, or
9.50 SIM 2, or later is required for SNTP Client, UTC, and DST support.
Communications 29
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
35
CPE400 Serial IO requires firmware version 9.40 or later.
36
Sixteen clients are permitted: each may be SRTP or Modbus/TCP.
37
EGD Class 1 only: supports up to 255 simultaneous Class 1 EGD exchanges.
38
Limit is per target, so all producers and consumers in the CPU system are counted towards this limit.
39
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.
40
For a discussion of OPC UA, refer to PACSystems RX3i TCP/IP Ethernet Communications User Manual, GFK-2224M Section 10.
41
Supports up to 5 concurrent sessions with up to 10 concurrent variable subscriptions and up to 12,500 Variables.
Communications 30
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
42
Switchover time is defined as the time from failure detection until backup CPU is active in a redundancy system.
43
Symbolic variable and Reference data can be exchanged between redundancy controllers, up to the stipulated limit.
Communications 31
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
Communications 32
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
Features
o Users may program in Ladder Diagram, Structured Text, Function Block Diagram, or C.
o Contains 64Mbytes of configurable data and program memory.
o Supports auto-located Symbolic Variables that can use any amount of user memory.
o Reference table sizes include 32k bits for discrete %I and %Q and up to 32k words each for
analog %AI and %AQ. Bulk memory (%W) is also supported for data exchanges.
o Supports up to 768 program blocks44. The maximum size for a block is 128KB.
o Supports four independent 10/100/1000 Ethernet LANs. The three Ethernet ports located on
the front panel, as shown in Figure 2, and are exclusively assigned to the RX3i PLC. LAN1
attaches via the upper, dedicated RJ 45 connector. LAN2 and LAN3 each attach via a pair of
internally-switched RJ 45 connectors. The fourth LAN, labeled ETH, is located on the underside
and is exclusively used for PACEdge connectivity.
o The CPE400 is bundled with PACEdge + Movicon Connext Software. It also comes with the
Movcion Connext Server pre-installed. For more details on PACEdge, see GFK-3178, PACEdge 2.1
User Manual. For help with Movicon, see [Link]
US/[Link]
o The CPL410 is bundled with PACEdge +Movicon WebHMI with 2,000 tags pre-licensed and pre-
installed. For more details on PACEdge, see GFK-3178, PACEdge 2.1 User Manual. For help with
Movicon, see [Link]
o The embedded communications interface has dedicated processing capability, which permits
the CPU to independently support LAN1 and LAN2 with:
• up to 48 simultaneous SRTP Server connections;
• up to 16 simultaneous Modbus/TCP Server connections;
• 32 Clients are permitted; each may be SRTP or Modbus/TCP.
• OPC UA Server with support for up to 5 concurrent sessions with up to 10 concurrent
variable subscriptions and up to 12,500 variables;
• up to 255 simultaneous Class 1 Ethernet Global Data (EGD) exchanges.
• The embedded PLC may use one or both Ethernet LAN2 ports to support the embedded
PROFINET I/O Controller. PROFINET supports up to 64 I/O devices with update rates of 1 –
512ms. I/O device update rates of 8ms and faster are possible with 16 or fewer devices.
Update rates of 16ms and higher results whenever more than 16 devices are configured.
• Media Redundancy Protocol (MRP) allows the CPL410 RX3i PLC to participate in a
PROFINET I/O network with MRP ring technology. This eliminates the I/O network as a
single point of failure. The RX3i PLC may be used as either a Media Redundancy Manager or
Media Redundancy Client.
• The CPE400/CPL410 RX3i PLC support Hot Standby Redundancy with PROFINET IO. In this
configuration, LAN3 is used as a high-speed data synchronization link between the two
redundant CPUs. Only the Primary and Secondary CPUs may be attached to LAN3. Two
OLED menu items support Redundancy operation: RDN Info and RDN Command. The
RACT and RBOK LEDs reflect the status of the Redundant CPUs.
44
Support for up to 768 blocks requires firmware release 9.70 or later and PME 9.50 SIM 13 or later.
Communications 33
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
• The CPE400/CPL410 RX3i PLCs support two independent Redundant IP addresses, one for
LAN1 and one for LAN2. LAN2 Redundant IP is supported when configured for Ethernet
mode only. Redundant IP is supported by the SRTP Server, Modbus TCP Server, and EGD
protocols. It is not possible to use Redundant IP with the OPC UA Server or with the
Ethernet firmware update web page.
• The real-time part of CPE400/CPL410 is secure by design, incorporating technologies such
as Trusted Platform Modules, secure boot, and encrypted firmware updates. It is neither
accessible nor modifiable by customers nor intruders, thus guaranteeing the integrity of
the controller. As the PACEdge part of the CPE400/CPL410 is open for user modifications,
the same integrated security features cannot be provided for PACEdge. Customers must
take necessary steps to secure PACEdge to the degree necessary for their use case.
Emerson provides a PACEdge Secure Deployment Guide (GFK-3197) to support customers
in this task.
• Optional Energy Pack, IC695ACC403, allows the RX3i PLC of CPL410 to instantly save user
memory to non-volatile storage in the event of loss of power.
• OPC UA Sweep Mode & Sweep Time: The RX3i PLC’s sweep mode and sweep time are
available through the OPC UA server. The Sweep Mode variable reports the controller’s
current mode: Stop Disabled, Run Enabled, Stop Enabled, Run Disabled, Stop Faulted, and
Stop Halted. The Sweep Time variable reports the sweep time in seconds. These variables
are located under Emerson Device Information -> PACSystems RX3i -> Controller.
• An OLED display that provides access to basic CPE400/CPL410 status and control
information including each LAN’s configured IP Address.
• Operating temperature range -40C to 70C (-40F to 158F).
• Alternate panel-mount adaptor plate included.
Communications 34
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
Switches
All user-accessible switches are provided as pushbuttons on the front panel as described below.
Pushbutton Function
DISP Permits users to navigate menus in the OLED display.
SEL Permits users to select the menu item on the OLED display.
Activates OLED Menu to select RUN/Enabled or RUN/Disabled Mode for the
RUN
embedded PLC.
Activates OLED Menu to select STOP/Enabled or STOP/Disabled Mode for the
STOP
embedded PLC.
PHY PRES Not functional.
Hold down for a brief period to induce CPU Reset.
PWR
Note that this does not turn unit power off, but only holds the unit in the Reset
45
This LED is located between the RUN and STOP pushbuttons. It indicates the PLC Mode.
Communications 35
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
Communications 36
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
Communications 37
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
USB Ports
On the front panel, the CPE400/CPL410 features two USB 3.0 ports, labeled USB1 and USB2.
• USB1 is assigned to PACEdge and can be used for keyboards, memory sticks, or other memory
devices. For other USB devices, an appropriate PACEdge driver will need to be installed.
• USB2 is reserved for the Controller run time PACS.
• For USB port pinouts, refer to.
Note: In the first release, both USB ports are accessible by PACEdge. Do not implement PACEdge use
cases relying on the availability of both USB ports, since USB2 will be assigned to the PLC/PACS in the
future.
Communications 38
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
Each of the embedded Ethernet interfaces automatically senses the data rate (10 Mbps or 100 Mbps or
1 Gbps), communications mode (half-duplex or full-duplex), and cabling arrangement (straight-
through or crossover) of the attached link. LEDs embedded in each RJ45 connector provide indications
per the table above.
LAN1 or LAN2 may be used to communicate with the PME programming software using the Service
Request Transport Protocol (SRTP).
To establish Ethernet communications between the PME programming and configuration software
and the CPU, you first need to know the target IP address. Use the OLED menu function to check the IP
Address. The factory-shipped default settings are:
CPL410 LAN1 CPL410 LAN2 CPL410 LAN3
Communications 39
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
Video DisplayPort
The DisplayPort is located on the underside of
the CPL410/CPE400, as shown in Figure 3. It
provides signals for connecting either a suitable
monitor or video adapter to the unit. This port is
not currently supported.
The GPOK LED, located on the front panel, indicates the status of the Linux interface. Green blinking
indicates PACEdge is running and ready for login.
Communications 40
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
Communications 41
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
Note:
The µSD-Card needs to be inserted in the slot with the correct orientation. The pins of the card
need to face towards the front of the equipment (Figure 4).
o A cover and screw are provided. To minimize CPE400 susceptibility to electrical noise
interference, keep the cover in place during normal operation.
The CPE400/CPL410 is shipped with a real-time clock (RTC) battery installed on an internal circuit
board (Figure 5). This battery will need to be replaced periodically by a qualified service technician.
Typically, no action is required during initial installation.
Should the RTC battery fail, the CPU date and time will be reset to 12:00 AM, 01-10-2000 at start-up.
The CPU operates normally with a failed or missing RTC battery; however, the initial CPU time-of-day
(TOD) clock information will be incorrect.
There are no diagnostics or indicators to monitor RTC battery status. The RTC battery has an
estimated life of 5 years and must be replaced every 5 years on a preventative maintenance schedule.
To replace a depleted battery:
1. Power down the CPE400/CPL410.
2. Disconnect the external cables attached to the CPE400/CPL410, labeling each for later
reconnection.
3. Remove the CPE400/CPL410 from its installed location.
4. Take the CPE400/CPL410 to a clean environment.
5. Remove the DIN-rail or panel-mount adaptor plate, as applicable.
6. Place the CPE400/CPL410 on a workbench so that the heat sink adjacent to the Emerson logo
on the front panel is facing up.
Communications 42
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
7. With ESD protection in place, remove the four screws holding the upper side heat sink in
place.
8. Remove the heat sink. This exposes the circuit board, connectors, and coin battery shown in
Figure 5.
9. Take care to collect any thermal pads that may have been dislodged. These will be needed
during reassembly.
10. While removing, or replacing the battery, take care not to damage the nearby ribbon cable
(not shown).
11. Using non-conductive pliers, grip the battery and simultaneously hold back the retaining clip
so it is clear of the battery.
12. Remove the depleted battery and dispose of it by an approved method.
13. Install the replacement battery so that the inscribed positive face is up.
14. Check that the retaining clip has engaged the edge of the newly installed battery.
15. Apply any dislodged thermal pads to the surface of the corresponding components on the
circuit board.
16. Replace the heat sink.
17. Tighten all four retaining screws to 0.6 Nm.
18. Reattach the adaptor plate removed in step 5.
19. Restore the CPE400/CPL410 module to its original location and secure it in place.
20. Reconnect all cables to their original connectors.
21. Turn the power back on.
22. If needed, set the current date and time via PAC Machine Edition.
The replacement battery must be IC690ACC001 from Emerson, or an equivalent, such as Rayovac™
Lithium BR2032 Coin Cell 3V 190mAh -40°C to +85°C.
Communications 43
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
WARNING
Use of a different type of battery than that specified here may present a risk of fire or explosion.
The battery may explode if mistreated. Do not recharge, disassemble, heat above 100°C (212°F), or
incinerate.
CAUTION
• To avoid damage from electrostatic discharge, use proper precautions when performing
these procedures:
• Wear a properly functioning antistatic strap and be sure that you are fully grounded. Never
touch the printed circuit board, or components on the board, unless you are wearing an
antistatic strap.
• Any surface upon which you place the unprotected circuit board should be static-safe,
facilitated by antistatic mats if possible.
• Extra caution should be taken in cold, dry weather when static charges can easily build up.
Communications 44
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
PROFINET Controller
An Embedded PROFINET Controller may be configured on LAN2. For additional details, refer to Section
2.1.6.
To enable redundancy in a CPE400/CPL410 project, select the CPE400/CPL410 target in the PME
Navigator and use the Property Inspector to change the Enable Redundancy target property to True.
Important: Set the Background Window Timer to a minimum of 5ms in both the Primary and Backup
CPE400/CPL410 hardware configurations. The Background Window Timer setting may be found on the
Scan Tab in the CPE400/CPL410’s hardware configuration.
Once configured for HSB Redundancy, the RACT and RBOK LEDs become functional.
▪ RACT indicates the Local CPU is Ready & Active;
▪ RBOK indicates the Remote CPU is Ready.
These two LEDs are also reflected in the Status Data of the CPU and are presented as OPC UA Variables.
The OLED display includes two menu items used in conjunction with Redundancy:
RDN Info provides status information via the OLED display.
RDN Command permits the operator to perform a Role Switch.
Communications 45
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
To support Hot Standby operations, LAN2 is configured as a PROFINET IO Controller. For additional
details, refer to section 2.1.6, Embedded PROFINET Controller.
For further details, refer to the PACSystems Hot Standby CPU Redundancy User Manual, GFK-2308 (rev L
or later).
Redundant IP Addresses
The CPE400/CPL410 support two independent Redundant IP addresses, one for LAN1 and one for
LAN2. LAN2 Redundant IP is supported when configured for Ethernet mode only.
Redundant IP is supported by the SRTP Server, Modbus TCP Server, and EGD protocols. It is not
possible to use Redundant IP with the OPC UA Server or with the Ethernet firmware update web page.
For further details, refer to the PACSystems Hot Standby CPU Redundancy User Manual, GFK-2308 (rev L
or later).
Display Port
The Display port is not functional at the time of publication.
The Display Port is a DP++ video port located on the underside of the CPE440. It provides signals for
connecting a suitable monitor or video adapter. Pinouts for the Display Port (Figure 7) are:
Pins Signal Name
1 3 TxD0+/-
4 6 TxD1+/-
7 9 TxD2+/-
10 12 TxD3+/-
13 AUXSEL
15 CLK/AUX+
17 DAT/AUX-
18 HTPLG
14 NC
20 DP_VCC46
2 5 8 11 16 19 GND
46
DP_VCC is limited to 720mA by an electronic fuse. However, for normal operation do not exceed 500mA at this pin.
Communications 46
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
Communications 47
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
2.2.2 CPE330
Figure 8: Front Display Port
Communications 48
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
• Whenever a gateway is configured on both LAN interfaces, the LAN1 gateway is given priority
over the LAN2 gateway as long as LAN1 is functional. For example, in the event the LAN1 cable
is disconnected, the CPE330 will use the LAN2 gateway as a backup.
Communications 49
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
PROFINET Controller
An Embedded PROFINET Controller may be configured on LAN2. For additional details, refer to Section
2.1.6 Embedded PROFINET Controller.
Sequence of Events
The CPE330 in combination with the IC695PNS101, IC694MDL655/IC694MDL660, and
IC695HSC304/308 support a dedicated Sequence of Events monitoring system. Refer to PACSystems
RX3i SoE User Manual, GFK-3050 for additional information.
Switches CPE330
The RDSD and RUN/STOP Switches are located behind the protective door, as shown in Figure 10.
Refer to RUN/STOP Switch Operation in Section 4.
The Reset pushbutton, located just above these switches, is currently not used.
Refer to Removable Data Storage Devices (RDSDs) for full description of RDSD functionality.
Communications 50
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
Indicators CPE330
CPU Status Indicators On Blinking Off
CPE330 LED LED State Operating State
RUN
Blinking in unison CPU is updating an internal programmable
OUT EN hardware device.
47
Refer to.
Communications 51
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
Communications 52
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
The CPE330 is shipped with a real-time clock (RTC) battery installed (see Figure 24). There is no
isolation barrier between the battery and the circuit. This battery will need to be replaced periodically.
Typically, no action is required during initial installation.
Should the RTC battery fail, the CPU date and time will be reset to 12:00 AM, 01-10-2000 at start-up.
The CPU operates normally with a failed or missing RTC battery; however, the initial CPU time-of-day
(TOD) clock information will be incorrect.
There are no diagnostics or indicators to monitor RTC battery status. The RTC battery has an
estimated life of 5 years and must be replaced every 5 years on a preventative maintenance schedule.
To replace a depleted battery,
1. Power down the RX3i rack.
2. Disconnect cables attached to the CPE330 module, labeling each for later reconnection.
3. Remove the CPE330 module.
4. Take the CPE330 module to a clean environment.
5. Place the module on a workbench with the heat-sink side down.
6. With ESD protection in place, remove the four screws holding the upper side sheet metal in
place.
Communications 53
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
7. Remove the sheet metal. This exposes the circuit board, connectors and coin battery shown in
Figure 24.
8. Using a non-conductive pliers, grip the battery and simultaneously hold back the retaining clip
so it is clear of the battery.
9. Remove the depleted battery and dispose of it by an approved method.
10. Install the replacement battery so that the inscribed positive face is towards the green
connector (i.e. downwards as shown in Figure 24).
11. Check that the retaining clip has engaged the edge of the newly installed battery.
12. Replace the sheet metal cover.
13. Tighten all four retaining screws to 0.9Nm (8 in-lbs).
14. Restore the CPE330 module to its original location and secure it in place.
15. Reconnect all cables to their original connectors.
16. Turn power on to the RX3i rack.
If needed, set the current date and time via PME or using SVC_REQ 7 (refer to PACSystems RX7i and
RX3i CPU Programmer’s Reference Manual, GFK-2950 Chapter 6).
Note: Battery replacement on CPE302/CPE305 & CPE310 is different: see Figure 29.
WARNING
Use of a different type of battery than that specified here may present a risk of fire or explosion.
Battery may explode if mistreated. Do not recharge, disassemble, heat above 100°C (212°F), or
incinerate.
CAUTION
• To avoid damage from electrostatic discharge, use proper precautions when performing
these procedures:
• Wear a properly functioning antistatic strap and be sure that you are fully grounded. Never
touch the printed circuit board, or components on the board, unless you are wearing an
antistatic strap.
• Any surface upon which you place the unprotected circuit board should be static-safe,
facilitated by antistatic mats if possible.
• Extra caution should be taken in cold, dry weather, when static charges can easily build up.
Communications 54
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
1. Remove any USB stick that might be attached to the USB connector on the CPE330.
2. Place the RUN/STOP switch on the CPE330 in the STOP position.
3. Hold down the RDSD UPLD button and turn power on to the CPE330. Continue to depress the
RDSD UPLD button until the CPE330 powers up and displays one of the following patterns on
the LEDs.
Communications 55
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
On Blinking Off
CPU Status Indicators
CPE330 LED LED State Operating State
FORCE On Amber
RUN Off
RDSD On Red
OUT EN Off
FORCE On Amber
RUN On Red
RDSD Off
OUT EN Off
1. To toggle the compatibility setting, press the RDSD DNLD button. The compatibility indication will
toggle between the CPU320 compatibility and CRU320 compatibility patterns each time the
RDSD DNLD button is pressed.
2. When the desired compatibility setting is displayed, press the RDSD UPLD button to save the
setting and allow the CPE330 to continue its normal startup procedures with the new setting. The
setting is maintained over a power cycle and firmware upgrade.
Note that with versions of PME that do not have native CPE330 support, only CPU320 projects can be
stored to a CPE330 that is in CPU320 compatibility mode. Similarly, only CRU320 projects can be
stored to a CPE330 that is in CRU320 compatibility mode.
Communications 56
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
Users of a CPE330 with PME versions 8.60 SIM8 or later do not need to change this compatibility
setting. PME versions 8.60 SIM8 or later allow for storing a CPU320 or CRU320 project without the
need to change this setting. By factory default, the CPE330 identifies as a CPU320.
Note that CPE330s with firmware versions 8.45 through 8.60 support compatibility with the CPU320
and CPU315 only. The compatibility setting using the RDSD buttons (described above) is not
supported for these firmware versions. Beginning with firmware version 8.70, CPE330s support
compatibility with the CPU320, CPU315, and CRU320 using the RDSD buttons to set the compatibility
setting.
Communications 57
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
Serial Ports
These ports provide serial interfaces to external devices and can be used for firmware upgrades.
For serial port pin assignments, electrical isolation, and details on serial communications, refer to
Section 5.
CPE302/CPE305: one RS-232 port (using RJ-25 connector).
CPE310: one RS-232 port (COM1) and one RS-485 port (COM2).
The RS-232 port does not supply the 5Vdc power offered by other RX3i and Series 90-30 CPUs.
Use cable IC693CBL316 to connect to the serial RJ-25 port on the CPE302/CPE305. This 3m shielded
cable provides a 9-pin D-connector on the other end.
Ethernet Port
The embedded Ethernet interface connects via one RJ45 Ethernet port that automatically senses the
data rate (10 Mbps or 100 Mbps), communication mode (half-duplex or full-duplex), and cabling
arrangement (straight-through or crossover) of the attached link.
The embedded Ethernet interface supports communications with the PAC Machine Edition (PME)
programming and configuration software using the proprietary SRTP protocol. The CPE302/CPE305
/CPE310 CPUs provide two SRTP-server connections.
Refer to Section 3.4.1, Establishing Initial Ethernet Communications.
Communications 58
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
Communications 59
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
STATUS STATUS Blinking Green Energy Pack charging; not yet charged
above the minimum operating voltage.
Communications 60
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
SYS FLT SYS FLT On Red CPU is in Stop/Faulted mode because a fatal
(System Fault) fault has occurred.
Communications 61
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
CPE302/
CPE305 CPE310 LED LED State RDSD Operating State
LED
SYS FLT On Red The RDSD has been removed during a store.
The CPU must be power cycled to resume
RDSD / COM2 Off or RDSD operations.
Blinking
Green
48
RDSD active: RDSD attached to USB-A RDSD port.
Communications 62
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
Communications 63
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
WARNING
The replacement battery must be IC690ACC001 from Emerson, or an equivalent, such as Use of a
different type of battery than that specified here may present a risk of fire or explosion.
Battery may explode if mistreated. Do not recharge, disassemble, heat above 100°C (212°F), or
incinerate.
CAUTION
• To avoid damage from electrostatic discharge, use proper precautions when performing
these procedures:
• Wear a properly functioning antistatic strap and be sure that you are fully grounded. Never
touch the printed circuit board, or components on the board, unless you are wearing an
antistatic strap.
• Any surface upon which you place the unprotected circuit board should be static-safe,
facilitated by antistatic mats if possible.
• Extra caution should be taken in cold, dry weather, when static charges can easily build up.
Communications 64
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
RDSD Port
If a CPU310 configuration is stored to a CPE310, the RDSD port is enabled to allow you to transfer
CPU310 projects to CPE310 models without using PAC Machine Edition.
Fault Behavior
Faults related to the embedded CPE310 Ethernet interface may be generated on power-up, as detailed
in the following section.
Communications 65
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
Communications 66
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
Communications 67
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
LED State
CPU Operating State
On Blinking Off
OUTPUS ENABLED
49
After initialization sequence is complete.
50
Low battery detection requires hardware revision –Fx or later and a smart battery. For details, refer to the PACSystems Battery and Energy Pack Manual, GFK-
2741.
Communications 68
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
LED State
CPU Operating State
On Blinking Off
CPU310
Figure 18: CPU310 Front View
Communications 69
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
Serial PortsCPU310
The CPU has two independent, on-board serial ports, accessed by connectors on the front of the
module. COM1 and COM2 provide serial interfaces to external devices. Either port can be used for
firmware upgrades. For serial port pin assignments and other details on serial communications, refer
to Section 5.
The eight CPU LEDs indicate the operating status of various CPU functions.
The two Comm LEDs indicate activity on COM1 and COM2.
OUTPUTS ENABLED
51
After initialization sequence is complete.
52
Low battery detection requires a smart battery. For details, refer to PACSystems Battery and Energy Pack Manual, GFK-2741.
Communications 70
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
53
See Battery Compatibility and Memory Retention (Time in Days at 20°C) in GFK-2741
54
See corresponding IPI for target CPU.
55
Battery-backed RAM.
Communications 71
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
CPE100/CPE115
Auxiliary Storage
CFast N/A
Remote Data Storage Device (RDSD) N/A
Micro SD x 1 (Disabled)
Programming Capabilities
Max Number of Program Blocks 512
Program Block Max Size 128 KB
Discrete Reference Memory (%I, %Q)56 2K Bits
Analog Reference Memory (%AI, %AQ)56 32K Words
Time-of-Day Clock
Time-of-Day Clock Accuracy (@60°C) ±2 secs/day
Elapsed Time Clock (internal timing)
±0.01% max
accuracy
Simple Network Time Protocol (SNTP)
Y(CPE115 Only)
accuracy to timestamp
RTC Battery Backup Y
RTC Battery Life expectancy 5 years
56
Note: Whenever the size of any reference memory is changed, the content of the corresponding reference memory is automatically cleared.
57
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.
58
The Advanced User Parameters (AUP) feature has been incorporated into PME Hardware Configuration (HWC) effective with PME release 8.60 SIM5.
Communications 72
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
CPE100/CPE115
Protocols
Modbus RTU Slave Y
SNP Slave N/A
Serial I/O Y
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) Y
59
Number of EGD Exchanges (max) 8
Selective Consumption of EGD N/A
PROFINET60 Y
OPC UA Server Y
Remote Station Manager over UDP Y (limited)
Station Manager over Serial Comm Port N/A
DNP3 Outstation master/client support50
Up to 8(CPE115 only)
(# simultaneous)
Redundancy Features N/A
59
Limit is per target, so all producers and consumers are counted towards this limit.
60
CPE100/CPE115(firmware version 9.30 or later) provide PROFINET support with MRP via an embedded PROFINET Controller: no external hardware is required.
61
Switchover time is defined as the time from failure detection until backup CPU is active in a redundancy system.
62
Symbolic variable and Reference data can be exchanged between redundancy controllers, up to the stipulated limit.
Communications 73
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
2.3.1 CPE100/CPE115
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. Alternately, it mounts directly in a cabinet, using a panel-mount adaptor plate ICMFAACC001-AA.
The mounting instructions and power requirements are documented in the Quick Start Guide, GFK-
3012, and are not replicated here.
The physical features of the CPE100/CPE115 are shown in Figure 19.
Figure 19: CPE100, Front, Top, and Bottom Views and Features
Top View
Bottom View
Communications 74
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
• Ability to display serial number and date code in PME Device Information Details.
• Media Redundancy Protocol (MRP) allows the CPE100/CPE115 to participate in a PROFINET
I/O network with MRP ring technology. This eliminates the I/O network as a single point of
failure. The CPE100/CPE115 may be used as either a Media Redundancy Manager or Media
Redundancy Client.
• OPC UA Server supports up to two concurrent sessions with up to 4 concurrent variable
subscriptions and up to 1000 variables.
• Modbus RTU Slave support on two serial ports i.e. RS-232 and RS-485 with both 2-wire and 4-
wire interface. These ports are located on the underside of the controller and do not provide
any type of isolation.
• CPE115 supports DNP3 outstation up to 8 concurrent master connections.
• Operating temperature range -40 C to 70 C (-40 F to 158 F).
• Supports 32-bit C blocks compiled with the C Toolkit Version 8.10 or later. All pre-existing C
blocks must be recompiled before downloading.
• Supports Authorized Firmware Update feature. Users may now authorize access to firmware
updates using a custom password. Details are included in the revised firmware update
instructions.
Communications 75
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
• The PLC may use one, two or three of the Ethernet ports of LAN2 to support the embedded
Simplex PROFINET I/O Controller. PROFINET supports up to 8 I/O devices with update rates of
16 – 512 ms. It is not recommended to use update rates below 16 ms.
• 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.
• When shipped, the CPE100/CPE115 is configured only for DIN-rail mounting. An alternate
panel-mount adaptor plate (ICMFAACC001-AA) is optional, but not included in the ship-set.
If the blue membrane pushbutton (Figure 20) is pressed while the CPE100/CPE115 is powering up, it
restores the default IP address ([Link]). It also erases the stored hardware configuration,
logic, and contents of the backup RAM.
During normal operation, briefly pressing the membrane pushbutton changes the state of the CPU
from its current Run/Stop state to its alternate state, as shown in the following state diagram:
Communications 76
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
RUN/IO STOP/IO
Enabled Disabled
The Run/Stop switch is enabled by default; it can be disabled in PME Hardware Configuration (HWC)
settings.
Communications 77
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
RUN Blinking; All other This LED indicates the status of PLC during powering
LEDs off up. It starts blinking 6 seconds after applying power
to the PLC and remains in this state for up to 15
seconds. After this all LEDs turn off and will remain in
this state until PLC is ready.
OK On Green PLC has passed its power-up diagnostics and is
functioning properly
Off Power is not applied or PLC has a problem.
Blinking; All other Indicates that PLC has encountered a fatal error and is
LEDs off blinking the error code.
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.
All the Ethernet ports of both the LAN1 and LAN2 are capable of automatically sensing the link data
rate (10 Mbps or 100 Mbps), communications mode (half-duplex or full-duplex), and cabling
arrangement (straight-through or crossover).
To establish Ethernet communications between the PME programming software and the
CPE100/CPE115, you first need to set a valid IP address.
EPSCPE100/CPE115 LAN1 LAN2
Default IP Address [Link] [Link]
Subnet Mask [Link] [Link]
Gateway [Link] [Link]
Communications 78
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
Note:
• LAN2 will not be operational unless it is configured from the programmer with a valid IP
address.
• Care must be taken when assigning IP Addresses and subnet masks to each LAN so that an
overlapping IP subnet is not created. Intermittent or no Ethernet communication may result if
an overlapping IP subnet is created and the two interfaces are NOT connected (cabled) to the
same physical network.
• By default, PME prohibits configuring both LAN interfaces on an overlapping IP subnet. (This
may be changed by going to Controller General Options and changing the Multiple
Embedded LANs on Same Subnet to Show as Warning.)
The programming software ‘PAC Machine Edition’ uses SRTP (Service Request Transport Protocol), a
proprietary protocol used primarily for communication with the controllers. The Ethernet port of LAN1
can be used to communicate with the PME software and is also a recommended option. Alternatively,
any port of LAN2 can also be used but first it should be configured with a valid IP address. Ethernet
ports of LAN2 can also be configured to be used as either a second embedded Ethernet controller or as
an embedded Simplex PROFINET I/O Controller.
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.
Figure 22: Typical Multi-Tier LAN Application (Star/Bus Topology)
PROFINET
Modbus RTU(RS-232)
OPC-UA Client
RSTi-EP CPE100/115 MODBUS TCP/SRTP
Modbus RTU Master
Quick Panel+
QP+ Switch
PROFINET MRP
OPC-UA Client
RSTi-EP Node 1 RX3I CEP Node 2 Rx3i PNS Node 3 VersaMax PNS Node 4
Communications 79
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
Whenever CPE100/CPE115 is configured for MRP only Ethernet Port2 & Port3 of LAN2 can be used to
form a ring. Ethernet Port4 of LAN2 can still be used either to connect programmer, simplex PROFINET
device or any other supported Ethernet protocols.
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.
Operation
When the CPE100/CPE115 is powered up for the first time, or is in a system that has been powered
down long enough to completely discharge the internal super capacitor, it may additional require 70
to 75 seconds for it to charge to its operating level. The CPE100/CPE115 does not provide any status
information about the state of internal super capacitor during power-up.
Communications 80
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 2
GFK-2222AT Sep 2021
Life Expectancy
The super capacitor’s life is computed based on unit’s ambient temperature and is given by the below
estimates.
Surrounding Air Typical Life Expectancy
10°C 15
20°C 15
30°C 15
40°C 15
50°C 15
60°C 8.1
70°C 2.8
Product Limitations
This section lists the known limitations and features that are currently not supported by
CPE100/CPE115:
1. SNTP is not supported by CPE100. CPE115 Supports SNTP.
2. RDSD is not supported.
3. Timed interrupt blocks are not supported.
Note: The above features may be supported in a subsequent firmware version. Refer to the data sheet for more
information.
Communications 81
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 3
GFK-2222AT Sep 2021
CPU Operation 82
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 3
GFK-2222AT Sep 2021
CPU Operation 83
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 3
GFK-2222AT Sep 2021
Stop-Mode I/O Specifies whether the I/O is scanned while the PLC is in STOP Mode.
Scanning Default: Disabled. (Always Disabled for Redundancy CPU.)
Watchdog Timer (Denominated in ms, set in 10ms increments.) Requires a value that is
(ms) greater than the program sweep time.
Default: 200.
63
For availability, refer to the Important Product Information document for the CPU firmware version that you are using.
CPU Operation 84
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 3
GFK-2222AT Sep 2021
Settings Parameters
Logic/ Specifies the location/source of the logic and configuration data that is to
Configuration be used (or loaded/copied into RAM) after each power up.
Power-up Source
Choices: Always RAM, Always Flash, Conditional Flash.
Data Power-up Specifies the location/source of the reference data that is to be used (or
Source loaded/copied into RAM) after each power up.
RUN/STOP Switch Enables or disables the physical operation of the RUN/STOP Switch.
Choices:
Enabled: Enables you to use the physical switch on the PLC to switch the
PLC into STOP Mode or from STOP Mode into RUN Mode and clear non-fatal
faults.
Default: Enabled.
Note: If COM1 and COM2 are configured for any protocol other than RTU
Slave or SNP Slave, the RUN/STOP Switch should not be disabled
without first must making sure that there is a way to stop the CPU,
or take control of the CPU through another device such as an
Ethernet interface. If the CPU can be set to STOP Mode, it will switch
the protocol from Serial I/O to the STOP Mode protocol (default is
RTU Slave). For details on STOP Mode settings, refer to
This note does not apply to CPUs which have no serial ports.
CPU Operation 85
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 3
GFK-2222AT Sep 2021
Settings Parameters
Memory Enables or disables the Memory Protect feature associated with the
Protection Switch RUN/STOP Switch.
Choices:
Default: Disabled.
Power-up Mode Selects the CPU mode to be in effect immediately after power-up.
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 regardless of the setting of the Power-up
Mode parameter.
Modbus Address Specifies the type of memory mapping to be used for data transfer between
Space Mapping Modbus TCP/IP clients and the PACSystems controller.
Type
Choices:
Default: Disabled
Universal Serial RX3i CPE302/CPE305/CPE310/CPE330 CPUs only. Enables or disables the USB
Bus port for use with RDSD (Removable Data Storage Devices). The USB port is
enabled by default in the CPE302/CPE305/CPE310/CPE330 and in the
hardware configuration.
CPU Operation 86
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 3
GFK-2222AT Sep 2021
Settings Parameters
Choices:
Default: Ethernet.
Choices:
LAN3 Mode RX3i CPE400/CPL410 CPUs only. CPU LAN3 port mode.
Choices:
Default: Disabled.
CPU Operation 87
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 3
GFK-2222AT Sep 2021
Settings Parameters
Choices:
Default: None.
Choices:
Default: Disabled.
Choices:
Enabled: Day Light Savings Time settings are active and configurable.
Default: Disabled.
CPU Operation 88
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 3
GFK-2222AT Sep 2021
Modbus Register The Modbus protocol uses five reference table designations:
3xxxx Input Register Table. Mapped to the %AI register table in the
CPU.
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.
CPU Operation 89
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 3
GFK-2222AT Sep 2021
3.2.3 SNTP
This tab displays the Simple Network Time Protocol configuration settings when SNTP is active.
SNTP Mode SNTP Mode of operation. Specify the use of Multicast/Broadcast or Unicast
settings to communicate to the time server.
Choices: Multicast/Broadcast or Unicast.
Default: Multicast/Broadcast.
Poll Interval Interval, in seconds, at which new time requests are sent to the server. Only
available when SNTP Mode is set to Unicast.
Valid Range: 16 to 1024, even values only.
Default: 32.
Primary IP IP address of the primary time server in dotted decimal format.
Address Valid Range: Any valid unicast IPv4 address.
Default: [Link].
Secondary IP Optional IP address of the secondary time server in dotted decimal format.
Address Valid Range: Any valid unicast IPv4 address or [Link] if unused.
Default: [Link].
Poll Count Number of retransmissions that will be sent when no timely response is
received from the server.
Valid Range: 1 to 100.
Default: 3.
Poll Timeout The time, in seconds, to wait for a response from the server.
Valid Range: 1 to 100.
Default: 2.
CPU Operation 90
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 3
GFK-2222AT Sep 2021
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.
Default: [UTC-5] Eastern Standard Time.
DST Offset The offset between DST and standard time in hours and minutes.
Minutes are limited to values of 0, 15, 30, and 45.
Valid Range: 0:00 to 1:00.
Default: 0:00.
DST Start Month The month when DST starts.
Valid Range: January to December.
Default: January.
DST Start Day The day when DST starts.
Valid Range: Sunday to Saturday.
Default: Sunday.
DST Start Week The week of the month when DST starts.
Valid Range: 1 to 5. *
Default: 0.
DST Start Time The time of day in hours and minutes when DST starts.
Valid Range: 0:00 to 23:59.
Default: 0:00.
DST Ref Zone Indicates the time zone of reference for the DST Start and End times.
Start and End times may be relative to either UTC or Local time.
Choices: UTC, Local Time.
Default: UTC.
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.
DST End Week The week of the month when DST ends.
Valid Range: 1 to 5. *
Default: 0.
DST End Time The time of day in hours and minutes when DST ends.
Valid Range: 0:00 to 23:59.
Default: 0:00.
* For European DST, enter 5 for start and end week to use last Sunday of the month.
CPU Operation 91
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 3
GFK-2222AT Sep 2021
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. The
parameters that can be modified vary depending on the selection for
sweep mode.
Choices:
Logic Checksum The number of user logic words to use as input to the checksum
Words algorithm each sweep.
Default: 16.
CPU Operation 92
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 3
GFK-2222AT Sep 2021
Scan Parameters
Controller (Available only when Sweep Mode is set to Normal.) Execution settings
Communication for the Controller Communications Window.
Window Mode
Choices:
Default: Limited.
Controller (Available only when Sweep Mode is set to Normal. Read-only if the
Communications Controller Communications Window Mode is set to Complete.) The
Window Timer maximum execution time for the Controller Communications Window
(ms) per scan. This value cannot be greater than the value for the watchdog
timer.
Backplane (Available only when Sweep Mode is set to Normal.) Execution settings for
Communication the Backplane Communications Window.
Window Mode
Choices:
Limited: Time sliced. The maximum execution time for the Backplane
Communications Window per scan is specified in the Backplane
Communications Window Timer parameter.
Default: Complete.
CPU Operation 93
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 3
GFK-2222AT Sep 2021
Scan Parameters
Backplane (Available only when Sweep Mode is set to Normal. Read-only if the
Communications Backplane Communications Window Mode is set to Complete.) The
Window Timer maximum execution time for the Backplane Communications Window
(ms) per scan. This value can be greater than the value for the watchdog timer.
Background (Available only when Sweep Mode is set to Normal.) The maximum
Window execution time for the Background Communications Window per scan.
Timer (ms) This value cannot be greater than the value for the watchdog timer.
Sweep Timer (ms) (Available only when Sweep Mode is set to Constant Sweep.) The
maximum overall PLC scan time. This value cannot be greater than the
value for the watchdog timer.
Some or all of the windows at the end of the sweep might not be
executed. The windows terminate when the overall PLC sweep time has
reached the value specified for the Sweep Timer parameter.
Default: 100.
Window Timer (Available only when Sweep Mode is set to Constant Window.) The
(ms) maximum combined execution time per scan for the Controller
Communications Window, Backplane Communications Window, and
Background Communications Window. This value cannot be greater than
the value for the watchdog timer.
Default: 10.
CPU Operation 94
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 3
GFK-2222AT Sep 2021
Scan Parameters
Number of Last (Available only for CPUs with firmware version 1.5 and greater.)
Scans The number of scans to execute after the PACSystems CPU receives an
indication that a transition from RUN Mode to STOP Mode should occur.
(Used for STOP and STOP-Fault, but not STOP-Halt.)
Choices: 0, 1, 2, 3, 4, 5.
Default:
The total amount of configurable user memory (in bytes) configured in the CPU is calculated as
follows:
Total managed memory (bytes)
+
total reference words × (2 bytes/word)
+
[if Point Faults are enabled] (total words of %AI memory + total words of %AQ memory) × (1 byte /
word)
+
[if Point Faults are enabled] (total bits of %I memory + total bits of %Q memory) / 8 bits/byte)
Note: The total number of reference points is considered system memory and is not counted against
user memory.
CPU Operation 96
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 3
GFK-2222AT Sep 2021
Memory Parameters
I/O Discrete (Bits) The configured number of bits reserved for discrete IO
variables.
Valid range: 0 through 83,886,080 in increments of
32768 bits.
Default: 0
For RSTi-EP CPE100/CPE115:
Valid range: 0 through 4096 in increments of 2048 bits.
Default: 0
I/O Non-Discrete (Words) The configured number of 16-bit register memory
locations reserved for non-discrete IO variables.
Valid range: 0 through 5,242,880 in increments of 2048
words.
Default: 0
Total Managed Memory Required Read only. See Calculation of Memory Required for
(Bytes) Managed Memory.
Total User Memory Required Read only. See Calculation of Total User Memory
(Bytes) Configured.
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.
When you download both the HWC and the logic to the
PLC, the download routine checks if there are fault
contacts in the logic and if there are, it checks if the HWC
to download has the Point Fault References parameter
set to Enabled. If the parameter is Disabled, an error is
displayed in the Feedback Zone.
When you download only logic to the PLC, the download
routine checks if there are fault contacts in the logic and
if there are, it checks if the HWC on the PLC has the Point
Fault References parameter set to Enabled. If the
parameter is Disabled, an error is displayed in the
Feedback Zone.
CPU Operation 97
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 3
GFK-2222AT Sep 2021
CPU Operation 98
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 3
GFK-2222AT Sep 2021
Fault Parameters
System (Fault group 11.) When a configuration mismatch is detected during system
Configuration power-up or during a download of the configuration, system variable
Mismatch #CFG_MM (%SA9) turns ON.
(To turn it OFF, power up the PLC when no mismatches are present or
download a configuration that matches the hardware.)
This parameter determines the fault action when the CPU is not running. If a
system configuration mismatch occurs when the CPU is in RUN Mode, the
fault action will be Diagnostic. This prevents the running CPU from going to
STOP/FAULT mode. To override this behavior, see
Configuring the CPU to Stop Upon the Loss of a Critical Module.
Default: Fatal.
Fan Kit Failure (Fault group 0x17.) When a fault is detected in the Smart Fan kit, system
variable #FAN_FLT (%SA7) turns ON.
(To turn a fan kit fault OFF, clear the Controller fault table or reset the PLC.)
Default: Diagnostic.
Recoverable Local Redundancy CPUs only. (Fault group 38) Determines whether a single-bit ECC
Memory Error error causes the CPU to stop or allows it to continue running.
Choices: Diagnostic, Fatal.
Default: Diagnostic.
Note: When a multiple-bit ECC error occurs, a Fatal Local Memory Error fault
(error code 169) is logged in the CPU Hardware Fault Group (group
number 13).
CPU Over (Fault group 24, error code 1.) When the operating temperature of the CPU
Temperature exceeds the normal operating temperature, system variable #OVR_TMP
(%SA8) turns ON.
(To turn it OFF, clear the Controller Fault Table or reset the PLC.)
Default: Diagnostic.
Controller Fault (Read-only.) The maximum number of entries in the Controller Fault Table.
Table Size Value set to 64.
I/O Fault Table Size (Read-only.) The maximum number of entries in the I/O Fault Table.
Value set to 64.
CPU Operation 99
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 3
GFK-2222AT Sep 2021
Port Parameters
Station Address (RTU Slave only) ID for the RTU Slave.
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. The CPU uses the default address in two situations:
1. If you power up without a configuration, the default station address
of 1 is used.
2. When the Port Mode parameter is set to Message Mode, and Modbus
becomes the protocol in STOP Mode, the station address defaults to
1.
Default: None.
Note: The Hardware flow-control is RTS/CTS crossed.
Parity (All Port Modes, except Available.) The parity used in serial communication. Can be
changed if required for communication over modems or with a different SNP
master device.
Choices: None, Odd, Even.
Default: Odd.
Stop bits (Available only when Port Mode is set to Message Mode, SNP Slave or Serial I/O.)
The number of stop bits for serial communication. SNP uses 1 stop bit.
Choices: 1, 2.
Default: 1.
Port Parameters
Physical (All port modes except Available.) The type of physical interface that this protocol
Interface is communicating over.
Choices:
▪ 2-wire: There is only a single path for receive and transmit
communications. The receiver is disabled while transmitting.
▪ 4-wire: There is a separate path for receive and transmit communications
and the transmit line is driven only while transmitting.
▪ 4-wire Transmitter on: There is a separate path for receive and transmit
communications and the transmit line is driven continuously. Note that
this choice is not appropriate for SNP multi-drop communications, since
only one device on the multi-drop line can be transmitting at a given time.
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.
Choices and defaults are determined by the Port Mode setting.
■ SNP Slave: Reserved for the exclusive use of the SNP slave.
■ RTU Slave: Reserved for the exclusive use of the Modbus RTU Slave protocol.
If the STOP Mode protocol is different from the Port mode protocol, you can set
parameters for the STOP Mode protocol.
If you do not select a STOP Mode protocol, the default protocol with default
parameter settings is used.
Port (RUN) Mode STOP Mode
RTU Slave Choices: SNP Slave, RTU Slave
Default: RTU Slave.
Message Mode Choices: SNP Slave, RTU Slave
Default: RTU Slave.
Available Available
(Not supported on CPE302/CPE305)
SNP Slave SNP Slave
Serial I/O Choices: SNP Slave, RTU Slave
Default: RTU Slave.
Note: Setting the Port Mode to RTU Slave and the STOP Mode to SNP Slave may
cause loss of programmer connection and delayed reconnection when
the controller transitions from STOP to RUN Mode. To avoid this behavior,
select SNP Slave for the Port Mode and do not specify a STOP Mode. For
additional details, see RTU Slave/SNP Slave Operation with Programmer
Attached.
Turn Around (Available only when STOP Mode is set to SNP Slave.) The Turn Around Delay Time
Delay Time is the minimum time interval required between the reception of a message and
(ms) the next transmission. In 2-wire mode, this interval is required for switching the
direction of data transmission on the communication line.
Valid range: 0 through 2550ms, in increments of 10 ms.
Default:
▪ When the STOP Mode is different from the Port Mode: 0ms.
▪ When the STOP Mode is the same as the Port Mode: the value is read-only and
is set to the same value as the Turn-Around Delay Time for the Port Mode.
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.
Valid range: 0 through 60 seconds.
Default:
▪ When the STOP Mode is different from the Port Mode: 10 seconds.
▪ When the STOP Mode is the same as the Port Mode: the value is read-only and
is set to the same value as the Timeout for the Port Mode.
SNP ID (Available only when STOP Mode is set to SNP Slave.) The port ID to be used for
SNP communications. In SNP multi-drop communications, this ID is used to
identify the intended receiver of a message. This parameter can be left blank if
communication is point to point. To change the SNP ID, click the values field and
enter the new ID. The SNP ID is up to seven characters long and can contain the
alphanumeric characters (A through Z, 0 through 9) or the underline (_).
Default:
▪ When the STOP Mode is different from the Port Mode: the default is blank.
▪ When the STOP Mode is the same as the Port Mode: the value is read-only and
is set to the same value as the SNP ID for the Port Mode.
Station Address (Available only when STOP Mode is set to RTU slave.) ID for the RTU Slave.
Valid range: 1 through 247.
Default:
▪ When the STOP Mode is different from the Port Mode: 1.
▪ When the STOP Mode is the same as the Port Mode: the value is read-only and
is set to the same value as the Station Address for the Port Mode.
Number A sequential number from 1 to 32 is automatically assigned to each scan set. Scan
set 1 is reserved for the standard scan set.
Scan Type Determines whether the scan set is enabled (as a fixed scan) or is disabled.
Default: Disabled.
Number of (Editable only when the Scan Type is set to Fixed Scan.) The scan rate of the scan
Sweeps set. Double-click the field, then select a value. A value of 0 prevents the I/O from
being scanned.
Default: 1.
Output Delay (Editable only when the Number of Sweeps is non-zero.) The number of sweeps
that the output scan is delayed after the input scan has occurred. Double-click on
field, then select a value.
Default: 0.
Description (Editable only when the Scan Type is set to Fixed Scan.) Brief description of the scan
set (32 characters maximum).
For symbolic variables, access control is specified by the Publish property of the variable, which
includes a Read Only and Read/Write setting.
Note: When requesting data from an external device, some drivers packetize data to optimize
communication. If a request attempts to read a value that is not published, the entire packet will fail. A
fault has been added to the fault table to help you understand a failed read/write. After addressing the
fault, you must clear the fault in order to try again.
Default: True.
UTC Offset Local time zone offset with respect to UTC time. (Read-Only: Controlled by
the UTC Offset on the Time tab.)
Note If you download to a PACSystems target that already has a project on it, the existing project is
overwritten.
If I/O variables are configured, hardware configuration and logic cannot be stored independently. They
must be stored at the same time.
If passwords have been set, when you go online, you will be taken to the highest unprotected level. If
no passwords have been set, you will go online with Privilege Level 4.
Default IP Addresses Initial Ethernet communication with the CPU may be established using
for RX3i the default IP addresses programmed at the factory:
CPE302/CPE305/CPE3 RX3i CPE302/CPE305/ CPE330/ RSTi-EP
10/CPE330/ CPE310/CPE330/ CPE400/CPL410 CPE100/C
CPE400/CPL41064 & CPE400/CPL410 and LAN2 PE115
RSTi-EP RSTi-EP
CPE100/CPE115 LAN2
CPE100/CPE115 LAN1
Embedded Ethernet
IP Address: [Link] [Link] [Link]
Subnet
[Link] [Link] [Link]
Mask:
Gateway: [Link] [Link] [Link]
Connecting to If the IP Address of the CPE302/CPE305/CPE310 embedded Ethernet
CPE302/CPE305/ interface is not known, communication may be established using one of
CPE310 Embedded these methods to set a permanent IP address:
Ethernet when • Connect to the CPE302/CPE305/CPE310 via its serial port and assign
IP Addresses are not an IP Address to the embedded Ethernet interface by downloading a
known hardware configuration.
• Connect to the CPE302/CPE305/CPE310 with PME using an
IC695ETM001 module with a known IP address and located in the
same rack. Download a new hardware configuration with the desired
IP address for the embedded Ethernet interface.
Connecting to CPE330 If the IP Addresses of the CPE330 embedded LAN1 and LAN2 Ethernet
Embedded Ethernet interfaces are not known, communication may be established using one
when IP Addresses are of these methods to set new IP addresses:
not known • Setting a Temporary IP Address using the Set Temporary IP Address tool
in PAC Machine Edition (PME). After setting the temporary address,
connect to the selected CPE330 LAN using PME and download a new
hardware configuration with the desired permanent IP addresses.
• Connect to the CPE330 with PME using an IC695ETM001 module
with a known IP address and located in the same rack. Download a
new hardware configuration with the desired permanent IP
addresses for the CPE330 embedded Ethernet interfaces.
Connecting to Use the OLED display to read the IP Address of any LAN.
CPE400/CPL410 Note: Setting a Temporary IP Address tool is not available for CPE400 or
Embedded Ethernet CPL410.
when IP Addresses are
not known
64
CPE LAN3 IP Address is not configurable.
CPU Operation 110
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 3
GFK-2222AT Sep 2021
CAUTION
This procedure also erases the stored hardware configuration, logic and
contents of the backup RAM.
65
Not supported by RX3i CPE400 and RSTi-EP CPE100/CPE115.
CPU Operation 111
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 3
GFK-2222AT Sep 2021
Note: To set the IP address, you will need the MAC address of the Ethernet Figure 25: Set
Interface to which PME will be connected. Temporary IP Address
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.
The Set Temporary IP Address utility can assign a temporary IP Address even if the target Ethernet
Interface has previously been configured to a non-default IP Address. (This includes overriding an IP
Address previously configured by the programmer.)
Constant Sweep In this mode, each sweep begins at a user-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 Communications and Background Windows, allowing
them to execute until it is time for the next sweep to begin.
Constant Window In this mode, each sweep can consume a variable amount of time. The Logic
Window is executed in its entirety each sweep. The CPU alternates among
the Communications and Background Windows, allowing them to execute
for a time equal to the user-specified Constant Window timer.
Note: The information presented above summarizes the different sweep modes. For additional
information, refer to CPU Sweep Modes.
The CPU also operates in one of four RUN/STOP Modes (for details, refer to Run/Stop Operations):
• Run/Outputs Enabled
• Run/Outputs Disabled
• Stop/IO Scan
• Stop/No IO
Housekeeping
Start-of-Sweep
input scan
Application Program
Task
Execution
(Logic window)
Output Scan
Prog
window no
scheduled
?
yes
Controller
Communications
Window
Comm
no
window
scheduled
?
yes
Backplane
Communication
Window
s
Background
no
task
scheduled
?
yes
Background
task
Window
Housekeeping The housekeeping portion of the sweep performs the tasks necessary to
prepare for the start of the sweep. This includes updating %S bits,
determining timer update values, determining the mode of the sweep
(Stop or Run), and polling of expansion racks.
Expansion racks are polled to determine if power has just been applied
to an expansion rack. Once an expansion rack is recognized, then
configuration of that rack and all of its modules are processed in the
Controller Communications Window.
Input Scan During the input scan, the CPU reads input data from the Genius Bus
Controllers and input modules. If data has been received on an EGD
page, the CPU copies the data for that page from the Ethernet interface
to the appropriate reference memory. For details, see PACSystems and
RX3i TCP/IP Ethernet Communications User Manual, GFK-2224.
Application Program The CPU solves the application program logic. It always starts with the
Task first instruction in the program. It ends when the last instruction is
Execution executed. Solving the logic creates a new set of output data.
(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.
Phase Activity
Output Scan The CPU writes output data to bus controllers and output modules. The
user program checksum is computed.
During the output scan, the CPU sends output data to the Genius Bus
Controllers and output modules. If the producer period of an EGD page
has expired, the CPU copies the data for that page from the appropriate
reference memory to the Ethernet interface. The output scan is
completed when all output data has been sent.
The output scan is not performed if a program has an active Suspend I/O
function on the current sweep.
The CPU always executes this window. The following items are serviced
in this window:
Phase Activity
Backplane Communications with intelligent devices occur during this window. The
Communications rack-based Ethernet Interface module communicates in the Backplane
Window Communications window. During this part of the sweep the CPU
communicates with intelligent modules such as the Genius Bus
Controller and TCP/IP Ethernet modules.
The mode and time limit can be configured and stored to the CPU, or it
can be dynamically controlled from the user program using Service
Request function #4. The Backplane Communications Window time can
be set to a value from 0 to 255ms (default is 255ms). This allows
communications functions to be skipped during certain time-critical
sweeps.
OUTPUT
CC
OUTPUT
BPC
CC
BG
BPC OUTPUT
BG CC
BPC
Abbreviations:
HK = Housekeeping BG
CC = Controller Communications Window
BPC = Backplane Communications Window
BG = Background Window
The Ethernet Global Data66 page, configured for either consumption or production, can add up to 1 ms
to the sweep time. This sweep impact should be considered when configuring the CPU constant
sweep mode and setting the CPU watchdog timeout.
If the sweep exceeds the Constant Sweep time in a given sweep, the CPU places an oversweep alarm in
the CPU fault table and sets the OV_SWP (%SA0002) status reference at the beginning of the next
sweep. Additional sweep time due to an oversweep condition in a given sweep does not affect the
time given to the next sweep.
The following figure illustrates four successive sweeps in Constant Sweep mode with a Constant
Sweep time of 100 ms. Note that the total sweep time is constant, but an oversweep may occur due to
the Logic Window taking longer than normal.
OUTPUT
Constant OUTPUT
CC
Sweep CC
Time OUTPUT
BPC
CC BPC
BPC BG
BG
SYS
SYS BG
BG
Abbreviations:
20 ms oversweep
HK = Housekeeping OUTPUT
PRG = Programmer Window.
BPC = Backplane Communications Window.
CC = Controller Communications Window
BG = Background Window
66
For EGD configured on Embedded Ethernet interface of CPE302/CPE305/CPE310, refer to A.3.6 for Constant sweep impact.
CPU Operation 120
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 4
GFK-2222AT Sep 2021
OUTPUT
CC
OUTPUT
CC BPC
BPC OUTPUT
BG BG CC
CC CC
SYS Constant
Window
BG Time
Abbreviations: BPC
HK = Housekeeping
CC = Controller Communications Window
BPC = Backplane Communications Window
BG = Background Window
Run-to-Completion In Run-to-Completion mode, all requests made when the window has
started are serviced. When all pending requests in the given window have
completed, the CPU transitions to the next phase of the sweep. (This does
not apply to the Background window because it does not process
requests.)
Constant In Constant Window mode, the total amount of time that the Controller
Communications window, Backplane Communications window, and
Background window run is fixed. If the time expires while in the middle of
servicing a request, these windows are closed, and communications will
be resumed the next sweep. If no requests are pending in this window, the
CPU cycles through these windows the specified amount of time polling
for further requests. If any window is put in constant window mode, all are
in constant window mode.
Limited In Limited mode, the maximum time is fixed for the execution of the
window. If time expires while in the middle of servicing a request, the
window is closed, and communications will be resumed the next time that
the given window is run. If no requests are pending in this window, the CPU
proceeds to the next phase of the sweep.
Note: You cannot add to the size of %P and %L reference tables in RUN Mode unless the %P and %L
references are the first of their type in the block being stored or the block being stored is a totally new
block.
Figure 30: CPU Sweep in Stop-I/O Disabled and Stop-I/O Enabled Modes
Start-of-Sweep
Housekeeping
Executes in Stop-I/O
Input Scan Scan Enabled mode only
Executes in Stop-I/O
Output Scan
Scan Enabled mode
only
Controller Runs To
Communication Completion
Window
s
Backplane Runs To
Communication Completion
Window
s
Background Run To
Task
Window Completeion
STOP-Halt Mode
Recovering from STOP-Halt Mode (Firmware Versions 10.05 or Later)
PACSystemsTM RX3i and RSTi-EP CPU firmware version 10.05 introduces new functionality to
automatically recover from STOP-Halt mode for all CPU models. The secure remote STOP-Halt restart
mechanism saves off pertinent debug, diagnostic, and fault information to retentive memory, and
automatically resets the controller such that it restarts in STOP-Fault mode. Because the recovery
process is automatic, there is no need to perform the model-specific STOP-Halt recovery procedures
listed in the next section. The controller also logs the following fault in the Controller Fault Table
identifying that an auto-recovery event occurred:
INFO_CPU_SOFTWR - CPU software event: Controller automatically recovered
from a fatal error. Error Code: 672. Group: 140.
There are some caveats to this feature that the user should be aware of: If the controller is configured
to power-up from RAM, an auto-recovery event will power-up the controller with cleared Logic,
Hardware Configuration, and Data/Reference memory, regardless of the presence of a battery or
Energy Pack. However, if the controller is configured to power-up from flash (always or conditionally),
the RAM is still cleared such that Logic, Hardware Configuration, and Data/Reference memory are
restored from flash as described in the Flash Memory Operation and the Logic/Configuration Source and
CPU Operating Mode at Power-up sections below. Regardless of whether RAM is cleared or restored
from flash, the controller powers up in STOP-Fault mode. For information regarding recovering the
controller from STOP-Fault mode, see the STOP-Fault Mode section below.
Recovering from STOP-Halt Mode (Firmware Versions Earlier than 10.05, Only
Supported on CPE400/CPL410)
The CPU will automatically go into STOP-Halt mode and suspend logic execution and I/O scanning for
the following conditions:
• Software Watchdog timeout
• ECC Memory Check fault
• Illegal memory access from a C-Block
• Hardware Watchdog timeout. This condition resets the CPU and suspends backplane
communications.
To recover from STOP-Halt mode, the CPU/CPE must be disconnected from its backup power source
(battery or Energy Pack), powered off, then powered back on, after which the backup power source
should be reconnected. The CPE400/CPL410 provides an alternative way to recover from STOP-Halt
mode by means of the OLED display and without the need of removing the Energy Pack.
To enable backplane communications where they have been disabled in STOP-Halt mode, cycle power
with its backup power source attached (battery or Energy Pack).
While the CPU is in STOP-Halt mode, the PacsAnalyzer Utility may be employed to examine the CPU’s
fault tables. The PacsAnalyzer Utility 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 PacsAnalyzer Utility must be directly
connected to a serial or Ethernet port on the CPU. If backplane communications are operational, the
PacsAnalyzer Utility may be connected via a communications or Ethernet module in the backplane, or
to a CPU-embedded port.
CPE400/CPL4010 STOP-Halt Recovery Procedure
CPU Operation 125
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 4
GFK-2222AT Sep 2021
1. Collect a PacsAnalyzer trace prior to performing the rest of the steps. Once the recovery is
applied, the CPU clears its Energy Pack memory. The User Flash memory is not automatically
cleared.
o The message Please wait. Resetting in about 30 secs appears in the display.
o After the restart, the PLC will be in STOP mode. The STOP-Halt mode is gone.
6. Connect to the PLC and perform the necessary corrections. If the PLC is placed in RUN mode
without fixing the offending code, the PLC will enter STOP-Halt and the procedure will have to
be performed again.
Recovering from STOP-Halt mode RSTi-EP Controllers (Firmware Versions Earlier than
10.05)
To recover the controller from a Stop/Halt state, complete the following:
1. Connect a live Ethernet cable to LAN1.
2. Press and hold the membrane Run/Stop pushbutton and power down the controller.
3. Continue holding the Run/Stop push button until power has drained completely (30 seconds)
and then release the pushbutton. The LEDs for the LAN1 port will turn off completely. Note:
Ethernet LEDs may blink slowly during shutdown.
4. Reconnect power and power on the controller. Note: If the configuration and logic was
downloaded into flash and the Power-up Mode parameter is also set as flash then, the only
way to recover from Stop/Halt state is to perform a factory reset.
STOP-Fault Mode
In STOP-Fault Mode, logic execution and I/O Scanning cease after the number of last scans (configured
by the user) has been exhausted. Client communications also cease at that time. Server
communications are available, but with PLC data which has become static.
Within PME, the user can configure each fault action to be either diagnostic or fatal.
• A diagnostic fault does not stop the Controller from executing logic. It sets a diagnostic
variable and is logged in a fault table.
• A fatal fault transitions the Controller to the STOP-Fault Mode. It also sets a diagnostic variable
and is logged in a fault table.
Within PME, the user can also configure the number of last scans to be executed in the event of a fault
(see PME Scans tab, Number of Last Scans parameter).
To recover from STOP-Fault Mode, resolve the underlying cause and clear the Controller Fault Table.
This allows the CPU to transition to STOP-I/O Disabled Mode.
RUN I/O or The CPU runs with I/O sweep User program memory is read
RUN I/O Enable enabled. only.
RUN or The CPU runs with outputs User program memory is read
RUN Output disabled. only.
Disable
STOP The CPU is not allowed to go into User program memory can be
RUN Mode. written.
The RUN/STOP Switch can be disabled in the programming software HWC. The memory protection
function of the switch can be disabled separately in HWC. The RUN/STOP Switch is enabled by default.
The memory protection functionality is disabled by default.
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.
Configuration Parameters
RUN/STOP Switch Power Down
Power-up RUN/STOP CPU Mode
Stop-Mode I/O Scanning Position Mode
Mode Switch
Run Enabled Enabled Stop N/A Stop Enabled
Run Enabled Disabled Stop N/A Stop Disabled
Run Enabled N/A Run Disabled N/A Run Disabled
Run Enabled N/A Run Enabled N/A Run Enabled
Run Disabled N/A N/A N/A Run Enabled
Stop N/A Enabled N/A N/A Stop Enabled
Stop N/A Disabled N/A N/A Stop Disabled
Last Enabled Enabled Stop Stop Disabled Stop Disabled
Last Enabled Enabled Stop Stop Enabled Stop Enabled
Last Enabled Enabled Stop Run Disabled Stop Enabled
Last Enabled Enabled Stop Run Enabled Stop Enabled
Last Enabled Disabled Stop N/A Stop Disabled
Last Enabled N/A Run Disabled Stop Disabled Stop Disabled
Last Enabled Enabled Run Disabled Stop Enabled Stop Enabled
Last Enabled Disabled Run Disabled Stop Enabled Stop Disabled
Last Enabled N/A Run Disabled Run Disabled Run Disabled
Last Enabled N/A Run Disabled Run Enabled Run Disabled
Last Enabled N/A Run Enabled Stop Disabled Stop Disabled
Last Enabled Enabled Run Enabled Stop Enabled Stop Enabled
Last Enabled Disabled Run Enabled Stop Enabled Stop Disabled
Last Enabled N/A Run Enabled Run Disabled Run Disabled
Last Enabled N/A Run Enabled Run Enabled Run Enabled
Last Disabled N/A N/A Stop Disabled Stop Disabled
Last Disabled Enabled N/A Stop Enabled Stop Enabled
Last Disabled Disabled N/A Stop Enabled Stop Disabled
Last Disabled N/A N/A Run Disabled Run Disabled
Last Disabled N/A N/A Run Enabled Run Enabled
67
RSTi-EP CPE100/CPE115 does not allow the Time-of-Day clock to be set older than 1st Jan, 2001 when POSIX format is used along with SVC_REQ 7.
CPU Operation 133
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 4
GFK-2222AT Sep 2021
When the SNTP Time Transfer feature is implemented, all SNTP time updates received at the CPU will
cause the high-resolution software TOD clock to be updated.
68
For firmware versions 10.05 and later, all RX3i & RSTi-EP CPEs restart into STOP-Fault mode per the Secure Remote STOP-Halt Restart Mechanism.
CPU Operation 134
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 4
GFK-2222AT Sep 2021
communications or operations are possible. To recover, power must be cycled on the rack or
backplane containing the CPU.
To extend the current sweep beyond the software watchdog timer value, the application program
may restart the software watchdog timer using Service Request function #8. However, the software
watchdog timer value may only be changed from the configuration software.
Note that Service Request Function #8 does not reset the output scan timer implemented on the
Genius Bus Controller.
Note: The hardware watchdog is not the same as the Software watchdog. Hardware watchdog is a
timer circuit that is reset by a periodic high priority firmware task. It is different on all products and is
part of the hardware design. Software watchdog is the only CPU parameter that is user configurable,
hardware watchdog is invisible to users.
• Duplicate passwords may be used on different privilege levels. For example, Level 1 and Level
2 may share the same password.
• Passwords must be between one and seven ASCII characters in length.
After passwords have been configured, access to the CPU data will be restricted to the user’s privilege
level. Higher privilege levels will provide access to lower privilege levels. 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.
Privilege Levels
There are four different privilege levels. Level 1 provides the least access and Level 4 provides the most
access. The current privilege level is identified by the padlock icon on bottom row of PME screen. (For
example, the icon will display that the PLC is in privilege Level 2). Please see Table 4-1 for a description
of CPU Privilege Levels.
3 Yes Write to configuration or logic when the CPU is in STOP Mode, including
word-for-word changes, addition/deletion of program logic, and the
overriding of discrete I/O.
2 Yes Write to any data memory. This does not include overriding discrete I/O by
applying a force. The CPU can be started or stopped. CPU and I/O Fault
Tables can be cleared.
1 Yes Read any CPU data except for passwords. This includes reading fault tables,
performing datagrams, verifying logic/configuration, loading program
and configuration, etc. from the CPU. None of this data may be changed.
At this level, RUN/STOP Mode transitions from the programmer are not
allowed.
Please refer the table below for more information on the PLC operation restrictions in each privilege
level (Yes – Allowed; No – Restricted).
The following table applies when passwords are defined with the following protocol conditions:
• Modbus TCP Protocol
Passwords Defined Privilege Level on
Connection
Level 1 Level 2 Level 3 Level 4
No No No Yes Level 3
No No Yes No Level 2
No Yes No No Level 1
The following table applies when passwords are defined with the following protocol conditions:
• PME Connection with SRTP Protocol
PME SRTP will connect and obtain the highest access level that has no password set.
Note: SRTP password levels are obtained on a per session basis. For example, obtaining Level 4 access
on a PME connection does NOT automatically permit Level 4 access on any other SRTP session. Each
SRTP Connection session must obtain its own access level.
Passwords Defined Privilege Level on
Connection
Level 1 Level 2 Level 3 Level 4
No No No Yes Level 3
No No Yes No Level 4
No Yes No No Level 4
Initial passwords are blank for a new controller or a controller that has its passwords cleared. For
passwords to be maintained through power cycles, the controller must either:
• Store to RAM and use an Energy Pack or battery to maintain memory.
• Store to User Flash with configuration set up to load from Flash at power up.
Disabling Passwords
The use of password protection is optional. Passwords can be disabled using the programming
software.
Note: To enable passwords after they have been disabled, the CPU must be power cycled with the
battery or Energy Pack removed.
If you are storing a non-blank OEM key to flash memory, you should be careful to record the OEM key
for future reference. If disabling OEM protection, be sure to clear the OEM key that is stored in flash
memory.
Note: In CPU firmware versions 7.80 or later which support Enhanced Security (with merged password
tables), OEM Protection Lock must be explicitly set.
In earlier versions, the OEM Protection could be enabled in User Flash without explicitly setting the
OEM Protection to Locked. With the earlier firmware, a non-blank OEM Key that is loaded from User
Flash at power-up would result in an automatic OEM Lock. In CPU firmware versions 7.80 or later (i.e.,
with merged passwords), this is no longer supported.
In firmware versions earlier than 6.01, the OEM protection was not preserved unless a battery was
attached.
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.
For a recommended procedure, see OEM Protection in Systems that Load from Flash Memory.
69
To determine the required PME version, refer to the Important Product Information (IPI) document provided with the CPU firmware version you are using.
CPU Operation 142
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 4
GFK-2222AT Sep 2021
Level 2, 3 and 4 Levels 2, 3 and 4 must be set or Passwords can be set individually or in a
protection modified simultaneously. (If group. When changing passwords, the
you only want to change one, old password for that level is required in
you must enter all three.) order to change it.
Clearing passwords Passwords can be cleared back Once a password is set, the Enhanced
to initial blank password values. Security mode in PME will not allow it to
be cleared back to a blank password. To
revert to a blank password, the CPU
memory must be cleared and power
cycled.
OEM keys ≤7 Can change OEM Protection Can change OEM Protection Lock state
characters, set with Lock state and the OEM key.
Enhanced Security
Cannot change the OEM key.
OEM keys >7 Cannot change OEM Protection Can change OEM Protection Lock state
characters, set with Lock state or the OEM key. and the OEM key.
Enhanced Security
70
Note that RX3i CPE400 and RSTi-EP CPE100/CPE115 does not support IC695PNC001, since they are Standalone CPUs. Both may co-exist on a PROFINET LAN.
CPU Operation 144
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 4
GFK-2222AT Sep 2021
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. The selected action applies when the CPU transitions from RUN/Enabled to RUN/Disabled
or STOP Mode, or experiences a fatal fault.
At power-up, Series 90-30 discrete output modules default to all outputs off. They will retain this
default condition until the first output scan from the PACSystems controller. Analog output modules
can be configured with a jumper located on the removable terminal block of the module. The jumper
may be set to cause outputs to either default to zero or retain last state.
Inputs
Input modules that have a configurable input default mode can be configured to Hold Last State or to
set inputs to 0. If a module does not have a configurable input default mode, its input default mode is
Off. The selected action applies when the CPU transitions from RUN/Enabled to RUN/Disabled or STOP
Mode, or experiences a fatal fault.
For details on the power-up and STOP Mode behavior of other modules, refer to the documentation
for that module.
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 diagnostic
data from that module to the CPU. For details on GBC faults, see PACSystems Handling of GBC
Faults.
• For I/O modules not interfaced through a bus controller, the CPU’s I/O Scanner subsystem
generates the diagnostic bits based on data provided by the module.
The diagnostic bits are derived from the diagnostic data sent from the I/O modules to their I/O
controllers (CPU or bus controller). Diagnostic bits indicate the current fault status of the associated
module. Bits are set when faults occur and are cleared when faults are cleared.
Diagnostic data is not maintained for modules from other manufacturers. The application program
must use the BUS Read function blocks to access diagnostic information provided by those boards.
Note: At least two sweeps must occur to clear the diagnostic bits: one scan to send the %Q data to the
module and one scan to return the %I data to the CPU. Because module processing is asynchronous to
the controller sweep, more than two sweeps may be needed to clear the bits, depending on the sweep
rate and the point at which the data is made available to the module.
OFF ON
Fault Absent
Application of default input and diagnostic data for lost redundant blocks
When a GBC reports that a redundant block is lost, the CPU updates the input data tables and input
diagnostic tables with the default data during the very next input scan. The output diagnostic data
tables are updated during the very next output scan.
Power-Up Self-Test
On system power-up, many modules in the system perform a power-up diagnostic self-test. The CPU
module executes hardware checks and software validity checks. Intelligent option modules perform
setup and verification of on-board microprocessors, software checksum verification, local hardware
verification, and notification to the CPU of self-check completion. Any failed tests are queued for
reporting to the CPU during the system configuration portion of the cycle.
If a low or failed battery (or Energy Pack fault) indication is present, a fault is logged in the CPU fault
table.
System Configuration
After completing its self-test, the CPU performs the system configuration. It first clears all system
diagnostic bits in the bit cache memory. This prevents faults that were present before power-down
but are no longer present from accidentally remaining as faulted. Then it polls each module in the
system for completion of the corresponding self-test.
The CPU reads information from each module, comparing it with the stored (downloaded) rack/slot
configuration information. Any differences between actual configuration and the stored configuration
are logged in the fault tables.
Power-Down Sequence
System power-down occurs when the power supply detects that incoming power has dropped for
more than 15ms.
User memory is preserved only if the compatible Energy Pack is connected (and charged) at
power-down.
If the Energy Pack is connected at power-up, the CPU waits for it to charge up before beginning normal
operations. For CPE330/CPE400/CPL410, this typically takes up to 90 seconds.
In the event the Energy Pack fails to charge up in a reasonable amount of time, or is absent, the CPU
will time out the wait period and will then commence operations without the Energy Pack. When this
occurs, the CPU is vulnerable to loss of memory, should another power failure occur. It is critical to
monitor the status bits shown in Energy Pack Status Bit Operation so that human intervention can be
summoned.
Removing or reconnecting the Energy Pack while the connected CPU is powered off has no effect on
the preservation of user memory.
Note: Because the Time of Day (TOD) clock is powered by a separate Real Time Clock battery in
CPE302/CPE305/CPE310/CPE330/CPE400/CPL410, the Energy Pack has no effect on the CPU TOD
value.
The LEDs on the Energy Pack also indicate its status. Refer to the documentation for each product for
corresponding LED status.
Section 5 Communications
This Section describes the Ethernet and Serial communications features of the 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. Refer to PACSystems RX3i Serial Communications
Modules User’s Manual, GFK-2460.
This Section contains the following information with respect to the embedded CPU ports:
• Ethernet Communications
• Serial Communications
Communications 155
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 5
GFK-2222AT Sep 2021
Communications 156
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 5
GFK-2222AT Sep 2021
The issue demonstrated in Figure 31 is that requests entering one CPE330 interface can be routed out
the other interface since both CPE330 Ethernet ports have been configured to be on the same
network ([Link]) but are physically connected to separate networks. Avoid this by assigning
non-overlapping Subnets.
Gateway [Link]
LAN1 and LAN2 on the CPE330 are initially configured with following problematic IP para meters:
LAN1 LAN2
IP [Link] [Link]
Communications 157
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 5
GFK-2222AT Sep 2021
The user intends to communicate between the remote device and CPE330 LAN1 (Figure 32).
IP Address routing allows the CPE330 to receive the remote IP requests through the respective
gateways ([Link] for the remote node and [Link] for CPE330 LAN1). However, since
CPE330 LAN2 shares the same IP subnet as the remote network (192.168.0.x), responses may be
routed to the local 192.168.0.x network rather than to the remote network (Figure 33).
The duplicate IP subnet in the example must be eliminated. One way to do this is simply change the IP
Address assigned to CPE330 LAN2 from [Link] to [Link] thereby creating a non-
overlapping 192.168.1.x network. In short, consider the totality of the network when assigning
IP subnets and IP Addresses.
Communications 158
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 5
GFK-2222AT Sep 2021
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.
Communications 159
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 5
GFK-2222AT Sep 2021
RSTi-EP
RSTi-EP_CPE100/CPE115 provides one or more embedded Ethernet interfaces. If used, each interface
connects to a Local Area Network (LAN).
The corresponding RJ45 Ethernet port(s) automatically sense the data rate on the attached LAN
(100 Mbps or 10 Mbps), as well as the corresponding communication mode (half-duplex or full-
duplex), and the corresponding cabling arrangement (straight through or crossover). Automatic
detection greatly simplifies installation procedures.
See RSTi-EP CPU Features and Specifications to determine the complete list of Internet protocols
supported by each CPU.
Some important protocols supported by all RSTi-EP CPUs are: Some important protocols supported
by all RSTi-EP CPUs are:
• TCP/IP, which provides basic Internet capabilities;
• 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.
On the CPE100/CPE115, the same shared processor performs both Ethernet port processing and
Controller logic processing.
Each interface on a LAN must have a unique IP Address and a non-overlapping IP subnet. This is
configured in PME. Care must be taken to survey the entire connected network architecture in order to
tabulate the IP addresses and IP subnets already in use, both on the local networks and on any of its
routed subnets connected with a gateway. Never assign a conflicting IP Address or configure duplicate
IP subnets. For examples, please refer to 5.1.1
Communications 160
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 5
GFK-2222AT Sep 2021
Communications 161
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 5
GFK-2222AT Sep 2021
Features Supported
Serial Port 1 Serial Port 2
Feature
(COM1) (COM2)
RS-232 Yes No
RS-485 No Yes
71
Serial IO is the only protocol supported by CPE400. CPE100/115 doesn’t support SNP.
Communications 162
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 5
GFK-2222AT Sep 2021
72
Pin 1 is at the bottom right of the connector as viewed from the front of the module.
Communications 163
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 5
GFK-2222AT Sep 2021
73
Pin 1 is the leftmost pin as shown in Figure 34.
Communications 164
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 5
GFK-2222AT Sep 2021
This is a DCE port that allows a simple straight-through cable to connect with a standard AT-style
RS-232 port.
Communications 165
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 5
GFK-2222AT Sep 2021
Communications 166
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 5
GFK-2222AT Sep 2021
Note: For details on conformance to radiated emissions standards, refer to Appendix A in the
following manuals:PACSystems RX3i System Manual, GFK-2314
RTU Slave 1200, 2400, 4800, 1200, 2400, 4800, not supported
9600, 19.2K, 38.4K, 9600, 19.2K,
57.6K, 115.2K 38.4K, 57.6K,
115.2K
Firmware 1200, 2400, 4800, Not supported not supported
Upgrade via 9600, 19.2K, 38.4K,
WinLoader 57.6K, 115.2K
Message Mode 1200, 2400, 4800, 1200, 2400, 4800, not supported
9600, 19.2K, 38.4K, 9600, 19.2K,
57.6K, 115.2K 38.4K, 57.6K,
115.2K
SNP Slave 1200, 2400, 4800, 1200, 2400, 4800, not supported
9600, 19.2K, 38.4K, 9600, 19.2K,
57.6K, 115.2K 38.4K, 57.6K,
115.2K
Serial I/O 1200, 2400, 4800, 1200, 2400, 4800, not supported
9600, 19.2K, 38.4K, 9600, 19.2K,
57.6K, 115.2K 38.4K, 57.6K,
115.2K
Communications 167
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 5
GFK-2222AT Sep 2021
Communications 168
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 5
GFK-2222AT Sep 2021
Communications 169
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6
GFK-2222AT Sep 2021
Note: Because address offsets are stored in a 16-bit word field, the full range of %W memory type
cannot be used with COMMREQs.
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.
74
The device identifier for SNP Slave ports is packed into words with the least significant character in the least significant byte of the word. For example, if the
first two characters are “A” and “B,” the Address + 18 will contain the hex value 4241.
Serial I/O, SNP, & RTU Protocols 174
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6
GFK-2222AT Sep 2021
75
The End-of-frame timeout and Receive-to-transmit delay values were added in Release 6.70 for the RX3i. They are discussed in the RTU Slave Protocol section.
Serial I/O, SNP, & RTU Protocols 175
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6
GFK-2222AT Sep 2021
Address + 2 0008 = %R, register memory Status Word Pointer Memory Type
See
Address + 9 Data Rate
COMMREQ Command Block Parameter
Values.
6.2.2 Compatibility
The COMMREQ function blocks supported by Serial I/O are not supported by other currently existing
protocols (such as SNP slave and RTU slave). Errors are returned if they are attempted for a port
configured for one of those protocols.
• Local COMMREQs - do not receive or transmit data through the serial port.
o Initialize Port (4300)
o Set Up Input Buffer (4301)
o Flush Input buffer (4302)
o Read port status (4303)
o Write port control (4304)
o Cancel Operation (4399)
• Remote COMMREQs - receive and/or transmit data through the serial port.
o Autodial (4400)
o Write bytes (4401)
o Read bytes (4402)
o Read String (4403)
NEW COMMREQ
Control (4304)
Status (4303)
Buffer (4302)
Buffer (4301)
Initialize Port
Setup (FFF0)
Set Up Input
Write Bytes
Read String
Flush Input
Read Bytes
Write Port
Operation
Serial Port
Read Port
Autodial
Currently-Pending
(4400)
(4401)
(4300)
(4402)
(4403)
(4399)
Cancel
COMMREQs
Write Bytes
No No Yes Yes Yes Yes Yes Yes Yes Yes No
(4401)
Read Bytes
No Yes Yes No No Yes Yes No No Yes No
(4402)
Read String
No Yes Yes No No Yes Yes No No Yes No
(4403)
Operating Notes
Remote COMMREQs that are cancelled due to this command executing will return a COMMREQ status
word indicating request cancellation (minor code 12H).
CAUTION
If this COMMREQ is sent when a Write Bytes (4401) COMMREQ is transmitting a string from a serial
port, transmission is halted. The position within the string where the transmission is halted is
indeterminate. In addition, the final character received by the device to which the CPU is sending is
also indeterminate.
Port Status
The port status consists of a status word and the number of characters in the input buffer that have
not been retrieved by the application (characters which have been received and are available).
word 1 Port status word (see below)
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.
Support for the RP and DCD status bits is provided only for COM1 on the CPE310, in version 7.16 and
later.
RTS DTR -- -- -- -- -- -- -- -- -- -- -- -- -- --
Operating Notes
For reference, see the tables under Serial Port Pin Assignments in Section 5.
Support for the DTR output signal is provided for COM1 only, on all RX3i models (except CPE302,
CPE305, CPE330, CPE400 and CPL410), in Rel 7.16 and later releases.
For CPU COM2 (RS-485), the RTS signal is also controlled by the transmit driver. Therefore, control of
RTS is dependent on the current state of the transmit driver. If the transmit driver is not enabled,
asserting RTS with the Write Port Control COMMREQ will not cause RTS to be asserted on the serial
line. The state of the transmit driver is controlled by the protocol and is dependent on the current
Duplex Mode of the port. For 2-wire and 4-wire Duplex Mode, the transmit driver is only enabled
during transmitting. Therefore, RTS on the serial line will only be seen active on COM2 (configured for
2-wire or 4-wire Duplex Mode) when data is being transmitted. For point-to-point Duplex Mode, the
transmit driver is always enabled. Therefore, in point-to-point Duplex Mode, RTS on the serial line will
always reflect what is chosen with the Write Port Control COMMREQ.
1 - All operations
2 - Read operations
3 - Write operations
Operating Notes
Remote COMMREQs that are cancelled due to this command executing will return a COMMREQ status
word indicating request cancellation (minor code 12H).
CAUTION
If this COMMREQ is sent in either Cancel All or Cancel Write mode when a Write Bytes (4401)
COMMREQ is transmitting a string from a serial port, transmission is halted. The position within the
string where the transmission is halted is indeterminate. In addition, the final character received by
the device to which the CPU is sending is also indeterminate.
Example
Pager enunciation can be implemented by three commands, requiring three COMMREQ command
blocks:
Autodial: Dials the modem.
04400 (1130h)
Write Bytes: Specifies an ASCII string, from 1 to 250 bytes in length, to send
04401 (1131h) from the serial port.
Although printable ASCII characters are used in this example, there is no restriction on the values of
the characters that can be transmitted.
Operating Notes
Specifying zero as the Transmit time-out sets the time-out value to the amount of time actually
needed to transmit the data, plus 4 seconds.
CAUTION
If an Initialize Port (4300) COMMEQ is sent or a Cancel Operation (4399) COMMREQ is sent in either
Cancel All or Cancel Write mode while this COMMREQ is transmitting a string from a serial port,
transmission is halted. The position within the string where the transmission is halted is
indeterminate. In addition, the final character received by the device the CPU is sending to is also
indeterminate.
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. The function returns
both the number of characters retrieved and the number of unprocessed characters still in the input
buffer. If zero characters of input are requested, only the number of unprocessed characters in the
input buffer is returned.
If insufficient characters are available to satisfy the request and a non-zero value is specified for the
number of characters to read, the status of the operation is not complete until either sufficient
characters have been received or the time-out interval expires. In either of those conditions, the port
status indicates the reason for completion of the read operation. The status word is not updated until
the read operation is complete (either due to timeout or when all the data has been received).
If the time-out interval is set to zero, the COMMREQ remains pending until it has received the
requested amount of data, or until it is cancelled.
If this COMMREQ fails for any reason, no data is returned to the input data area. Any data that has not
been read from the internal input buffer remains and it can be retrieved with a subsequent read
request.
Address + 3 third and fourth characters (third character is in the low byte)
Address + 3 third and fourth characters (third character is in the low byte)
Slave Response
Query Transaction
Broadcast Transaction
The master device begins a data transfer by sending a query or broadcast request message. A slave
completes that data transfer by sending a response message if the master sent a query message
addressed to it. No response message is sent when the master sends a broadcast request.
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. Starting with Release 6.70 for the RX3i, the receive-to-transmit delay can be configured with the
Serial Port Setup COMMREQ function 65520. The timeout is specified in units of 10 ms, with a range of
0–255 units (maximum delay is 2.55 seconds). If the specified time is less than 3.5 character times,
then the delay is set to 3.5 character times.
Message Types
The RTU protocol has four message types: query, normal response, error response, and broadcast.
Query
The master sends a message addressed to a single slave.
Normal Response
After the slave performs the function requested by the query, it sends back a normal response for that
function. This indicates that the request was successful.
Error Response
The slave receives the query, but cannot perform the requested function. The slave sends back an
error response that indicates the reason the request could not be processed. (No error message will be
sent for certain types of errors. For more information, refer to Communication Errors below.)
Broadcast
The master sends a message addressed to all the slaves by using address 0. All slaves that receive the
broadcast message perform the requested function. This transaction is ended by a time-out within the
master.
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
The Station Address is the address of the slave station selected for this data transfer. It is one byte in
length and has a value from 0 to 247 inclusive. An address of 0 selects all slave stations, and indicates
that this is a broadcast message. An address from 1 to 247 selects a slave station with that station
address.
Function Code
The Function Code identifies the command being issued to the station. It is one byte in length and is
defined for the values 0 to 255 as follows:
Function Code Description
0 Illegal Function
1 Read Output Table
2 Read Input Table
3 Read Registers
4 Read Analog Input
5 Force Single Output
6 Preset Single Register
7 Read Exception Status
8 Loopback Maintenance
9-14 Unsupported Function
15 Force Multiple Outputs
16 Preset Multiple Registers
17 Report Device Type
18–21 Unsupported Function
22 Mask Write 4x Register
23 Read/Write 4x Registers
24–66 Unsupported Function
67 Read Scratch Pad Memory
68-127 Unsupported Function
128-255 Reserved for Exception Responses
Information Fields
All message fields, other than the Station Address field, Function Code field, and Error Check field are
called, generically, information fields. Information fields contain additional information required to
specify or respond to a requested function. Different types of messages have different types or
numbers of information fields. (Details on information fields for each message type and function code
are found in RTU Message Descriptions. Some messages (Message 07 Query and Message 17 Query) do
not have information fields.
Examples
As shown in the following figure, the information fields for message READ OUTPUT TABLE (01) Query
consist of the Starting Point No. field and Number of Points field. The information fields for message
READ OUTPUT TABLE (01) Response consist of the Byte Count field and Data field.
Figure 37: RTU Read Output Table Example
Message (01)
Read Output Table
Information Fields
Hi Lo Hi Lo
Query
Information Fields
Normal Response
Some information fields include entries for the range of data to be accessed in the RTU slave.
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. field. To specify %Q0001 as the starting
address, you would place the address %Q0000 in this field. Also, the value placed in the Number of Points
field determines how many %Q bits are read, starting with address %Q0001. For example:
• Starting Point No. field = %Q0007, so the starting address is %Q0008.
• Number of Points field = 16 (0010h), so addresses %Q0008 through %Q0023 will be read.
Message Length
Message length varies with the type of message and amount of data to be sent. Information for
determining message length for individual messages is found in RTU Message Descriptions.
Character Format
A message is sent as a series of characters. Each byte in a message is transmitted as a character. The
illustration below shows the character format. A character consists of a start bit (0), eight data bits, an
optional parity bit, and one stop bit (1). Between characters the line is held in the 1 state.
MSB Data Bits LSB
10 9 8 7 6 5 4 3 2 1 0
Parity
Stop Start
(optional)
Message Termination
Each station monitors the time between characters. When a period of three character times elapses
without the reception of a character, the end of a message is assumed. The reception of the next
character is assumed to be the beginning of a new message. The end of a frame occurs when the first
of the following two events occurs:
1. The number of characters received for the frame is equal to the calculated length of the frame.
2. A length of 4 character times elapses without the reception of a character.
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. After
sending a query message, the master should wait an appropriate amount of time for slave turnaround
before assuming that the slave did not respond to the request. Slave turnaround time is affected by
the Controller Communications Window time and the CPU sweep time, as described in RTU Slave
Turnaround Time.
End-of-Frame Timeout
The End-of-frame timeout is a feature that compensates for message gaps that can occur due to the
use of radio modems. The timeout is added to the amount of time allowed for receiving a message
from the master. The timeout should be sized according to the maximum gap time that could be
introduced by the master’s transmitting equipment. Starting with Release 6.70 for the RX3i, the end-
of-frame timeout can be configured with the Serial Port Setup COMMREQ function 65520. The
timeout is specified in units of 100 µs. If the specified time is less than 3.5 character times, then the
RTU driver sets the timeout to 3.5 character times.
• The resulting product is then divided by the generating polynomial (using modulo 2 with no
carries). The CRC is the remainder of this division.
• Disregard the quotient and add the remainder (CRC) to the data bits and transmit the
message with CRC.
• The receiver then divides the message plus CRC by the generating polynomial and if the
remainder is 0, the transmission was transmitted without error.
A generating polynomial is expressed algebraically as a string of terms in powers of X such as
X3 + X2 + X0 (or 1)
which, in turn, can be expressed as the binary number 1101.
A generating polynomial could be any length and contain any pattern of 1s and 0s as long as both the
transmitter and receiver use the same value. For optimum error detection, however, certain standard
generating polynomials have been developed. RTU protocol uses the polynomial
X16 + X15 + X2 + 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.
2 15 16
X X X
CRC Register
15 14 + 13 12 11 10 9 8 7 6 5 4 3 2 1 + 0 +
Data
+ = Exclusive Or
Input
To generate the CRC, the message data bits are fed to the shift register one at a time. The CRC register
contains a preset value. As each data bit is presented to the shift register, the bits are shifted to the
right. The LSB is XORed with the data bit and the result is: XORed with the old contents of bit 1 (the
result placed in bit 0), XORed with the old contents of bit 14 (and the result placed in bit 13), and
finally, it is shifted into bit 15. This process is repeated until all data bits in a message have been
processed. Software implementation of the CRC-16 is explained in the section below.
01 07
In this example, device number 1 (address 01) is queried. You need to know the amount of data to be
transmitted and this information can be found for every message type in Calculating the Length of
Frame. For this message the data length is 2 bytes.
76
The receiver processes incoming data through the same CRC algorithm as the transmitter. The example for the receiver starts at the point after all the data bits
but not the transmitted CRC have been received correctly. Therefore, the receiver CRC should be equal to the transmitted CRC at this point. When this occurs, the
output of the CRC algorithm will be zero indicating that the transmission is correct.
The transmitted message with CRC would then be:
01 07 41 E2
77
The MSB and LSB references are to the data bytes only, not to the CRC bytes. The CRC MSB and LSB order are the reverse of the data byte order.
78
The value of this byte is the number of bytes contained in the data being transmitted.
Serial I/O, SNP, & RTU Protocols 203
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6
GFK-2222AT Sep 2021
This section presents the format and fields for each RTU message.
Hi Lo Hi Lo
Query
Normal Response
Query
• An address of 0 is not allowed because this cannot be a broadcast request.
• The function code is 01.
• The starting point number is two bytes in length and may be any value less than the highest
output point number available in the attached CPU. The starting point number is equal to one
less than the number of the first output point returned in the normal response to this request.
• 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. The high order byte of the Starting Point Number and Number of Points fields
is sent as the first byte. The low order byte is the second byte in each of these fields.
Response:
The byte count is a binary number from 1 to 256 (0 = 256). It is the number of bytes in the normal
response following the byte count and preceding the error check.
The Data field of the normal response is packed output status data. Each byte contains eight output
point values. The least significant bit (LSB) of the first byte contains the value of the output point
whose number is equal to the starting point number plus one. The values of the output points are
ordered by number starting with the LSB of the first byte of the Data field and ending with the most
significant bit (MSB) of the last byte of the Data field. If the number of points is not a multiple of 8, the
last data byte contains zeroes in one to seven of its highest order bits.
Hi Lo Hi Lo
Query
Normal Response
Query
• An address of 0 is not allowed as this cannot be a broadcast request.
• The function code is 02.
• The starting point number is two bytes in length and may be any value less than the highest
input point number available in the attached CPU. The starting point number is equal to one
less than the number of the first input point returned in the normal response to this request.
• 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. The high order byte of the Starting Point Number and Number Of Bytes fields is
sent as the first byte. The low order byte is the second byte in each of these fields.
Response
• The byte count is a binary number from 1 to 256 (0 = 256). It is the number of bytes in the
normal response following the byte count and preceding the error check.
• The Data field of the normal response is packed input status data. Each byte contains eight
input point values. The least significant bit (LSB) of the first byte contains the value of the
input point whose number is equal to the starting point number plus one. The values of the
input points are ordered by number starting with the LSB of the first byte of the Data field and
ending with the most significant bit (MSB) of the last byte of the Data field. If the number of
points is not a multiple of 8, then the last data byte contains zeroes in one to seven of its
highest order bits.
Hi Lo Hi Lo
Query
Hi Lo Hi Lo
Normal Response
Query
• An address of 0 is not allowed as this request cannot be a broadcast request.
• The function code is equal to 3.
• The starting register number is two bytes in length. The starting register number may be any
value less than the highest register number available in the attached CPU. It is equal to one
less than the number of the first register returned in the normal response to this request.
• 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. The high
order byte of the Starting Register Number and Number of Registers fields is sent as the first
byte in each of these fields. The low order byte is the second byte in each of these fields.
Response
The byte count is a binary number from 2 to 250 inclusive. It is the number of bytes in the normal
response following the byte count and preceding the error check. Note that the byte count is equal to
two times the number of registers returned in the response. A maximum of 250 bytes (125) registers
is set so that the entire response can fit into one 256-byte data block.
The registers are returned in the Data field in order of number with the lowest number register in the
first two bytes and the highest number register in the last two bytes of the Data field. The number of
the first register in the Data field is equal to the Starting Register Number plus one. The high order
byte is sent before the low order byte of each register.
Hi Lo Hi Lo
Query
Hi Lo Hi Lo
Normal Response
Query
• An Address of 0 is not allowed as this request cannot be a broadcast request.
• The function code is equal to 4.
• The Starting Analog Input Number is two bytes in length. The Starting Analog Input Number
may be any value less than the highest analog input number available in the attached CPU. It
is equal to one less than the number of the first analog input returned in the normal response
to this request.
• 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. The high order byte of the Starting Analog Input Number and Number of
Analog Inputs fields is sent as the first byte in each of these fields. The low order byte is the
second byte in each of these fields.
Response
The Byte Count is a binary number from 2 to 250 inclusive. It is the number of bytes in the normal
response following the byte count and preceding the error check. Note that the Byte Count is equal to
two times the number of analog inputs returned in the response. A maximum of 250 bytes (125)
analog inputs is set so that the entire response can fit into one 256-byte data block.
The analog inputs are returned in the Data field in order of number with the lowest number analog
input in the first two bytes and the highest number analog input in the last two bytes of the Data field.
The number of the First Analog Input in the Data field is equal to the Starting analog input number plus
one. The high order byte is sent before the low order byte of each analog input.
Hi Lo Hi Lo
Query
Hi Lo Hi Lo
Normal Response
Query
• An Address of 0 indicates a broadcast request. All slave stations process a broadcast re-quest
and no response is sent.
• The function code is equal to 05.
• 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.
• The first byte of the Data field is equal to either 0 or 255 (FFH). The output point specified in
the Point Number field is to be forced off if the first Data field byte is equal to 0. It is to be
forced on if the first Data field byte is equal to 255 (FFH). The second byte of the Data field is
always equal to zero.
Response
The normal response to a force single output query is identical to the query.
Note: The force single output request is not an output override command. The output specified in this
request is ensured to be forced to the value specified only at the beginning of one sweep of the user
logic.
Hi Lo Hi Lo
Query
Hi Lo Hi Lo
Normal Response
Query
• An Address 0 indicates a broadcast request. All slave stations process a broadcast request and
no response is sent.
• The function code is equal to 06.
• The Register Number field is two bytes in length. It may be any value less than the highest
register available in the attached CPU. It is equal to one less than the number of the register to
be preset.
• The Data field is two bytes in length and contains the value that the register specified by the
Register Number Field is to be preset to. The first byte in the Data field contains the high order
byte of the preset value. The second byte in the Data field contains the low order byte.
Response
The normal response to a preset single register query is identical to the query. Message (07): Read
Exception Status
Format
Figure 45: RTU Read Exception Status Message Format
Query
Normal Response
Query:
This query is a short form of request for the purpose of reading the first eight output points.
• An Address of zero is not allowed as this cannot be a broadcast request.
• The function code is equal to 07.
Response:
The Data field of the normal response is one byte in length and contains the states of output points
one through eight. The output states are packed in order of number with output point one’s state in
the least significant bit and output point eight’s state in the most significant bit.
Query
Normal Response
Query
• The Function code is equal to 8.
• The Diagnostic Code is two bytes in length. The high order byte of the Diagnostic Code is the
first byte sent in the Diagnostic Code field. The low order byte is the second byte sent. The
loopback/maintenance command is defined only for Diagnostic Codes equal to 0, 1, or 4. All
other Diagnostic Codes are reserved.
• The Data field is two bytes in length. The contents of the two Data bytes are defined by the
value of the Diagnostic [Link]:
• See descriptions for individual Diagnostic Codes.
• Diagnostic Return Query Data Request (Loopback/Maintenance Code 00):
• An address of 0 is not allowed for the return query data request.
• The values of the two Data field bytes in the query are arbitrary.
• The normal response is identical to the query.
• The values of the Data bytes in the response are equal to the values sent in the query.
Query
Normal Response
Query
• An Address of 0 indicates a broadcast request. All slave stations process a broadcast request
and no response is sent.
• The value of the Function code is 15.
• The Starting Point Number is two bytes in length and may be any value less than the highest
output point number available in the attached CPU. The Starting Point Number is equal to one
less than the number of the first output point forced by this request.
• The Number of Points value is two bytes in length. The sum of the Starting Point Number and
the Number of Points value must be less than or equal to the highest output point number
available in the attached CPU. The high order byte of the Starting Point Number and Number
of Bytes fields is sent as the first byte in each of these fields. The low order byte is the second
byte in each of these fields.
• The Byte Count is a binary number from 1 to 256 (0 = 256). It is the number of bytes in the
Data field of the force multiple outputs request.
• The Data field is packed data containing the values that the outputs specified by the Starting
Point Number and the Number of Points fields are to be forced to. Each byte in the Data field
contains the values that eight output points are to be forced to. The least significant bit (LSB)
of the first byte contains the value that the output point whose number is equal to the
starting point number plus one is to be forced to. The values for the output points are ordered
by number starting with the LSB of the first byte of the Data field and ending with the most
significant bit (MSB) of the last byte of the Data field. If the number of points is not a multiple
of 8, then the last data byte contains zeroes in one to seven of its highest order bits.
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 [Link] (16): Preset Multiple Registers
Format:
Figure 48: RTU Preset Multiple Registers Message Format
Query
Normal Response
Query
• An Address of 0 indicates a broadcast request. All slave stations process a broadcast re-quest
and no response is sent.
• The value of the Function code is 16.
• The Starting Register Number is two bytes in length. The Starting Register Number may be
any value less than the highest register number available in the attached CPU. It is equal to
one less than the number of the first register preset by this request.
• 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 Number and the Number of Registers value must
be less than or equal to the highest register number available in the attached CPU. The high
order byte of the Starting Register Number and Number of Registers fields is sent as the first
byte in each of these fields. The low order byte is the second byte in each of these fields.
• The Byte Count field is one byte in length. It is a binary number from 2 to 250 inclusive. It is
equal to the number of bytes in the data field of the preset multiple registers request. Note
that the Byte Count is equal to twice the value of the Number of Registers.
• The registers are returned in the Data field in order of number with the lowest number
register in the first two bytes and the highest number register in the last two bytes of the Data
field. The number of the first register in the Data field is equal to the starting register number
plus one. The high order byte is sent before the low order byte of each register.
Response
The descriptions of the fields in the response are covered in the query description.
Query
Normal Response
Query:
The Report Device Type query is sent by the master to a slave in order to learn what type of
programmable control or other computer it is.
• An Address of zero is not allowed as this cannot be a broadcast request.
• The Function code is 17.
Response
• The Byte Count field is one byte in length and is equal to 5.
• The Device Type field is one byte in length and is equal to 43 (hexadecimal) for PACSystems
• The Slave Run Light field is one byte in length. The Slave Run Light byte is equal to OFFH if the
CPU is in RUN Mode. It is equal to 0 if the CPU is not in RUN Mode.
• The Data field contains three bytes. For PACSystems CPUs, the first byte is the Minor Type,
and the remaining bytes are zeroes. The following table lists minor types.
Response Data
CPU Model79
(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
11 hex IC695CRU320
IC695CPE302
12 hex
IC695CPE305
18 hex IC695CPU315
79
Does not apply to CPE330, which has no serial ports.
Serial I/O, SNP, & RTU Protocols 215
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Section 6
GFK-2222AT Sep 2021
Query:
The query specifies the 4x reference to be written, the data to be used as the AND mask, and the data
to be used as the OR mask.
The function's algorithm is:
Result = (Current Contents AND And_Mask) OR (Or_Mask AND And_Mask)
For example:
Hex Binary
Current Contents 12 0001 0010
And_Mask F2 1111 0010
Or_Mask 25 0010 0101
And_Mask 0D 0000 1101
Result 17 0001 0111
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). They could, however, be changed subsequently as the controller scans its user logic
program.
Example of a Mask Write to register 5 in slave device 17, using the above mask values:
Field Name Example (Hex)
Slave Address 11
Function 16
Reference Address Hi 00
Reference Address Lo 04
And_Mask Hi 00
And_Mask Lo F2
Or_Mask Hi 00
Or_Mask Lo 25
Error Check (LRC or CRC) --
Response
The normal response is an echo of the query. The response is returned after the register has been
written.
Query
The query specifies the starting address and quantity of registers of the group to be read. It also
specifies the starting address, quantity of registers, and data for the group to be written. The Byte
Count field specifies the quantity of bytes to follow in the Write Data field.
Here is an example of a query to read six registers starting at register 5, and to write three registers
starting at register 16, in slave device 17:
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:
Query
Normal Response
Query
• An Address of 0 is not allowed as this cannot be a broadcast request.
• The Function Code is equal to 67.
• The Starting Byte Number is two bytes in length and may be any value less than or equal to
the highest scratch pad memory address available in the attached CPU as indicated in the
table below. The Starting Byte Number is equal to the address of the first scratch pad memory
byte returned in the normal response to this request.
• The Number of Bytes value is two bytes in length. It specifies the number of scratch pad
memory locations (bytes) returned in the normal response. The sum of the Starting Byte
Number and the Number of Bytes values must be less than two plus the highest scratch pad
memory address available in the attached CPU. The high order byte of the Starting Byte
Number and Number of Bytes fields is sent as the first byte in each of these fields. The low
order byte is the second byte in each of the fields.
Response
• The Byte Count is a binary number from 1 to 256 (0 = 256). It is the number of bytes in the
Data field of the normal response.
• The Data field contains the contents of the scratch pad memory requested by the query. The
scratch pad memory bytes are sent in order of address. The contents of the scratch pad
memory byte whose address is equal to the Starting Byte Number is sent in the first byte of
the Data field. The contents of the scratch pad memory byte whose address is equal to one
less than the sum of the starting byte number and number of bytes values is sent in the last
byte of the Data field.
80
0000 = Run_Enabled 0100 = Halted 0001 = Run_Disabled 0101 = Suspended
0010 = Stopped 0110 = Stopped_IO_Enabled
81
CPU Major Type Codes: PACSystems 0x43
82
PACSystems Minor Types for CPU: refer to
The address reflects the address provided on the original request. The exception function code is equal
to the sum of the function code of the query plus 128. The error subcode is equal to 1, 2, 3, or 4. The
value of the subcode indicates the reason the query could not be processed.
Invalid Transactions
If an error occurs during transmission that does not fall into the category of an invalid query message
or a serial link time-out, it is known as an invalid transaction. Types of errors causing an invalid
transaction include:
• Bad CRC
• The data length specified by the Memory Address field is longer than the data received
• Framing or overrun errors
• Parity errors
If an error in this category occurs when a message is received by the slave serial port, the slave does
not return an error message; rather the slave ignores the incoming message, treating the message as
though it was not intended for it.
Example
1. COM1 is running RTU Slave protocol at 9600 baud.
2. A programmer is attached to COM1. The programmer is using 9600 baud.
3. The CPU installs SNP Slave on COM1 and the programmer communicates normally.
4. The programmer stores a new configuration to COM1. The new configuration sets the port for
SNP Slave at 4800 baud (it will not take effect until the port loses communications with the
programmer).
5. When the CPU loses communications with the programmer, the new configuration takes
effect.
For more information on Execution Times (including Boolean Operation) for Ladder Diagram
instructions, please see A.3:, RX3i & RSTi-EP Instruction Times.
.
84
Measured with CPU firmware version 7.18.
Appendix A – Performance Data 226
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Appendix A
GFK-2222AT Sep 2021
Notes:
• All times represent typical execution time. Times may vary with input and error conditions.
• Enabled time is for single-length units of word-oriented memory.
• COMMREQ time was measured between CPU and Ethernet module with NOWAIT option.
• DOIO time was measured using a discrete output module.
• Timers are updated each time they are encountered in the logic by the amount of time
consumed by the last sweep.
• Performance times for the BUS_ functions were measured on the RX3i using an RMX128
Redundancy Memory Xchange Module.
• Performance times for all redundancy (CRE and CRU) CPUs were measured with ECC enabled.
• Due to a change in caching, measured times for some instructions changed for release 6.0 as
compared to releases 5.0/5.1. It was found that increases in some instructions were offset by
decreases in other instructions, so that no effective net change was observed.
• PLC Version Information
The instruction execution and incremental times were obtained by testing the following CPU versions:
85
Due to Error Checking and Correction (ECC), Redundant CPU times are approximately 5% slower, on average, than the equivalent Non-Redundant CPU.
Appendix B User Memory Allocation 228
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Appendix A
GFK-2222AT Sep 2021
Family Model Run I/O enabled (µs) Run outputs disabled (µs)
CPU31086 1086 1076
CPU315
180 176
CPU32086
CRU32086 198 194
RX3i CPE302
CPE305 426 424
CPE310
CPE330 196 192
CPE400
193 189
CPL410
CPE100 887 -
RSTi-EP
CPE115 862 -
The following diagram shows the differences between the full sweep phases and the base sweep
phases.
86
Base sweep time calculated with RUN/STOP switch, single ETM.
Appendix B User Memory Allocation 230
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Appendix A
GFK-2222AT Sep 2021
Output Scan 87
87
If I/O is suspended, the input and output scans are skipped.
88
If no Ethernet Global Data (EGD) exchanges are configured, the consumption and production scans are skipped.
89
Polling for missing I/O modules only occurs if a Loss of ... fault has been logged for an I/O module.
Appendix B User Memory Allocation 231
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Appendix A
GFK-2222AT Sep 2021
For the base sweep, if there is no configuration, the input and output scan phases of the sweep are
NULL (i.e., check for configuration and then end). The presence of a 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. The base sweep also assumes no
missing I/O modules. The lack of programmer attachment means that the Controller Communications
Window is never opened. The lack of intelligent option modules means that the Backplane
Communications Window is never opened.
CPU315 CPE330
Sweep Impact Item
CPU310 CPU320 CPE400 CPE010
(µs) CRU320 CPL410 (µs)
(µs) (µs)
Programmer window 2.90 0.20 1.46 1.95
Reference table monitor 4.90 0.29 1.48 1.20
Editor monitor 4.10 0.31 1.41 1.41
Definitions:
The time required to open the Programmer Window but not process any
Programmer
requests. The programmer is attached through an Ethernet connection;
window
no reference values are being monitored.
The sweep impact to refresh the reference table screen. (The %R table was
Reference table used as the example.) Mixed table display impacts are slightly larger. The
monitor sweep impact may not be continuous, depending on the sweep time of
the CPU and the speed of the host of the programming software.
The sweep impact to refresh the editor screen when monitoring ladder
logic. The times given in the table are for a logic screen containing one
Editor monitor
contact, two coils, and eleven registers. As with the reference table sweep
impact, the impact may not be continuous.
Per Module Setup Time Each Local I/O module has a fixed setup scan time.
The actual transfer of bytes is much faster for modules located in the
main rack than for those in expansion racks. The byte transfer time
Byte Transfer Time
differences will be accounted for by using different times for I/O
modules in the main rack versus expansion racks.
In addition, analog input expander modules (the same as Genius blocks) have the ability to be grouped
into a single transfer as long as consecutive reference addresses are used for modules that have
consecutive slot addresses. Each sequence of consecutively addressed modules is called a scan
segment. There is a time penalty for each additional scan segment.
Number of analog input base and output modules (same segment)—exp. rack ______
Sweep impact per analog input base and output module (same seg.)—exp. rack x ______ = ______
Number of analog input base and output modules (new segment)—exp. rack ______
Sweep impact per analog input base and output module (new seg.)—exp. rack x ______ = ______
Note: If point faults are enabled, substitute the corresponding times for point faults enabled.
______
GBC poll for background messages x ______ = ______
Number of GBCs
This sweep impact should be taken into account when configuring the CPU constant sweep mode and
setting the CPU watchdog timeout.
Where the Consumption and Production Scans consist of two parts, exchange overhead and byte
transfer time:
Scan Time = Exchange Overhead + Byte Transfer Time
90
EGD performance is different on the IC695NIU001+ (versions-AAAA and later) compared to the IC695NIU001. In general, consumed data exchanges with a size
greater than 31 bytes will result in contributing less of a sweep time impact and data exchanges with a size less than that will contribute slightly greater sweep
impact. All produced exchanges on the IC695NIU001+ will appear to have a slightly greater sweep impact when compared to the IC695NIU001.
Appendix B User Memory Allocation 241
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Appendix A
GFK-2222AT Sep 2021
Embedded
Rack-based Ethernet
CPU Data Size (Bytes) Direction Ethernet Interface
Module (µS)
(µS)
CPE030 1 Consume / READ 2.8 5.3
100 Consume / READ 25.8 18.7
200 Consume / READ 50.7 33.4
256 Consume / READ 60.1 40.4
1 Produce / WRITE 0.8 5.5
100 Produce / WRITE 2.5 13.1
200 Produce / WRITE 4.2 18.2
256 Produce / WRITE 5.2 21.5
CPE040 1 Consume / READ 1.9 3.85
100 Consume / READ 21.1 10.1
200 Consume / READ 43.5 31.4
256 Consume / READ 56.5 39.2
1 Produce / WRITE 0.3 3.8
100 Produce / WRITE 1.8 11.8
200 Produce / WRITE 3.6 16.8
256 Produce / WRITE 4.8 19.8
__________________
Predicted EGD Sweep Impact
The impact of EGD Exchanges configured on Embedded Ethernet Interface of RX3i CPE302/CPE305
/CPE310 and RSTi-EP CPE100/CPE115 on the Controller sweep can be reflected in two parameters:
1. 𝑻𝒐𝒕𝒂𝒍_𝑬𝒈𝒅𝑰𝒎𝒑𝒂𝒄𝒕𝑷𝒆𝒓𝑾𝑫𝑻_𝒎𝒔 : This is the total EGD impact per Watchdog Time period
configured in milliseconds (ms).
2. 𝑬𝒈𝒅𝑷𝒓𝒐𝒄𝒆𝒔𝒔𝒐𝒓𝑼𝒕𝒊𝒍𝒊𝒛𝒂𝒕𝒊𝒐𝒏 % : This is the percentage EGD processor utilization.
The formula for calculating these two parameters are shown below:
255
𝑊𝑑𝑡_𝑚𝑠
𝑇𝑜𝑡𝑎𝑙_𝐸𝑔𝑑𝐼𝑚𝑝𝑎𝑐𝑡𝑃𝑒𝑟𝑊𝐷𝑇_𝑚𝑠 = ∑ ( × 𝐸𝑥𝑐ℎ𝑎𝑛𝑔𝑒𝑃𝑟𝑒𝑠𝑒𝑛𝑡𝑛 × 0.2 00)
𝑃𝑒𝑟𝑖𝑜𝑑_𝑚𝑠𝑛
𝑛=1
𝑇𝑜𝑡𝑎𝑙_𝐸𝑔𝑑𝐼𝑚𝑝𝑎𝑐𝑡𝑃𝑒𝑟𝑊𝐷𝑇_𝑚𝑠
𝐸𝑔𝑑𝑃𝑟𝑜𝑐𝑒𝑠𝑠𝑜𝑟𝑈𝑡𝑖𝑙𝑖𝑧𝑎𝑡𝑖𝑜𝑛_% = ( ) × 100
𝑊𝑑𝑡_𝑚𝑠
𝑃𝑒𝑟𝑖𝑜𝑑_𝑚𝑠𝑛 – Exchange Period nth Exchange, as configured in ms (Production Period for production
exchanges and Consumption timeout for consumption exchanges
𝐸𝑥𝑐ℎ𝑎𝑛𝑔𝑒𝑃𝑟𝑒𝑠𝑒𝑛𝑡𝑛 – nth Exchange configured (value=1) or not configured (value=0)
It is recommended that the calculated 𝑬𝒈𝒅𝑷𝒓𝒐𝒄𝒆𝒔𝒔𝒐𝒓𝑼𝒕𝒊𝒍𝒊𝒛𝒂𝒕𝒊𝒐𝒏_% for a given EGD exchange
configuration and Watchdog period should be less than 50-55% for stable operation within the
watchdog period without WDT elapse.
Note: The higher percentage of this parameter indicates that the EGD on Embedded Ethernet
interface could have a greater impact on CPU applications.
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. The table is a compilation of results
based on testing with two RSTi-EP CPE100/CPE115 Systems in which one is acting as the EGD Producer
and the other is acting as the EGD Consumer.
SN Production Period Data size per Exchange Maximum Number of EGD Exchanges
[= 50% Consumption Timeout] (Bytes) (Recommended)
(ms)
A 500 1400 8
B 300 1400 8
C 200 1400 8
D 100 1400 8
E 50 1400 8
F 30 1400 8
G 20 1400 8
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. This indicates that the Consumption Timeout for all the consumer exchanges on the consuming
node is set to 1000ms (twice the production period).
The following are important points to be considered when configuring EGD exchanges on Embedded
Ethernet Interface.
1. The recommended values in the given table should be used in conjunction with the
recommended limit value for 𝑬𝒈𝒅𝑷𝒓𝒐𝒄𝒆𝒔𝒔𝒐𝒓𝑼𝒕𝒊𝒍𝒊𝒛𝒂𝒕𝒊𝒐𝒏_% as per the watchdog time and
sweep load of the application.
2. EGD Consumption and Production below 20ms are not recommended for Embedded
Ethernet Interface on with RX3i CPE302/CPE305/CPE310, RSTi-EP CPE100/CPE115.
3. It is advisable to limit the number of EGD exchanges or EGD load on Embedded Ethernet
Interface of the RX3i CPE302/CPE305/CPE310, RSTi-EP CPE100/CPE115 and use higher
periods while defining the system and configuration, and take into account the sweep load for
minimizing EGD sweep impact.
91
CPU firmware version 7.13
92
CPU firmware version 7.14
93
See Sweep Impact Time of Genius I/O and GBCs
Appendix B User Memory Allocation 248
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Appendix A
GFK-2222AT Sep 2021
To calculate the total expected PLC sweep impact for a PROFINET I/O network, add the individual
sweep impact times for each PROFINET Controller, PROFINET Device, and PROFINET Device I/O
module, using the times provided above.
For example, for a PROFINET I/O network that consists of one PNC and one VersaMax PROFINET
Scanner, which has both an 8-point input and an 8-point output module:
Expected PLC Sweep = 50 (PNC) + 40 (PNS) + 23 (8pt. Input) + 18
Impact (8pt. Output)
=131 µs.
I/O interrupt sweep impact -94 127.8 - 309.7 335 125.6 24.0
Note that the min, typical, and max response times include a 300 µs Input card filter time.
94
Performance data not available for this release.
Appendix B User Memory Allocation 251
PACSystems™ RX3i and RSTi-EP CPU Reference Manual Appendix A
GFK-2222AT Sep 2021
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 26.2 88.6 28.0 31.2 23.3
For a list of items that count against user memory, see below.
Technical Support
Americas
Phone: 1-888-565-4155
1-434-214-8532 (If toll-free option is unavailable)
Europe
Phone: +800-4444-8001
+420-225-379-328 (If toll-free option is unavailable)
+39-0362-228-5555 (from Italy - if toll-free 800 option is unavailable or dialing from a mobile
telephone)\
Customer Care (Quotes/Orders/Returns): [Link]@[Link]
Technical Support: [Link]@[Link]
Asia
Phone: +86-400-842-8599
+65-6955-9413 (All other Countries)
Note: If the product is purchased through an Authorized Channel Partner, please contact the seller directly for any
support.
Emerson reserves the right to modify or improve the designs or specifications of the products mentioned in this manual at
any time without notice. Emerson does not assume responsibility for the selection, use or maintenance of any product.
Responsibility for proper selection, use and maintenance of any Emerson product remains solely with the purchaser.
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.