Topic: P192

P3-550/P3-550E CPU Module Configuration

Description

The P3-550(E) CPU is configured using the setup tools found in the Hardware Configuration window. First select the Local Base Group from the Hardware Configuration window by double left-clicking the Local Base Group or by right-clicking the Local Base Group and selecting Open from the drop down menu as seen below.


Then select the P3-550(E) by double left-clicking the CPU or by right-clicking the CPU and selecting Open from the drop down list. This will display the P3-550(E) configuration window.

Options Tab Configuration

  1. Ethernet Ports Tab: Click on this Tab to go to the Ethernet Ports Configuration dialog.
  2. Remote Access Tab: Click on this Tab to go to the Remote Access Configuration dialog.
  3. Serial Ports Tab: Click on this Tab to go to the Serial Ports Configuration dialog.
  4. CPU Battery Alarm (Enable/Disable): Enables or Disables the Low Battery Voltage Alarm.
  5. Display Name: Allows the entry of a unique Name for the CPU front panel LCD display, which can be selected in the LCD Display Page instruction.

  6. Scroll among display pages every: Allows the entry of a value in Seconds from 1 to 10 to determine the Scroll Rate when using multiple Pages on the LCD display.

USB Drive

  1. Enable project transfer to/from USB drive: Provides the option to Enable Project Transfer To a USB Drive or From a USB Drive.

Note: Before transferring a project to the CPU via USB pen drive, ensure that you are NOT connected with the programming software either by USB or Ethernet. If you attempt the transfer with the software connected via USB or Ethernet, a CPUCON Error will occur and an error message will appear on the LCD of the P3-550(E).


Note: P Series CPUs ONLY support up to a 32GB FAT formatted USB pen drive (P3 Series) or MicroSD card (P2 Series).

  1. Enter a 4-digit password:  Allows the entry of  a Password to protect the Project Transfer To/From the USB Drive.
  2. Maximum Scan Interval: Sets the value for a Watchdog Timer that will trigger a Maximum Scan Interval Internal tag if the Preset Time is exceeded.
  3. Retentive Value Update Rate: User defined Tags that are set as Retentive will be Saved at the Periodic Rate specified here.
  4. RS-232 Heartbeat Timeout Bit: Allows the ladder logic in the CPU to know if a device has stopped communicating to the CPU.  The RS-232 Heartbeat Timeout Bit will become true if the RS-232 Comm Heartbeat Value of the Serial Ports configuration is exceeded, but only when the CPU ports are being used as a slave device. The CPU monitors the time between the communications from the master device and enables the Bit if a communication packet fails to be received by the CPU within the specified time.
  5. RS-232 Port Buffer Full Bit (95% Full):  A Boolean Tag can be assigned to this field and then used in the ladder code to indicate when communications are almost maxed out on this Port.  When the Port becomes 95% full, the Bit becomes true (value of 1).
  6. RS-232 Port Ready Bit: Indicates when the RS-232 Port is ready to be used for communications to other devices. RS-232 Port Ready Bit will become momentarily false during a stop mode transfer of the programing software.
  7. RS-485 Heartbeat Timeout Bit: Allows the ladder logic in the CPU to know if a device has stopped communicating to the CPU.  The RS-485 Heartbeat Timeout Bit will become True, but only when the CPU ports are being used as a slave device. The CPU monitors the time between the communications from the master device and enables the Bit if a communication packet fails to be received by the CPU within the specified time.
  8. RS-485 Port Buffer Full Bit (95%):  A Boolean Tag can be assigned to this field and then used in the ladder code to indicate when communications are almost maxed out on this Port.  When the Port becomes 95% full, the Bit becomes True (value of 1).
  9. RS-485 Port Ready Bit: Indicates when the RS-485 Port is ready to be used for communications to other devices. RS-485 Port Ready Bit will become momentarily false during a stop mode transfer of the programing software.
  10. Ethernet Heartbeat Timeout Bit: Becomes True if the Ethernet Comm Heartbeat Value of the Ethernet Ports configuration is exceeded, but only when the CPU ports are being used as a slave device. The CPU monitors the time between the communications from the master device and enables the Bit if a communication packet fails to be received by the CPU within the specified time.
  11. Ethernet Port Buffer Full Bit (95% Full): Becomes True if the External Ethernet Port Buffer is 95% full. A Boolean Tag can be assigned to this field and used in the ladder code to indicate when communications are almost maxed out on this Port. Instructions which use the Port Buffer Output Queues: MRX/MWX, RX/WX, GSR/GSW, DWX, AOUT, CPO.

