Easy Arc Integration into a Simatic S7-300 Process Control System

Similar documents
Deutschmann Module Unigate. CL-Profibus DP. Modbus - Profibus DP Programmer s Manual

Deutschmann Module Unigate. CL-Profibus DP. Modbus - Profibus DP Programmer s Manual

CONDUCELL 4USF ARC SENSORS. Operating Instructions

VISIFERM DO ARC SENSORS. Operating Instructions

Data sheet VIPA CPU 115DP (115-6BL22)

ORP Arc Sensors. Modbus RTU Programmer s Manual. Firmware version: ERXUM031. ORP Arc Sensors Modbus RTU Programmer s Manual (ERXUM031)

Arc Module SU ph. Modbus RTU Programmer s Manual. Firmware version: EPHUM070. Arc Module SU ph Modbus RTU Programmer s Manual (EPHUM070)

INTEGRATED SYSTEMS AND CONTROL, INC. User s Hardware Manual. PCMNET V 7. xx

FEATURES DESCRIPTION FEATURES

Data sheet CPU 115 (115-6BL02)

Intech Micro 2300-A8VI analogue input station MODBUS RTU slave application supplementary manual.

LVX Control Unit. Features:

Product Specification for SAB-S-MODBUS

INTRINSICALLY SAFE INSTRUMENTATION FOR HAZARDOUS AREAS

Data sheet CC 03, Commander Compact (603-1CC21)

MPI-DN, MPI-D MULTICHANNEL ELECTRONIC RECORDER for HART or RS-485/ MODBUS RTU SENSORS

Central processing units CPU 221, CPU 222, CPU 224, CPU 224 XP, CPU 224 XPsi, CPU 226

Intech Micro 2300-RO4 analogue input station MODBUS RTU slave application supplementary manual.

Intech Micro 2300-RTD6 analogue input station MODBUS RTU slave application supplementary manual.

4.8 Expansion Module MAC00-FS1/FS4

Data sheet CPU 013C (013-CCF0R00)

DCT 531. Industrial Pressure Transmitter with RS485 Modbus RTU. Stainless Steel Sensor

ECL150/ECL150e. Eddy-Current Displacement Sensor INSTRUCTION MANUAL. Measurement Systems from LION PRECISION

CPU ONE PLC PLC USER S MANUAL

ACORN User Guide For Revision (Aka Acorn_rev3) Updated 1/23/17

P-SERIES INCLINOMETER

115S Serial I/O Module User Manual

USER MANUAL FOR FIOA-0402-U-16

Data sheet VIPA CPU M13C (M13-CCF0000)

Centroid ACORN CNC controller Specification and Use Guide Updated 8/3/17. Overview

The information in this chapter will enable you to:

0.25m long cable directly out of the sensor. Blue laser line (405nm) for (semi-) transparent, red-hot glowing and organic materials

WI-I/O 9 Multi I/O Units

Specification Sheet (Ref XXXXXX)

Data sheet CPU 315SB/DPM (315-2AG12)

Commander compact. Commander compact Lines displays. System SLIO. System 100V. Lines displays Commander compact 603-1CC CC21.

SmartBlock I/O Module HE579MIX577/977 Isolated 4/8 Analog Inputs 2/4 Analog Outputs

MODBUS/TCP TO SIEMENS G110/G120/MM440 APPLICATION

NF760 Batch Controller

Structure and Function

INTMOD485-LH Protocol Converter

RTU560 Connections and Settings DIN Rail RTU 560CIG10

General information. Supply voltage

Data sheet CPU 315SN/NET (315-4NE12)

Data sheet CPU 315SN/NET (315-4NE12)

Intrinsic Safety Control Drawing

Submittal Data Sheet WAGO Node for itm

FULMATIC 7 SILVER SERIES PLC PLC USER S MANUAL

8 Channel Analog Input Module Datasheet. Address / Baud rate / range configurable by the user

D-100 FLOW DISPLAY MODBUS Network Interface Installation Guide

Data sheet VIPA CPU 214PG (214-2BE03)

TP32MTT.03 TP32MTT [ GB ] Probes for soil thermal profile measurement

System description SLIO

Digital Proportional Power Plug

RK-A CONTACTLESS MAGNETOSTRICTIVE LINEAR POSITION TRANSDUCER

