Omniflex Maxiflex P3 M1260E User Manual

Process automation controller cpu
Table of Contents

Advertisement

Quick Links

Maxiflex P3
Process Automation Controller CPU
User's Manual

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Maxiflex P3 M1260E and is the answer not in the manual?

Questions and answers

Summary of Contents for Omniflex Maxiflex P3 M1260E

  • Page 1 Maxiflex P3 Process Automation Controller CPU User’s Manual...
  • Page 2 Upped the CPU versions due to TSM functionality February 2019 Previous version showed markup SOFTWARE COPY AVAILABLE This manual is available in printed form or in Adobe Acrobat pdf format. The pdf file is named UMM126XR18.pdf Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 3 COPYRIGHT AND PROTECTIVE NOTICES The Copyright of this document and the associated drawings, is the property of Omniflex and is issued on condition that it is not copied, reprinted or reproduced or transmitted in any form or by any means, electronically, photocopying, mechanical or otherwise, nor its contents disclosed, either wholly or in part, without the consent in writing of, or in accordance with the conditions of a contract with Omniflex.
  • Page 4 Remote I/O systems “out of the box” without programming. For local control and data manipulation, the Maxiflex P3 & A3 PAC CPU’s can be programmed in one or more of the standard IEC61131-3 programming languages using the powerful Omniflex ISaGraf Programmer’s Workbench.
  • Page 5 The MAXIFLEX P3-R CPU’s are designed specifically for redundant remote I/O and control applications, where high availability is required in hot standby configurations. Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 6: Table Of Contents

    M1104A – DC LF - 48Vdc Logic/Field Power Supply ........... 38 M1151C – AC LF - 115/230Vac Logic/Field Power Supply .......... 39 M1152B – AC LC - 115/230Vac Logic Power Supply/Charger........39 Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 7 Configuring the Serial Port from Omniset ..............74 11.10 Configuring the Ethernet Network Port ................ 76 12. Programming the P3 CPU ....................78 12.1 Introduction to IEC61131-3 Programming ..............78 12.2 Programming the Maxiflex P3 CPU ................79 Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 8 12.3 Installing the Omniflex ISaGraf Application Workbench for the Maxiflex P3 CPU..79 12.4 Setting up the Application Workbench for the Maxiflex P3 CPU........80 12.5 Creating I/O Connections .................... 82 12.6 Programming with the DIT ................... 86 12.7...
  • Page 9 Table 11.2: Conet Port Address switch settings (M1261D P3c) ............ 68 Table 13.1: Action List by Operating Mode – Primary Controller ..........103 Table 13.2: Action List by Operating Mode – Secondary Controller ..........104 Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 10 Table 14.1: Remote I/O Module Address Switch Settings ............105 Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 11: Glossary Of Terms

    Ethernet using the Conet/e or Modbus/TCP protocols (available only on the M1267B P3e-R CPU) Inputs and Outputs The I/O of a system is the electrical interface to Input and Output electrical signals in the system. Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 12 When the Primary Controller fails, the Secondary Controller will assume control automatically. You may write a User application in any of the IEC61131 programming languages using the Omniflex ISaGraf Workbench and download it to the Primary Controller. Process Automation Controller...
  • Page 13 Subscription Service The subscription service is a common method employed in many Omniflex products to efficiently replicate data between nodes on a network. A block of data in a DIT is replicated in another product DIT across the network by simply configuring a “subscription”.
  • Page 14 TCP/IP identifies itself to the TCP/IP protocol suite by one or more ports. A port is a 16-bit number, used by the host-to-host protocol to identify to which higher-level protocol or application program (process) it must deliver incoming messages. Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 15: General Description Of The P3 & A3 Cpu's

    BATT SERIAL Rx Green SERIAL Tx NETWORK Rx Yellow NETWORK Tx NETWORK TOKEN Green NET LINK Green NET 100 Yellow SYNC LINK Green SYNC 100 Yellow Table 2.1: Front Panel LED Indicators Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 16: Communication Ports

    Microsoft Windows compatible PC, Laptop or Handheld computer. This port is compatible with the Omniset configuration utility, and the Omniflex ISaGraf Programmer’s Workbench. 2.2.2 Serial Port All P3 CPU’s are equipped with a serial port that can be used to connect to other serial devices.
  • Page 17: I/O Module Support

    This function is responsible for the automatically scanning of conventional I/O modules (IOM’s) installed on the Maxiflex base, reading input data and placing it in the DIT, and writing data from the DIT to the output modules. Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 18 M1760/1 32SOE module or by user programs written specially for the purpose. Once stored in the queue, PC based clients such as the Omniflex Conet OPC Server are able to poll this queue over the network and extract the queued events for analysis.
  • Page 19  Direct access to I/O modules in the system through the program I/O  Direct access to all Data Interchange Tables in the system.  Remotely programmable through any of the ports configured for the Conet protocol. Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 20: Cpu's And The Maxiflex Architecture

    CPU with their own “co-processors”. Every Intelligent module also has its own Data Interchange Table (DIT). The size of this DIT depends upon the type of intelligent module, but the lowest 2000 registers of this Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 21 Most NIM’s are user programmable, so that custom protocols or data manipulation algorithms may be written for the NIM and executed in the NIM to remove processing overhead from the P3 CPU. Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 22: Figure 3.1 P3 Cpu System Architecture

    Figure 3.1 P3 CPU System Architecture Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 23: Installing The Cpu

    With power removed from the CPU, the battery life will be significantly reduced if the DIT battery backup link is installed, due to the extra consumption of the DIT memory. Therefore only connect the link if this feature is required. Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 24: Installing The Cpu On The Maxiflex Base

    Figure 4.2: Layout of the 7I/O Master Base 4.4 Connecting the Programming port (all models) Connect the P3/A3 CPU to a standard PC compatible serial port using the OMNIFLEX supplied standard programming cable (Part Number M1831A supplied separately). If another cable is to be used, the following connections will apply:...
  • Page 25: Connecting The Conet/C Network Port

    The watchdog relay output contact terminals are located below the Programming Port inside the front door of the CPU module. These terminals provide a potential-free contact output that will be closed (watch-dog relay energised) while power is on and the CPU is operating normally. Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 26: Applying Power For The First Time

    OFF – Ethernet Network not connected or setup incorrectly FLASH OFF – There is activity on the network segment ON – The network is operating at 100Mbit/s. NET 100 YELLOW OFF – The network is operating at 10Mbit/s. Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 27: Table 4.4 Front Panel Led Indicator Functions Explained

    Table 4.4 Front Panel LED Indicator Functions Explained NOTE: On Power up, all LED indicators will light for a few seconds during CPU initialisation. Thereafter, the indicators will resume their normal operation as per the table above. Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 28: I/O Module Management & Scanning Explained

    This configuration is done in the Omniflex ISaGraf Programmer’s Workbench before downloading the User Program to the P3 PAC CPU. This module status is also continuously monitored while the program is running.
  • Page 29: Automatic I/O Scanning

    It is not necessary to have a User Program installed in the P3 CPU for the I/O data to be accessible by a SCADA/DCS system connected to one of the network ports. User Programs are only required if you wish to perform some local control or internal data manipulation. Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 30: The Data Interchange Table Explained

    43,999 Address: No. of 30,000 5,499 2,000 2,000 2,000 2,000 2,000 2,000 2,000 Registers Table 6.1: DIT Address Map of the P3 CPU and Master Rack in Extended DIT Address Mode 1 Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 31: Cpu Dynamic Data Space (0-29,999)

    0. To find the CPU’s DIT Address for of the first 2,000 (or 4000) DIT registers in an intelligent module as reflected in the CPU DIT, simply add the DIT register number Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 32: Cpu Configuration (Static) Data Space (60,000-65,499)

    In addition to the allocated configuration data in this Static Data space, there is an area available for the user to store application specific configuration that will remain fixed for the life of the application. Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 33: Dit Access To I/O Module Data

    2. The Module Configuration Data for I/O modules in Remote Racks is stored in the R2c I/O Scanner on the remote rack. This information is still configured through the main P3 PAC CPU. Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 34: Table 6.5- I/O Dit Address Map For P3 & A3 Cpus Local I/O Rack

    12000 16000 20000 24000 28000 32000 36000 40000 44000 48000 52000 56000 60000 Config. No of Registers Table 6.6- I/O DIT Address Map for P3 & A3 CPUs Remote I/O Rack 1 Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 35: Table 6.7- I/O Dit Address Map For P3 & A3 Cpus Remote I/O Rack 2

    12000 16000 20000 24000 28000 32000 36000 40000 44000 48000 52000 56000 60000 Config. No of Registers Table 6.8- I/O DIT Address Map for P3 & A3 CPUs Remote I/O Rack 3 Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 36: Table 6.9- I/O Dit Address Map For P3 & A3 Cpus Remote I/O Rack 4

    12000 16000 20000 24000 28000 32000 36000 40000 44000 48000 52000 56000 60000 Config. No of Registers Table 6.10- I/O DIT Address Map for P3 & A3 CPUs Remote I/O Rack 5 Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 37: Table 6.11- I/O Dit Address Map For P3 & A3 Cpus Remote I/O Rack 6

    12000 16000 20000 24000 28000 32000 36000 40000 44000 48000 52000 56000 60000 Config. No of Registers Table 6.12- I/O DIT Address Map for P3 & A3 CPUs Remote I/O Rack 7 Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 38: I/O Module Dit Register Reference

    7.3 M1104A – DC LF - 48Vdc Logic/Field Power Supply No Data Spaces are used by this module This module has no data readable in the DIT. Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 39: M1151C - Ac Lf - 115/230Vac Logic/Field Power Supply

    All other Data Spaces are unused by this module Example: Input 6 of an M1321A module installed in Local Slot 3 can be read from DIT Address 5012, Bit 5. Refer to Error! Reference source not found.. Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 40: M1322A - 16Di - 16 Way Digital Input Module (9-30Vdc) M1323A - 16Di - 16 Way Digital Input Module (18-60Vdc)

    Input 32 = Bit 15 (MSB) All other Data Spaces are unused by this module Example: Input 28 of an M1326A module installed in Local Slot 12 can be read from DIT Address 5049, Bit 11. Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 41: M1330A - 8Di8Ro 8Way Digital Input /8 Way Relay Output Module

    Output 16 = Bit 15 (MSB) All other Data Spaces are unused by this module Example: Output 3 of an M1341B module installed in Slot 4 can be energised by writing to DIT Address 4516, Bit 2 Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 42: M1342A - 32Do - 32Way Digital Output Module

    All other Data Spaces are unused by this module Example: Output 1 of an M1372A module installed in Local Slot 1 can be energised by writing to DIT Address 4504, Bit 0. Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 43: M1403A - 16Ai - 16Way Analogue Input Module

    All other Data Spaces are unused by this module Example: To set Output 3 of an M1412A module installed in Local Slot 6 to 12mA, write the value 5000 to the DIT register 598 based on a range of 4-20mA. Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 44: M1431B - 8Vc Iso - 8 Way Isolated Voltage/Current Input Module

    Bit 13: Input 6 Configuration Corrupted Bit 6: Input 5 Incorrect Input Type Bit 14: Input 6 Incorrect Input Type Bit 7: Unused (will read as 0) Bit 15: Unused (will read as 0) Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 45 26 – 29 Configuration Registers Reserved (set to 0) Input 1 High-High Limit (set in display format) Input 1 High Limit Input 1 Low Limit Input 1 Low-Low Limit Input 1 Deadband Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 46 Input 5 Resistor Value in ohms (for current inputs only) Input 6 Resistor Value in ohms (for current inputs only) Input 7 Resistor Value in ohms (for current inputs only) Input 8 Resistor Value in ohms (for current inputs only) Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 47: M1432C - 8Tc Iso - 8 Way Isolated Thermocouple/Millivolt Input Module

    Bit 5: Input 5 Configuration Corrupted Bit 13: Input 6 Configuration Corrupted Bit 6: Input 5 Incorrect Input Type Bit 14: Input 6 Incorrect Input Type Bit 7: Input Burnout Bit 15: Input Burnout Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 48 Bit = 0: All temperature Inputs read as a signed integer representing tenths of degrees C (e.g. 1000 = 100.0 degrees C) Bit = 1: All temperature inputs read as signed integer representing tenths of degrees F Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 49 Input 6 High Limit Input 6 Low Limit Input 6 Low-Low Limit Input 6 Deadband Input 7 High-High Limit Input 7 High Limit Input 7 Low Limit Input 7 Low-Low Limit Input 7 Deadband Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 50: M1433B - 6Rtd Iso - 6 Way Isolated Resistance Bulb Input Module

    Bit 13: Input 6 Configuration Corrupted Bit 6: Input 5 Incorrect Input Type Bit 14: Input 6 Incorrect Input Type Bit 7: Unused (will read as 0) Bit 15: Unused (will read as 0) Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 51 Input 3 High Limit Input 3 Low Limit Input 3 Low-Low Limit Input 3 Deadband Input 4 High-High Limit Input 4 High Limit Input 4 Low Limit Input 4 Low-Low Limit Input 4 Deadband Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 52: M1760A - 32Soe - 32 Way Sequence Of Events Input Module - 24V Input M1761A - 32Soe - 32 Way Sequence Of Events Input Module - 48V Input

    Inhibit Input 6 = Bit 5 Inhibit Input 14 = Bit 13 Inhibit Input 7 = Bit 6 Inhibit Input 15 = Bit 14 Inhibit Input 8 = Bit 7 Inhibit Input 16 = Bit 15 (MSB) Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 53 Input 20 On Delay Time Input 21 On Delay Time Input 22 On Delay Time Input 23 On Delay Time Input 24 On Delay Time Input 25 On Delay Time Input 26 On Delay Time Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 54 Input 31 Off Delay Time Input 32 Off Delay Time Chatter Time Queue Head Type Example: Input 29 of an M1760A module installed in Local Slot 12 can be read from DIT Address 5049, Bit 12. Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 55: The Subscription Service Explained

    1. Only one message is required on the network for a data update as opposed to two in a Request/Reply polling method. This reduces network overhead allowing more data throughput on the network. Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 56 The “sink” node then automatically manages the subscription including sending the requests to the data source, and managing errors in the process. Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 57: Number Of Subscriptions Allowed

    In other words, each P3 CPU can act as data sink for 64 subscriptions, and data source for 16 subscriptions simultaneously. 8.4 Subscription Application Example Refer to the diagram of a simple network below: Node Address 2 Node Address 5 Node 2 subscribes to data from Node 5 CONET Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 58: Table 8.2 Subscription Block Data Example

    Subscription Status DIT register. If this bit is clear then the subscription is operating successfully. If this bit is set, then the subscription has failed and received data is not valid, or the subscription has not been correctly set. Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 59: Queue Service Explained

    Date and Time of the event and a queue record is created that is then sent to the Queue Service in the P3 CPU. The SCADA system, by means of the Omniflex Conet OPC Server, is able to retrieve these events from the Queue Service for analysis at the SCADA.
  • Page 60: Modbus Master Operation Explained

    DIT table, which is easily achieved from the local application program or remotely through any of the network ports. This remote device could, for example, be a PC running a SCADA application or another Omniflex device. Data throughput can be controlled by setting the Update Times for Cyclic queries on a per query basis.
  • Page 61 This feature is extremely useful in overcoming spurious transmission line interference as it allows the driver to recover a lost query before flagging an error. The error is flagged only if all retry attempts have failed. Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 62: Query Configuration

    The Modbus Slave address to whom this query is sent. Modbus Function 1, 2, 3, 4, 5, 6, 15 The Modbus function to be performed needs to be and 16 specified here. Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 63: Query Triggers

    The query trigger mechanism can be tested by setting the One-shot query bits using the "Modbus Master Query Triggers" group in Omniset. Please refer to the detailed DIT layout for more information. Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 64: Status Dit Registers

    Modbus function in response doesn’t match function in query 1002 1003 Received different number of coils/registers to what expected 1004 Invalid response to write query (functions 5,6,15 and 16) 65535 Invalid Configuration Table 10.2 Modbus Master Query Error Codes Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 65: Configuring The P3 Cpu

    The P3 CPU can be programmed in any of the IEC61131-3 programming languages using the Omniflex ISaGraf Programmer’s Workbench. Refer to the separate Omniflex ISaGraf Programmer’s Workbench User Guide for information on programming the P3 CPU in the IEC61131 programming languages.
  • Page 66: Table 11.1: Serial Port Address Switch Settings

    Set both Switch 7 and 8 OFF to use internal software settings, set using Omniset. If either switch is on, then the internal software settings will be ignored. Table 11.1: Serial Port Address switch settings Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 67: Setting The Conet/C Network Port Address Switch

    The Conet/c Port selection switch is located on the left, inside the front door of the CPU (under the Conet DB9 connector). Use this switch to configure the Node address of the CPU on the Conet network and the desired CONET baud-rate (Normal or Slow). Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 68: Preparing The Omniset Configuration Software To Configure The P3 Cpu

    DIT, using any software capable of writing to the DIT registers of the CPU. The full DIT register layout is available separately from Omniflex Technical Support, or it can be found in the Product Template File, viewed with Omniset.
  • Page 69: Figure 11.2: Location Of Programming Port

    “Options”->”Port Settings…” menu. (Omniset Pro uses a different method of communicating, via the CONET server. See the help supplied with Omniset Pro for further information to configure Omniset Pro for your computer.) Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 70: Synchronise Omniset And The P3 Cpu

    11.5 Synchronise Omniset and the P3 CPU Your configuration data is stored in three places: 1. In the Omniset Configuration Program (held in memory on your computer while Omniset is running). Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 71: Configuring The Programming Port

    2. Select the required module type in each Slot in the Rack. This port is permanently configured for the Conet/s protocol (operating at 19,200 baud, 8 data bits, no parity, and 1 stop bit.) Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 72 Status bits in the overall system status register will be set to 0 (shown as “OK” below). If any of the modules do not match, then this bit will be set to 1. Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 73: Configuring The Real-Time Clock

    To set the real-time clock, write the current time and date to the relevant Data Items in this Data Group. The clock will run immediately from this new time when it is written to the CPU. Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 74: Configuring The Serial Port From Omniset

    This same Modbus Mapping is applicable to both the Modbus protocol used through the serial port of all CPU types, and the Modbus/TCP protocol used through the Ethernet port of the P3e CPU equipped with Ethernet. Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 75: Figure 11.4: Configuring Modbus Master Queries

    It is necessary to configure some general parameters that control the polling regime required in the "Modbus Master" group. The required Modbus Master Queries can be setup for polling Modbus Slave devices. As shown in the figure above. Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 76: Configuring The Ethernet Network Port

    To use either of these protocols with the P3e CPU requires only the setting of the IP address and the Node Address in the CPU, and the same addresses in the supervisory system. Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 77: Figure 11.5: Setting Ethernet Ip Address Etc. In Omniset

    Both Modbus and Conet/e are assigned TCP Port numbers. These can be changed if required, but this is not normally necessary. Do not change the default values unless you have a reason to do so. Changing these values can cause network access to fail. Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 78: Programming The P3 Cpu

    • Structured Text (ST) A high level textual language that encourages structured programming. It has a language structure (syntax) that strongly resembles PASCAL and supports a wide Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 79: Programming The Maxiflex P3 Cpu

    Full instructions on the use of the Application Workbench are available in a separate manual. This manual is restricted to instructions specific to the Maxiflex P3 CPU. 12.3 Installing the Omniflex ISaGraf Application Workbench for the Maxiflex P3 CPU. The Omniflex ISaGraf Application Workbench installs together with the Omniset Pro configuration utility.
  • Page 80: Setting Up The Application Workbench For The Maxiflex P3 Cpu

    COM port you selected when installing the ISaGraf Workbench: An IP Address is only required if communicating using Conet/e over Ethernet. Select “Local CPU” to connect with this CPU over any of the ports. Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 81 Fill in a program, select a language, and then press OK. The program will appear in the project window To open a program, select the program in the window and then select File Open, Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 82: Creating I/O Connections

    Slot Numbers in this dialogue box: ISaGraf Local Remote Remote Remote Remote Remote Remote Remote Slot No. Slot No. Slot No. Slot No. Slot No Slot No Slot No Slot No Slot No Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 83 ISaGraf Local Remote Remote Remote Remote Remote Remote Remote Slot No. Slot No. Slot No. Slot No. Slot No Slot No Slot No Slot No Slot No Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 84 ISaGraf Local Remote Remote Remote Remote Remote Remote Remote Slot No. Slot No. Slot No. Slot No. Slot No Slot No Slot No Slot No Slot No Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 85 Input/Output type, or “Equipments” to display all Maxiflex Modules with multiple Input/Output types. You can view more information about each module using the “Note” button. 6. Select the desired Maxiflex module and press “Ok” to insert the module in the current slot. Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 86: Programming With The Dit

    The 16-bit value read from the DIT Register Description: Use this function to read an integer from a local DIT register. This function cannot be used to access the extended DIT Range Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 87 Use this function to read a BIT from a local DIT register as a Boolean. This function cannot be used to access the extended DIT Range. (Use the MxDIT_CPY function to copy extended DIT’s to/from an unused local DIT area). Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 88 DIT n = Most significant word DIT n +1 = Least significant word This function cannot be used to access the extended DIT Range. 12.6.1.6. DITWRD - Write a double word to the DIT Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 89 Description Integer The DIT Register Address at which to write the double word. DVAL Integer The 32-bit double word to be written, in reverse word order, to register 'DIT' and 'DIT +1' Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 90 Use this function to write a 32-bit IEEE floating point real number to a local DIT register. NOTE: the word order in the real number written to DIT register n is as follows: Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 91 NOTE: the word order in the real number written to DIT register n is as follows: DIT n = Least significant word DIT n +1 = Most significant word This function cannot be used to access the extended DIT Range. Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 92 This function cannot be used to access the extended DIT Range. 12.6.1.15. DITRDM - Read a message from the DIT Arguments: Name In/Out Type Description Integer The DIT Register Address from which the message will be read. Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 93 If LEN is an odd number then the number of DIT’s written equals LEN/2+1 This function cannot be used to access the extended DIT Range. 12.6.1.17. IOBYTERD - Read a byte from an I/O Module Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 94 Name In/Out Type Description OFFSET Integer Word offset in the memory map of the module. SLOT Integer I/O slot where the module is installed. Integer Value of word (0 - 65535) Description: Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 95 See the Descriptive Note attached to these modules for more detailed information. 12.6.2.1. MxDIT_DI Use this Virtual I/O Module to read the 16 bits of a single local DIT register as 16 Boolean inputs. Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 96 12.6.2.2. MxDIT_DO Use this Virtual I/O Module to write 16 Boolean outputs to the individual bits of a single local DIT register. Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 97 12.6.2.3. MxDIT_AI Use this Virtual I/O Module to read 8 integers from a contiguous block of 8 local DIT Registers. Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 98 DIT extended address space from/to the local CPU address space, from where it can be accessed by the program using the DIT read and write function blocks (see section 12.6.1). Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 99: Maxiflex P3 Cpu Specific Function Blocks

    Workbench, some additional Function Blocks (such as Auto-tuning PID control blocks) are available for the Maxiflex P3 CPU. Details of these function blocks can be found in the separate Function Block Application Notes distributed with these function blocks. See your Omniflex distributor for availability. Maxiflex P3 PAC User Manual -© Omniflex...
  • Page 100: Constructing A Redundant Controller System

    “safe” or “dangerous”. High Availability systems are only concerned with certain component failures, and their affect on the performance of the system, in an attempt to increase the combined system MTBF to acceptable levels. Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 101: Redundant System Architecture Overview

    “safety related systems” as defined in IEC61508 or equivalent. Omniflex makes no claim regarding the ability of the system to fail to a safe state, and cannot be held liable for consequential loss resulting from the failure of any component or system supplied by Omniflex.
  • Page 102: Operating Modes Of The Dual Redundant System

    H A R D W A R E F A IL U R E ) F A IL U R E M O D E Figure 13.2: Operating Modes of Primary Controller Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 103: Figure 13.3: Operating Mode Of Secondary Controller

    F A IL U R E M O D E Figure 13.3: Operating Mode of Secondary Controller Table 2 below shows the actions performed by the Secondary Controllers during its various operating modes. Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 104: Table 13.2: Action List By Operating Mode - Secondary Controller

    This is accomplished by setting a “Force change-over” flag in the Primary Controller while in the Active state. This can be done from the supervisory system. Clearing this flag will cause the primary to resume control. Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 105: Steps To Set Up A Redundant Controller System

    Observe the LED activity on the Primary Controller RIO NIM and the R2c CPU’s in the remote racks. The Token LED should be flashing steadily and there should be activity on the Tx and Rx LED’s at least once every second. Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 106: Step 5: Configure Primary Controller

    14.6 Step 6: Test I/O Access from Primary Controller From Omniset, view the status of I/O from every I/O rack ensuring that the status is properly indicated in the relevant Omniset group Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 107: Step 7: Save The Primary Controller Configuration

    Controller, by performing a “Write All” function in Omniset. 14.12 Step 12: Test I/O Access from Secondary Controller Check the I/O Status in the secondary controller as you did in step 14.6 for the primary controller. Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 108: Step 13: Check Active And Standby Status Of The Redundant System

    1. Plug the programming cable into the Primary Controller’s Prog Port 2. Confirm that the Primary is Active, and the Secondary is in Standby: 3. Change “Force Primary Failure” from False to True. Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 109 NOTE: If you leave the Force flag set, it will time out after about five minutes and automatically clear. If the primary is in standby, then it will resume control from the secondary controller. Maxiflex P3 PAC User Manual -© Omniflex UMM126XR18.pdf...
  • Page 110: Maintenance

    15.1 Battery Type The P3 CPU is equipped with an internal plug-in Lithium Battery. This battery is a type CR2032 Lithium Battery. This battery can be obtained from Omniflex by specifying Part Number 3.5701.001 The Battery is used only during power outages to maintain the real-time clock, and (optionally) the internal RAM memory.

Table of Contents