0% found this document useful (0 votes)
195 views20 pages

Profibus Quick - Start - Guide

PROFIBUS
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
195 views20 pages

Profibus Quick - Start - Guide

PROFIBUS
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Profibus SC100 & SC1000

Quick-start guide

PROFIBUS DP/V1
Since April 2007

SC100 / SC1000

Quick-start guide
Profibus SC100 & SC1000
Quick-start guide

Contents

Introduction & Identification ................................................................................................. 3


Switch Settings....................................................................................................... 4
SC100 - YAB015, LZV148 ........................................................................... 4
SC1000 - YAB020 ......................................................................................... 4
Electrical Connections............................................................................................ 5
Electrical Connection SC1000 ................................................................. 5
Electrical Connections SC100 ............................................................... 6
Process Data SC1000 ............................................................................................. 7
Process Data SC1000 SETUP ................................................................ 7
SC1000 Telegram Configuration .......................................................... 8
SC1000 Telegram structure .................................................................... 9
SC1000 Telegram / PLC relation ........................................................ 10
Process Data SC100 ............................................................................................. 11
Process Data SC100 SETUP ................................................................ 11
Process Data SC100 until V2.0 ............................................................ 12
PLC relation .............................................................................................. 12
Process Data SC100 since V3.0........................................................... 13
PLC relation .............................................................................................. 13
Process Data SC100 since V3.0 - controller block ......................... 14
Table ERROR and STATUS ........................................................................ 15
IEEE Floating point definition ..................................................................... 16
Byte order inside Profibus Telegram .................................................. 16
PLC Examples...................................................................................................... 17
Example Simatic ...................................................................................... 17
Example Allen Bradley .......................................................................... 18
Example Emerson DeltaV ..................................................................... 19
Profibus SC100 & SC1000
Quick-start guide

Introduction & Identification


The SC100 and SC1000 standard controllers are the platform for all intelligent probes and
analyzers from HACH-LANGE. The SC platform is a full digital communication system
based on the open Modbus standard. Equipped with the Profibus interface card the SC
controllers provide the complete range on values and parameters in a standardized method.
The modular structure allows to use the same GSD file for both controllers and all
measurements. The HACH-LANGE SC100 and SC1000 is a PNO/PTO certified Profibus
DP/V1 device which allows the access from master class1 (PLC SCADA) and master class 2
systems e.g. engineering station’s

The Profibus option is available for the SC100 and SC1000 controller using the according
order code for the controller. Additional the Profibus option is available as a separated card
for a subsequent built in.

 YAB020 in use with SC1000


 YAB015 in use with SC100
 LZV148 DP/V0 version for replacement purposes on installations up to 04/2007,
complete with documentation and mounting set.

The new DP/V1 version is downward compatible to the


DP/V0 and can work as V0 slave without changing or
modifying the PLC configuration.
The new DP/V1 GSD file is not downward compatible,
the card requires software version V4.0 (DP/V1)

article no. controller type Profibus type certified remarks

YAB015 SC100 DP/V1 since 04/2007 YES card labeled V4.0


YAB020 SC1000 DP/V1 since 04/2007 YES card labeled V4.0
LZV148 SC100 DP/V0 NO card labeled V3.2
Profibus SC100 & SC1000
Quick-start guide

Switch Settings

SC100 - YAB015, LZV148

 make sure that switch 1 is on the “Normal Operating Position”


if not, please correct and reboot the controller.
After rebooting the controller it takes up to 60 seconds to go active

SC1000 - YAB020
Profibus SC100 & SC1000
Quick-start guide
Electrical Connections

Electrical Connection SC1000

 mounting of the YAB020 Profibus card only at expansion slot 2


Profibus SC100 & SC1000
Quick-start guide

Electrical Connections SC100


Profibus SC100 & SC1000
Quick-start guide
Process Data SC1000
Process Data SC1000 SETUP

If a Profibus card is installed and registered in the SC1000 system, you can
select the following menu to configure the Profibus settings.

SYSTEM SETUP -> NETWORK MODULES -> FIELDBUS

TELEGRAM Configuration
Specifies the structure and content of
transmitted Profibus data’s

Set Slave Address


Select Data Order
NORMAL = IEEE Float big endian
SWAPPED = IEEE Float word wise swapped

SIMULATION YES allows to


transmit simulated data’s instead of real
process data.
Structure: ERROR Word
STATUS Word
SIMULATED Value
Profibus SC100 & SC1000
Quick-start guide

SC1000 Telegram Configuration

The SC1000 Profibus data’s have no fixed structure, the structure and content of
the transmitted data’s are free configurable.
OK CANCEL SELECT DELETE

1st Step “Device selection”


Entering the “TELEGRAM” menu the first
time shows an empty Telegram. At the first
step enter the “SELECT” button to select a
device used as data source

Now the “DEVICE SELECTION” box