Data sheet VIPA CPU 214NET PG (214-2BT13)

MODBUS PLUS TO SIEMENS G110/G120/MM440 APPLICATION

Supply voltage. Input current. Encoder supply. Memory

1.5 axis motion controller

SmartBlock I/O Module HE579MIX102 Isolated 6 Relay, 12 DC Inputs, 4 Analog Inputs

Product type designation. General information. Supply voltage. Input current

Analog Input and Output Options for Syringe Pumps

Write Message to Trendview recorder via Modbus. Dan Weise, Lesman Instrument Co rev2a

Data sheet CPU 015PN (015-CEFPR01)

Allows full two way communication from any USB or RS232 port to an SPI device.

Display. Supply voltage. Input current. Encoder supply. Output current. Power losses. Memory

GPIO CONFIGURATION. Screen Touch-Pads <LOCAL RACK> Selects the GPIO in the Local Rack (16 GPIO channels).

Product type designation. General information. Supply voltage

Combining Today s Best Technologies. For Tomorrow s Break Through Discoveries. Feedback Versions Analog Sin/Cos. Control Modes.

(see also technical drawings) Width with inlay

Dupline. Data Logger. Types G , G Product Description. Ordering Key G Type Selection. Input/Output Specifications

4.7 Expansion Module MAC00-FS1/FS4

Product Information on the Manual

Laboratory automation

PRELIMINARY MANUAL. DC8-50-V3 Current measurement system

EL731 PROFIBUS INTERFACE

In-Sight 7010C/7200C/7400C

SmartMod DC Digital Input Module HE359DIM610 12/24VDC Negative Logic

General information. Engineering with. Supply voltage. Load voltage L+ Input current. Power losses. Memory. Work memory.

General information. Display. Supply voltage. Input current. Encoder supply. Output current

Counting ramp SP User s manual.

ADC7520 SERIES. 1600W Battery Chargers and Power Supplies

ICP DAS. ICP DAS 2015 M2M WLAN Wireless Solutions

HRM-0800 Instruction Manual

SIMATIC S PRICE LIST

MiniAmp. Electronics & Software. Miniature Charge Amplifier. Type 5030A...

The SilverNugget is a servo controller/driver for NEMA 17 & 23 frame microstep motors.

ICF-1150 Series Quick Installation Guide

Enercept H8035/H8036 Modbus Energy Meter Networked kw/kwh Transducers

GE Fanuc IC694ALG221. Rx3i PacSystem

Technical Documentation

GSV-1A4 M12/2 M12/2. Highlights

MP211 HARDWARE MANUAL

Ver. 01. FnIO S-Series. Integrated Systems for the Speed and Quality

ICF-1150 Series Quick Installation Guide

RS-FS-N01 Wind speed transmitter user's Guide (485type)

TECHNICAL NOTE TNOI38

Data sheet CPU 315SN/PN ECO (315-4PN33)

Oldham OLCT 200 Revision 1

D7000 SERIES MODBUS TCP/IP ETHERNET INTERFACE MODULES

Transcription:

Easy Arc Integration into a Simatic S7-300 Process Control System Quick Guide An Introduction on how to Integrate a Hamilton Sensor successfully into a PCS

Table of Contents Table of Contents 1 Introduction... 4 1.1 Hardware used in this project... 4 1.2 Electrical schematic... 5 2 Electrical connection... 6 2.1 VP 8 Pin Designation... 6 2.2 Analog 4-20mA interface... 6 2.2.1 Circuit arrangement with a passive analog input module... 7 2.3 Digital RS-485 interface... 9 2.3.1 Modbus Master (RTU) driver installation... 9 2.3.2 Hardware configuration... 10 2.3.3 Modbus programming examples... 13 2.3.4 Read data from sensor... 14 2.3.5 Write data to sensor... 15 2.3.6 Data conversion ASCII... 16 2.3.7 Data conversion Float and Integer... 17 2.3.8 4-20 ma Scale... 17 3 Electrical connection to Arc Wi 2G Adapter... 18 3.1 M12 (A coded) Pin Designation with respect to Hamilton M12 Sensor Cable... 18 3.2 Circuit arrangement with a passive analog input module... 19 3.3 Circuit arrangement with an active analog input module... 20 Easy Electrical Connection and Programming to a Simatic S7-300 PCS 3