Note: MST bits correlating to any Buffer Full Bit (95% Full) correspond to the queue of instruction data that was executed but is still waiting to be transmitted out of a port. Each Serial port can buffer 100 instructions, and the local Ethernet port can buffer 1000 instructions. The 95% Bit is not related to the number of bytes waiting, but instead to the number of instructions that have data waiting.

  1. Ethernet Port Ready Bit: Indicates when the Ethernet Port is ready to be used for communications to other devices. Ethernet Port Ready Bit will become momentarily False during a stop mode transfer of the programing software .

  2. Monitor: Displays the window shown below with options for adding tags to Data View.

  1. Module Info: Click on this button to open a window that displays information about the specific Module.  A sample of the Online Module Information is shown below.


Ethernet Ports Configuration


  1. Options Tab: Click on this Tab to go to the Options dialog.
  2. Remote Access Tab: Click on this Tab to go to the Remote Access Configuration dialog.
  3. Serial Ports Tab: Click on this Tab to go to the Serial Ports Configuration dialog.

External Ethernet Port

  1. Port Name: Allows the entry of a unique Name for the External Ethernet Port.  This Name is referenced in the Communications instructions (MRX, MWX, RX, WX).
  2. Port Security Option: Can be used as a simple Security measure to prevent Modbus TCP write requests from being accepted by the C. To allow Reads and Writes select Read/Write.
  3. TCP/IP Settings:The IP Setting of this Port may be changed in several ways:
  1. Use Current Settings: When selected, Project Transfer or boot up will not make changes to the TCP/IP Settings of the CPU.
  2. Use DHCP: This specifies that the CPU should request its IP Settings from a DHCP Server on the network.

Note: If the CPU is set to "use DHCP" for its IP Settinn> it cannot, in all likelihood, be used as a Modbus TCP Server since most industrial Modbus TCP Clients are targeting a fixed IP address. If the CPU is set to DHCP, its IP address may change on any given day and the Modbus TCP Client will not be able to target it.  

Note: Selecting Show Current Settings and DHCP= No, this indicates the CPU could not find an available DHCP server. A default address of 10.10.10.10 will be assigned if no available server is found.  

Note: Only after a power cycle will the CPU begin to search for an available DHCP server.

  1. Use The Following: If this Optin> is selected, the CPU will set itself to the specified project Settings upon Project Transfer or at boot up.
  2. IP Address: Specify the IP Address in Four Octets.
    For Example:  192.168.1.5

Note: Entering an IP Address reserved for specific functions will cause an error dialog box to be displayed upon project compile.

Note: This address range is restricted for only Remote I/O supported by a Productivity CPU.

  1. Subnet Mask: Specified in Four Octets (i.e., 255.255.255.0 ) and used in conjunction with the IP Address to configure a Logical Network.
  2. Default Gateway: This field is where the Default Gateway Address is specified in Four Octets (i.e., 192.168.1.1).  This is typically the IP Address of the router on the network.  If a target IP Address is specified in an outgoing message from the CPU that is not in the Local Subnet, the Default Gateway Address is where this message will be sent.
  3. A DNS (Domain Name Service) Server contains a database of public IP addresses and their associated host names and translates those common names to IP addresses. For example, a DNS server translates “www.automationdirect.com” to the IP address 205.151.114.26. A Preferred and Alternate DNS address can be configured for redundancy.