allows selecting a data source e.g. probe or
option card. The arrows on the right side
should used for navigation.
Once a probe is highlighted press the OK
button to transfer the selected device into the
Telegram.

2nd Step “Tag selection”


Now there are some data items like ERROR,
STATUS and measured values inside the
Telegram.
Entering a data item will highlight it for 3
seconds. Entering the SELECT button while a
data item is highlighted opens the TAG
selection box and allows to select all available
values from these probe.

3rd Step “Finalizing”


Now repeat these procedure, select further devices and tags. Finally by using the
arrow button adjust the Profibus message data’s to the requested design and
structure. Pressing the OK button stores the configuration and goes online after a
few seconds.
Profibus SC100 & SC1000
Quick-start guide

SC1000 Telegram structure

Once the GSD file LANG0671.GSD is added to the hardware catalogue, the
device is located at the folder “GENERAL”
Due to the modular structure just add and append “2 Words from Slave”, each
one takes 4 byte of input space. The “2 Words to Slave” module takes 4 byte of
output memory space and is reserved for future use.

Changing the number of modules requires a reboot of the SC controller. !

The data’s configured at the SC1000 Telegram will be mirrored directly to the
PLC module’s input space. It is recommended to document the telegram
configuration e.g. Excel sheet.
The telegram configuration has following structure:

Address Offset Headline Data type Access code


In 2 byte words identification of Integer 2 byte R read only
the data source Float 4 bytes RW read write

pHD location name serial no


0 ERROR int r
1 STATUS 1 int r
2 pH float r
4 TEMP float r
LDO location name serial no
6 ERROR int r
7 STATUS 1 int r
8 DO float r
TEMP
10 float r

Tag name
Profibus SC100 & SC1000
Quick-start guide

SC1000 Telegram / PLC relation

The address offset always starts on zero and counts the number of words. The
input address range of PLC’s is usually addressed in bytes.
The maximum number of modules “2 Words from Slave” is 24.
The following example shows the dependency between the Telegram
configuration and the PLC address range.

pHD SC location name serial


0 ERROR int r
1 STATUS 1 int r
2 pH float r
4 TEMP float r
LDO location name serial
6 ERROR int r
7 STATUS 1 int r
8 DO float r
10 TEMP float r


For maintenance purposes it is recommended to document the
configuration details e.g. Excel sheet

pHD SC location name serial # PLC address


0 ERROR int r PEW 266
1 STATUS 1 int r PEW 268
2 pH float r PED 270
4 TEMP float r PED 274
LDO location name serial #
6 ERROR int r PEW 278
7 STATUS 1 int r PEW 280
8 DO float r PED 282
10 TEMP float r PED 286

Error and Status word definitions are valid for all SC probes. For details see the
table “ERROR&STATUS”
Profibus SC100 & SC1000
Quick-start guide
Process Data SC100
Process Data SC100 SETUP

If a Profibus card is installed and registered in the SC100 system, you can
select the following menu to configure the Profibus settings.

SYSTEM SETUP ->

NETWORK SETUP -> PROFIBUS ADDRESS

Set slave address.


If the menu item “PROFIBUS ADDRESS” is not shown, please check if a Profibus card
is installed and the jumper 2 is in “Normal Operating” position.

SYSTEM SETUP -> NETWORK SETUP ->

DATA ORDER

Select Data Order


NORMAL = IEEE float big Endian
SWAPPED = IEEE float word wise swapped

The data order NORMAL fits to most PLC and SCADA systems without any
needs for conversions. For more details see “IEEE data definition”

All other network settings belongs to the internal Modbus communication, they should
remain in the default ( Baud Rate 19200,8,1, RTU … )
Profibus SC100 & SC1000
Quick-start guide

Process Data SC100 until V2.0


PLC relation

The data structure of SC100 Profibus messages is fixed. The Profibus card. is a gateway
between the internal Modbus and the external Profibus. The first 8 registers from the probe’s
Modbus profile are copied into the Profibus message.
The content of data’s is described at the probe’s manual, section Modbus profile.

1st Block
PLC input byte 1 to 16
16 byte, 8 registers, 4 modules
copy 40001 – 40008
from the first probe
2nd Block
PLC input byte 17 to 32
16 byte, 8 registers, 4 modules
copy 40001 – 40008
from the second probe

3rd Block
PLC input byte 33 to 48
16 byte, 8 registers, 4 modules
copy 40001 – 40008
from the SC100

Example SC100 with LDO and SOLITAX


LDO Sensor Modbus Register

Solitax Sensor Modbus Register

SC100 controller Modbus register


Profibus SC100 & SC1000
Quick-start guide

Process Data SC100 since V3.0


PLC relation

The data block structure of SC100 Profibus messages is standardized for all kind of probes!!

ERROR and STATUS words follow the same standardized definition for all SC probes and
analyzers. For details see the table “Error & Status”