Introduction 1 Introduction Hamilton Arc and VisiFerm DO sensors provide both standard analog (4-20 ma) and digital Modbus interfaces. These are built into each sensor and are supported directly from the sensor head. Hamilton Arc and VisiFerm DO sensors generate a 4-20 ma signal in a three-wire configuration parallel to the Modbus interface. The sensor`s 4-20 ma interface enables direct connection to control units or PCS with analog I/O. In this demo case there are two Arc sensors connected to a Simatic S7-315 PCS. This is setup within a small case that can be used for mobile demonstrations and trainings. To program the process control system the Simatc Step 7 V5.5 development environment is used with an extra software module for Modbus RTU programming. The specific programming code for the demo case can be found on the Process Analytics Engineering Documentation DVD P/N:238999-4636. 1.1 Hardware used in this project The following Components are used in the Demo Case PCS CPU Simatic S7-315: CPU 315 RS 485 Modul Simatic CP 341 RS-422/485 Analog Input Modul Simatic SM 331 8x 16 bit Type. 4-20 ma passive 6ES7331-7NF00-0AB0 (galvanically isolated) Analog Input Modul Simatic SM 331 8x 16 bit Type. 4-20 ma active 6AG1331-7KB02-2AB0 (galvanically isolated) Power Supply Simatic PS 307 Display Simatic Basic Touch Panel 15 Sensors Hamilton Arc Sensors, Hamilton Arc Wi 2G Adapter

Introduction 1.2 Electrical schematic Panel Arc Sensor Ethernet PE D C G H B A GND +24 VDC Power Supply PS 307 PE IN 230 VAC N L1 + OUT 24 VDC 4-20 ma Three Wire Connection PLC - Simatic S7 300 CPU 315 Ethernet + PE GND +24 VDC ModBus A ModBus B 4-20mA RS485 Modul CP 341 - RS-422/485 + 4 11 6 D-SUB Analog-Input Modul AI 8 x 16 bit 6ES7331-7NF00-0AB0 CH0 Analog-Input Modul AI 8 x 16 bit 6AG1331-7KB02-2AB0 CH0 + Passive ma galvanically isolated Active 1 8 ma R galvanically isolated 22 2 3 23 4 5 4-20 ma Four Wire Connection PE GND +24 VDC 4-20mA + 4-20mA 4 3 1 2 Arc Wi 2G Adapter M12 male connector 1 4 PE 2 3 Arc Wi 2G Adapter Arc Sensor Easy Electrical Connection and Programming to a Simatic S7-300 PCS 5

2 Electrical connection All Hamilton Arc sensors come with a digital RS-485 and one or two analog (4-20 ma) interfaces. The digital RS485 interface enables communication in order to: perform measurements, calibrate the sensor and to change the sensor s configuration parameters. 2.1 VP 8 PIN Designation To connect a Hamilton Arc Sensor it is required to only use the Hamilton Sensor Cable VP 8.0. Pin Function Cable color code B 4-20mA interface #1 shield coax black C Power supply +24VDC cora coax red-transparent D Ground shield coax red G RS-485 (A) yellow wire H RS-485 (B) brown wire 2.2 Analog 4-20mA interface Hamilton Arc sensor analog interfaces are implemented as a current sink, therefore have to be externally powered. ATTENTION! The Arc sensor has no internal galvanic isolator like the Arc Wi 2G Adapter. Accordingly, it is recommended to use a galvanic isolated analog input module. Or else an external galvanic isolation module should be installed between the sensor and the analog input module in order to have a safe electrical environment.

ATTENTION! The analog signal from the sensor is a Pulse-With-Modulation (PWM) of 5 khz (VisiFerm DO) / 3.5kHz (Arc Sensors). Without setting a filter, the measurement values will tend to fluctuate. It is recommended to filter the signal with a rate less than 100Hz measurement. Settings on the analog input module can be adjusted either by the hardware or the software. Consult your analog input module specific instruction. In case of a Simatic SM 331 the hardware settings are configured with the Step 7 development environment. 2.2.1 Circuit arrangement with a passive analog input module The analog input module Simatic SM331 is passive, therefore the sensors analog interface functions as a current sink. An external source is required. Arc Sensor S7-315 SM331 8x16bit AI B 23 3 2 22 R A CH0 C Power supply +24 VDC D Easy Electrical Connection and Programming to a Simatic S7-300 PCS 7

In the case that the analog input module is not galvanic isolated, an external galvanic isolation has to be installed between the sensor and the analog input module. Arc Sensor S7-315 SM331 8x16bit AI B - + - + 23 3 2 22 R A CH0 C Power supply +24 VDC D Hardware configuration for analog input module SM 331 (AI 8 x 16 bit; 6ES7331-7NF00-0AB0) The hardware settings have to be made in the Simatic Step 7 development environment. The analog input module must be defined as a 4-wire transducer with an input range of 4-20 ma. Further documentation: support.automation.siemens.com S7-315 Module data (PDF) Chapter 4.4 Wiring and connecting current transducers Chapter 6.3 Analog input module SM 331; AI 8 x 16 bit; (6ES7331-7NF00-0AB0)

2.3 Digital RS-485 interface Arc sensors are always connected to digital controlling devices as Modbus slaves. The Modbus RTU communication protocol corresponds to the Modbus-IDA standard. ATTENTION! As all sensors are delivered with factory-default settings, each sensor s device address is set to 1. For proper communication in a RS-485 network with several sensors, it is required to use a unique Modbus device address for each sensor. ATTENTION! In the Hamilton programmer s manual the register counting starts per definition at address 1. Some Modbus master protocols operate with register-count starting at address 0. Usually, the Modbus master software translates the addressing. Thus, the register address of 2088 will be translated by Modbus master software to 2087 which is sent to the sensor (Modbus slave). This must be observed during programming. Please check the specifications of the Modbus master that you are using. Working with the Simatic Modbus Master driver the register address has to be decrement manually. Further documentation: www.hamiltoncompany.com/downloads/ ph_arc_programmersmanual_ephum014_62430002.pdf support.automation.siemens.com s7300_cp341_manual_en_en-us (PDF) Modbus-IDA standard: www.modbus.org 2.3.1 Modbus Master (RTU) driver installation The Simatic Modbus Master module is not part of the standard Step 7 V5.5 package. Install the Simatc Modbus Master (RTU) driver module: SIMATIC S7, Modbus Master (RTU) V3.1.6 (6ES7870-1AA01-0YA0) Easy Electrical Connection and Programming to a Simatic S7-300 PCS 9

2.3.2 Hardware configuration 1. Add the CP 341 RS 422/485 module to your hardware definitions.

2. Set the protocol type to Modbus Master: 3. Parameterise the Modbus Master Protocol: Easy Electrical Connection and Programming to a Simatic S7-300 PCS 11

Hamilton sensor Modbus protocol settings Baud Rate 19200 Bits/s Data Bits 8 Stop Bits 2 Parity none The network needed for Modbus communication is a two wire RS-485 network.

2.3.3 Modbus programming examples The programming is based on the Siemens manual s7300_cp341_manual_en_en-us.pdf. The programming example of the CP 341, including Modbus function blocks, is supplied on the Modbus Master (RTU) driver installation CD. Easy Electrical Connection and Programming to a Simatic S7-300 PCS 13

2.3.4 Read data from sensor To send a read request to a Modbus slave device the function block FC23 is used with the Receive-Flag (M23.0) as enabled. Further documentation is found in the Simens manual (s7300_cp341_manual_en_en-us Chapter 6.3.1 S7 Send Data to a Communication Partner).

2.3.5 Write data to sensor To send a write request to a Modbus slave device the function block FC21 is used with the Send-Request-Flag (M20.0) as enabled. Further documentation is found in the Siemens manual (s7300_cp341_manual_en_en-us Chapter 6.3.2 S7 receives data from a communication partner). Easy Electrical Connection and Programming to a Simatic S7-300 PCS 15

2.3.6 Data conversion ASCII To convert the received data to readable text the high and low BYTE has to be switched in every WORD. As example the sensor name (ASCII 16) is converted to a 16 characters long string.

2.3.7 Data conversion Float and Integer To convert the received data to a float or integer value the high and low WORD has to be switched in every DWORD. As example the measurement value of PMC1 (Register address 2090) is converted to a float value. 2.3.8 4-20 ma Scale The 4-20 ma current interface regulates the input current according to the sensor measurements. The 4-20 ma current interface is configured at the factory with the range value and unit for the measurements as indicated on the certificate. Follow the instructions in the section entitled Configuration and monitoring of the sensor to adjust the sensor according to the requirements of your application. Easy Electrical Connection and Programming to a Simatic S7-300 PCS 17

with Arc wi 2g adapter 3 Electrical connection to Arc Wi 2G Adapter The Arc Wi 2G adapter includes an additional internal galvanic isolator for enhanced signal quality. The analog interface functions as a current sink, therefore has to be externally powered. Further product information: http://www.hamiltoncompany.com/downloads/ 624614_00_TechNote_ArcWi2G_EN.pdf 3.1 M12 (A coded) Pin Designation with respect to Hamilton M12 Sensor Cable To connect a Hamilton Arc Wi 2G Adapter it is recommended to use the Hamilton M12 cable. M12 PIN Function Color Description 3 +4-20 ma Blue 4-20 ma two-wire interface, functions as a current sink and needs to be 2-4-20 ma White powerd. It regulates the input current according to the sensor measurements. Galvanically isolated from the power supply (Insulation test voltage max UT 500 V(AC). 4 +24 VDC Black Power supply: +24 VDC (7-30 VDC) (Power supply can be external; not from PCS) 1 GND Brown Ground Housing Shield Green/ Connected to the housing Yellow including the VP 8 female connector. 4 3 1 2 Arc Wi 2G Adapter M12 male connector. ATTENTION! Always use Hamilton M12 cables, available in a range of different lengths, for the easiest and safest connection of Arc ph, ORP, DO or conductivity sensors.

with Arc wi 2g adapter 3.2 Circuit arrangement with a passive analog input module The sensor s analog interface functions as a current sink and has to be powered. In case of the analog input module functioning as a current sink, then an external power supply is required. Arc Sensor Arc Wi 2G S7-315 SM331 8x16bit AI B 3 2 22 3 2 23 R A CH0 C 4 Power supply +24 VDC D 1 Hardware configuration for analog input module SM 331 (AI 8 x 16 bit; 6ES7331-7NF00-0AB0) The hardware settings have to be made in the Simatic Step 7 development environment. The analog input module must be defined as a 4-wire transducer with an input range of 4-20mA. Further documentation: support.automation.siemens.com S7-315 Module data (PDF) Chapter 4.4 Wiring and connecting current transducers Chapter 6.3 Analog input module SM 331; AI 8 x 16 bit; (6ES7331-7NF00-0AB0) Easy Electrical Connection and Programming to a Simatic S7-300 PCS 19

with Arc wi 2g adapter 3.3 Circuit arrangement with an active analog input module The Arc Wi 2G adapter includes an additional internal galvanic isolator for enhanced signal quality. Connection to the process control system is simplified to four wires, consisting of the two-wire power supply and the two-wire 4-20 ma interface. 4-20 ma two-wire interface functions as a current sink and it regulates the input current according to the sensor measurements. This interface requires an external power supply. Typical Connection to PCS Arc Sensor Arc Wi 2G Adapter PCS Input Card is active (source) galvanically not isolated. Sink 3 + Source + 4-20 ma current ma Sink B 2 Vcc C 4 +24 VDC D 1 The easiest form of wiring using the Arc Wi 2G Adapter. Note: Arc Wi 2G Adapter supports only one 4-20 ma interface and no digital outputs. Sensor has only to be configurated with 4-20 ma. 2014 Hamilton Bonaduz AG. All rights reserved. P/N: 624715/00 3/2014 Web: www.hamiltoncompany.com USA: 800-648-5950 Europe: +41-81-660-60-60 Hamilton Americas & Pacific Rim 4970 Energy Way Reno, Nevada 89502 USA Tel: +1-775-858-3000 Fax: +1-775-856-7259 sales@hamiltoncompany.com Hamilton Europe, Asia, & Africa Via Crusch 8 CH-7402 Bonaduz, Switzerland Tel: +41-81-660-60-60 Fax: +41-81-660-60-70 contact@hamilton.ch To find a representative in your area, please visit hamiltoncompany.com/contacts.