Note: Other names for a DNS server include name server, nameserver, and domain name system server.

  1. Preferred DNS Server IP Address: the IP Address of the first DNS server to contact for resolving the Name to an IP Address.
  2. Alternate DNS Server IP Address: the IP Address of an alternate DNS server to contact if the preferred DNS server cannot resolve the Name to an IP Address.
  3. Timeout Between Data Query and Response: The Time period between the queries sent from the CPU (via a Communication instruction, such as a MRX, MWX, RX or WX, and GS Drives) and the Time a response from that device is received.  If the Response takes longer to receive (or is not received) than the specified Time period, a Timeout Error will occur for the given instruction.  Each instruction has a Timeout Status bit that can be assigned to it.  See the diagram shown below.

  1. Modbus TCP Port: The listening TCP Port Number for Modbus TCP connections.  If necessary, this value can be adjusted for advanced router access.  In most situations, this Number should be left at 502
  2. .Comm Heartbeat Value:  If a communication packet fails to be received by the CPU within the specified time period, the System Bit Ethernet Heartbeat Timeout Bit will become true. If a value is placed in this field, the CPU will start a timer between each communication packet coming into the CPU. This feature allows the ladder logic in the CPU to know if a device has stopped communicating to the CPU.

Local Ethernet Port (Remote I/O)

  1. Timeout Between Data Query and Response: The Tin> period between the queries sent from the CPU (for Remote I/O Nodes and the Tin> a Response from that device is Received.  If the Response takes longer to receive (or is not received) than the specified Time period, a Timeout Error will occur for the given device and an Error will be generated in the Error Log.  For P3-RS/P3-RX Timeouts, the Error will be critical or non-critical, dependent on the Hot-Swap settings for that unit, its I/O Modules and P3-EX Bases.  See diagram shown above.
  2. Comm. Heartbeat Value: Specifies how long the Remote I/O Slaves should wait for a communication packet from the CPU.  If a communication packet is not received from the CPU within the specified time period, all outputs on the Remote Slave will be turned OFF.

Remote Access Configuration

  1. Options Tab: Click on this Tab to go to the Options dialog.
  2. Ethernet Ports Tab: Click on this Tab to go to the Ethernet Ports Configuration dialog.
  3. Serial Ports Tab: Click on this Tab to go to the Serial Ports Configuration dialog.
  4. Web Server Function: Allows the ability to make a non secure web connection to the CPU in order to access the USB pen drive and view read-only system tags. When enabled, a port number selection is required.
    1. Port: (Default 80) Allows user to set a port number ranging from 1-65535.
  5. Session Timeout: Allows the user to set a specific time limit (1-20 mins.) on inactivity that will close the Web Server connection. If there is no activity between the PC and the Web Server for the specified time limit, the connection will close.

  6. Mobile Function: Enables Remote Access which allows the CPU Data Remote Monitor App to monitor the selected tags.
  7. Password Option: Allows the user to set a password for Remote Access using the CPU Data App or access to the Web Server.

    • Enter an account name and password of up to a combination of 20 numbers and characters (can include special characters).

Serial Ports Configuration

There are two Serial Ports on the P3-550(E).  There is an RS-232 Port with an RJ-n> connector and a 2-wire RS-485 Port with a removable three pin terminal block.  Both Ports are capable of Modbus RTU Client (device that initiates communications requests) and Server (device that responds to communications requests) communications.  They are also capable of ASCII outgoing strings and incoming strings.


When the Serial Ports Tab is selected, the Serial Ports settings are displayed as shown below.


  1. Options Tab: Click on this Tab to go to the Options dialog.
  2. Ethernet Ports Tab: Click on this Tab to go to the Ethernet Ports Configuration dialog.
  3. Remote Access Tab: Click on this Tab to go to the Remote Access Configuration dialog.
  4. Port Name: Allows the entry of a unique Name for the RS-232 and RS-485 Ports.  This name is referenced inside of the Communications instructions (MRX, MWX, RX, WX) and ASCII instructions (AIN, AOUT, CPO, CPI) to select the Port to send or receive the request.
  5. Port Security: Can be used as a simple Security measure to preventModbus RTU write requests from being accepted by the CPU. To allow Reads and Writes, select Read/Write.
  6. Protocol: Determines whether the Port is used for Modbus RTU communications, sending or receiving ASCII Strings or performing the Custom Protocol function.
  7. Baud Rate: Choose from a drop-down list of available Baud Rates (1200, 2400, 9600, 19200, 33600, 38400, 57600, and 115000). All devices communicating on the network must be set to the same Baud Rate.
  8. Node Address: This field can be set from 1 to 247 and is used to uniquely identify the CPU on the network, only when the CPU is a Modbus RTU Server device. This setting is sometimes referred to as a Station Address.
  9. Parity: Used for simple, low-level Error Detection. All devices on the network must be at the same Parity setting. Valid selections are None, Even, and Odd..
  10. Data Bits: Determines whether the communications packet uses Seven Data Bin> or Eight Data pan>.  Eight Dat/span> is the only valid selection for Modbus RTU.  Either Sevn> or Eight Data Bits can be selected when using ASCII communications.  Set this field to match the device that is connected to the CPU.
  11. Stop Bits: Determines whether the communications packet uses One or Two Stop Bits.  Set this field to match the device that is connected to the CPU.
  12. Duplex Mode: In ASCII/Custom Protocol mode, Half Duplex or Full Duplex can be chosen.
    • Half Duplex: When selected, the Serial Port can either transmit or receive, but not both at the same time.
    • Full Duplex: When selected, allows the Serial Port to transmit and receive simultaneously (Only available in ASCII/Custom Protocol).

  13. RTS Mode: Set the RTS mode to control the Request To Send signal out of the Serial port.



  • On: Make the RTS signal ON all the time.

  • Off: Make the RTS signal OFF all the time.

  1. RTS Off Delay Time (RS-232 Only): The amount of Time between the end of the data transmission to when the RTS signal is turned off.  The diagram below illustrates this.  This setting may be needed when using media converters (RS-232 to RS-422/485 converters) and/or radio modems.  A delay may be needed at the end of the data transmission for processing time in the device.

  1. RTS On Delay Time (RS-232 Only): The amount of Time between when the RTS Signal is turned ON and the data transmission begins.  The diagram below illustrates this. This setting may be needed when using media converters (RS-232 to RS-485 converters) and/or radio modems.  A delay may be needed after the assertion of the RTS Signal and when the data transmission begins for processing time in the device.


  1. Timeout Between Query and Response: The allowable Time between when a query is sent from the CPU (via a Communication instruction, such as an MRX, MWX, RX, or WX) and when a Response from that device is Received, before a Timeout Error will occur for the given instruction.  Each instruction has a Timeout Status bit that can be assigned to it.

  1. Modbus Character Timeout: The Time between two bytes (or characters) within a given Modbus Message.  The Modbus RTU specification states that this time must be no more than 1.5 Character Times (real time based on Baud Rate).  Sometimes delays do occur between bytes when using radio modems, media converters, etc.  This setting allows some tolerance in these situations for the incoming Modbus Messages in the CPU.  The CPU will wait for the amount of time specified in this field before discarding the incomplete packet.  If the CPU does not receive the remainder of the Message within the specified TimeFrame, it will discard the first portion of the Message and wait for a new Message.

  1. Response/Request Delay (RS-485 Only):  Used when the CPU is a Modbus RTU Server or Client on the RS-485 Port.

The total Response Time can be up to the Total CPU Scan Time + the Value specified in this field. When using 2-wire communications, sometimes Echoes can occur since both devices use the same differential signal pair to send and receive.

  1. Comm Heartbeat Value: If a value is placed in this field, the CPU will set the System Bit RS-232 Heartbeat Timeout Bit or RS-485 Heartbeat Timeout Bit to True, if a communication packet fails to be received by the CPU within the specified Time period. This feature allows the ladder logic in the CPU to know if a device has stopped communicating to the CPU.