SOP PLC Message Instructions

From PTAGISWiki

Jump to: navigation, search
image:PTAGIS_Logo.JPEG
Standard Operating Procedure
Subject:
SOP PLC Message Instructions
Author:
Troy Humphrey
Approved by:
S.Livingston 12/22/08

Contents

Objective

The objective of this SOP is to give the user guidelines in regards to setting up PLC message instructions for different configurations that may be encountered at any given site.

Scope

The scope of this SOP is limited to the PLC configurable parameters. The end units that the PLC may communicate with are not covered in this SOP. The parameters set in this SOP can cause adverse affects to the overall data collection scheme so great caution should be used when carrying out any part of this procedure!

Responsibilities

PSMFC Kennewick staff will be responsible for all PLC programming.


Overview

There are 3 possible configurations that may occur in the near future with the migration to M4. This procedure covers what is currently in place in the field and 2 possible new configurations.

Current PLC to Multimon Configuration

image:current communications mm_plc.jpg
Current Multimon to PLC / PLC to HMIs configuration



SLC 5/05 PLC to M4 via Ethernet/HMI's via DH485

image:m4 Ethernet to PLC with data highway.jpg
Future M4 to PLC / PLC to HMIs configuration



SLC 5/05 PLC to Multimon or M4 via RS232/HMI's via Ethernet

image:m4 rs232 to plc with ethernet hmis.jpg
Possible in-term configuration M4 or Multimon to PLC / PLC to Ethernet HMIs

Procedure

Current Configuration

This is how the PLC is currently configured to send messages to Multimon and to communicate to the HMIs via the Data Highway.

Passtru Link ID

  1. From the project window on the left hand side double click on Channel Configurations under the Controller folder.


Channel Configuration General Tab
Channel Configuration General Tab


  • The General Tap will appear on top.
  • Verify that the Passthru Link ID (dec) parameters match for each channel.
  • Typically set to 1 for each channel.



Channel Configuration for Channel 0

  1. Channel 0 is 9 pin channel
  2. From the project window on the left hand side double click on Channel Configurations under the Controller folder.
  3. Click on the Chan. 0 - System tab
  4. Ensure that the the parameters match the following graphic.
    • Ensure that the 'Source ID' is 9 or matches the 'Local Node Addr (dec): on the Message Instruction Setup page which is typically set to 9.


Channel Configuration Chan. O - System Tab DF1 Communications
Channel Configuration Chan. O - System Tab DF1 Communications


Channel Configuration for Channel 1

  1. Channel 1 has a RJ45 jack and is a DH485 channel.
  2. From the project window on the left hand side double click on Channel Configuration under the Controller folder.
  3. Click on the Chan. 1 - System tab
  4. Ensure that the the parameters match the following graphic.


Channel Configuration Chan. 1 - System Tab DH485 Communications
Channel Configuration Chan. 1 - System Tab DH485 Communications



Message Instruction

  1. Navigate to the Message Instruction rung.
    • Typically towards the end of the program.
  2. Ensure that the parameters match the following graphic.


Message Instruction Multimon to PLC via RS232
Message Instruction Multimon to PLC via RS232



Message Instruction Setup

  1. Double click on the 'Setup Screen' at the bottom of the Message Instruction.
  2. Ensure that the parameters match the settings in the following graphic.


Message Instruction Setup Multimon to PLC via RS232
Message Instruction Setup Multimon to PLC via RS232



M4 to PLC / PLC to current HMIs Configuration

This configuration will be used with M4. The platform and PLC will communicate via Ethernet and the existing HMIs will stay in place and communicate with the PLC via DH485 on CH0.

Check the Passtru Link ID

  1. From the project window on the left hand side double click on Channel Configurations under the Controller folder.


Channel Configuration General Tab
Channel Configuration General Tab


  • The General Tap will appear on top.
  • Verify that the Passthru Link ID (dec) parameters match for each channel.
  • Typically set to 1 for each channel.



