Gfk2222y Rx3i Rx7i Cpu Ref Manual
Gfk2222y Rx3i Rx7i Cpu Ref Manual
Gfk2222y Rx3i Rx7i Cpu Ref Manual
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 GE 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 GE 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 GE products referenced herein.
GE 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.
GE 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.
If you purchased this product through an Authorized Channel Partner, please contact the seller
directly.
Contact Information
Technical Support
If you have technical problems that cannot be resolved with the information in this manual, please
contact us by telephone or email, or on the web at www.geautomation.com/support
Americas
Phone 1-800-433-2682
International Americas Direct Dial 1-780-420-2010 (if toll free 800 option is
unavailable)
Customer Care Email [email protected]
Primary language of support English
Asia Pacific
Phone +86-400-820-8208
+86-21-3877-7006 (India, Indonesia, and Pakistan)
Customer Care Email [email protected]
[email protected] (China)
Table of Contents
RX7i & RX3i CPU Reference Manual GFK-2222Y
Table of Contents................................................................................................................................................ i
Table of Figures.................................................................................................................................................vi
Chapter 1 Introduction............................................................................................................................ 1
1.6 Documentation........................................................................................................................... 11
4.7 Logic/Configuration Source and CPU Operating Mode at Power-Up ............................ 121
4.7.1 CPU Mode when Memory Not Preserved/Power-up Source is Flash ..................................................... 122
4.7.2 CPU Mode when Memory Preserved ....................................................................................................................... 122
5.3 Series 90-70 Communications and Intelligent Option Modules ...................................... 160
5.3.1 Communications Coprocessor Module (CMM) ................................................................................................... 160
5.3.2 Programmable Coprocessor Module (PCM) ......................................................................................................... 161
5.3.3 DLAN/DLAN+ (Drives Local Area Network) Interface ...................................................................................... 162
6.1 Configuring Serial Ports Using COMMREQ Function 65520 ............................................. 164
6.1.1 COMMREQ Function Example ..................................................................................................................................... 164
6.1.2 Timing....................................................................................................................................................................................... 164
6.1.3 Sending Another COMMREQ to the Same Port .................................................................................................. 164
Table of Figures
Figure 1: Configuring an Embedded PROFINET Controller ___________________________________________ 16
Figure 2: CPE400 Front View and Features _______________________________________________________ 29
Figure 3: CPE400 Underside Ports & Connectors___________________________________________________ 32
Figure 4: CPE400 Micro-SD & USB Pinouts _______________________________________________________ 35
Figure 5: Typical Field Agent Application _________________________________________________________ 39
Figure 6: Display Port Connector _______________________________________________________________ 42
Figure 7: Location of RTC battery on CPE400 _____________________________________________________ 44
Figure 8: DIN-Rail Mount Bracket Assembly CPE400 ________________________________________________ 46
Figure 9: Panel-Mount Bracket Assembly CPE400__________________________________________________ 46
Figure 10: CPE330 Front View & Features ________________________________________________________ 47
Figure 11: CPE330 RUN/STOP Switch and RDSD Switches ___________________________________________ 49
Figure 12: Location and Orientation of Real-Time Clock Battery in CPE330 ______________________________ 52
Figure 13: IC695CPE305 Front View ____________________________________________________________ 55
Figure 14: IC695CPE310 Front View ____________________________________________________________ 55
Figure 15: External Features of CPE305 __________________________________________________________ 57
Figure 16: External Features of CPE310 __________________________________________________________ 57
Figure 17: Accessing Real-Time Clock Battery (CPE305 and CPE310) ___________________________________ 60
Figure 18: Sample Tool for Coin Battery Extraction _________________________________________________ 61
Figure 19: IC695CPU320 Front View ____________________________________________________________ 64
Figure 20: IC695CPU310 Front View ____________________________________________________________ 67
Figure 21: CPE040 Front View _________________________________________________________________ 73
Figure 22: CPE010 Front View _________________________________________________________________ 75
Figure 23: PME Expansion of PACSystems Target __________________________________________________ 84
Figure 24: Downloading Hardware Config to CPU ________________________________________________ 102
Figure 25: Selecting Embedded Ethernet for Configuration _________________________________________ 103
Figure 26: Set Temporary IP Address ___________________________________________________________ 105
Figure 27: Major Phases of a Typical CPU Sweep _________________________________________________ 109
Figure 28: Typical Sweeps in Normal Sweep Mode ________________________________________________ 112
Figure 29: Typical Sweeps in Constant Sweep Mode ______________________________________________ 113
Figure 30: Typical Sweeps in Constant Window Mode _____________________________________________ 114
Figure 31: CPU Sweep in Stop-I/O Disabled and Stop-I/O Enabled Modes ______________________________ 117
Figure 32: CPE330 Overlapping Local IP Subnet Example __________________________________________ 147
Figure 33: Expected Response Path ____________________________________________________________ 148
Figure 34: Actual Response Path ______________________________________________________________ 148
Figure 35: COM1 Port CPE400 ________________________________________________________________ 153
Figure 36: RTU Message Transactions __________________________________________________________ 188
Figure 37: RTU Read Output Table Example _____________________________________________________ 191
Figure 38: CRC Register Operation _____________________________________________________________ 193
Figure 39: RTU Read Output Table Message Format _______________________________________________ 197
Figure 40: RTU Read Input Table Message Format ________________________________________________ 198
Figure 41: RTU Read Registers Message Format __________________________________________________ 199
Figure 42: RTU Read Analog Inputs Message Format ______________________________________________ 200
Figure 43: RTU Force Single Output Message Format ______________________________________________ 201
Figure 44: RTU Preset Single Register Message Format ____________________________________________ 202
Figure 45: RTU Read Exception Status Message Format ____________________________________________ 203
Figure 46: RTU Loopback/Maintenance Message Format___________________________________________ 204
Figure 47: RTU Force Multiple Outputs Message Format ___________________________________________ 206
Figure 48: RTU Preset Multiple Registers Message Format __________________________________________ 207
Figure 49: RTU Report Device Type Message Format ______________________________________________ 208
Figure 50: RTU Read Scratch Pad Memory Message Format ________________________________________ 212
1 The RX3i 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 RX7i & RX3i TCP/IP Ethernet Communications User Manual, GFK-2224K or later.
2 Proficy Machine Edition Release 8.50 SIM 7 is required for EGD Class 1 on Embedded Ethernet interface of CPE305/CPE310.
3 Proficy 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.
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 RX7i & 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.
o Supported PROFINET Controllers include the embedded PROFINET Controller function
offered by IC695CPE400 and IC695CPE330, and the rack-mounted PROFINET Controller
module IC695PNC001.
o Supported PROFINET Scanners include the RX3i PROFINET Scanner module
IC695PNS0014, the RX3i IC695CEP001, and the VersaMax PROFINET Scanner modules
IC200PNS001 & 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. Refer to PACSystems RX3i CEP
PROFINET Scanner User Manual, GFK-2883.
HART Pass Through allows an RX3i CPU to communicate HART asset management data between
HART-capable I/O modules and PC-based asset management tools. This entails usage of PC-
based applications, RX3i Analog modules with HART functionality and (optionally) supporting
PROFINET products. HART Pass Through operation is described in the PACSystems HART Pass
Through User Manual, GFK-2929.
The following RX3i CPUs support HART Pass Through: IC695CPE305, IC695CPE310, IC695CPU315,
IC695CPU320, IC695CRU320, IC695CPE3305,6 (Firmware Release 8.50 or later).
The following RX3i analog modules support HART:
IC695ALG626
IC695ALG628
IC695ALG728
If used for HART Pass Through, the supporting RX3i PROFINET Controller and PROFINET Scanner
must also contain HART-compatible firmware:
IC695PNC001-AK Firmware Release 2.20
IC695PNS001-ABAH Firmware Release 2.307
IC695CEP001-AAAD Firmware Release 2.30.
4 IC695PNS001 firmware release 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.
5 When used to support HART Pass Through, CPE330 must do so via a PNC001 and cannot employ its embedded PROFINET
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.
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.
IC695CMM002 and IC695CMM004 expand the serial communications capability of the RX3i
system. Refer to PACSystems RX3i Serial Communications Modules User’s Manual, GFK-2460.
CPE310, CPU310, CPU315, CPU/CRU320 and NIU001 provide two serial ports, one RS-232 and
one RS-485.
CPE305 provides one RS-232 serial port.
CPE330 provides no serial ports.
The serial port on CPE400 is disabled.
1.6 Documentation
PACSystems Manuals
PACSystems RX7i and RX3i CPU Reference Manual GFK-2222
PACSystems RX7i and RX3i CPU Programmer’s Reference Manual GFK-2950
PACSystems RX7i & RX3i TCP/IP Ethernet Communications User Manual GFK-2224
PACSystems TCP/IP Ethernet Communications Station Manager User Manual GFK-2225
C Programmer’s Toolkit for PACSystems GFK-2259
PACSystems Memory Xchange Modules User’s Manual GFK-2300
PACSystems Hot Standby CPU Redundancy User Manual GFK-2308
PACSystems Battery and Energy Pack Manual GFK-2741
Proficy Machine Edition Logic Developer Getting Started GFK-1918
Proficy Process Systems Getting Started Guide GFK-2487
PACSystems RXi, RX3i, and RX7i Controller Secure Deployment Guide GFK-2830
RX3i Manuals
PACSystems RX3i System Manual GFK-2314
PACSystems RX3i IC695CPE400 1.2GHz 64MB Rackless CPU w/Field Agent QSG GFK-3002
PACSystems RX3i IC695ACC403 Rackless Energy Pack Quick Start Guide GFK-3000
PACSystems RX3i IC695CPE330 1GHz 64MB CPU w/Ethernet Quick Start Guide GFK-2941
PACSystems RX3i IC695ACC402 Energy Pack Quick Start Guide GFK-2939
PACSystems RX3i IC695ACC400 Energy Pack Data Sheet GFK-2724
DSM324i Motion Controller for PACSystems RX3i and Series 90-30 User’s GFK-2347
Manual
PACSystems RX3i PROFIBUS Modules User’s Manual GFK-2301
PACSystems RX3i Max-On Hot Standby Redundancy User’s Manual GFK-2409
PACSystems RX3i Ethernet Network Interface Unit User’s Manual GFK-2439
PACMotion Multi-Axis Motion Controller User’s Manual GFK-2448
PACSystems RX3i PROFINET IO-Controller Manual GFK-2571
PACSystems RX3i PROFINET Scanner Manual GFK-2737
PACSystems RX3i CEP PROFINET Scanner User Manual GFK-2883
PACSystems RX3i Serial Communications Modules User’s Manual GFK-2460
PACSystems RX3i Genius Communications Gateway User Manual GFK-2892
PACSystems RX3i DNP3 Outstation Module IC695EDS001User’s Manual GFK-2911
PACSystems RX3i IEC 104 Server Module IC695EIS001User’s Manual GFK-2949
For a comparative review of CPU features, refer to RX3i CPU Features and Specifications and RX7i
CPU Features and Specifications. Note that each specific feature may require a corresponding
firmware release of the CPU firmware.
Each PACSystems CPU supports up to 255 simultaneous EGD pages across all Ethernet interfaces in
the Controller. EGD pages must be configured in the programming software and stored into the CPU.
The EGD configuration can also be loaded from the CPU into the programming software. Both
produced and consumed pages can be configured. PACSystems CPUs support the use of only part of
a consumed EGD page, and EGD page production and consumption to the broadcast IP address of
the local subnet.
The PACSystems CPU supports 2ms EGD page production and timeout resolution. EGD pages can be
configured for a production period of 0, indicating the page is to be produced every output scan. The
minimum period for these “as fast as possible” pages is 2 ms. Refer to the section, A3.6 for EGD
configuration on Embedded Ethernet interface of CPE305/310.
During EGD configuration, PACSystems Ethernet interfaces are identified by their Rack/Slot location.
8 Proficy 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.
2.1.7 OPC UA
Each PACSystems CPE305/CPE310/CPE330/CPE400 supports Open Productivity and Connectivity
Unified Architecture (OPC UA) Server communications on the embedded Ethernet port only.
For more information on OPC UA support refer to PACSystems RX7i & RX3i TCP/IP Ethernet
Communications User Manual, GFK-2224 version M or higher (Chapter 10).
Note: Effective with CPE310/CPE305 Firmware Release 8.20, the CPE embedded Ethernet port
supports OPC UA Server.
2.1.8 Removable Data Storage Devices (RDSDs)
The CPE305/CPE310/CPE3309 CPUs provide the ability to transfer applications to and from
Removable Data Storage Devices (RDSD). Typically, these are USB-compatible devices, such as a
memory stick, smart phone, digital camera or an MP3 device. Once the data is copied to the RDSD, it
can be written to other RX3i CPUs of the same type. In order to copy using RDSD, no PME
programming software is needed. The RDSD interface requires a user-supplied flash memory device
that complies with the USB 2.0 Specification.
The USB port must be enabled in the RX3i configuration in order to transfer data between the CPU
and the RDSD. The compatible CPUs are shipped with the RDSD (USB) port enabled.
The RDSD load and store operations can include the following data:
An entire application, including logic and configuration, reference table data, and cam files for
Motion applications. (Motion files and local logic for DSM motion applications are supported.)
Configuration can include Ethernet Global Data and Advanced User Parameters for the rack-
based Ethernet interface. (Although a complete, unmodified application must be placed on the
RDSD, you can use an options.txt file to download selected components of the application to the
target CPU.)
Passwords and OEM key, if any, are encrypted and written to the RDSD when the project is
loaded from the CPU. When the project is stored to a CPU that has no passwords or OEM key,
those are copied to the CPU.
Note: With Enhanced Security enabled, the RDSD update will fail if the RDSD source controller
has Level 4 password protection and the destination controller is password protected,
regardless of whether the passwords match.
With Legacy security, when the project is stored to a CPU that has passwords and/or
OEM key, the passwords must match or the store will fail.
Fault tables are written to the RDSD before and after a load to or store from the RDSD.
If a hardware configuration that disables the USB port is successfully stored to the CPU, the fault
tables will not be written to the RDSD at completion of the store operation.
Note: The USB port is for transfer of application data only. It is not intended for permanent
connection. Do not leave RDSD devices connected during normal operation.
Note: When using RDSD, all programming software connections must be in the Offline state for the
RDSD to function properly.
Note: CPE330 does not support Cfast memory cards as RDSD devices.
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 CPE305/CPE310/CPE330 CPUs, provided none of the files in that
directory are changed in any way during the transfer.
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.
2.1.8.3 Using an Options.txt File to Modify Download Operation
An options.txt file can be used to modify the operation of the RDSD during a store to the RX3i. This is a
plain-text file which can contain some or all of the following statements, in any order. The format of
each option line is the option keyword, followed by a space, followed by either a capital Y or a capital
N. The option keyword must be spelled exactly as indicated below. If an option statement is omitted
from the file, the default value will be used.
If you want to use all of the default operations, the options.txt file is not necessary.
Options.txt File Format
Option Keyword Default value Description
Download_LogicAndCf Y (yes) Logic and configuration are copied to the
g CPE305/CPE310/CPE330 (including symbolic variables)
Download_Data Y (yes) Reference memory is copied to the CPE305/CPE310/CPE330
(excluding symbolic variables)
Download_CamFiles Y (yes) CAM files are copied to the CPE305/CPE310/CPE330
Write_Flash Y (yes) The downloaded CPE305/CPE310/CPE330 contents (as specified
by the above keywords) by default will be written to flash upon
completion of the store
2.1.8.4 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 CPE305/CPE310/CPE3309, 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 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
CPE305/CPE310/CPE330, or the transfer will fail.
2.1.8.5 RDSD Error Reporting
Errors are indicated when the RDSD LED becomes solid red (not blinking). All errors are reported in the
Controller fault tables. If the Controller has faults in its fault tables before it receives a store, the fault
tables are written to plcfaultbefore.dat and iofaultbefore.dat on the RDSD. If the Controller has faults
in its fault tables after it receives a store, the fault tables are written to plcfaultafter.dat and
iofaultafter.dat on the RDSD. Previous versions of these files are deleted before the transfer. If either
fault table is empty, the corresponding file is not written and will not be present.
To read any of the .dat files mentioned above, open PACS Analyzer. In settings, enable file analyze.
Then click the file analyze button on the main screen. Select as Input File the .dat file to be analyzed.
Select as Output File the filename and folder into which you wish to deposit the resulting text. The
text will be in English.
If a hardware configuration that disables the USB port is stored to the CPU, the fault tables will not be
written to the RDSD at completion of the store operation because the USB port will be disabled at the
end of the store process.
CPU320/
CPU310 CPU315 CPE305 CPE310 CPE330 CPE400
CRU32010
Firmware Upgrade
v7.30 & later: v7.30 & later:
USB USB
<---------------WinLoader/Serial Port---------------> Web Interface Web Interface
CPU Firmware Upgrade Mechanism earlier: earlier:
Ethernet Port Ethernet Port
WinLoader/ WinLoader/
Serial Port Serial Port
Web Interface
Indirect Backplane Module Upgrade <-----------------------------------WinLoader/Serial Port------------------------------------> N/A
Ethernet Port
Program Portability
CPU310, CPU315,
Direct Import (with limitations)12 N/A
CPU315 CPU320
RX3i PACSystems Applications using
Y
Family Type Conversion
Program Security
Secure Boot Pending Y
Trusted Platform Module (TPM) Y Y
Program Storage
Battery-backed RAM 10 Mbytes13 20 Mbytes13 64 Mbytes13 5 Mbytes14 10 Mbytes14 64 Mbytes14 64 Mbytes14
Non-Volatile Flash 10 Mbytes 20 Mbytes 64 Mbytes 5 Mbytes 10 Mbytes 64 Mbytes 64 Mbytes
Battery Life Expectancy, RAM Backup11 see GFK-2741 see GFK-2741 see GFK-2741 N/A
Life Expectancy, Energy Pack
5 years 5 years 5 years 5 years
Capacitors
Auxiliary Storage
CFast Inactive N/A
Remote Data Storage Device (RDSD) Y - USB Y - USB Y - USB USB - pending
Micro SD pending
CPU320/
CPU310 CPU315 CPE305 CPE310 CPE330 CPE400
CRU32010
Programming Capabilities
Max Number of Program Blocks 512 512 512 512 512 512 512
Program Block Max Size 128 KB 128 KB 128 KB 128 KB 128 KB 128 KB 128 KB
Discrete Reference Memory (%I, %Q)15 32 Kbits 32 Kbits 32 Kbits 32 Kbits 32 Kbits 32 Kbits 32 Kbits
Analog Reference Memory (%AI, %AQ)15 32 Kwords 32 Kwords 32 Kwords 32 Kwords 32 Kwords 32 Kwords 32 Kwords
up to max up to max up to max up to max up to max up to max up to max user
Bulk Reference Memory (%W)15
user RAM user RAM user RAM user RAM user RAM user RAM RAM
Managed Memory (Symbolic + I/O up to 10 up to 20 up to 64 up to 10 up to 64 up to 64
up to 5 Mbytes
Variables)15,16 Mbytes Mbytes Mbytes Mbytes Mbytes Mbytes
Floating Point y y y y y y y
Ladder Diagram (LD) y y y y y y y
Function Block Diagram (FBD) y y y y y y y
Structured Text (ST) y y y y y y y
PID Built-In Function Block y y y y y y y
"C" Language External Blocks y y y y y y y
15 Note: Whenever the size of any reference memory is changed, the content of the corresponding reference memory is automatically cleared.
16 For discussion of memory types and how they are managed, refer to PACSystems RX7i and RX3i CPU Programmer’s Reference Manual, GFK-2950 Chapter 3.
CPU320/
CPU310 CPU315 CPE305 CPE310 CPE330 CPE400
CRU32010
Communications
Ethernet Non-Switched RJ45 10/100/1000 10/100/1000
(dedicated NIC) x1 x1
Embedded Field Agent Ethernet RJ45 10/100/1000
(dedicated NIC) x1
10/100/1000 10/100/1000
Ethernet Switched RJ45 (shared NIC)
x2 x4 (2 pairs)
10BaseT/100BaseT RJ45 10/100 x1 10/100 x1 N
Built-in and Built-in and Built-in and
Ethernet Communications Platform ETM001 only ETM001 only ETM001 only Built-in
/or ETM001 /or ETM001 /or ETM001
Advanced User Parameters (AUP file) N/A N/A N/A Y17 Y17 N18 N18
RS-232 9-pin D x1 9-pin D x1 9-pin D x1 RJ-25 x1 9-pin D x1 N/A pending
RS-485 15-pin D x1 15-pin D x1 15-pin D x1 15-pin D x1 N/A N/A
USB-A 2.0 or USB 3.0 x 2
USB USB-A 2.0 x1 USB-A 2.0 x1
USB-A 1.1 x1 (inactive)
Time-of-Day Clock
Time-of-Day Clock Accuracy (@60°C) ±2 secs/day ±2 secs/day ±2 secs/day ±2 secs/day ±2 secs/day ±2 secs/day ±2 secs/day
Elapsed Time Clock (internal timing)
±0.01% max ±0.01% max ±0.01% max ±0.01% max ±0.01% max ±0.01% max ±0.01% max
accuracy
Simple Network Time Protocol (SNTP) ±2 ms using ±2 ms using ±2 ms using ±2 ms using ±2 ms using ±2 ms using
N/A
accuracy to timestamp19 ETM001 ETM001 ETM001 ETM001 ETM001 ETM001
RTC Battery Backup Y Y Y Y
RTC Battery Life expectancy 5 years 5 years 5 years 5 years
17 Refer to PACSystems RX7i & RX3i TCP/IP Ethernet Communications User Manual, GFK-2224M or later for supported AUPs.
18 The Advanced User Parameters (AUP) feature has been incorporated into PME Hardware Configuration (HWC) effective with PME release 8.60 SIM5.
19 SNTP is not supported by the embedded CPU Ethernet interfaces at time of publication. Use ETM001 for SNTP.
CPU320/
CPU310 CPU315 CPE305 CPE310 CPE330 CPE400
CRU32010
Protocols
Modbus RTU Slave Y Y Y Y Y N/A N/A
SNP Slave Y Y Y Y Y N/A N/A
Serial I/O Y Y Y Y Y N/A N/A
SRTP (# simultaneous server conns) up to 2 up to 2 up to 48 up to 48
Modbus TCP
up to 16 up to 16 up to 16 up to 16
(# simultaneous server connections)
SRTP Channel or Modbus TCP Client
up to 16 up to 16 up to 32 up to 32
(# simultaneous)
Ethernet Global Data (EGD) FW 8.3020 FW 8.3020 FW 8.6020 Y
Number of EGD Exchanges (max) 21 255 255 255 255
Selective Consumption of EGD Y Y pending pending
PROFINET22 N N FW 8.90 Y
OPC-UA Server23 FW 8.2024 FW 8.2024 Y24 Y24
Remote Station Manager over UDP Y Y Y - limited Y - limited
Station Manager over Serial Comm Port via ETM001 via ETM001 via ETM001 via ETM001 via ETM001 via ETM001 N/A
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.
23 For a discussion of OPC UA, refer to PACSystems RX7i & RX3i TCP/IP Ethernet Communications User Manual, GFK-2224M Chapter 10.
24 Supports up to 12,500 Variables and up to 5 sessions.
CPU320/
CPU310 CPU315 CPE305 CPE310 CPE330 CPE400
CRU32010
Model Configurable Configurable
Redundancy Features
CRU320 only in CPE330 in CPE400
25 Switchover time is defined as the time from failure detection until backup CPU is active in a redundancy system.
26 Symbolic variable and Reference data can be exchanged between redundancy controllers, up to the stipulated limit.
2.2.1 CPE400
2.2.1.1 Introduction
The IC695CPE400 is the first RX3i Rackless CPU. It operates in stand-alone fashion. All prior RX3i CPUs
slotted into an RX3i backplane. The CPE400 does not.
There are two mounting options:
1) As shipped, it mounts onto a DIN rail using a DIN-rail adaptor plate YAVD-I2C2-01-A.
2) Alternately, it mounts directly in a cabinet, using a panel-mount adaptor plate YA-l2-C2.04-A.
The mounting instructions and power requirements are documented in the RX3i IC695CPE400
1.2GHz 64MB Rackless CPU w/Field Agent Quick Start Guide, GFK-3002, and are not replicated here.
The physical features of the CPE400 are shown in Figure 2 and Figure 3.
The CPE400 is programmed and configured over Ethernet via GE’s Proficy* Machine Edition (PME)
software. It is a stand-alone CPU with the following features:
An OLED display that provides access to basic CPE400 status and control information.
A micro-SD slot which may be used for program transfer and/or data collection. The slot is
protected by a cover that protects the memory card from ESD. This slot is not yet functional.
A built-in RX3i PLC, supported by a dedicated microprocessor core.
o User 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) also supported for data exchanges.
o Supports up to 512 program blocks. Maximum size for a block is 128KB.
Supports four independent 10/100/1000 Ethernet LANs. Three are located on the front panel, as
shown in Figure 2. LAN1 attaches via the upper, dedicated RJ45 connector. LAN2 and LAN327
each attach via a pair of internally-switched RJ45 connectors. The fourth LAN, labeled EFA
(Embedded Field Agent), is an RJ45 port located on the underside (Figure 3), and is a dedicated
Field Agent port.
The embedded communications interface is supported by a dedicated microprocessor core. This
dedicated processing capability permits the CPU to independently support LAN1, LAN2 and
LAN327 with:
o up to 48 simultaneous SRTP Server connections;
o up to 16 simultaneous Modbus/TCP Server connections;
o 32 Clients are permitted; each may be SRTP or Modbus/TCP.
o OPC UA Server with support for up to 5 concurrent sessions with up to 10 concurrent variable
subscriptions and up to 12,500 variables;
o up to 255 simultaneous Class 1 Ethernet Global Data (EGD) exchanges.
The embedded PLC may use one or both of the Ethernet LAN2 ports to support the embedded
Simplex PROFINET I/O Controller. PROFINET supports up to 32 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 result whenever more than 16 devices are configured.
Field Agent permits the CPE400 to securely exchange data with the Predix™ Cloud, allowing
users to configure and view extensive data from an entire installation, such as a wind turbine
farm, within the Predix Cloud environment. This functionality is supported by two of the four
CPE400 microprocessor cores.
Optional Energy Pack, IC695ACC403, allows CPE400 to instantly save user memory to non-
volatile storage in the event of loss of power. Upon restoration of power, with the ACC403
connected, the CPE400 PLC function is able to resume operations from the state saved at power-
down.
Ability to display serial number and date code in PME Device Information Details.
Ability to display IP Address of each LAN on the OLED display.
28 This LED is located between the RUN and STOP pushbuttons. It indicates the PLC Mode.
On Red Off
Off Reset / Power not detected.
The maximum cable length for USB 3.0 cables is 3m (=118”) for Port 1 and 15cm (=6”) for Port 2.
29 USB_VCC is limited to 1500mA by an electronic fuse shared by the two USB ports. For normal operation, do not exceed
900mA at this pin for either port.
Two LEDs are integrated into each RJ45 connector. These LEDs indicate the link status and link
speed, as follows:
Ethernet Indicators (LAN1, LAN2, LAN3 RJ45 Built-in LEDs)
LED LED State Operating State
Figure 5 shows a typical Field Agent application, in which the role of the CPE400 Embedded Field
Agent (EFA) is to gather data locally, then securely transfer selected data to the Predix Cloud via the
EFA port. The PACSystems RX3i maintains control over the remaining Ethernet ports on the CPE400,
as well as its serial port. Data from the local environment may be obtained via any of these ports can
be manipulated by the RX3i PLC and tagged for use in the Field Control application.
The remote user with an acceptable security profile can then access data in the cloud from multiple
installations, aggregate selected data and make decisions based on the bigger picture. For instance,
the CPE400 could be installed in a control system monitoring a single wind turbine. The remote user
might be monitoring several hundred such turbines. With a suitable dashboard-style application on
his computer, the remote user could identify turbines that need to come offline for maintenance, or
turbines whose power generation output could be enhanced or retarded to fit demand.
To utilize the EFA port (for detailed steps, refer to the Field Agent User’s Guide, GFK-2993):
1. Connect a Cat 6 Ethernet cable between a computer and the CPE400 EFA port.
2. Set the IP address of the computer to 172.31.0.101 (or any IP address on the 172.31.0.0/16
subnet other than 172.31.0.100, which is the default IP address for the CPE400 EFA port).
Note that the EFA IP address can be read from the CPE400’s OLED display in the “FA Settings”
-> “Network Config” -> “IP Address” and “Subnet Mask”.
3. Use the OLED display to enable Configuration Mode by toggling “FA Settings” -> “Commands”
-> “Config Mode”. The Predix Machine Web Console is only accessible while the EFA is in
Configuration Mode. Note that Configuration Mode will automatically disable after one hour if
not explicitly disabled earlier.
4. Using a browser on the computer, browse to the Predix Machine Web Console at
https://172.31.0.100:8443/system/console. The Google Chrome browser is recommended for
accessing the Predix Machine Web Console.
a. Log in using the default password, then update the password.
b. Verify that the Log Service page displays. This confirms that log in has been successful.
c. Configure the EFA port for WAN network.
d. Configure a Network proxy, if required.
e. Configure Time Synchronization.
f. For maximum security, update the Field Agent firmware before connecting to the
Internet. This procedure is outlined in the Field Agent User’s Guide, GFK-2993. See the
chapter on Updating the Field Agent, specifically Method 1: Manual Local Update Using a
Local Area Network.
5. Provide a means of connecting to the Internet.
6. Enroll the CPE400 in the Predix Cloud:
a. The Administrator logs into the EdgeManager and creates one of the following:
i. Two user accounts: one with the Operator role and the other with the Technician role
ii. One user account with both the Operator and Technician roles
b. From the customer’s EdgeManager URL, the Operator logs into the EdgeManager and
creates a Field Agent device representation with the desired Device Name and Device ID.
c. The Operator assigns the newly created Field Agent device to an EdgeManager user with
the Technician role.
d. The Technician obtains the following enrollment information from the Operator:
i. The EdgeManager Enrollment URL
ii. The User Authentication and Authorization (UAA) URL used to authenticate the
Technician
iii. The Device ID selected by the Operator
iv. The device’s Activation Code
e. The Technician logs into the Web Console on the Field Agent to be enrolled, and navigates
to the Predix Cloud Enrollment page under Technician Console, Predix Cloud Enrollment.
f. The Technician enters the enrollment information, presses the Enroll Device button, and
authorizes the enrollment (which may include providing the Technician’s EdgeManager
Username and Password).
g. From EdgeManager, the Operator verifies that the Field Agent is displayed as Reachable.
7. For security, toggle Configuration Mode to disable access to the Predix Machine Web
Console.
8. Disconnect the local computer once enrollment has been completed.
9. Configure and Manage the activities on the EFA using Predix EdgeManager. This involves
selecting tags in the CPE400’s OPC-UA server and configuring these as read, write or
read/write. In this way, the system is set up to allow data to pass securely from the CPE400 to
the Predix Cloud, where that data may be used by external cloud applications. Detailed steps
are as follows:
a. Using a computer, download the default EFA configuration from:
https://digitalsupport.ge.com/communities/en_US/Download/IC695CPE400-Embedded-
Field-Agent-EFA-Configuration-Templates
b. Configure the OPC UA Data Source to opc.tcp://localControllerHost:4840
c. Configure the OPC UA tags and subscriptions in the OPCUA Machine Adaptor xml file.
d. Configure the data destination in the WebSocket River configuration.
e. Leave the Store and Forward service enabled.
f. Zip up the configuration and upload it to the Edge Manager repository.
g. Deploy the configuration to the Field Agent using Edge Manager.
Note that data will now be transferring from the Field Agent to the Predix Time Series Database.
Note that communications between the CPE400 and the Predix Cloud is secured using
authentication and encryption.
Note that the Field Agent firmware within the CPE400 may need to be updated from time to time. GE
recommends that all such firmware be kept up-to-date. The Technician has the ability to configure
the Field Agent for scheduled automatic updates or manual updates. Refer to the chapter on
Updating the Field Agent in the Field Agent User’s Guide, GFK-2993.
Two LEDs are integrated into the EFA RJ45 connector. These LEDs indicate the link status and link
speed, as follows:
Ethernet Indicators (EFA RJ45 Built-in LEDs)
LED LED State Operating State
30 DP_VCC is limited to 720mA by an electronic fuse. However, for normal operation do not exceed 500mA at this pin.
In Proficy Machine Edition, the CPE400 is identified as a PLC within the PACSystems RX3i Rackless
family. To convert an existing project which uses any other PLC, use the Family Conversion feature in
PME. Be aware of the constraints involved. For instance, the first PROFINET Controller in an RX3i
CPU320 application will be assigned to the Embedded PROFINET Controller feature (refer to Section
2.1.6) of the CPE400.
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 a 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.6Nm.
18. Reattach the adaptor plate removed in step 5.
19. Restore the CPE400 module to its original location and secure it in place.
20. Reconnect all cables to their original connectors.
21. Turn power back on.
22. If needed, set the current date and time via Proficy Machine Edition.
The replacement battery must be IC690ACC001 from GE Automation & Controls, or an equivalent,
such as Rayovac™ Lithium BR2032 Coin Cell 3V 190mAh -40°C to +85°C.
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.
Figure 8: DIN-Rail Mount Bracket Assembly Figure 9: Panel-Mount Bracket Assembly CPE400
CPE400
2.2.2 CPE330
Blinking Red Target name mismatch: Press same RDSD pushbutton again to
dismiss.
SYS FLT On Red CPU is in Stop/Faulted mode: a fatal fault has occurred.
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.
To download projects intended for the CPU320/CRU320 to a CPE330 with versions of PME that do not
support the CPE330, you must change the CPE330’s compatibility setting. To change the
compatibility setting, perform the following operations:
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.
FORCE On Amber
RUN Off
RDSD On Red
OUT EN Off
SYS FLT On Red
CPU OK On Amber CRU320 Compatibility mode.
FORCE On Amber
RUN On Red
RDSD Off
OUT EN Off
SYS FLT On Red
i. 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.
ii. 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.
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.
Figure 13: IC695CPE305 Front View Figure 14: IC695CPE310 Front View
Figure 15: External Features of CPE305 Figure 16: External Features of CPE310
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 operations.
RDSD / COM2 Off or
Blinking
Green
RDSD32 RDSD32/COM2 On Green Valid RDSD connected or data transfer complete.
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.
2.2.5 CPU310
Microprocessor Specification 300 MHz Intel Celeron 700 MHz Intel Pentium 600 MHz Pentium-M 1.8 GHz Pentium-M
Operating System VxWorks VxWorks VxWorks VxWorks
#RX7i Slots Occupied 1 1 1 1
Backplane VME64 ANSI/VITA 1 VME64 ANSI/VITA 1 VME64 ANSI/VITA 1 VME64 ANSI/VITA 1
Temperature Range
With fan tray 0°C to 60°C 0°C to 60°C 0°C to 60°C 0°C to 60°C
Without fan tray 0°C to 50°C N/A 0°C to 50°C N/A
Power Requirements
RX7i +5 Vdc 3.2 A nominal 4.5 A nominal 3.2 A nominal 6.8 A nominal
RX7i +12 Vdc 0.042 A nominal 0.042 A nominal 0.003 A nominal 0.003 A nominal
RX7i -12 Vdc 0.008 A nominal 0.008 A nominal 0.003 A nominal 0.003 A nominal
Battery Battery Battery Battery
Memory Backup Mechanism11
see GFK-2741 see GFK-2741 see GFK-2741 see GFK-2741
Firmware Upgrade
CPU Firmware Upgrade Mechanism <--------------------------------WinLoader/Serial Port------------------------------------>
Indirect Backplane Module Upgrade37 <--------------------------------WinLoader/Serial Port------------------------------------>
Program Portability
CPE010, CPE020,
Direct Import (with limitations) CPE010 CPE010, CPE020
CPE030
37 The ability of the RX7i module to accept a firmware update is dependent on that particular module. See related module specification for details.
Bulk Reference Memory (%W)15 Up to max user RAM Up to max user RAM Up to max user RAM Up to max user RAM
Redundancy Features Model CRE020 Only Model CRE030 Only Model CRE040 Only
Single bit correcting & Single bit correcting & Single bit correcting &
Memory Error Checking and Correction (ECC)
Multiple bit checking Multiple bit checking Multiple bit checking
Figure 21:
CPE040 Front
View
LED State CPU Operating State
On Blinking Off
OUTS ENA
RUN On Green CPU is in RUN Mode.
Off CPU is in STOP Mode.
OUTS ENA On Green Output scan is enabled.
Off Output scan is disabled.
I/O FORCE On Yellow Override is active on a bit reference
(Not used by CRE030 or CRE040.)
BATTERY On Red Battery has failed or is not attached.
SYS FLT On Red CPU is in Stop/Faulted mode because a fatal fault
has occurred.
C1 (COM1) Blinking Green Signals activity on corresponding serial port.
C2 (COM2)
Figure 22:
CPE010 Front
View
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.
42 CRC error or software error during normal operation causes Ethernet restart.
Normal Restart
When the Ethernet Restart pushbutton is pressed for less than 5 seconds, the Ethernet interface will
restart into normal operation.
Restart without Ethernet Plug-in Applications
When the Restart pushbutton is pressed and held for 5 to 10 seconds, the Ethernet interface will
restart into normal operation but does not start any optional Ethernet plug-in applications. This is
typically done during troubleshooting.
Restart into Firmware Update Operation
When the Ethernet Restart pushbutton is pressed and held for more than 10 seconds, the Ethernet
interface will restart into firmware update operation. This is typically done during troubleshooting to
bypass possibly invalid firmware and allow valid firmware to be loaded using WinLoader.
Until the firmware update actually begins, you can manually exit the firmware update and restart
with the existing firmware by pressing the Ethernet Restart pushbutton again.
Note: If available, the embedded Ethernet Interface is displayed in a sub-slot of the CPU. For
configuration details, refer to Configuring the Embedded Ethernet Interface.
43 For availability, refer to the Important Product Information document for the CPU firmware version that you are using.
Settings Parameters
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.
Disabled: Disables the physical RUN/STOP Switch on the PLC.
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
COM1 and COM2 Parameters.
This applies to COM1 on the CPE305, which has only one serial port.
This note does not apply to CPUs which have no serial ports.
Memory Protection Enables or disables the Memory Protect feature associated with the RUN/STOP
Switch Switch.
Choices:
Enabled: Memory Protect is enabled, which prevents writing to program memory and
configuration and forcing or overriding discrete data.
Disabled: Memory Protect is disabled.
Default: Disabled.
Power-up Mode Selects the CPU mode to be in effect immediately after power-up.
Choices: Last, Stop, Run.
Default: Last (the mode it was in when it last powered down).
Note: If the battery or Energy Pack is missing or has failed and if Logic/
Configuration Power-up Source is set to Always RAM, the CPU powers up in
STOP Mode 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 Modbus
Space Mapping TCP/IP clients and the PACSystems controller.
Type Choices:
Disabled: The Disabled setting is intended for use in systems containing Ethernet
firmware that does not support Modbus TCP.
Standard Modbus Addressing: Causes the Ethernet firmware to use the standard
map, which is displayed on the Modbus TCP Address Map tab.
Default: Disabled
For details on the PACSystems implementation of Modbus/TCP server, refer to
PACSystems RX7i & RX3i TCP/IP Ethernet Communications User Manual, GFK-2224.
Universal Serial Bus RX3i CPE305/CPE310/CPE330/CPE400 CPUs only. Enables or disables the USB port
for use with RDSD (Removable Data Storage Devices). The USB port is enabled by
default in the CPE305/CPE310/CPE330 and in the hardware configuration.
If a CPU310 configuration is stored to a CPE310, the USB port will be enabled.
Scan Parameters
Controller (Available only when Sweep Mode is set to Normal. Read-only if the Controller
Communications Communications Window Mode is set to Complete.) The maximum execution time for
Window Timer the Controller Communications Window per scan. This value cannot be greater than the
(ms) value for the watchdog timer.
The valid range and default value depend on the Controller Communications Window
Mode:
Complete: There is no time limit.
Limited: Valid range: 0 through 255ms. Default: 10.
Note: This parameter corresponds to the Programmer Window Timer parameter on a
Series 90-70 PLC.
Backplane (Available only when Sweep Mode is set to Normal.) Execution settings for the Backplane
Communication Communications Window.
Window Mode Choices:
Complete: The window runs to completion. There is no time limit.
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.
Backplane (Available only when Sweep Mode is set to Normal. Read-only if the Backplane
Communications Communications Window Mode is set to Complete.) The maximum execution time for
Window Timer the Backplane Communications Window per scan. This value can be greater than the
(ms) value for the watchdog timer.
The valid range and the default depend on the Backplane Communications Window
Mode:
Complete: There is no time limit. The Backplane Communications Window
Timer parameter is read-only.
Limited: Valid range: 0 through 255ms. Default: 255. (10ms for Redundancy
CPUs.)
Background (Available only when Sweep Mode is set to Normal.) The maximum execution time for
Window the Background Communications Window per scan. This value cannot be greater than
Timer (ms) the value for the watchdog timer.
Valid range: 0 through 255
Default: 0 (5ms for Redundancy CPUs)
Sweep Timer (Available only when Sweep Mode is set to Constant Sweep.) The maximum overall PLC
(ms) 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.
Valid range: 5 through 2550 ms, in increments of 5 ms. If the value entered is not a
multiple of 5ms, it is rounded to the next highest multiple of 5ms.
Default: 100.
Scan Parameters
Window Timer (Available only when Sweep Mode is set to Constant Window.) The maximum combined
(ms) 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.
Valid range: 3 through 255, in increments of 1.
Default: 10.
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:
0 when creating a new PACSystems target.
0 when converting a Series 90-70 target to a PACSystems target.
1 when converting a Series 90-30 target to a PACSystems target.
Memory Parameters
Point Fault References The Point Fault References parameter must be enabled if you want to
use fault contacts in your logic. Assigning point fault references causes
the CPU to reserve additional memory.
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.
Fault Parameters
System (Fault group 11.) When a configuration mismatch is detected during system power-up
Configuration or during a download of the configuration, system variable #CFG_MM (%SA9) turns
Mismatch 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 error
Memory 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 exceeds
Temperature 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 (Read-only.) The maximum number of entries in the I/O Fault Table.
Size Value set to 64.
3.2.5.1 Configuring the CPU to Stop Upon the Loss of a Critical Module
In some cases, you may want to override the RUN Mode behavior of the System Configuration
Mismatch fault. A given module may be critical to the PLC’s ability to properly control a process. In
this case, if the module fails then it may be better to have the CPU go to STOP Mode, especially if the
CPU is acting as a backup unit in a redundant system.
One way to cause the CPU to stop is to set the configured action for a Loss-of-Module fault to Fatal
so that the CPU stops if a module failure causes a loss-of-module fault. The correct loss-of-module
fault must be chosen for the critical module of interest: I/O controller, I/O module, and Option
module. The Ethernet communications module is an example of an Option module.
This approach has a couple of disadvantages. First, it applies to all modules of that category, which
may include modules that are not critical to the process. Second, it relies on the content of the fault
table. If the table is cleared via program logic or user action, the CPU will not stop.
In systems that use Ethernet Network Interface Units (ENIUs) for remote I/O, a critical module of
interest may be the Ethernet module that provides the network connection to the ENIU. Other
techniques can be used to provide a more selective response to an Ethernet module failure than the
Loss-of-Option module fault. One technique is to use application logic to monitor the Ethernet
Interface Status bits, which are described in Monitoring the Ethernet Interface Status Bits in the
PACSystems RX7i & RX3i TCP/IP Ethernet Communications User Manual, GFK-2224. If the logic
determined that a critical Ethernet module was malfunctioning, it could execute SVC_REQ #13 to
stop the CPU.
Since the ENIU uses Ethernet Global Data to communicate with the PACSystems CPU, another
selective technique is to monitor the Exchange Status Words to determine the health of individual
EGD exchanges. For details on this status word, refer to Exchange Status Word Error Codes in
PACSystems RX7i & RX3i TCP/IP Ethernet Communications User Manual, GFK-2224. Because the types
of errors indicated by the exchange status word may be temporary in nature, stopping the CPU may
not be an appropriate response for these errors. Nevertheless, the status could be used to tailor the
response of the application to changing conditions in the EGD network.
In some cases, the critical module may reside in an expansion rack. In that case, in addition to the
loss-of-module fault, it is recommended to set the Loss-of-Rack fault to Fatal. Then if the rack fails or
loses power, the CPU will go to STOP Mode.
If an Ethernet port is available, you can communicate with the CPU by connecting PME
software via the Ethernet port.
Port Parameters
Station (RTU Slave only) ID for the RTU Slave.
Address Valid range: 1 through 247.
Default: 1.
Note: You should avoid using station address 1 for any other Modbus slave in a PACSystems
control system because the default station address for the CPU is 1. 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.
In either of these situations, if you have a slave configured with a station address of 1,
confusion may result when the CPU responds to requests intended for that slave.
Note: The least significant bit of the first byte must be 0. For example, in a station address of
090019010001, 9 is the first byte.
Data Rate (All Port Modes, except Available.) Data rate (bits per second) for the port.
Choices: 1200 Baud, 2400 Baud, 4800 Baud, 9600 Baud, 19.2k Baud, 38.4k Baud, 57.6k Baud,
115.2k Baud.
Default: 19.2k Baud.
Data Bits (Available only when Port Mode is set to Message mode or Serial I/O.) The number of bits in a
word for serial communication. SNP uses 8-bit words.
Choices: 7, 8.
Default: 8.
Flow (RTU slave, Message Mode, or Serial I/O.) Type of flow control to be used on the port.
Control Choices:
For Serial I/O Port Mode: None, Hardware, Software (XON/XOFF).
For all other Port Modes: None, Hardware.
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.
Physical (All port modes except Available.) The type of physical interface that this protocol is
Interface communicating over.
Choices:
2-wire: There is only a single path for receive and transmit communications.
The 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.
Default: 4-wire Transmitter On.
Port Parameters
Turn (Available only when Port Mode is set to SNP Slave.) The Turn Around Delay Time is the minimum
Around time interval required between the reception of a message and the next transmission. In 2-wire
Delay Time mode, this interval is required for switching the direction of data transmission on the
(ms) communication line.
Valid range: 0 through 2550ms, in increments of 10 ms.
Default: 0.
Timeout (s) (Available only when Port 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: 10.
SNP ID (Available only when Port 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 (_).
Specify (All port modes except Available.) Determines whether you accept the default STOP Mode or set
STOP Mode it yourself.
Choices:
No: The default STOP Mode is used.
Yes: The STOP Mode parameters appear and you can select the STOP Mode. If you set the STOP
Mode to the same protocol as the RUN Mode, then the other STOP Mode parameters are read-
only and are set to the same values as for the RUN Mode.
Default: No.
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 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.
Port Parameters
Turn (Available only when STOP Mode is set to SNP Slave.) The Turn Around Delay Time is the
Around minimum time interval required between the reception of a message and the next transmission.
Delay Time In 2-wire mode, this interval is required for switching the direction of data transmission on the
(ms) 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.
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 (Available only when STOP Mode is set to RTU slave.) ID for the RTU Slave.
Address 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.
Notes: 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.
Ethernet interface configuration includes the following additional procedures. For details on
completing these steps, refer to the PACSystems RX7i & RX3i TCP/IP Ethernet Communications User
Manual, GFK-2224.
▪ Assigning an IP Address for initial network operation, such as connecting the programmer to
download the hardware configuration, using the Set Temporary IP Address utility (refer to Setting
a Temporary IP Address) or by downloading a hardware configuration through a serial
connection.
▪ Configuring the characteristics of the Ethernet interface.
▪ Configuring Ethernet Global Data, if used.
▪ (Optional, not required for most systems). Setting up the RS-232 port for Local Station Manager
Operation. This is part of the basic Ethernet Interface configuration.
▪ (Optional, not required for most systems). Configuring advanced user parameters. This requires
creating a separate ASCII parameter file that is stored to the Controller with the hardware
configuration. The Ethernet Interface has a set of default Advanced User Parameter values that
should be changed only in exceptional circumstances by experienced users.
▪ (Optional) Setting up the Controller for Modbus/TCP Server operation.
Note: Whenever a CPE310 is configured as a CPU310, Ethernet properties cannot be configured.
The embedded Ethernet interface is not supported when CPE310 is configured as a CPU310
and the Ethernet port should not be connected to any network because it may have adverse
effects on the network and/or operation of the CPU.
Note: Whenever a CPE330 is configured as a CPU320, Ethernet properties cannot be configured.
However, the embedded Ethernet ports may be used with their default IP Addresses.
Default IP Addresses for Initial Ethernet communication with the CPU may be established using
CPE305/CPE310/CPE330/CPE400 the default IP addresses programmed at the factory:
Embedded Ethernet
CPE305/CPE310 and CPE330/CPE400 LAN2 CPE400
CPE330/CPE400 LAN1 LAN327
The temporary IP address remains in effect until the Ethernet interface is restarted, power-cycled or
until the hardware configuration is downloaded or cleared.
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.)
Use this IP Address assignment mechanism with care.
Housekeeping
Start-of-Sweep
input scan
Application Program
Task Execution
(Logicwindow)
WINDOW)
Output Scan
Prog
window no
scheduled
?
yes
Controller
Communications
Window
Comm
no
window
scheduled
?
yes
Backplane
Communications
Window
Background no
task
scheduled
?
yes
Background task
Window
Note: The input scan is not performed if a program has an active Suspend I/O function
on the previous sweep.
Application The CPU solves the application program logic. It always starts with the first instruction in
Program Task the program. It ends when the last instruction is executed. Solving the logic creates a new
Execution (Logic set of output data.
Window) For details on controlling the execution of programs, refer to PACSystems RX7i and RX3i
CPU Programmer’s Reference Manual, GFK-2950 Chapter 2.
Interrupt driven logic can execute during any phase of the sweep. For details, refer to
PACSystems RX7i and RX3i CPU Programmer’s Reference Manual, GFK-2950 Chapter 2.
A list of execution times for instructions can be found in Appendix A.
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.
If the CPU is in RUN Mode and it is configured to perform a background checksum
calculation, the background checksum is performed at the end of the output scan. The
default setting for number of words to checksum each sweep is 16. If the words to
checksum each sweep is set to zero, this processing is skipped. The background
checksum helps ensure the integrity of the user logic while the CPU is in RUN Mode.
The output scan is not performed if a program has an active Suspend I/O function on the
current sweep.
Phase Activity
Controller Services the onboard Ethernet and serial ports. In addition, reconfiguration of expansion
Communications racks and individual modules occurs during this portion of the sweep.
Window The CPU always executes this window. The following items are serviced in this window:
Reconfiguration of expansion racks and individual modules. During the Controller
Communications Window, highest priority is given to reconfiguration. Modules are
reconfigured as needed, up to the total time allocated to this window. Several sweeps
are required to complete reconfiguration of a module.
Communications activity involving the embedded Ethernet port and the two serial
ports of the CPU.
Time and execution of the Controller Communications Window can be configured using
the programming software. It can also be dynamically controlled from the user program
using Service Request function #3. The window time can be set to a value from 0 to 255
ms (default is 10 ms).
Note that if the Controller Communications Window is set to 0, there are two alternate
ways to open the window: perform a power-cycle without the battery (or Energy Pack)
attached, or go to STOP Mode.
Backplane Communications with intelligent devices occur during this window. The rack-based
Communications Ethernet Interface module communicates in the Backplane Communications window.
Window During this part of the sweep the CPU communicates with intelligent modules such as the
Genius Bus Controller and TCP/IP Ethernet modules.
In this window, the CPU completes any previously unfinished request before executing any
pending requests in the queue. When the time allocated for the window expires,
processing stops.
The Backplane Communications Window defaults to Complete (Run to Completion) mode.
This means that all currently pending requests on all intelligent option modules are
processed every sweep. This window can also run in Limited mode, in which the maximum
time allocated for the window per scan is specified.
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.
Background CPU self-tests occur in this window.
Window A CPU self-test is performed in this window. Included in this self-test is a verification of the
checksum for the CPU operating system software.
The Background Window time defaults to 0 ms. A different value can be configured and
stored to the CPU, or it can be changed online using the programming software.
Time and execution of the Background Window can also be dynamically controlled from
the user program using Service Request function #5. This allows background 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
Figure 28: Typical Sweeps in Normal Sweep Mode
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
Figure 29: Typical Sweeps in Constant Sweep Mode
45 For EGD configured on Embedded Ethernet interface of CPE305/CPE310, refer to A.3.6 for Constant sweep impact.
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
Figure 30: Typical Sweeps in Constant Window Mode
Also, note that non-retentive outputs do not clear until the CPU is changed from Stop to Run.
Start-of-Sweep
Housekeeping
Executes in
Input Scan Stop-I/O Scan Enabled
mode only
Executes in
Output Scan Stop-I/O Scan Enabled
mode only
Controller Runs
Communications to
Window completion
Backplane Runs
Communications to
Window Completion
Limited
Background Task
(10ms)
Window
Figure 31: CPU Sweep in Stop-I/O Disabled and Stop-I/O Enabled Modes
4.8.2.2 Synchronizing the High-resolution Time of Day Clock to an SNTP Network Time
Server
In an SNTP system, a computer on the network (called an SNTP server) sends out a periodic timing
message to all SNTP-capable Ethernet Interfaces on the network, which synchronize their internal
clocks with this SNTP timing message. If SNTP is used to perform network time synchronization, the
time-stamp information typically has ±10ms accuracy between controllers on the same network.
Synchronizing the CPU TOD clock to an SNTP server allows you to set a consistent time across
multiple systems. Once the CPU TOD clock has been synchronized with the SNTP time, all produced
EGD exchanges will use the CPU TOD current value for the time-stamp.
The CPU TOD clock is set with accuracy within ±2ms of the SNTP time-stamp.
TOD clock synchronization is enabled on an Ethernet module by the advanced user parameter (AUP),
ncpu_sync. The CPU must also use a COMMREQ in user logic to select an Ethernet module as the time
master. For additional information, refer to Time-stamping of Ethernet Global Data Exchanges in
PACSystems RX7i & RX3i TCP/IP Ethernet Communications User Manual, GFK-2224 Chapter 4.
4.8.3 Watchdog Timer
4.8.3.1 Software Watchdog Timer
A software watchdog timer in the CPU is designed to detect failure to complete sweep conditions. The
timer value for the software watchdog timer is set by using the programming software. The
allowable range for this timer is 10 ms to 2550 ms; the default value is 200 ms. The software
watchdog timer always starts from zero at the beginning of each sweep.
The software watchdog timer is useful in detecting abnormal operation of the application program
that prevents the CPU sweep from completing within the user-specified time. Examples of such
abnormal application program conditions are as follows:
Excessive recursive calling of a block
Excessive looping (large loop count or large amounts of execution time for each iteration)
Infinite execution loop
When selecting a software watchdog value, always set the value higher than the longest expected
sweep time to prevent accidental expiration. For Constant Sweep mode, allowance for oversweep
conditions should be considered when selecting the software watchdog timer value.
Refer to the Appendix A-3.6 for EGD Sweep impact and EGD processor utilization for EGD exchanges
configured on Embedded Ethernet interface of the CPE305/310.
The watchdog timer continues during interrupt execution. Queuing of interrupts within a single
sweep may cause watchdog timer expiration.
If the software watchdog timeout value is exceeded, the OK LED blinks, and the CPU goes to STOP-
Halt mode. Certain functions, however, are still possible. A fault is placed in the CPU fault table, and
outputs go to their default state. The CPU will only communicate with the programmer; no other
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.
Caution
Be careful when setting passwords 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.
46 To determine the required Proficy Machine Edition version, refer to the Important Product Information (IPI) document
provided with the CPU firmware version you are using.
47 Note that CPE400 does not support IC695PNC001, since it is a Rackless CPU. Both may co-exist on a PROFINET LAN.
This chapter contains the following information with respect to the embedded CPU ports:
■ Ethernet Communications
■ Serial Communications
■ Series 90-70 Communications and Intelligent Option Modules
The user intends to communicate between the remote device and CPE330 LAN1 (Figure 33).
IP Address routing allows the CPE330 to receive the remote IP requests through the respective
gateways (192.168.0.250 for the remote node and 10.10.0.249 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 34).
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 192.168.0.1 to 192.168.1.1 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.
5.1.1.2 RX7i
RX7i CPUs have an embedded Ethernet interface that provides TCP/IP communications with
programming software and other control systems. These communications use the proprietary SRTP
protocol and the standard Modbus/TCP protocol over a four-layer TCP/IP (Internet) stack. The
Ethernet interface also supports Ethernet Global Data protocol using UDP (User Datagram Protocol).
The embedded Ethernet interface has two RJ45 Ethernet ports. Either or both of these ports may be
attached to other Ethernet devices. Each port 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.
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.
48 RX3i CPE305, CPE310, CPE330, ETM001 & EDS001 support Station Manager using UDP over Ethernet, but not via serial
communications.
49 Pin 1 is at the bottom right of the connector as viewed from the front of the module.
5.2.3.4 COM2 (RS-485, 15-pin Female D-sub Connector) –RX7i CPU/CRU Models
This port does not supply +5Vdc volts, therefore RS-485 to RS-232 conversion requires a converter
that is self-powered. It does not support the RS-485 to RS-232 adapter IC690ACC901.
This is a DCE port that allows a simple straight-through cable to connect with a standard AT-style
RS-232 port.
COM2 RS-485 Signals
Pin No. Signal Name Description
1 Shield Cable Shield
Located at the bottom right of the connector
as viewed from the front of the module.
2 NC No Connection
3 NC No Connection
4 NC No Connection
5 NC No Connection
6 RTS(A) Differential Request to Send A
7 0V Signal Ground
8 CTS(B‘) Differential Clear To Send
9 RT51 Resistor Termination
10 RD(A‘)51,52 Differential Receive Data A
11 RD(B‘)52 Differential Receive Data B
12 SD(A) Differential Send Data A
13 SD(B) Differential Send Data B
14 RTS(B’) Differential Request To Send B
15 CTS(A’) Differential Clear To Send A
51 To provide termination using the built-in 120Ω resistor, install a jumper between pins 9 and 10.
52 To provide termination using an external resistor, connect a user-supplied resistor across pins 10 and 11.
5.2.3.5 COM2 (RS-485, 15-pin Female D-sub Connector) – All RX3i CPU/CRU Models & RX3i
CPE310
This is a DCE port that allows a simple straight-through cable to connect with a standard AT-style
RS-232 port.
COM2 RS-485 Signals
Pin No. Signal Name Description
1 Shield Cable Shield
Located at the bottom right of the connector as viewed from the front of
the module.
2 NC No Connection
3 NC No Connection
4 NC No Connection
5 +5Vdc Logic Power: Provides isolated +5Vdc power (300mA maximum) for
powering external options.
6 RTS(A) Differential Request to Send A
7 0V Signal Ground
8 CTS(B‘) Differential Clear To Send B
9 RT51 Resistor Termination
10 RD(A‘)51, 52 Differential Receive Data A
11 RD(B‘)52 Differential Receive Data B
12 SD(A) Differential Send Data A
13 SD(B) Differential Send Data B
14 RTS(B’) Differential Request To Send B
15 CTS(A’) Differential Clear To Send A
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.
6.1.3 Sending Another COMMREQ to the Same Port
After sending a COMMREQ to configure a serial port, the application program should monitor the
COMMREQ status word to determine when it can begin sending protocol specific COMMREQs to that
port. It is recommended that the application clear the COMMREQ status word prior to issuing the
configuration change. The status word will be set to a nonzero value when the request has been
processed.
6.1.6 Example COMMREQ Command Blocks for Serial Port Setup function
The following COMMREQ command blocks provide examples for configuring the various protocols. All
values are in decimal unless followed by an H indicating hexadecimal.
Note that an example is not provided for Message Mode, but it can be setup with a command block
similar to the one for Serial I/O, with a value of 7 for the protocol selector.
Example COMMREQ Command Block for Configuring SNP Protocol
Values Meaning
Address 16 Data Block Length
Address + 1 0 = No Wait (WAIT mode not supported) WAIT/NOWAIT Flag
Address + 2 0008 = %R, register memory Status Word Pointer Memory
Type
Address + 3 Zero-based number that gives the address of the COMMREQ Status Word Pointer Offset
status word (for example, a value of 99 gives an address of
100 for the status word)
Address + 4 not used Idle Timeout Value
Address + 5 not used Maximum Communication
Time
Address + 6 FFF0H Command Word (serial port
setup)
Address + 7 1 = SNP Protocol
Address + 8 0 = Slave Port Mode
Address + 9 See COMMREQ Command Block Parameter Values. Data Rate
Address + 10 0 = None, 1 = Odd, 2 = Even Parity
Address + 11 not used (SNP always chooses NONE by default) Flow Control
Address + 12 0 = None, 1 = 10ms, 2 = 100ms, 3 = 500ms Turnaround Delay
Address + 13 0 = Long, 1 = Medium, 2 = Short, 3 = None Timeout
Address + 14 not used (SNP always chooses 8 bits by default) Bits Per Character
Address + 15 0 = 1 Stop Bit, 1 = 2 Stop bits Stop Bits
Address + 16 not used Interface
Address + 17 not used (SNP always chooses 4-wire mode by default) Duplex Mode
Address + 18 user-provided 53 Device identifier bytes 1 and 2
Address + 19 user-provided 53 Device identifier bytes 3 and 4
Address + 20 user-provided 53 Device identifier bytes 5 and 6
Address + 21 user-provided 53 Device identifier bytes 7 and 8
53 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.
54 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.
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.
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.
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.
Slave Response
Query Transaction
Broadcast Transaction
Figure 36: RTU Message Transactions
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.
6.3.1.2 RTU Slave Turnaround Time
The time between the end of a query and the beginning of the response to that query is called the
slave turnaround time. The turnaround time of a PACSystems slave depends on the Controller
Communications Window time and the sweep time of the PACSystems. RTU requests are processed
only in the Controller Communications Window. In Normal sweep mode, the Controller
Communications Window occurs once per sweep. Because the sweep time on PACSystems can be
up to 2.5 seconds, the time to process an RTU request could be up to 2.5 seconds. Another factor is
the Controller Communications Window time allowed in Hardware Configuration. If you configure a
very small Controller Communications Window, the RTU request may not be completed in one sweep,
causing RTU processing to require multiple sweeps. For details on CPU window modes, refer to
Window Modes in Chapter 4.
6.3.1.3 Receive-to-Transmit Delay
Part of the RTU Slave Turnaround time is the receive-to-transmit delay. The RTU driver inserts this
delay after a request from the master has been received, and before the response to the master is
sent. 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.
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.
Message (01)
Read Output Table
Information Fields
Hi Lo Hi Lo
Query
Information Fields
Normal Response
Figure 37: RTU Read Output Table Example
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.
Error Check Field
The Error Check field is two bytes in length and contains a cyclic redundancy check (CRC-16) code. Its
value is a function of the contents of the station Address, Function code, and Information field. The
details of generating the CRC-16 code are described in Cyclic Redundancy Check (CRC). Note that the
Information field is variable in length. To properly generate the CRC-16 code, the length of frame
must be determined. To calculate the length of a frame for each of the defined function codes, see
Calculating the Length of Frame.
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.
CRC Register
15 14 + 13 12 11 10 9 8 7 6 5 4 3 2 1 + 0 +
Data
+ = Exclusive Or
Input
55 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:
Address Function CRC–16
01 07 41 E2
56 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.
57 The value of this byte is the number of bytes contained in the data being transmitted.
Hi Lo Hi Lo
Query
Normal Response
Figure 39: RTU Read Output Table Message Format
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
Figure 40: RTU Read Input Table Message Format
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
Figure 41: RTU Read Registers Message Format
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
Figure 42: RTU Read Analog Inputs Message Format
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
Figure 43: RTU Force Single Output Message Format
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
Figure 44: RTU Preset Single Register Message Format
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.
Query
Normal Response
Query
Normal Response
Figure 46: RTU Loopback/Maintenance Message Format
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 Code.
Response:
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.
Diagnostic Initiate Communication Restart Request (Loopback/Maintenance Code 01):
An Address of 0 indicates a broadcast request. All slave stations process a broadcast request and
no response is sent.
This request disables the listen-only mode (enables responses to be sent when queries are
received so that communications can be restarted).
The value of the first byte of the Data field (DATA1) must be 0 or FF. Any other value will cause an
error response to be sent. The value of the second byte of the Data field (DATA2) is always equal
to 0.
The normal response to an Initiate Communication Restart query is identical to the query.
Diagnostic Force Listen-Only Mode Request (Loopback/Maintenance code 04):
An Address of 0 indicates a broadcast request. All slave stations process a broadcast request.
After receiving a Force Listen-Only mode request, the RTU device will go into the listen-only
mode, will not perform a requested function, and will not send either normal or error responses
to any queries. The listen-only mode is disabled when the RTU device receives an Initiate
Communication Restart request or when the RTU device is powered up.
Both bytes in the Data field of a Force Listen-Only Mode request are equal to 0. The RTU device
never sends a response to a Force Listen-Only Mode request.
Note: Upon power-up, the RTU device disables the listen-only mode and is enabled to continue
sending responses to queries.
Query
Normal Response
Figure 47: RTU Force Multiple Outputs Message Format
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 logic.
Query
Normal Response
Query
Normal Response
Response:
The normal response is an echo of the query. The response is returned after the register has been
written.
Response:
The normal response contains the data from the group of registers that were read. The Byte Count
field specifies the quantity of bytes to follow in the Read Data field.
Here is an example of a response to the query:
Field Name Example (Hex)
Slave Address 11
Function 17
Byte Count 0C
Read Data 1 Hi 00
Read Data 1 Lo FE
Read Data 2 Hi 0A
Read Data 2 Lo CD
Read Data 3 Hi 00
Read Data 3 Lo 01
Read Data 4 Hi 00
Read Data 4 Lo 03
Read Data 5 Hi 00
Read Data 5 Lo 0D
Read Data 6 Hi 00
Read Data 6 Lo FF
Error Check (LRC or CRC) --
Query
Normal Response
Figure 50: RTU Read Scratch Pad Memory Message Format
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.
expansion. For example, the default register memory size of 1024 words (0400h) would be returned in the following
format:
Word Least Significant Most Significant
SP Byte 18 19 1A 1B
Contains 00 04 00 00
64 Due to Error Checking and Correction (ECC), Redundant CPU times are approximately 5% slower, on average, than the
equivalent Non-Redundant CPU.
Disabled
Disabled
Disabled
Disabled
Enabled
Enabled
Enabled
Enabled
Instruction
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
Bit Operation
AND_WORD 1.47 0.51 3.40 1.45 0.84 0.46 0.911 0.382
AND_DWORD 1.433 0.44 3.50 1.46 0.84 0.46 0.968 0.378
OR_WORD 1.332 0.44 3.40 1.50 0.84 0.47 0.891 0.437
OR_DWORD 1.387 0.45 3.63 1.51 0.89 0.47 0.919 0.375
XOR_WORD 1.347 0.46 3.37 1.44 0.86 0.46 0.908 0.375
XOR_DWORD 1.391 0.47 3.46 1.45 0.83 0.46 0.866 0.388
NOT_WORD 1.089 0.40 2.97 1.29 0.64 0.42 0.659 0.274
NOT_DWORD 1.03 0.37 2.93 1.32 0.67 0.40 0.662 0.282
MCMP_WORD 2.477 0.80 5.58 2.29 1.51 0.61 1.668 0.605
MCMP_DWORD 2.385 0.74 5.61 2.20 1.50 0.63 1.682 0.636
SHL_WORD 1.921 0.84 4.52 2.39 1.15 0.56 1.275 0.633
SHL_DWORD 1.903 0.77 4.54 2.44 1.12 0.56 1.321 0.665
SHR_WORD 1.875 0.76 5.15 2.43 1.18 0.57 1.26 0.614
SHR_DWORD 1.864 0.78 4.69 2.45 1.14 0.57 1.24 0.616
ROL_WORD 1.176 0.48 2.99 1.50 0.68 0.46 0.735 0.431
ROL_DWORD 1.125 0.42 3.22 1.53 0.64 0.46 0.773 0.402
ROR_WORD 1.105 0.41 2.91 1.43 0.66 0.46 0.704 0.431
ROR_DWORD 1.116 0.43 2.87 1.44 0.71 0.46 0.711 0.384
BTST_WORD 1.333 0.45 3.22 1.27 0.71 0.35 0.693 0.314
BTST_DWORD 1.265 0.39 3.09 1.26 0.71 0.34 0.73 0.321
BSET_WORD 0.897 0.35 2.38 1.17 0.59 0.30 0.635 0.293
BSET_DWORD 0.88 0.37 2.36 1.14 0.58 0.30 0.635 0.293
BCLR_WORD 0.849 0.35 2.39 1.14 0.59 0.30 0.659 0.316
BCLR_DWORD 0.86 0.33 2.45 1.19 0.59 0.30 0.623 0.291
BPOS_WORD 1.719 0.47 4.03 1.33 0.80 0.23 1.024 0.309
BPOS_DWORD 1.941 0.40 4.83 1.31 0.96 0.22 1.302 0.324
Relational
CMP_INT 1.623 0.41 3.52 1.16 0.89 0.33 1.11 0.363
CMP_DINT 1.552 0.38 3.54 1.19 0.91 0.34 1.143 0.393
CMP_REAL 1.619 0.39 3.63 1.20 0.94 0.35 1.146 0.362
CMP_LREAL 1.835 0.44 3.92 1.13 1.08 0.34 1.227 0.361
CMP_UINT 1.485 0.39 3.50 1.17 0.93 0.33 1.097 0.361
EQ_DATA - - 10.63 7.98 2.37 1.29
EQ_DATA_INPUTREF 2.247 0.12 -- -- -- -- 1.55 0.448
EQ_DATA_AXISREF 2.377 0.32 -- -- -- -- 1.616 0.491
EQ_DINT 1.074 0.29 2.32 0.96 0.65 0.24 0.737 0.277
65 Due to Error Checking and Correction (ECC), Redundant CPU times are approximately 5% slower, on average, than the
equivalent Non-Redundant CPU.
Disabled
Disabled
Disabled
Disabled
Enabled
Enabled
Enabled
Enabled
Instruction
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
EQ_INT 1.123 0.36 2.45 0.96 0.66 0.24 0.69 0.276
EQ_LREAL 1.174 0.37 2.88 1.07 0.78 0.26 0.832 0.282
EQ_REAL 1.05 0.30 2.38 0.96 0.66 0.26 0.677 0.328
EQ_UINT 1.01 0.31 2.37 0.96 0.65 0.25 0.659 0.269
NE_INT 1.03 0.32 2.29 0.98 0.64 0.24 0.715 0.292
NE_DINT 1.074 0.33 2.37 1.00 0.66 0.24 0.718 0.269
NE_UINT 1.14 0.34 2.39 0.96 0.66 0.24 1.029 0.583
NE_REAL 1.076 0.32 2.35 0.95 0.67 0.25 0.863 0.408
NE_LREAL 1.142 0.35 2.87 1.04 0.79 0.26 0.926 0.279
GT_INT 1.035 0.31 2.49 0.98 0.66 0.25 0.703 0.269
GT_DINT 1.018 0.31 2.34 1.01 0.65 0.24 0.714 0.268
GT_REAL 1.057 0.31 2.36 0.94 0.65 0.24 0.714 0.269
GT_LREAL 1.146 0.36 2.82 1.02 0.77 0.27 0.893 0.324
GT_UINT 1.048 0.31 2.37 0.95 0.66 0.24 0.714 0.27
GE_INT 1.017 0.31 2.44 0.93 0.68 0.24 0.682 0.269
GE_DINT 1.082 0.32 2.43 1.01 0.66 0.24 0.675 0.284
GE_REAL 1.075 0.32 2.35 0.94 0.66 0.26 0.678 0.266
GE_LREAL 1.154 0.34 2.85 1.04 0.77 0.26 0.817 0.282
GE_UINT 1.03 0.32 2.44 1.03 0.67 0.24. 0.677 0.272
LT_INT 1.049 0.32 2.53 1.02 0.64 0.24 0.712 0.281
LT_DINT 1.08 0.33 2.37 1.05 0.65 0.25 0.72 0.269
LT_REAL 1.044 0.32 2.37 0.97 0.64 0.25 0.873 0.409
LT_LREAL 1.139 0.35 2.81 1.01 0.77 0.26 0.882 0.299
LT_UINT 1.087 0.31 2.41 0.95 0.65 0.24 0.71 0.271
LE_INT 1.123 0.32 2.46 0.99 0.69 0.25 0.678 0.269
LE_DINT 1.014 0.31 2.33 1.03 0.65 0.25 0.665 0.27
LE_UINT 1.045 0.32 2.44 1.02 0.64 0.24 0.683 0.283
LE_REAL 1.03 0.31 2.34 1.00 0.65 0.25 0.676 0.27
LE_LREAL 1.136 0.35 2.78 0.98 0.77 0.26 0.818 0.291
Conversion
BCD-4 to INT 0.933 0.30 2.17 1.00 0.55 0.23 0.544 0.25
DINT to INT 0.694 0.30 1.90 0.98 0.55 0.21 0.507 0.247
UINT to INT 0.736 0.30 2.04 0.94 0.49 0.20 0.583 0.234
BCD-8 to DINT 0.889 0.28 2.58 0.97 0.62 0.21 0.612 0.235
INT to DINT 0.672 0.29 1.88 0.2 0.51 0.21 0.567 0.232
UINT to DINT 0.771 0.32 1.90 0.96 0.63 0.21 0.591 0.227
INT to UINT 0.724 0.30 1.93 0.93 0.62 0.21 0.551 0.251
DINT to UINT 0.674 0.30 1.92 1.06 0.50 0.21 0.517 0.248
BCD-4 to UINT 0.792 0.35 2.18 1.04 0.55 0.22 0.603 0.247
INT to BCD-4 0.922 0.30 2.19 0.93 0.61 0.22 0.596 0.239
UINT to BCD-4 0.853 0.30 2.17 0.94 0.67 0.22 0.644 0.229
DINT to BCD-8 0.849 0.30 2.35 1.03 0.62 0.21 0.63 0.235
Disabled
Disabled
Disabled
Disabled
Enabled
Enabled
Enabled
Enabled
Instruction
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
REAL_TO_INT 0.922 0.31 2.43 1.00 0.66 0.21 0.665 0.23
REAL_TO_UINT 0.882 0.30 2.37 0.99 0.63 0.21 0.637 0.239
REAL_TO_LREAL 0.697 0.31 2.10 0.95 0.52 0.21 0.555 0.224
REAL_TO_DINT 0.877 0.30 2.42 0.99 0.64 0.21 0.638 0.24
INT_TO_REAL 0.707 0.31 2.00 0.98 0.49 0.22 0.521 0.255
UINT_TO_REAL 0.724 0.31 1.87 0.95 0.55 0.23 0.595 0.239
DINT_TO_REAL 0.773 0.30 1.95 1.02 0.56 0.21 0.516 0.231
DINT_TO_LREAL 0.741 0.36 2.06 1.02 0.50 0.20 0.584 0.248
REAL_TRUN_INT 0.757 0.34 1.77 0.73 0.45 0.19 0.515 0.16
REAL_TRUN_DINT 0.776 0.35 1.84 0.83 0.52 0.19 0.516 0.167
DEG_TO_RAD_REAL 0.749 0.28 1.90 1.01 0.55 0.21 0.515 0.24
DEG_TO_RAD_LREAL 0.901 0.34 2.33 0.94 0.64 0.23 0.63 0.249
RAD_TO_DEG_REAL 0.703 0.28 1.91 0.97 0.59 0.21 0.515 0.25
RAD_TO_DEG_LREAL 0.789 0.32 2.33 0.94 0.64 0.23 0.636 0.256
BCD-4 to REAL 0.852 0.30 2.30 1.03 0.56 0.20 0.692 0.301
BCD-8 to REAL 0.996 0.30 2.62 0.94 0.66 0.20 0.661 0.25
LREAL_TO_DINT 0.869 0.33 2.67 1.03 0.63 0.20 0.673 0.23
LREAL_TO_REAL 0.666 0.30 2.25 1.01 0.54 0.21 0.549 0.224
Data Move
BLKCLR 0.796 0.29 1.96 0.96 0.45 0.19 0.528 0.223
BITSEQ 0.175 0.15 1.14 4.14 0.90 0.89
MOVE_BIT 1.162 0.41 3.00 1.37 0.67 0.25 0.861 0.245
MOVE_DINT 0.864 0.37 2.21 1.32 0.47 0.43 0.533 0.292
MOVE_INT 0.857 0.38 2.21 1.33 0.48 0.44
MOVE_UINT - - - - - - 0.523 0.305
MOVE_WORD 0.919 0.44 2.15 1.25 0.48 0.41 0.551 0.298
MOVE_DWORD 0.884 0.36 2.15 1.24 0.48 0.42 0.548 0.293
MOVE_REAL 0.844 0.35 2.15 1.24 0.47 0.41 0.594 0.354
MOVE_LREAL 1.136 0.41 2.63 1.27 0.57 0.41 0.604 0.297
MOVE_DATA - - 8.36 2.36 2.16 1.20 - -
MOVE_DATA_INPUTREF 2.094 0.34 10.63 2.60 - - 2.077 0.384
MOVE_DATA_AXISREF 2.437 0.39 10.63 2.60 - - 2.172 0.376
MOVE_DATA_EX 2.094 0.34 9.28 1.98 2.60 1.66 2.23 0.544
MOVE_DATA_EX_INPUTREF 2.437 0.39 9.28 1.98 - - 2.509 0.587
MOVE_TO_FLAT 2.094 0.34 9.28 1.98 2.60 1.66 2.23 0.544
MOVE_FROM_FLAT 2.094 0.34 9.28 1.98 2.60 1.66 2.23 0.544
BLKMOV_WORD 1.009 0.72 2.89 2.17 0.68 0.60 0.788 0.511
BLKMOV_DWORD 1.019 0.65 3.03 2.17 0.71 0.54 0.862 0.517
BLKMOV_DINT 1.133 0.68 3.04 2.22 0.71 0.55 0.842 0.541
BLKMOV_INT 0.938 0.69 2.78 2.13 0.69 0.60 0.8 0.511
BLKMOV_REAL 1.004 0.66 2.98 2.14 0.70 0.53 0.853 0.528
BLKMOV_UINT 0.91 0.65 2.79 2.09 0.67 0.60 0.785 0.531
Disabled
Disabled
Disabled
Disabled
Enabled
Enabled
Enabled
Enabled
Instruction
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
DATA_INIT_ASCII 0.432 0.45 0.89 1.25 0.20 0.35 0.176 0.236
DATA_INIT_COMM 0.37 0.36 1.03 1.20 0.22 0.34 0.196 0.221
DATA_INIT_DLAN 0.433 0.39 1.33 1.32 0.33 0.35 0.254 0.238
DATA_INIT_DINT 0.313 0.37 0.89 1.21 0.21 0.33 0.169 0.24
DATA_INIT_DWORD 0.313 0.36 0.97 1.26 0.21 0.34 0.172 0.221
DATA_INIT_INT 0.343 0.38 0.94 1.27 0.20 0.33 0.178 0.231
DATA_INIT_REAL 0.344 0.38 0.91 1.22 0.21 0.35 0.172 0.248
DATA_INIT_LREAL 0.468 0.41 0.96 1.18 0.18 0.34 0.183 0.248
DATA_INIT_WORD 0.342 0.36 0.97 1.27 0.20 0.34 0.179 0.219
DATA_INIT_UINT 0.419 0.37 0.93 0.9 0.21 0.35 0.16 0.254
SWAP_WORD 0.976 0.36 2.67 1.24 0.58 0.41 0.616 0.291
SWAP_DWORD 1.008 0.38 2.75 1.29 0.59 0.41 0.62 0.308
SHFR_BIT 2.461 1.11 6.52 2.88 1.45 0.64 1.621 0.705
SHFR_WORD 2.441 1.49 7.13 4.94 1.94 1.40 2.072 1.51
SHFR_DWORD 2.403 1.48 7.16 4.91 2.00 1.42 2.127 1.493
Data Table
SORT_INT 15.58 0.40 36.56 1.25 9.89 0.42 9.743 0.295
SORT_UINT 15.436 0.35 36.49 1.24 9.86 0.42 9.628 0.296
SORT_WORD 15.516 0.36 36.46 1.26 9.87 0.42 9.613 0.332
TBLRD_INT 1.299 0.47 3.49 1.23 0.88 0.33 0.968 0.402
TBLRD_DINT 1.21 0.44 3.58 1.27 0.90 0.33 0.887 0.345
TBLWRT_INT 1.71 0.53 4.02 1.53 1.03 0.41 1.06 0.388
TBLWRT_DINT 1.599 0.48 3.94 1.52 1.03 0.42 1.113 0.391
FIFORD_INT 1.67 0.54 4.04 1.68 0.92 0.41 0.931 0.405
FIFORD_DINT 1.627 0.55 4.00 1.69 0.92 0.41 0.927 0.408
FIFOWRT_INT 1.189 0.32 3.06 1.21 0.83 0.30 0.838 0.358
FIFOWRT_DINT 1.197 0.31 3.05 1.19 0.84 0.30 0.836 0.278
LIFORD_INT 1.563 0.54 3.83 1.69 0.87 0.41 0.887 0.403
LIFORD_DINT 1.508 0.54 3.81 1.64 0.87 0.41 0.886 0.403
LIFOWRT_INT 1.211 0.33 3.06 1.18 0.83 0.30 0.836 0.278
LIFOWRT_DINT 1.194 0.35 3.05 1.19 0.83 0.32 0.837 0.284
LIFOWRT_DWORD 1.2 0.34 3.06 1.18 0.83 0.30 0.838 0.293
Array
ARRAY_MOVE_BIT 1.787 0.69 4.62 2.03 0.91 0.51 0.984 0.504
ARRAY_MOVE_BYTE 1.385 0.57 3.62 1.84 0.78 0.57 0.927 0.49
ARRAY_MOVE_WORD 1.335 0.59 3.67 1.92 0.80 0.57 0.858 0.556
ARRAY_MOVE_DWORD 1.346 0.59 3.61 1.85 0.80 0.58 0.86 0.49
ARRAY_MOVE_DINT 1.368 0.59 3.62 1.94 0.80 0.57 0.856 0.491
ARRAY_MOVE_INT 1.357 0.61 3.72 1.99 0.80 0.57 0.868 0.496
ARRAY_MOVE_UINT 1.408 0.61 3.61 1.87 0.79 0.58 0.88 0.491
SRCH_BYTE 1.8 0.63 4.35 1.86 1.04 0.46 1.254 0.487
SRCH_WORD 1.666 0.57 4.05 1.81 1.02 0.46 1.306 0.508
Disabled
Disabled
Disabled
Disabled
Enabled
Enabled
Enabled
Enabled
Instruction
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
SRCH_DWORD 1.721 0.57 4.17 1.82 1.12 0.46 1.245 0.531
ARRAY_RANGE_WORD 1.715 0.59 4.16 1.77 1.00 0.42 1.159 0.419
ARRAY_RANGE_DWORD 1.714 0.53 4.43 1.78 1.21 0.42 1.209 0.417
ARRAY_RANGE_DINT 1.724 0.54 4.47 1.83 1.16 0.43 1.171 0.419
ARRAY_RANGE_INT 1.647 0.53 4.69 1.85 1.16 0.41 1.185 0.404
ARRAY_RANGE_UINT 1.706 0.55 4.17 1.84 1.11 0.41 1.162 0.406
Math
ADD_INT 0.932 0.41 2.08 1.19 0.70 0.30 0.796 0.28
ADD_DINT 0.841 0.35 2.22 1.17 0.63 0.31 0.825 0.272
ADD_REAL 0.819 0.34 2.12 1.13 0.61 0.32 0.751 0.327
ADD_LREAL 0.962 0.38 3.09 1.20 0.75 0.31 0.94 0.299
ADD_UINT 0.801 0.34 2.08 1.14 0.64 0.30 0.717 0.259
SUB_INT 0.805 0.34 2.08 1.15 0.66 0.30 0.729 0.258
SUB_DINT 0.846 0.33 2.17 1.13 0.64 0.30 0.75 0.258
SUB_REAL 0.826 0.34 2.17 1.18 0.62 0.31 0.743 0.26
SUB_LREAL 0.998 0.40 2.81 1.27 0.81 0.31 0.958 0.3
MUL_INT 0.822 0.34 2.21 1.13 0.64 0.30 0.727 0.258
MUL_DINT 0.883 0.35 2.20 1.20 0.63 0.31 0.765 0.255
MUL_REAL 0.86 0.35 2.13 1.14 0.57 0.31 0.752 0.265
MUL_LREAL 0.97 0.39 3.03 1.44 0.75 0.33 0.94 0.29
MUL_MIXED 0.913 0.37 2.06 1.19 0.64 0.31 0.823 0.275
MUL_UINT 0.8 0.34 2.42 1.18 0.65 0.30 0.728 0.259
DIV_INT 0.913 0.35 2.35 1.19 0.64 0.30 0.74 0.268
DIV_DINT 0.904 0.36 2.45 1.21 0.64 0.31 0.77 0.281
DIV_REAL 0.894 0.34 2.39 1.13 0.69 0.30 0.761 0.258
DIV_LREAL 1.012 0.39 2.93 1.20 0.79 0.31 0.962 0.279
DIV_MIXED 1.00 0.34 2.45 1.15 0.67 0.30 0.788 0.259
MOD_INT 0.903 0.35 2.36 1.23 0.69 0.31 0.762 0.278
MOD_DINT 0.904 0.35 2.30 1.18 0.64 0.31 0.742 0.277
MOD_UINT 0.82 0.35 2.23 1.19 0.71 0.31 0.83 0.261
ABS_INT 0.728 0.29 1.96 0.91 0.51 0.23 0.555 0.241
ABS_DINT 0.717 0.29 1.99 0.91 0.56 0.23 0.528 0.241
ABS_REAL 0.751 0.28 2.12 0.96 0.56 0.21 0.521 0.239
ABS_LREAL 0.875 0.38 2.54 1.01 0.62 0.22 0.678 0.24
SCALE_INT 1.12 0.58 3.07 1.54 0.85 0.44 0.931 0.437
SCALE_DINT 1.263 0.56 2.65 1.51 0.71 0.51 0.991 0.429
SCALE_UINT 1.067 0.55 2.70 1.50 0.71 0.49 0.9 0.404
SQRT_INT 0.905 0.26 2.36 0.93 0.63 0.21 0.618 0.24
SQRT_DINT 0.906 0.33 2.86 0.93 0.69 0.21 0.742 0.24
SQRT_REAL 0.812 0.28 2.15 0.92 0.55 0.23 0.592 0.293
SQRT_LREAL 0.897 0.30 2.60 1.02 0.65 0.22 0.644 0.244
Disabled
Disabled
Disabled
Disabled
Enabled
Enabled
Enabled
Enabled
Instruction
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
Trigonometric
SIN_REAL 1.031 0.28 2.48 0.92 0.61 0.22 0.628 0.239
SIN_LREAL 1.063 0.35 2.97 1.02 0.74 0.22 0.74 0.294
COS_REAL 0.988 0.28 2.41 0.93 0.67 0.21 0.616 0.239
COS_LREAL 1.04 0.28 2.93 1.02 0.75 0.21 0.736 0.235
TAN_REAL 1.156 0.28 2.53 0.92 0.63 0.21 0.635 0.24
TAN_LREAL 1.086 0.32 3.03 1.02 0.83 0.22 0.776 0.236
ASIN_REAL 1.096 0.28 2.80 0.98 0.73 0.21 0.743 0.24
ASIN_LREAL 1.127 0.49 3.23 1.00 0.88 0.21 0.835 0.223
ACOS_REAL 1.096 0.28 2.80 0.98 0.73 0.21 0.743 0.24
ACOS_LREAL 1.221 0.33 3.27 0.99 0.88 0.21 0.845 0.239
ATAN_REAL 1.013 0.29 2.56 1.03 0.67 0.23 0.63 0.256
ATAN_LREAL 0.992 0.31 2.88 1.00 0.76 0.21 0.719 0.24
Logarithmic
LOG_REAL 0.977 0.29 2.46 0.99 0.65 0.21 0.641 0.241
LOG_LREAL 1.052 0.30 3.25 0.95 0.73 0.21 0.733 0.223
LN_REAL 1 0.30 2.46 0.97 0.65 0.22 0.66 0.287
LN_LREAL 1.05 0.33 3.14 1.01 0.75 0.22 0.744 0.239
EXPT_REAL 1.568 0.36 3.75 1.29 0.88 0.31 0.988 0.246
EXPT_LREAL 1.114 0.39 3.35 1.31 0.72 0.30 0.727 0.277
EXP_REAL 0.91 0.29 2.26 0.97 0.61 0.23 0.612 0.254
EXP_LREAL 0.966 0.34 2.85 1.1 0.76 0.23 0.698 0.232
PID
PIDISA 2.862 2.54 6.80 6.14 1.52 1.43 1.74 1.468
PIDIND 2.701 2.46 6.83 6.16 1.51 1.39 1.784 1.495
Range
RANGE_INT 1.424 0.62 3.57 2.09 0.85 0.47 1.055 0.615
RANGE_DINT 1.341 0.57 3.28 1.85 0.85 0.47 0.952 0.463
RANGE_DWORD 1.363 0.59 3.39 1.84 0.85 0.47 0.911 0.482
Timers
ONDTR 1.918 1.52 4.91 3.81 1.11 0.83 1.104 0.807
OFDT 1.756 1.56 4.70 4.22 1.03 0.87 1.027 0.838
TMR 1.797 1.58 4.69 4.21 1.04 0.88 1.031 0.838
TOF 2.986 1.951 7.8 4.7 1.8 1.2 1.803 1.107
TON 2.262 1.912 7.4 4.5 1.8 1.1 1.357 1.108
TP 2.312 1.909 7.5 4.5 1.8 1.2 1.422 1.11
Counters
UPCTR 1.851 1.69 4.24 4.28 0.96 0.92 0.899 0.907
DNCTR 1.668 1.68 4.20 4.23 0.94 0.93 0.903 0.896
Disabled
Disabled
Disabled
Disabled
Enabled
Enabled
Enabled
Enabled
Instruction
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
Control
JUMPN 0.021 0.06 0.29 0.13 0.02 0.01 0.134 0.01
FOR/NEXT 0.482 0.22 1.40 0.70 0.23 0.18 0.256 0.167
MCRN/ENDMCRN
0.212 0.21 0.64 0.65 0.06 007 0.1 0.146
Combined
SWITCH_POS 0.787 0.28 1.96 0.91 0.57 0.21 0.549 0.185
DOIO 78.972 0.41 58.32 1.32 38.72 0.30 16.97 0.29
DOIO with ALT 79.187 0.41 58.17 1.28 38.67 0.33 16.947 0.305
DRUM_SEQ 2.68 2.20 6.74 5.42 1.63 1.30 1.71 1.266
SCAN_SET_IO 138.471 0.797 155.02 1.87 111.81 0.50 39.488 0.394
SUSIO 0.797 0.14 1.93 0.38 0.49 0.11 0.514 0.094
COMM_REQ 221.447 0.39 219.48 1.51 133.87 0.36 136.466 0.362
CALL/RETURN
2.907 0.17 7.23 0.44 1.83 0.09 1.853 0.088
(C Block)
CALL/RETURN (LD) 2.859 0.13 7.50 0.42 1.73 0.10 1.853 0.106
CALL/RETURN
1.85 0.12 4.92 0.41 1.22 0.11 1.288 0.087
(Parameterized Block)
Bus66
BUS_RD_BYTE 16.228 0.75 20.16 2.35 7.41 0.68 1.02 0.589
BUS_RD_WORD 16.189 0.73 20.67 2.46 7.48 0.71 1.07 0.64
BUS_RD_DWORD 16.383 0.72 20.80 2.43 7.55 0.70 1.032 0.613
BUS_WRT_BYTE 12.34 0.70 20.94 2.59 6.19 0.70 1.944 0.589
BUS_WRT_WORD 12.478 0.71 20.76 2.49 6.17 0.69 1.956 0.593
BUS_WRT_DWORD 12.489 0.73 21.09 2.49 6.24 0.69 1.957 0.601
BUS_RMW_BYTE 17.5 0.83 21.72 2.67 7.96 0.78 1.385 0.682
BUS_RMW_WORD 17.647 0.83 21.01 2.69 7.95 0.79 1.358 0.659
BUS_RMW_DWORD 17.484 0.79 21.20 2.71 7.96 0.78 1.429 0.665
BUS_TS_BYTE 17.284 0.61 19.07 2.05 7.80 0.50 1.309 0.511
BUS_TS_WORD 17.378 0.59 20.16 2.09 7.66 0.51 1.254 0.512
66 Results will vary with how quickly the module responds to bus cycles. Because of this, incremental times do not appear in
the RX3i Incremental Times tables.
Disabled
Disabled
Disabled
Disabled
Enabled
Enabled
Enabled
Enabled
Instruction
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
SVC_REQ
#1 2.179 0.26 6.57 1.02 1.34 0.18 1.54 0.217
#2 2.523 0.27 6.35 1.01 1.57 0.21 1.809 0.176
#3 1.746 0.25 4.80 0.92 0.98 0.18 1.15 0.142
#4 1.735 0.24 4.83 0.98 0.99 0.19 1.14 0.158
#5 1.697 0.24 4.90 0.92 0.97 0.17 1.158 0.153
#6 1.688 0.25 4.58 0.97 0.99 0.19 1.099 0.18
#7 3.661 0.32 8.64 1.12 1.95 0.20 2.022 0.182
#8 10.343 0.28 6.82 1.01 3.14 0.20 3.306 0.192
#9 1.76 0.28 4.53 1.03 1.06 0.20 1.192 0.195
#10 2.487 0.28 7.09 1.04 1.72 0.20 1.586 0.205
#11 1.751 0.28 4.25 1.03 1.07 0.20 1.166 0.195
#12 0.931 0.28 2.37 1.03 0.60 0.20 0.708 0.187
#13 1.438 0.25 4.56 1.09 0.89 0.18 0.903 0.177
#14 178.204 0.23 436.25 1.11 124.34 0.19 117.072 0.161
#15 1.13 0.36 2.72 1.10 0.60 0.34 0.712 0.308
#16 1.739 0.33 4.39 1.01 1.04 0.21 1.058 0.202
#17 1.235 0.32 2.95 0.90 0.85 0.19 0.732 0.196
#18 31.168 0.33 112.51 1.05 41.61 0.21 25.369 0.181
#19 1.618 0.32 4.30 1.05 0.88 0.20 0.929 0.173
#20 4.997 0.33 17.78 1.05 4.59 0.21 4.614 0.173
#21 16.058 0.34 35.02 1.00 9.48 0.21 9.344 0.173
#22 1.07 0.29 2.82 1.00 0.65 0.20 0.735 0.175
#23 36.224 0.29 118.94 1.03 32.49 0.21 24.019 0.188
#24 2.003 0.30 4.66 0.98 1.05 0.20 0.665 0.173
#25 1.181 0.29 3.00 0.98 0.74 0.20 0.746 0.167
NA NA
#26 NA NA NA NA NA NA
1.73 1.28
NA NA
#27 NA NA NA NA NA NA
1.75 1.29
NA NA
#28 NA NA NA NA NA NA
1.96 1.30
#32 9.788 0.30 12.88 1.31 5.03 0.20 4.824 0.178
NA NA
#43 NA NA NA NA NA NA
1.77 1.27
#50 1.655 0.29 4.48 1.05 1.00 0.21 1.116 0.157
#51 1.67 0.29 4.54 0.99 1.05 0.20 1.154 0.157
563.14367 84.1667
#56 0.39 0.97 22.73 0.21 1396.47 0.159
17.41368 84.1668
9167.40367 17558.3367
#57 0.39 0.97 13970.00 0.21 6131.71 0.159
8.7968 17558.3368
67 Initial execution.
68 Subsequent executions.
Disabled
Disabled
Disabled
Disabled
Enabled
Enabled
Enabled
Enabled
Instruction
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
PACMotion
MC_AbortTrigger 167.406 5.322 150.954 12.762 50.35 3.01 50.35 3.01
MC_CamFileRead 22.997 14.603 63.861 44.001 13.84 7.05 13.84 7.05
MC_CamFileWrite 25.499 15.152 52.938 27.52 12.02 4.7 12.02 4.7
MC_CamIn 185.117 10.867 169.563 30.988 102.8 4.86 102.8 4.86
MC_CamOut 134.517 4.580 99.325 10.812 47.49 2.8 47.49 2.8
MC_CamTableDeselect 104.051 8.023 116.468 18.343 60.09 3.56 60.09 3.56
MC_CamTableSelect 126.359 7.399 138.508 21.01 75.97 3.77 75.97 3.77
MC_DelayedStart 122.332 7.167 141.552 20.164 76.77 3.22 76.77 3.22
MC_DigitalCamSwitch 229.067 39.904 227.174 70.804 152.59 4.32 152.59 4.32
MC_DL_Activate 102.622 19.693 101.982 26.656 50.63 3.39 50.63 3.39
MC_DL_Configure 182.666 8.776 200.857 23.556 130 3.72 130 3.72
MC_DL_Delete 92.780 10.230 116.745 21.212 49.57 3.14 49.57 3.14
MC_DL_Get 102.580 9.065 109.414 35.919 61.29 3.16 61.29 3.16
MC_GearIn 170.551 7.611 165.344 23.176 91.03 4.34 91.03 4.34
MC_GearInPos 115.852 7.790 134.393 21.776 70.31 4.43 70.31 4.43
MC_GearOut 89.184 4.646 100.441 10.64 46.91 3.2 46.91 3.2
MC_Halt 152.450 7.622 155.891 19.243 82.5 4.11 82.5 4.11
MC_Home 117.432 7.715 134.787 19.626 71.45 3.77 71.45 3.77
MC_JogAxis 114.385 11.529 128.661 32.746 65.18 3.38 65.18 3.38
MC_LibraryStatus 91.545 8.275 105.757 16.573 48.78 3.33 48.78 3.33
MC_ModuleReset 95.198 6.322 103.803 17.462 83.73 3.15 83.73 3.15
MC_MoveAbsolute 175.661 7.095 174.49 18.321 99.53 3.95 99.53 3.95
MC_MoveAdditive 159.697 7.495 168.611 19.947 89.47 4.14 89.47 4.14
MC_MoveRelative 159.920 7.440 158.805 19.89 90.54 3.83 90.54 3.83
MC_MoveVelocity 162.556 7.650 159.625 22.839 65.66 3.98 65.66 3.98
MC_Phasing 170.154 7.646 167.904 21.544 95.11 4.6 95.11 4.6
MC_Power 37.423 37.284 130.954 130.871 24.49 20.06 24.49 20.06
MC_ReadActualPosition 39.528 1.656 36.643 4.216 18.61 0.73 18.61 0.73
MC_ReadActualVelocity 39.183 1.644 36.072 4.262 18.36 0.74 18.36 0.74
MC_ReadAnalogInput 45.623 1.988 51.211 4.74 22.38 1.17 22.38 1.17
MC_ReadAnalogOutput 59.744 3.318 47.314 7.89 22.16 1.67 22.16 1.67
MC_ReadAxisError 36.524 2.813 38.94 6.712 17.17 1.32 17.17 1.32
MC_ReadBoolParameter 32.953 2.761 37.485 6.408 14.85 1.57 14.85 1.57
MC_ReadBoolParameters 31.974 3.435 37.936 7.479 15 1.64 15 1.64
MC_ReadDigitalInput 38.895 3.226 36.186 7.043 14.63 1.67 14.63 1.67
MC_ReadDigitalOutput 44.757 2.485 47.597 6.216 17.07 1.58 17.07 1.58
MC_ReadDwordParameters 31.176 3.467 36.61 7.079 14.54 1.58 14.54 1.58
MC_ReadEventQueue 108.594 9.296 123.594 22.352 60.86 4.33 60.86 4.33
MC_ReadParameter 45.460 3.075 58.045 9.839 22.87 1.58 22.87 1.58
MC_ReadParameters 43.504 4.021 47.405 8.012 20.72 1.61 20.72 1.61
MC_ReadStatus 32.917 3.436 41.05 7.167 16.01 4.12 16.01 4.12
Disabled
Disabled
Disabled
Disabled
Enabled
Enabled
Enabled
Enabled
Instruction
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
MC_ReadTorqueCommand 39.639 1.720 36.657 4.36 18.51 0.73 18.51 0.73
MC_Reset 93.936 5.851 103.623 16.885 48.37 2.99 48.37 2.99
MC_SetOverride 107.928 11.412 116.23 36.465 62.21 3.81 62.21 3.81
MC_SetPosition 98.519 7.638 116.732 23.002 54 3.97 54 3.97
MC_Stop 99.332 6.130 112.185 16.24 56.38 3.6 56.38 3.6
MC_Superimposed 105.975 5.892 122.646 16.499 63.24 3.75 63.24 3.75
MC_SyncStart 103.035 6.320 122.121 17.198 60.23 3.1 60.23 3.1
MC_TouchProbe 173.373 7.268 160.243 18.934 56.11 3.32 56.11 3.32
MC_WriteAnalogOutput 134.439 8.041 112.994 21.111 53.53 3.36 53.53 3.36
MC_WriteBoolParameter 104.890 7.287 95.696 20.303 48.29 3.21 48.29 3.21
MC_WriteBoolParameters 131.228 8.106 106.974 22.215 57.41 3.23 57.41 3.23
MC_WriteDigitalOutput 96.338 8.259 116.644 23.822 52.99 4.27 52.99 4.27
MC_WriteDwordParameters 160.433 7.661 125.168 19.661 73.23 3.25 73.23 3.25
MC_WriteParameter 98.558 8.231 122.482 27.394 55.3 4.03 55.3 4.03
MC_WriteParameters 192.054 6.859 161.002 18.911 94.77 4.84 94.77 4.84
69 Due to Error Checking and Correction (ECC), Redundant CPU times are approximately 5% slower, on average, than the
equivalent Non-Redundant CPU.
CPE305 CPU320/
Instruction CPU310 CPU315
CPE310 CRU32069
Data Move
MOVE_BIT 0.01 0.02 0.00412 0.00488
MOVE_DINT 0.02 0.04 0 0.0089
MOVE_INT 0.01 0.02 0 0
MOVE_UINT - - - 0.00439
MOVE_WORD 0.01 0.02 0.00968 0.0041
MOVE_DWORD 0.02 0.04 0.04613 0.00913
MOVE_REAL 0.02 0.04 0.0372 0.00951
MOVE_LREAL 0.03 0.09 0.01952 0.01928
MOVE_DATA 0.0002 0.00022 0
MOVE_DATA_EX 0.0002 0.00028 0
DATA_INIT_ASCII 0.00 0.01 0.00217 0.00304
DATA_INIT_COMM 0.01 0.02 0.00408 0.00398
DATA_INIT_DLAN - 0 0 0
DATA_INIT_DINT 0.01 0.04 0.00811 0.00812
DATA_INIT_DWORD 0.01 0.04 0.00817 0.00807
DATA_INIT_INT 0.01 0.02 0.00447 0.00432
DATA_INIT_REAL 0.01 0.04 0.00796 0.00822
DATA_INIT_LREAL 0.03 0.08 0.01584 0.01639
DATA_INIT_WORD 0.01 0.02 0.00439 0.00469
DATA_INIT_UINT 0.01 0.02 0.00391 0.00422
SWAP_WORD 0.04 0.19 0.00498 0.02921
SWAP_DWORD 0.06 0.16 0.00942 0.03614
BLKCLR_WORD 0.01 0.02 0.00568 0.00627
SHFR_BIT 0.02 0.04 0.01174 0.01241
SHFR_WORD 0.06 0.18 0.04529 0.03804
SHFR_DWORD 0.07 0.20 0.04751 0.04277
Data Table
SORT_INT 0.33 0.74 0.22253 0.2179
SORT_UINT 0.33 0.74 0.22237 0.21686
SORT_WORD 0.32 0.74 0.22243 0.21704
TBLRD_INT 0.00 0 -1E-05 0.00016
TBLRD_DINT 0.00 0 0.00012 0.00014
TBLWRT_INT 0.00 0 -0.0002 0.00003
TBLWRT_DINT 0.00 0 -0.0002 0.0002
FIFORD_INT 0.01 0.02 0.00432 0.00417
FIFORD_DINT 0.02 0.04 0.00927 0.0093
FIFOWRT_INT 0.00 -0.1333333 0.00011 0.00009
FIFOWRT_DINT 0.00 -1.1777778 -0.001 0.00001
LIFORD_INT 0.00 0.01111111 0.00021 0.00001
LIFORD_DINT 0.00 0.64444444 0.00021 0.00011
LIFOWRT_INT 0.00 -0.8666667 0.0001 0.00004
LIFOWRT_DINT 0.00 -0.8777778 4.4E-05 0.00001
LIFOWRT_DWORD 0.00 0.11111111 -0.0002 0.00001
CPE305 CPU320/
Instruction CPU310 CPU315
CPE310 CRU32069
Array
ARRAY_MOVE_BIT 0.01 0.02 0.00558 0.00538
ARRAY_MOVE_BYTE 0.00 0.01 0.0024 0.00207
ARRAY_MOVE_INT 0.01 0.02 0.00424 0.00407
ARRAY_MOVE_DINT 0.02 0.05 0.00961 0.00986
ARRAY_MOVE_WORD 0.01 0.02 0.0041 0.00442
ARRAY_MOVE_DWORD 0.02 0.04 0.00974 0.009
ARRAY_MOVE_UINT 0.01 0.02 0.00413 0.0038
SRCH_BYTE 0.02 0.07 0.01796 0.0173
SRCH_WORD 0.03 0.07 0.01828 0.01946
SRCH_DWORD 0.02 0.07 0.01507 0.01407
ARRAY_RANGE_DINT 0.19 0.54 0.13903 0.13582
ARRAY_RANGE_INT 0.18 0.52 0.13471 0.13199
ARRAY_RANGE_UINT 0.18 0.52 0.13647 0.13241
ARRAY_RANGE_WORD 0.18 0.52 0.13578 0.13282
ARRAY_RANGE_DWORD 0.19 0.56 0.14221 0.13928
PACMotion
MC_ReadBoolParameters 16.000 14.000 7.62 –
MC_ReadDwordParameters 30.000 28.000 12.34 –
MC_ReadParameters 40.000 38.000 19.42 –
MC_WriteBoolParameters 22.000 10.000 0.48 –
MC_WriteDwordParameters 40.000 34.000 1.4 –
MC_WriteParameters 45.000 42.000 1.34 –
Disabled
Disabled
Disabled
Disabled
Disabled
Enabled
Enabled
Enabled
Enabled
Enabled
Instruction
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
Bit Operation
AND_WORD 3.42 1.58 1.49 0.69 1.71 0.81 1.29 0.58 0.43 0.20
AND_DWORD 3.64 1.58 1.58 0.70 1.67 0.81 1.31 0.58 0.44 0.20
OR_WORD 3.58 1.71 1.56 0.76 1.72 0.90 1.28 0.59 0.43 0.20
OR_DWORD 3.55 1.66 1.54 0.73 1.71 0.83 1.44 0.60 0.48 0.20
XOR_WORD 3.42 1.57 1.48 0.69 1.73 0.80 1.29 0.61 0.48 0.25
XOR_DWORD 3.55 1.58 1.54 0.70 1.66 0.81 1.32 0.58 0.44 0.25
NOT_WORD 2.73 1.38 1.17 0.59 1.39 0.72 1.02 0.40 0.34 0.13
NOT_DWORD 2.81 1.44 1.21 0.62 1.44 0.75 1.07 0.41 0.35 0.14
MCMP_WORD 5.69 2.43 2.44 1.04 2.64 1.14 2.51 1.08 0.85 0.36
MCMP_DWORD 5.69 2.32 2.50 1.00 2.63 1.11 2.48 1.03 0.82 0.34
SHL_WORD 4.46 2.62 1.89 1.11 2.31 1.25 1.92 1.00 0.64 0.34
SHL_DWORD 4.53 2.73 1.92 1.56 2.31 1.28 1.90 0.98 0.63 0.32
SHR_WORD 4.64 2.59 1.96 1.09 2.45 1.24 1.98 0.98 0.66 0.32
SHR_DWORD 4.51 2.65 1.91 1.12 2.11 1.29 1.90 1.01 0.63 0.34
ROL_WORD 2.95 1.61 1.27 0.69 1.43 0.82 1.17 0.61 0.39 0.20
ROL_DWORD 3.27 1.61 1.39 0.70 1.46 0.84 1.07 0.59 0.36 0.20
ROR_WORD 2.93 1.52 1.25 0.66 1.45 0.82 1.11 0.57 0.39 0.19
ROR_DWORD 2.92 1.58 0.68 0.68 1.41 0.81 1.20 0.57 0.40 0.19
BTST_WORD 3.23 1.45 0.58 0.5 1.49 0.75 1.16 0.63 0.39 0.21
BTST_DWORD 3.29 1.37 1.41 0.5 1.48 0.72 1.19 0.63 0.40 0.19
BSET_WORD 2.62 1.43 1.12 0.61 1.17 0.72 0.97 0.48 0.31 0.16
BSET_DWORD 2.59 1.40 1.13 0.60 1.16 0.71 0.97 0.48 0.32 0.16
BCLR_WORD 2.51 1.36 1.08 0.59 1.20 0.72 0.97 0.48 0.31 0.16
BCLR_DWORD 2.49 1.33 1.07 0.57 1.16 0.70 0.97 0.47 0.32 0.16
BPOS_WORD 3.63 1.24 1.66 0.64 1.84 0.76 1.51 0.56 0.50 0.19
BPOS_DWORD 3.29 1.18 1.97 0.62 2.18 0.75 1.78 0.48 0.59 0.18
Relational
CMP_INT 3.51 1.25 1.50 0.54 1.45 0.60 1.58 0.52 0.53 0.17
CMP_DINT 3.86 1.32 1.66 0.57 1.51 0.66 1.61 0.52 0.53 0.17
CMP_REAL 3.65 1.30 1.57 0.56 1.52 0.62 0.53 0.53 0.54 0.1
CMP_LREAL 4.08 1.25 1.75 0.53 1.64 0.59 1.84 0.52 0.61 0.18
CMP_UINT 4.15 1.35 1.78 0.58 1.48 0.63 1.62 0.53 0.54 0.17
EQ_DATA 10.13 2.02 2.91 1.05 2.81 0.94 2.82 1.08 1.27 0.66
EQ_DINT 2.45 1.15 1.06 0.50 1.08 0.60 1.05 0.41 0.35 0.13
EQ_INT 2.49 1.14 1.07 0.50 1.04 0.58 1.04 0.47 0.35 0.16
70 Due to Error Checking and Correction (ECC), Redundant CPU times are approximately 5% slower, on average, than the
equivalent Non-Redundant CPU.
CPE030 CPE040
CPE010 CPE020 CRE02070
CRE03070 CRE04070
Disabled
Disabled
Disabled
Disabled
Disabled
Enabled
Enabled
Enabled
Enabled
Enabled
Instruction
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
EQ_LREAL 3.00 1.27 1.28 0.54 1.25 0.64 1.27 0.47 0.43 0.17
EQ_REAL 2.61 1.12 1.12 0.49 1.03 0.60 1.15 0.43 0.37 0.14
EQ_UINT 2.33 1.11 1.00 0.48 1.01 0.59 1.04 0.40 0.35 0.13
NE_INT 2.34 1.13 1.01 0.49 0.97 0.60 1.03 0.42 0.34 0.14
NE_DINT 2.56 1.34 1.10 0.55 1.10 0.66 1.08 0.43 0.36 0.14
NE_UINT 2.43 1.18 1.04 0.51 1.00 0.62 1.08 043 0.36 0.14
NE_REAL 2.65 1.18 1.14 0.51 1.05 0.61 1.13 0.40 0.38 0.13
NE_LREAL 2.93 1.17 1.26 0.51 1.24 0.60 1.29 0.42 0.44 0.15
GT_INT 2.50 1.14 1.08 0.49 1.05 0.60 1.05 0.40 0.35 0.13
GT_DINT 2.42 1.15 1.04 0.50 1.04 0.59 1.05 0.40 0.35 0.13
GT_REAL 2.60 1.11 1.11 0.48 1.02 0.58 1.13 0.40 0.38 0.13
GT_LREAL 2.90 1.15 1.27 0.50 1.21 0.60 1.28 0.43 0.43 0.15
GT_UINT 2.39 1.10 1.02 0.48 0.99 0.59 1.06 0.40 0.35 0.13
GE_INT 2.48 1.13 1.07 0.50 1.04 0.59 1.08 0.40 0.36 0.13
GE_DINT 2.57 1.19 1.08 0.51 1.08 0.62 1.07 0.41 0.36 0.14
GE_REAL 2.59 1.10 1.11 0.48 1.02 0.58 1.13 0.43 0.38 0.14
GE_LREAL 2.92 1.17 0.51 0.6 1.25 0.62 1.24 0.41 0.43 0.14
GE_UINT 2.42 1.19 1.04 0.51 1.01 0.63 1.06 0.41 0.35 0.13
LT_INT 2.54 1.22 1.09 0.50 1.06 0.61 1.05 0.42 0.35 0.14
LT_DINT 2.58 1.27 1.11 0.54 1.09 0.66 1.08 0.43 0.36 0.14
LT_REAL 2.66 1.18 1.14 0.51 1.04 0.72 1.13 0.39 0.38 0.13
LT_LREAL 2.90 1.15 1.24 0.50 1.22 0.59 1.29 0.43 0.43 0.14
LT_UINT 2.48 1.15 1.03 0.49 1.02 0.60 1.04 0.0 0.35 0.13
LE_INT 2.48 1.14 1.07 0.49 1.03 0.60 1.08 0.40 0.36 0.13
LE_DINT 2.46 1.15 1.05 0.50 1.04 0.59 1.05 0.40 0.35 0.13
LE_UINT 2.41 1.17 1.03 0.50 1.04 0.61 1.02 0.41 0.34 0.13
LE_REAL 2.68 1.14 1.16 0.49 1.02 0.60 1.10 0.40 0.37 0.13
LE_LREAL 2.89 1.15 1.24 0.49 12.1 0.58 1.26 0.39 0.43 0.14
Conversion
BCD-4 to INT 2.11 1.11 0.90 0.48 0.95 0.62 0.83 0.34 0.27 0.14
DINT to INT 2.18 1.15 0.94 0.48 0.81 0.56 0.85 0.33 0.28 0.14
UINT to INT 1.95 1.14 0.84 0.49 0.81 0.55 0.77 0.31 0.25 0.14
BCD-8 to DINT 3.00 1.10 1.29 0.47 1.02 0.58 0.94 0.32 0.30 0.14
INT to DINT 2.19 1.13 0.94 0.49 0.78 0.55 0.75 0.33 0.23 0.15
UINT to DINT 2.17 1.18 0.94 0.51 0.92 0.57 0.79 0.32 0.27 0.13
INT to UINT 1.88 1.12 0.81 0.48 0.76 0.56 0.80 0.35 0.27 0.14
DINT to UINT 2.15 1.11 0.93 0.48 0.83 0.58 0.72 0.33 0.24 0.14
BCD-4 to UINT 2.13 1.08 0.93 0.48 0.94 0.65 0.81 0.35 0.27 0.14
INT to BCD-4 2.24 1.12 0.94 0.48 0.92 0.56 0.95 0.35 0.27 0.15
UINT to BCD-4 2.26 1.17 0.97 0.50 0.93 0.56 1.07 0.36 0.33 0.15
DINT to BCD-8 3.15 1.08 1.35 0.47 1.00 0.60 0.91 0.34 0.31 0.14
CPE030 CPE040
CPE010 CPE020 CRE02070
CRE03070 CRE04070
Disabled
Disabled
Disabled
Disabled
Disabled
Enabled
Enabled
Enabled
Enabled
Enabled
Instruction
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
REAL_TO_INT 2.75 1.20 1.18 0.52 1.02 0.58 0.99 0.34 0.33 0.14
REAL_TO_UINT 2.67 1.18 1.15 0.51 1.01 0.57 0.95 0.34 0.31 0.14
REAL_TO_LREAL 2.26 1.01 0.97 0.43 0.88 0.55 0.88 0.37 0.29 0.12
REAL_TO_DINT 3.06 1.14 1.32 0.49 1.05 0.57 0.98 0.34 0.31 0.14
INT_TO_REAL 2.17 1.12 0.93 0.48 0.77 0.56 0.73 0.36 0.24 0.15
UINT_TO_REAL 2.19 1.17 0.94 0.50 0.77 0.57 0.83 0.37 0.28 0.15
DINT_TO_REAL 2.43 1.14 1.04 0.49 0.84 0.60 0.75 0.34 0.27 0.14
DINT_TO_LREAL 2.24 1.01 0.96 0.44 0.85 0.73 0.85 0.42 0.28 0.13
REAL_TRUN_INT 2.22 1.37 0.87 0.49 0.83 0.59 0.56 0.13 0.26 0.11
REAL_TRUN_DINT 2.42 1.13 1.09 0.55 0.89 0.64 0.70 0.13 0.30 0.11
DEG_TO_RAD_REAL 2.39 1.11 1.03 0.48 0.83 0.57 0.87 0.35 0.29 0.12
DEG_TO_RAD_LREAL 2.34 1.05 1.01 0.44 0.92 0.52 0.98 0.34 033 0.11
RAD_TO_DEG_REAL 2.34 1.16 1.03 0.48 0.94 0.57 0.86 0.35 0.29 0.12
RAD_TO_DEG_LREAL 2.33 1.06 1.00 0.44 0.93 0.52 0.98 0.34 0.33 0.11
BCD-4 to REAL 2.42 1.09 1.04 0.48 0.99 0.64 0.89 0.34 0.28 0.14
BCD-8 to REAL 3.07 1.14 1.32 0.49 1.11 0.55 0.98 0.31 0.31 0.14
LREAL_TO_DINT 2.85 1.00 1.21 0.43 1.07 0.73 1.10 0.42 0.36 0.13
LREAL_TO_REAL 2.35 1.09 1.01 0.47 0.87 0.58 0.83 0.35 0.2 0.12
Data Move
BLKCLR 2.13 1.16 0.91 0.50 1.09 0.62 0.73 0.34 0.24 0.11
BITSEQ 3.90 3.93 1.63 1.64 1.76 1.74 1.50 1.59 0.50 0.53
MOVE_BIT 2.93 1.53 1.22 0.63 1.47 0.81 1.06 0.41 0.35 0.14
MOVE_DINT 2.23 1.44 0.92 0.58 1.07 0.75 0.78 0.26 0.3 0.13
MOVE_INT 2.27 1.47 0.94 0.60 1.06 0.75 0.79 0.42 0.26 0.14
MOVE_DWORD 2.31 1.51 0.96 0.62 1.10 0.77 0.81 0.41 0.26 0.14
MOVE_LREAL 2.74 1.43 1.15 0.61 1.56 0.77 0.95 0.42 0.31 0.14
MOVE_REAL 2.18 1.39 0.91 0.57 1.07 0.74 0.78 0.40 0.26 0.14
MOVE_UINT 2.3 1.2 1.0 0.5 - - - - - -
MOVE_WORD 2.25 1.45 0.93 0.59 1.04 0.76 0.80 0.43 0.27 0.14
MOVE_DATA 9.81 3.22 2.72 1.02 2.73 0.95 2.54 1.12 1.11 0.69
MOVE_DATA_EX 12.25 4.22 3.53 1.15 3.35 1.27 2.85 1.44 1.27 0.80
MOVE_TO_FLAT 12.25 4.22 3.53 1.15 3.35 1.27 2.85 1.44 1.27 0.80
MOVE_FROM_FLAT 12.25 4.22 3.53 1.15 3.35 1.27 2.85 1.44 1.27 0.80
BLKMOV_WORD 2.73 2.26 1.17 0.97 1.23 1.14 1.13 0.91 0.38 0.30
BLKMOV_DINT 3.02 2.36 1.30 1.01 1.35 1.10 1.19 0.90 0.40 0.30
BLKMOV_INT 2.71 2.26 1.16 0.97 1.21 1.13 1.11 0.88 0.37 0.30
BLKMOV_DWORD 2.97 2.31 1.28 0.99 1.33 1.08 1.19 0.87 0.40 0.29
BLKMOV_REAL 3.01 2.34 1.29 1.00 1.35 1.10 1.18 0.89 0.39 0.29
BLKMOV_UINT 2.71 2.21 1.17 0.96 1.23 1.15 1.12 0.87 0.37 0.29
DATA_INIT_ASCII 0.91 1.39 0.40 0.60 0.76 0.77 0.30 0.44 0.10 0.15
DATA_INIT_COMM 1.05 1.36 0.46 0.60 0.84 0.78 0.37 0.43 0.11 0.15
CPE030 CPE040
CPE010 CPE020 CRE02070
CRE03070 CRE04070
Disabled
Disabled
Disabled
Disabled
Disabled
Enabled
Enabled
Enabled
Enabled
Enabled
Instruction
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
DATA_INIT_DLAN 1.33 1.49 0.58 0.64 0.94 0.83 0.39 0.45 0.14 0.15
DATA_INIT_DINT 0.92 1.37 0.40 0.59 0.78 0.79 0.30 0.45 0.10 0.15
DATA_INIT_DWORD 0.98 1.39 0.41 0.60 0.79 0.81 0.32 0.45 0.11 0.15
DATA_INIT_INT 0.95 1.41 0.42 0.61 0.81 0.81 0.31 0.46 0.10 0.15
DATA_INIT_REAL 0.90 1.36 0.40 0.59 0.77 0.78 0.30 0.44 0.18 0.22
DATA_INIT_LREAL 0.98 1.33 0.42 0.57 0.79 0.78 0.36 0.48 0.11 0.16
DATA_INIT_WORD 0.90 1.41 0.40 0.61 0.78 0.79 0.30 0.44 0.10 0.15
DATA_INIT_UINT 0.90 1.37 0.39 0.59 0.78 0.79 0.31 0.46 0.10 0.15
SWAP_WORD 2.83 1.41 1.18 0.57 1.34 0.74 0.96 0.42 0.32 0.13
SWAP_DWORD 2.59 1.43 1.08 0.58 1.29 0.73 0.93 0.42 0.31 0.14
SHFR_BIT 6.35 2.94 2.74 1.27 2.92 1.22 2.37 1.08 0.79 0.36
SHFR_WORD 7.08 4.90 3.04 2.11 3.25 2.16 3.27 2.46 1.09 0.82
SHFR_DWORD 7.62 5.03 3.27 2.1 3.39 2.24 3.29 2.43 1.10 0.81
Data Table
SORT_INT 36.57 1.40 15.66 0.60 15.94 0.75 16.50 0.44 5.50 0.15
SORT_UINT 36.48 1.40 15.66 0.60 15.90 0.75 16.50 0.44 5.49 0.15
SORT_WORD 36.51 1.39 15.61 0.60 15.90 0.76 16.46 0.44 5.49 0.15
TBLRD_INT 4.14 1.75 1.79 0.77 2.03 0.97 1.52 0.73 0.49 0.25
TBLRD_DINT 4.19 1.77 1.79 0.76 2.02 0.97 1.47 0.69 0.48 0.22
TBLWRT_INT 4.06 1.74 1.73 0.74 1.72 0.84 1.59 0.74 0.53 0.25
TBLWRT_DINT 4.00 1.70 1.72 0.72 1.70 0.84 1.60 0.72 0.53 0.23
FIFORD_INT 3.92 1.69 1.68 0.71 1.67 0.72 1.58 0.66 0.53 0.22
FIFORD_DINT 3.89 1.71 1.65 0.73 1.65 0.68 1.56 0.66 0.52 0.22
FIFOWRT_INT 3.17 1.46 1.35 0.64 1.41 0.75 1.23 0.49 0.42 0.18
FIFOWRT_DINT 3.10 1.43 1.33 0.62 1.39 0.72 1.25 0.51 0.42 0.17
LIFORD_INT 3.77 1.73 1.60 0.72 1.62 0.72 1.49 0.66 0.50 0.22
LIFORD_DINT 3.77 1.74 1.60 0.72 1.63 0.72 1.48 0.66 0.49 0.22
LIFOWRT_INT 3.18 1.49 1.35 0.63 1.43 0.72 1.25 0.51 0.42 0.17
LIFOWRT_DINT 3.08 1.42 1.33 0.61 1.41 0.72 1.33 0.68 0.42 0.18
LIFOWRT_DWORD 3.15 1.47 1.35 0.63 1.43 0.72 1.25 0.53 0.41 0.18
Array
ARRAY_MOVE_BIT 4.10 2.16 1.76 0.92 1.94 1.06 1.57 0.75 0.52 0.25
ARRAY_MOVE_BYTE 3.12 1.97 1.34 0.84 1.45 0.95 1.25 0.82 0.42 0.27
ARRAY_MOVE_WORD 3.19 2.10 1.37 0.91 1.45 1.05 1.26 0.81 0.42 0.27
ARRAY_MOVE_DINT 3.10 2.04 1.33 0.85 1.41 0.97 1.24 0.81 0.41 0.2
ARRAY_MOVE_DWORD 3.07 1.97 1.32 0.84 1.42 0.95 1.24 0.81 0.42 0.27
ARRAY_MOVE_INT 3.23 2.12 1.39 0.92 1.47 1.03 1.26 0.79 0.42 0.26
ARRAY_MOVE_UINT 3.10 1.96 1.33 0.84 1.53 1.07 1.37 1.14 0.42 0.28
SRCH_BYTE 4.07 1.86 1.74 0.79 2.11 0.91 1.74 0.87 0.58 0.29
SRCH_WORD 3.90 1.86 1.70 0.82 1.83 0.91 1.90 0.83 0.63 0.27
SRCH_DWORD 4.57 1.91 1.96 0.82 1.92 0.96 1.78 0.78 0.59 0.25
CPE030 CPE040
CPE010 CPE020 CRE02070
CRE03070 CRE04070
Disabled
Disabled
Disabled
Disabled
Disabled
Enabled
Enabled
Enabled
Enabled
Enabled
Instruction
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
ARRAY_RANGE_WORD 4.14 1.89 1.80 0.81 1.90 0.96 1.70 0.69 0.57 0.23
ARRAY_RANGE_DWORD 4.61 1.88 1.99 0.80 2.06 0.97 1.70 0.65 0.57 0.22
ARRAY_RANGE_DINT 4.39 1.89 1.88 0.81 1.97 0.99 1.81 0.69 0.61 0.23
ARRAY_RANGE_INT 4.22 1.84 1.81 0.79 1.92 0.96 1.84 0.68 0.61 0.23
ARRAY_RANGE_UINT 4.44 1.82 1.76 0.78 1.91 0.96 1.68 0.66 0.56 0.22
Math
ADD_INT 2.11 1.31 0.91 0.58 0.87 0.66 1.00 0.49 0.33 0.16
ADD_DINT 2.56 1.34 1.12 0.58 0.97 0.67 0.90 0.46 0.30 0.15
ADD_REAL 2.75 1.32 1.19 0.56 0.96 0.66 0.92 0.50 0.30 0.17
ADD_LREAL 2.82 1.30 1.21 0.54 1.09 0.62 1.28 0.53 0.43 0.18
ADD_UINT 2.23 1.42 0.93 0.57 0.96 0.68 0.90 0.51 0.29 0.16
SUB_INT 2.13 1.35 0.91 0.55 0.87 0.65 0.87 0.49 0.29 0.16
SUB_DINT 2.50 1.35 1.09 0.56 0.94 0.65 0.90 0.49 0.30 0.16
SUB_REAL 2.46 1.29 1.13 0.63 1.08 0.85 1.08 0.69 0.30 0.17
SUB_LREAL 1.26 1.26 1.26 0.54 1.10 0.63 1.37 0.53 0.47 0.17
MUL_INT 2.25 1.42 0.93 0.57 0.90 0.65 0.89 0.49 0.30 0.16
MUL_DINT 2.53 1.34 1.10 0.59 0.95 0.69 1.05 0.49 0.35 0.17
MUL_MIXED 2.36 1.31 1.00 0.58 0.89 0.66 0.90 0.51 0.30 0.16
MUL_REAL 2.57 1.39 1.08 0.56 0.93 0.65 0.88 0.48 0.29 0.17
MUL_LREAL 2.87 1.21 1.24 0.52 1.19 0.61 1.28 0.54 044 0.18
MUL_UINT 2.14 1.35 0.92 0.55 0.90 0.65 0.87 0.49 0.29 0.16
DIV_INT 2.25 1.29 0.99 0.58 0.98 0.68 0.90 0.48 0.30 0.16
DIV_DINT 2.71 1.35 1.16 0.60 0.99 0.73 0.93 0.48 0.30 0.16
DIV_REAL 2.70 1.43 1.11 0.56 0.96 0.68 1.07 0.49 0.36 0.16
DIV_LREAL 2.86 1.20 1.23 0.52 1.14 0.61 1.33 0.53 0.45 0.18
DIV_MIXED 2.70 1.35 1.15 0.56 1.11 0.65 0.97 0.49 0.33 0.16
MOD_INT 2.23 1.38 0.95 0.57 0.93 0.66 0.91 0.48 0.30 0.16
MOD_DINT 2.65 1.35 1.12 0.56 1.09 0.79 1.09 0.69 0.30 0.17
MOD_UINT 2.19 1.29 1.01 0.63 0.99 0.74 0.99 0.50 0.33 0.17
ABS_INT 2.01 1.21 0.99 0.63 0.93 0.60 0.84 0.38 0.29 0.13
ABS_DINT 2.44 1.17 1.05 0.50 0.96 0.60 0.84 0.37 0.28 0.12
ABS_REAL 2.45 1.14 1.05 0.49 0.87 0.59 0.90 0.35 0.30 0.12
ABS_LREAL 2.58 1.07 1.11 0.46 0.97 0.53 0.98 0.35 0.33 0.11
SCALE_INT 3.54 1.84 1.57 0.83 1.82 0.91 1.23 0.54 0.48 0.24
SCALE_DINT 2.98 1.79 1.37 0.89 1.61 1.03 1.00 0.51 0.41 0.24
SCALE_UINT 2.89 1.78 1.27 0.81 1.39 0.98 0.98 0.5 0.40 0.25
SQRT_INT 2.39 1.13 1.05 0.50 1.08 0.57 0.99 0.35 0.32 0.12
SQRT_DINT 3.37 1.18 1.44 0.51 1.28 0.58 1.08 0.35 0.36 0.12
SQRT_REAL 2.54 1.23 1.09 0.54 0.91 0.61 0.85 0.37 0.29 0.13
SQRT_LREAL 2.36 1.09 1.00 0.46 0.92 0.53 0.99 0.32 0.34 0.12
CPE030 CPE040
CPE010 CPE020 CRE02070
CRE03070 CRE04070
Disabled
Disabled
Disabled
Disabled
Disabled
Enabled
Enabled
Enabled
Enabled
Enabled
Instruction
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
Trigonometric
SIN_REAL 3.02 1.11 1.26 0.48 0.97 0.57 0.95 0.35 0.32 0.12
SIN_LREAL 3.05 1.10 1.31 0.48 1.13 0.55 1.16 0.35 0.39 0.11
COS_REAL 2.96 1.11 1.22 0.48 0.97 0.57 1.06 0.35 0.36 0.12
COS_LREAL 2.88 1.09 1.18 0.47 1.10 0.56 1.17 0.35 0.39 0.11
TAN_REAL 3.02 1.11 1.26 0.48 1.02 0.57 0.96 0.35 0.32 0.12
TAN_LREAL 2.89 1.09 1.23 0.476 1.14 0.56 1.32 0.36 0.44 0.11
ASIN_REAL 3.29 1.20 1.41 0.52 1.26 0.63 1.13 0.35 0.38 0.12
ASIN_LREAL 3.14 10.5 1.32 0.45 1.33 0.54 1.37 0.35 0.46 0.12
ACOS_REAL 3.29 1.20 1.41 0.52 1.26 0.63 1.13 0.35 0.38 0.12
ACOS_LREAL 3.10 1.04 1.32 0.45 1.28 0.53 1.36 0.54 0.47 0.12
ATAN_REAL 3.26 1.25 1.37 0.54 1.02 0.65 1.05 0.37 0.35 0.12
ATAN_LREAL 2.87 1.04 1.20 0.46 1.08 0.53 1.18 0.35 0.40 0.12
Logarithmic
LOG_REAL 2.90 1.16 1.25 0.50 1.03 0.59 1.04 0.35 0.35 0.12
LOG_LREAL 2.88 1.03 1.21 0.43 1.11 0.52 1.19 0.38 0.39 0.12
LN_REAL 2.84 1.13 1.22 0.50 1.01 0.58 1.06 0.37 0.35 0.12
LN_LREAL 2.83 1.07 1.22 0.46 1.16 0.53 1.19 0.34 0.40 0.11
EXPT_REAL 4.13 1.41 1.77 0.63 1.52 0.72 1.39 0.40 0.46 0.13
EXPT_LREAL 3.03 1.33 1.30 0.57 1.35 0.71 1.24 0.42 0.42 0.14
EXP_REAL 2.70 1.16 1.16 0.50 0.97 0.59 1.00 0.37 0.33 0.12
EXP_LREAL 2.71 1.04 1.16 0.45 1.08 0.54 1.25 0.34 0.42 0.12
PID
PIDISA 6.92 6.18 2.98 2.66 3.17 2.79 2.66 2.44 0.89 0.81
PIDIND 6.86 6.13 2.97 2.66 3.17 2.79 2.65 2.43 0.88 0.81
Range
RANGE_INT 3.27 1.89 1.40 0.81 1.35 0.91 1.40 0.87 0.53 0.35
RANGE_DINT 3.26 1.94 1.40 0.83 1.36 0.92 1.41 0.81 0.47 0.27
RANGE_DWORD 3.40 2.02 0.87 0.87 1.46 1.01 1.42 0.82 0.47 0.27
Timers
ONDTR 4.79 3.70 2.01 1.54 2.11 1.57 1.82 1.38 0.61 0.46
OFDT 4.57 4.08 1.92 1.71 1.97 1.76 1.71 1.45 0.57 0.49
TMR 4.52 4.04 1.92 1.71 2.05 1.79 1.71 1.45 0.58 0.49
TOF 9.6 4.9 4.1 2.1 NA NA 3.9 2.0 1.3 0.6
TON 9.5 4.8 4.0 2.0 NA NA 3.9 2.0 1.3 0.6
TP 9.8 4.8 4.2 2.1 NA NA 3.9 2.0 1.3 0.6
Counters
UPCTR 4.13 4.17 1.74 1.76 1.85 1.86 1.59 1.53 0.53 0.51
DNCTR 4.16 4.18 1.73 1.75 1.84 1.86 1.54 1.53 0.52 0.51
CPE030 CPE040
CPE010 CPE020 CRE02070
CRE03070 CRE04070
Disabled
Disabled
Disabled
Disabled
Disabled
Enabled
Enabled
Enabled
Enabled
Enabled
Instruction
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
Control
JUMPN 0.21 0.26 0.06 0.06 0.12 0.09 0.12 0.08 0.04 0.03
FOR/NEXT 1.51 0.72 0.64 0.31 0.90 0.47 0.56 0.26 0.19 0.09
MCRN/ENDMCRN 0.68 0.68 0.28 0.29 0.28 0.28 0.10 0.10 0.03 0.03
Combined
SWITCH_POS 1.91 1.02 0.82 0.44 0.87 0.59 0.60 0.13 0.26 0.12
DOIO 32.78 1.45 17.60 0.63 6.50 0.76 14.94 0.23 9.374 0.15
DOIO with ALT 32.56 1.48 17.47 0.63 6.47 0.75 14.91 0.32 9.36 0.18
DRUM_SEQ 6.98 5.70 2.99 2.45 3.21 2.67 2.63 2.21 0.88 0.74
SCAN_SET_IO 55.21 1.92 32.65 0.83 33.69 0.86 30.40 0.76 22.84 0.25
SUSIO 2.14 0.45 0.92 0.20 1.12 0.35 0.68 0.06 0.30 0.05
COMMREQ 117.27 1.60 73.25 0.73 73.30 0.90 73.42 0.59 65.23 0.22
CALL/RETURN (LD) 7.27 0.51 3.11 0.23 3.58 0.42 2.79 0.06 0.99 0.05
CALL/RETURN 7.84 0.56 2.07 0.23 2.33 0.42 1.94 0.05 0.72 0.06
(Parameterized Block)
CALL/RETURN (C Block) 7.24 0.55 3.05 0.25 3.29 0.45 2.91 0.06 1.04 0.04
Bus71
BUS_RD_BYTE 21.30 2.42 10.87 1.04 1.94 1.18 8.56 1.00 5.24 0.33
BUS_RD_DWORD 21.96 2.51 11.16 1.09 2.13 1.25 8.14 1.00 5.17 0.33
BUS_RD_WORD 21.44 2.54 10.98 1.10 2.11 1.29 8.14 1.01 5.17 0.33
BUS_WRT_BYTE 23.76 2.72 11.62 1.17 3.10 1.26 9.46 0.96 5.76 0.32
BUS_WRT_DWORD 23.52 2.56 11.53 1.10 3.11 1.30 9.48 0.95 5.77 0.32
BUS_WRT_WORD 23.51 2.55 11.54 1.10 3.09 1.28 9.46 0.95 5.76 0.32
BUS_RMW_BYTE 24.44 2.78 12.97 1.19 2.41 1.37 10.28 1.12 6.58 0.37
BUS_RMW_DWORD 24.73 2.82 12.80 1.21 2.23 1.35 10.06 1.13 6.48 0.38
BUS_RMW_WORD 24.00 2.77 12.54 1.19 2.41 1.38 10.25 1.12 6.54 0.38
BUS_TS_BYTE 23.23 2.36 12.23 1.01 2.19 1.28 9.93 0.87 6.45 0.29
BUS_TS_WORD 22.98 2.31 12.14 0.99 2.06 1.15 9.96 0.91 6.5 0.28
71 Results will vary with how quickly the module responds to bus cycles. Because of this, incremental times do not appear in
the RX7i Incremental Times tables.
CPE030 CPE040
CPE010 CPE020 CRE02070
CRE03070 CRE04070
Disabled
Disabled
Disabled
Disabled
Disabled
Enabled
Enabled
Enabled
Enabled
Enabled
Instruction
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
(μs)
SVC_REQ
#1 6.40 1.20 2.75 0.52 2.78 0.79 2.10 0.1 0.77 0.10
#2 6.45 1.04 2.76 0.45 2.74 0.67 2.67 0.35 0.89 0.12
#3 4.94 1.15 2.10 0.49 2.45 0.74 1.39 0.09 0.53 0.10
#4 4.93 1.12 2.09 0.47 2.49 0.74 1.42 0.08 0.54 0.10
#5 4.99 1.19 2.12 0.50 2.49 0.77 1.44 0.10 0.55 0.10
#6 4.62 1.12 1.96 0.47 1.97 0.74 1.46 0.13 0.55 0.11
#7 8.81 1.17 3.67 0.51 3.72 0.78 3.30 0.34 1.05 0.10
#8 7.08 1.07 3.82 0.46 4.00 0.66 3.92 0.34 2.53 0.12
#9 4.12 1.06 1.76 0.46 1.95 0.66 1.83 0.32 0.60 0.11
#10 6.81 1.10 3.02 0.45 3.04 0.67 2.71 0.35 0.91 0.12
#11 4.26 1.12 1.84 0.48 1.90 0.68 1.82 0.34 0.61 0.11
#12 2.25 1.01 0.97 0.44 1.12 0.66 1.02 0.33 0.34 0.11
#13 4.55 1.24 1.96 0.51 2.78 0.75 1.32 0.08 0.51 0.09
#14 424.95 1.16 188.07 0.48 203.10 0.76 197.46 0.09 71.70 0.10
#15 3.18 1.14 1.38 0.49 1.25 0.51 0.94 0.49 0.31 0.16
#16 4.57 1.20 1.94 0.52 2.06 0.70 1.71 0.35 0.57 0.12
#17 2.94 1.13 1.24 0.49 NA NA 1.27 0.32 035 0.04
#18 112.36 1.18 48.09 0.51 48.20 0.69 69.36 0.33 23.12 0.11
#19 4.61 1.19 1.97 0.51 2.71 0.66 1.51 0.33 0.50 0.11
#20 18.92 1.19 8.09 0.51 7.58 0.65 7.69 0.33 2.56 0.11
#21 36.19 1.23 18.15 0.52 17.77 0.66 13.29 0.32 7.15 0.18
#22 2.86 1.23 1.23 0.53 1.28 0.63 1.19 0.36 0.39 0.12
#23 119.63 1.19 51.22 0.52 54.68 0.65 54.33 0.33 18.01 0.11
#24 150.79 1.17 77.38 0.51 1.26 0.65 58.55 0.32 34.67 0.11
#25 3.03 1.21 1.30 0.52 1.25 0.66 1.30 0.35 0.43 0.121
#26 NA NA NA NA 3.20 2.85 NA NA NA NA
2.65 2.13 0.88 0.71
#27 NA NA NA NA 3.42 2.85 NA NA NA NA
2.90 2.16 0.97 0.72
#28 NA NA NA NA 3.19 2.86 NA NA NA NA
3.30 2.17 1.18 0.73
#32 54.47 1.21 48.97 0.50 NA NA 47.36 0.30 45.12 0.12
NA NA NA NA
#43 NA NA NA NA 3.53 2.91 NA NA NA NA
2.93 2.11 0.98 0.70
#50 4.48 1.18 1.90 0.51 1.92 0.63 1.76 0.33 0.59 0.11
#51 4.60 1.13 1.98 0.49 1.9 0.64 2.27 0.80 0.59 0.10
#56 82.65 1.23 42.66 0.52 44.03 0.78 29.75 0.32 10.26 0.11
#57 19331.60 1.21 19017.30 0.52 18848.20 0.78 13585 0.32 13540 0.11
CPE030/ CPE040/
Instruction CPE010 CPE020 CRE020
CRE030 CRE040
Data Move
MOVE_BIT 0.01958 0.00821 0.00813 0.00919 0.00307
MOVE_DINT 0.04398 0.01884 0.01943 0.0157 0.00533
MOVE_INT 0.02002 0.00833 0.00863 0.00694 0.00231
MOVE_DWORD 0.04447 0.01904 0.0193 0.01584 0.00528
MOVE_LREAL 0.08989 0.03854 0.03878 0.03242 0.01083
MOVE_UINT 0.02 0.01 0.02 0.03 0.01
MOVE_WORD 0.02046 0.00876 0.00839 0.00704 0.00234
MOVE_REAL 0.04464 0.01914 0.01946 0.01572 0.00523
MOVE_DATA 0.00021 0.00015 0.00015 -0.0002 7.2E-05
MOVE_DATA_EX 0.0011 6.9E-05 6.9E-05 3.2E-05 2.1E-05
DATA_INIT_ASCII 0.01057 0.00459 0.00844 0.00686 0.00101
DATA_INIT_COMM 0.01982 0.00851 0.01724 0.01381 0.00229
DATA_INIT_DLAN 0 0 0 0 0
DATA_INIT_DINT 0.04034 0.01713 0.00878 0.00754 0.00464
DATA_INIT_DWORD 0.04032 0.01728 0.0084 0.00649 0.00461
DATA_INIT_INT 0.01952 0.00837 0.01714 0.01392 0.00253
DATA_INIT_REAL 0.03997 0.01711 0 0 0.00453
DATA_INIT_LREAL 0.08051 0.03457 0.03434 0.02621 0.00902
DATA_INIT_WORD 0.02071 0.00888 0.01718 0.01343 0.0025
DATA_INIT_UINT 0.01971 0.00844 0.00849 0.00732 0.00226
SWAP_WORD 0.18858 0.08076 0.08082 0.07672 0.02551
SWAP_DWORD 0.15904 0.06834 0.06833 0.0613 0.0204
BLKCLR 0.02528 0.01094 0.01097 0.0101 0.00334
SHFR_BIT 0.04324 0.01827 0.01867 0.02013 0.00666
SHFR_WORD 0.16054 0.06598 0.06848 0.07023 0.0251
SHFR_DWORD 0.19577 0.08384 0.08263 0.08009 0.02663
Data Table
SORT_INT 0.74431 0.31843 0.31607 0.37118 0.12369
SORT_UINT 0.74589 0.31942 0.317 0.3717 0.12383
SORT_WORD 0.74476 0.31838 0.31632 0.37082 0.12369
TBLRD_INT 0.00096 -0.0001 -9E-05 -0.0005 -0.0002
TBLRD_DINT -0.0002 -0.0001 0.00016 -0.0001 -9E-05
TBLWRT_INT 0.00048 0.00018 0.00023 1.1E-05 -4E-05
TBLWRT_DINT -0.0009 -0.0004 -0.0003 -0.0002 -6E-05
FIFORD_INT 0.1939 0.00816 0.00866 0.00698 0.00234
FIFORD_DINT 0.04449 0.01866 0.0188 0.01529 0.00511
FIFOWRT_INT 0.00058 0.00047 0.00046 -3E-05 -1E-05
FIFOWRT_DINT -0.0007 -0.0003 -0.0004 0 -1E-05
LIFORD_INT 0.00022 0.00031 0.00042 -7E-05 1.1E-05
LIFORD_DINT 0.00087 0.00037 0.00044 0.00027 8.9E-05
LIFOWRT_INT 0.00037 0.00041 0.00042 0.00011 6.7E-05
LIFOWRT_DINT -0.0006 -0.0003 -0.0003 0.00019 0
LIFOWRT_DWORD 0.00101 0.00029 0.00028 -0.0002 -7E-05
CPE030/ CPE040/
Instruction CPE010 CPE020 CRE020
CRE030 CRE040
Array
ARRAY_MOVE_BIT 0.01967 0.00841 0.00863 0.00914 0.00304
ARRAY_MOVE_BYTE 0.00957 0.00387 0.00379 0.00358 0.00119
ARRAY_MOVE_INT 0.02002 0.00857 0.00857 0.0067 0.00223
ARRAY_MOVE_DINT 0.04762 0.02019 0.02021 0.0164 0.00547
ARRAY_MOVE_WORD 0.02063 0.00883 0.00878 0.00643 0.00211
ARRAY_MOVE_DWORD 0.04489 0.01922 0.01913 0.01529 0.00511
ARRAY_MOVE_UINT 0.02014 0.00863 0.00922 0.00687 0.00231
SRCH_BYTE 0.07277 0.03143 0.03112 0.03001 0.0101
SRCH_WORD 0.07492 0.03186 0.03177 0.02826 0.0094
SRCH_DWORD 0.06664 0.02854 0.02841 0.02641 0.00882
ARRAY_RANGE_DINT 0.5422 0.232 0.23221 0.23434 0.07808
ARRAY_RANGE_INT 0.51968 0.22242 0.22204 0.22419 0.07467
ARRAY_RANGE_UINT 0.51902 0.22204 0.22200 0.22429 0.07492
ARRAY_RANGE_WORD 0.52001 0.22294 0.22249 0.2255 0.07511
ARRAY_RANGE_DWORD 0.55802 0.23898 0.23903 0.23764 0.07917
CPU315
180 176
CPU32072
CPE330
CPE400
CPE020
182 180
CRE020
RX7i73
CPE030
169 165
CRE030
CPE040
77.4 74.8
CRE040
The following diagram shows the differences between the full sweep phases and the base sweep
phases.
Base Sweep vs. Full Sweep Phases
Base Sweep Full Sweep
<START OF SWEEP> <START OF SWEEP>
Sweep Housekeeping Sweep Housekeeping
NULL Input Scan 74 Input Scan 74
Program Logic Execution EGD Consumption Scan 75
NULL Output Scan 74 Program Logic Execution
Output Scan 74
EGD Production Scans 75
Poll for Missing I/O Modules 76
Controller Communications Window
Backplane Communications Window
<END OF SWEEP> <END OF SWEEP>
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.
RX3i RX7i
Sweep CPU315
Description CPE020 CPE030 CPE040
Impact Item CPU310 CPU320 CPE330 CPE010
CRE020 CRE030 CRE0400
(µs) CRU320 (µs) (µs)
(µs) (µs) (µs)
(µs)
The time required to open the
Programmer Window but not
process any requests. The
Programmer
programmer is attached 2.9 0.2 1.95 0.21 0.2 0.2
window
through an Ethernet
connection; no reference
values are being monitored.
The sweep impact to refresh
the reference table screen.
(The %R table was used as
the example.) Mixed table
Reference display impacts are slightly
table larger. The sweep impact 4.9 0.29 1.2 0.33 0.26 0.29
monitor 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
Editor for a logic screen containing
4.1 0.31 1.41 0.35 0.31 0.31
monitor one contact, two coils, and
eleven registers. As with the
reference table sweep
impact, the impact may not
be continuous.
Exchange Overhead
Exchange overhead includes the setup time for each exchange that will be transferred during the
sweep. When computing the sweep impact, include overhead time for each exchange.
Note: The exchange overhead times in the table below were measured for a test-case scenario of
1400 bytes over 100 variables.
EGD Exchange Overhead Time
Embedded Ethernet
Rack-based Ethernet Module
Interface
(µs)
(µs)
CPE305/CPE310/CPE330 Consume / READ —77 —78
Produce / WRITE —77 —
CPU310/NIU001 Consume / READ NA 233.6
Produce / WRITE NA 480.6
CPU315/CPU320 Consume / READ NA 100.0
Produce / WRITE NA 195.1
CPE010 Consume / READ 184.3 238.2
Produce / WRITE 342.0 452.0
CPE020 Consume / READ 87.7 117.8
Produce / WRITE 187.9 257.5
CPE030 Consume / READ 85.1 114.1
Produce / WRITE 191.8 253.5
CPE040 Consume / READ 35.08 47.12
Produce / WRITE 75.16 103.0
77 EGD Class 1 for this CPU type requires RX3i CPE310/CPE305 Firmware Release 8.30 or later. Prior to that, EGD was only
possible in RX3i via the ETM001 module. Refer to the section A-3.6.
78 Performance data not available for this release.
79 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.
Embedded Rack-based
CPU Data Size (Bytes) Direction Ethernet Ethernet Module
Interface (µ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 _
A-3.6 EGD Sweep Impact for Embedded Ethernet Interface on RX3i CPE
Models
Each EGD production or consumption will take about 200 µs regardless of size of exchange. For
Produced Exchanges on the embedded port you can think of it as a timed interrupt block that takes
200µs duration to execute each time it is triggered. For Consumed Exchanges on the embedded port
you can think of it as an I/O interrupt block that takes 200µs duration to execute each time the
remote unit sends an exchange and it is received on the embedded port.
It is important to note that this 200µs per exchange is not a simple ‘sweep impact’ time, rather per
execution of that exchange time, and depending on sweep time length and production period it may
occur more than one time per sweep.
Users configuring systems with EGD on an embedded Ethernet port should take care to make sure
that production and consumption time on the embedded Ethernet port is accounted for.
EGD Sweep impact for RX3i CPE305/310/330 Embedded Ethernet Interface:
The impact of EGD Exchanges configured on Embedded Ethernet Interface of RX3i CPE305/310 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
𝑊𝑑𝑡_𝑚𝑠
𝑊𝑑𝑡_𝑚𝑠 – Watchdog time configured in ms
𝑃𝑒𝑟𝑖𝑜𝑑_𝑚𝑠𝑛 – 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)
Note: The higher percentage of this parameter indicates that the EGD on Embedded Ethernet
interface could have a greater impact on CPU applications.
* Note: The previous table shows the value of Production Period (ms). Note that the Consumption
Timeout is set as twice the Production Period on the other consuming CPE310 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 of 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 CPE305/310.
3. It is advisable to limit the number of EGD exchanges or EGD load on Embedded Ethernet
Interface of the CPE305/310, and use higher periods while defining the system and
configuration, and take into account the sweep load for minimizing EGD sweep impact.
Dropped Interrupts
When multiple interrupts are triggered during the interrupt latency period, it is possible that interrupt
blocks will only be executed one time even though the interrupt trigger has occurred more than
once. The likelihood of this occurring will increase if the system interrupt latency has increased due to
the specific configuration and use of the system.
This will not cause the CPU to miss a given interrupt; just consolidate the number of times an
interrupt block is executed even though the interrupt stimulus had occurred more than one time.
Interrupt Trigger
Interrupt
Logic
Suspended
Higher-priority event
MAIN RACK
Sweep Calculations (in µS)
Predicted Sweep = Base Sweep + I/O Scan Impact