The primary value is always the measured


Value as shown in the display

The secondary value could be the temperature


If available, else filled with zero.

The tertiary value if not available is filled with


Zero.

1st Block
PLC input byte 1 to 16
Probe 1 data’s
ERROR
STATUS
Primary Value
Secondary Value
Tertiary Value

2nd Block
PLC input byte 17 to 32
Probe 2 data’s
ERROR
STATUS
Primary Value
Secondary Value
Tertiary Value

3rd Block
PLC input byte 33 to 48
SC100 data’s
SC100_ERROR
SC100_STATUS
Full SC probe compatibility ! Primary Value
Secondary Value
Tertiary Value
These format allows to replace any SC probe e.g. pH with any
other SC pH probe, without changing the PLC configuration.
Profibus SC100 & SC1000
Quick-start guide

Process Data SC100 since V3.0 - controller block

3rd Block
PLC input byte 33 to 48
SC100 data’s
SC100_ERROR
SC100_STATUS
Primary Value
Secondary Value
Tertiary Value

The data definitions for SC100 controller are as follows:

SC100_Error word:
Bit Error Note
0 Sensor1 Communication Error A communication error has
occurred between the SC100
controller and sensor 1, maybe
the sensor is disconnected.
1 Sensor2 Communication Error A communication error has
occurred between the SC100
controller and sensor 2, maybe
the sensor is disconnected.
2 Bit 2 to 15 not used

SC100_ Status word


Bit Status1 Note
0 Sensor 1 Connected The sensor 1 is successfully installed.
1 Sensor 2 Connected The sensor 2 is successfully installed.
2 Relay A ON
3 Relay B ON
4 Relay C ON
5 Bit 5 to 15 not used
6

SC100 Primary Value calculation result


SC100 Secondary Value 4 – 20 mA Output channel 1
SC100 Tertiary Value 4 – 20 mA Output channel 2
Profibus SC100 & SC1000
Quick-start guide

Table ERROR and STATUS


ERROR word
One Standard for all SC probes !!!
Zero indicates OK
Profibus SC100 & SC1000
Quick-start guide

IEEE Floating point definition

sign of mantissa

Byte order inside Profibus Telegram

SC1000, SC100 swapped SC1000, SC100 normal

Byte T1 Value 0x91 Byte T1 Value 0x3F

Byte T2 Value 0xB9 Byte T2 Value 0x67

Byte T3 Value 0x3F Byte T3 Value 0x91

Byte T4 Value 0x67 Byte T4 Value 0xB9

Word wise swapping 3rd + 4th byte and 1st + 2nd byte
Hex Value 0x 3F 67 91 B9 = 0,9046 IEEE Float Value (Big Endian)
Byte order 3 4 1 2
Byte T3 Value 0x3F Byte T4 Value 0x67 Byte T1 Value 0x91 Byte T2 Value 0xB9

Direct access
Hex Value 0x 3F 67 91 B9 = 0,9046 IEEE Float Value (Big Endian)
Byte order 1 2 3 4
Byte T1 Value 0x3F Byte T2 Value 0x67 Byte T3 Value 0x91 Byte T4 Value 0xB9
Profibus SC100 & SC1000
Quick-start guide

PLC Examples
Example Simatic

Once the LANG0671.GSD is imported, you find the slave at following location:
PROFIBUS DP => Additional Field Devices => General
Where you just select the “2 Words from Slave” modules. Each one takes 4 bytes of the input
address range

PLC SIMATIC : Data order “NORMAL” just use L PED at the module start
address to read a floating point object, no need for further conversions.
Use the L PEW instruction to read ERROR or STATUS words

Data order “SWAPPED” use following instructions to build a float


Profibus SC100 & SC1000
Quick-start guide

Example Allen Bradley


Allen Bradley PLC - Woodhead SST Profibus card.
Use Data order = NORMAL.
The COP or MOV instruction to transfer data’s from SST to SLC moves 2 Integer in
pair to a Float destination. No need for further conversions.
Profibus SC100 & SC1000
Quick-start guide
Example Emerson DeltaV

Use Data order = NORMAL

The DeltaV configuration refers one SLOT (32Bit) to one Module “2WordsFromSlave”
according to the GSD file definition.
The data format is defined as IEE float and can be read as “Little Endian” or “Big Endian”
which fits to the data order normal.
Signal Properties: Data Mapping = Standard network byte order
Data type = Floating point
Once the LANG0671.GSD is imported, you find the slave at following location:
Library => Profibus DP devices => General

SLOT000 SIGNAL001 ERROR


SLOT000 SIGNAL002 STATUS 1
SLOT001 SIGNAL001 Measured Value in µS/cm
SLOT002 SIGNAL001 Temperature
Profibus SC100 & SC1000
Quick-start guide

You might also like