Channel Configuration for Channel 0

  1. Channel 0 is 9 pin channel
  2. From the project window on the left hand side double click on Channel Configurations under the Controller folder.
  3. Click on the Chan. 0 - System tab
  4. Ensure that the the parameters match the following graphic.
    • You can adjust the 'Max Node Address:' up to 31 but the lower the number the less nodes the PLC has to poll.


Channel Configuration Chan. O - System Tab DH485 Communications
Channel Configuration Chan. O - System Tab DH485 Communications

NOTE: It is very important that the processor name of the 5/05 matches the 5/03 that it replaced. The HMIs will not communicate properly if the processor name is wrong.

Channel Configuration for Channel 1

  1. Channel 1 has a RJ45 jack and is a Ethernet channel.
  2. From the project window on the left hand side double click on Channel Configurations under the Controller folder.
  3. Click on the Chan. 1 - System tab
  4. Ensure that the the parameters match the following graphic.
    • Ensure that the SNMP Server Enable is not checked if the PLC is to reside on a COE network.


Channel Configuration Chan. 1 - System Tab Ethernet Communications
Channel Configuration Chan. 1 - System Tab Ethernet Communications



Message Instruction

  1. Navigate to the Message Instruction rung.
    • Typically towards the end of the program.
  2. Ensure that the parameters match the following graphic.


Message Instruction Multimon to PLC via RS232
Message Instruction - M4 to PLC via Ethernet



Message Instruction Setup

  1. Double click on the 'Setup Screen' at the bottom of the Message Instruction.
  2. Ensure that the parameters match the settings in the following graphic.


Message Instruction Setup Multimon to PLC via RS232
Message Instruction Setup - M4 to PLC via Ethernet

  • Enter the IP address of the M4 machine the message instruction will be sent to.

NOTE: Testing has to be done to determine if a offset will be required.

M4 or Multimon to PLC / PLC to Ethernet HMIs Configuration

This configuration could be used if needed. The PLC would communicate to the Multimon or M4 via RS232 and new Ethernet capable HMIs would be installed in the field. This would eliminate the Data Highway and allow for sharper more detailed graphics but potentially slower speed between the platform and the PLC.

Check the Passtru Link ID

  1. From the project window on the left hand side double click on Channel Configurations under the Controller folder.


Channel Configuration General Tab
Channel Configuration General Tab


  • The General Tap will appear on top.
  • Verify that the Passthru Link ID (dec) parameters match for each channel.
  • Typically set to 1 for each channel.



Channel Configuration for Channel 0

  1. Channel 0 is 9 pin channel
  2. From the project window on the left hand side double click on Channel Configurations under the Controller folder.
  3. Click on the Chan. 0 - System tab
  4. Ensure that the the parameters match the following graphic.


Channel Configuration Chan. O - System Tab DF1 Communications
Channel Configuration Chan. O - System Tab DF1 Communications


Channel Configuration for Channel 1

  1. Channel 1 has a RJ45 jack and is a Ethernet channel.
  2. From the project window on the left hand side double click on Channel Configurations under the Controller folder.
  3. Click on the Chan. 1 - System tab
  4. Ensure that the the parameters match the following graphic.


Channel Configuration Chan. 1 - System Tab



Message Instruction

  1. Navigate to the Message Instruction rung.
    • Typically towards the end of the program.
  2. Ensure that the parameters match the following graphic.


Message Instruction Multimon to PLC via RS232
Message Instruction - Multimon to PLC via RS232



Message Instruction Setup

  1. Double click on the 'Setup Screen' at the bottom of the Message Instruction.
  2. Ensure that the parameters match the settings in the following graphic.


Message Instruction Setup Multimon to PLC via RS232
Message Instruction Setup - Multimon to PLC via RS232

References


Contact PSMFC at (509) 735-2773

Name Extension
Don Warf 1
Scott Livingston 2
Darren Chase 3
Alan Brower 4
Troy Humphrey 5
Personal tools