Implementation guide RemoteControl for EPC60
Implementation guide RemoteControl for EPC60
Version No 1.7
Pages 1 (63)
1 Purpose
This document describes how to implement Remote Control of EPC 60.
Version2 0
9004871 Version
Template ID: 9XXXXXX
HSS
This document and its contents is owned by Alfa Laval AB (publ.) and protected by laws governing intellectual property and thereto related rights. Without This document may
limiting any rights related to this document, no part of this document may be copied, reproduced or transmitted in any form or by any means (electronic, constitute a contractual
mechanical, recording or otherwise), or for any purpose, without the expressed permission of Alfa Laval. obligation on the part of Alfa
Alfa Laval will enforce its rights related to this document to the fullest extent of the law, including the seeking of criminal prosecution. Laval AB only to the extent
expressly agreed upon.
Implementation guide Document No 9005442
Version No 1.7
Pages 2 (63)
1 Purpose ................................................................................................................................... 1
2 Scope....................................................................................................................................... 5
3 General .................................................................................................................................... 6
3.1 Communication types ....................................................................................................... 6
3.2 Remote control button ...................................................................................................... 6
3.3 Prerequisites ..................................................................................................................... 6
3.4 Signaling ........................................................................................................................... 7
4 Available communication types ............................................................................................... 7
4.1 Digital inputs ..................................................................................................................... 7
4.2 Modbus TCP ..................................................................................................................... 7
4.2.1 Settings ..................................................................................................................... 7
4.2.2 Function codes .......................................................................................................... 8
4.2.3 Multiple clients from one IP-address ......................................................................... 8
4.3 Modbus RTU .................................................................................................................... 8
4.3.1 Settings ..................................................................................................................... 8
4.4 Modbus RTU local ............................................................................................................ 8
4.5 PROFIBUS DP ............................................................................................................... 10
4.5.1 GSD-file ................................................................................................................... 10
5 Modbus holding registers ....................................................................................................... 11
5.1 Address syntax ............................................................................................................... 11
5.1.1 Data standard .......................................................................................................... 11
5.1.2 Binary code and bit patterns .................................................................................... 11
6 Profibus.................................................................................................................................. 13
6.1 Size of dataarea ............................................................................................................. 13
6.2 Data types ...................................................................................................................... 13
6.2.1 Little and Big Endian format (byte swapping) .......................................................... 13
7 Registers for FlexRange(S, P and S805/S815) ..................................................................... 14
7.1 Data from EPC60 to the client Address list “read” ......................................................... 14
7.2 Data from the client to EPC60 – Address list “write” ...................................................... 18
7.3 Alarm handling ................................................................................................................ 20
7.3.1 Mapping of alarm status .......................................................................................... 20
Template ID: 9004871 Version 2
This document and its contents is owned by Alfa Laval AB (publ.) and protected by laws governing intellectual property and thereto related This document may constitute a contractual
rights. Without limiting any rights related to this document, no part of this document may be copied, reproduced or transmitted in any form or obligation on the part of Alfa Laval AB only
by any means (electronic, mechanical, recording or otherwise), or for any purpose, without the expressed permission of Alfa Laval. to the extent expressly agreed upon.
Alfa Laval will enforce its rights related to this document to the fullest extent of the law, including the seeking of criminal prosecution.
Implementation guide Document No 9005442
Version No 1.7
Pages 3 (63)
This document and its contents is owned by Alfa Laval AB (publ.) and protected by laws governing intellectual property and thereto related This document may constitute a contractual
rights. Without limiting any rights related to this document, no part of this document may be copied, reproduced or transmitted in any form or obligation on the part of Alfa Laval AB only
by any means (electronic, mechanical, recording or otherwise), or for any purpose, without the expressed permission of Alfa Laval. to the extent expressly agreed upon.
Alfa Laval will enforce its rights related to this document to the fullest extent of the law, including the seeking of criminal prosecution.
Implementation guide Document No 9005442
Version No 1.7
Pages 4 (63)
This document and its contents is owned by Alfa Laval AB (publ.) and protected by laws governing intellectual property and thereto related This document may constitute a contractual
rights. Without limiting any rights related to this document, no part of this document may be copied, reproduced or transmitted in any form or obligation on the part of Alfa Laval AB only
by any means (electronic, mechanical, recording or otherwise), or for any purpose, without the expressed permission of Alfa Laval. to the extent expressly agreed upon.
Alfa Laval will enforce its rights related to this document to the fullest extent of the law, including the seeking of criminal prosecution.
Implementation guide Document No 9005442
Version No 1.7
Pages 5 (63)
2 Scope
This document will cover Remote Communication of EPC 60 through Programmable inputs,
Modbus TCP, Modbus RTU and Profibus DP.
The programmable functions and address registers are described separately for FlexRange (S, P
& S805 and S815), Retrofit, PreBilge and PureBilge.
Program version compatible with this guideline (more recent versions are working as well)
This document and its contents is owned by Alfa Laval AB (publ.) and protected by laws governing intellectual property and thereto related This document may constitute a contractual
rights. Without limiting any rights related to this document, no part of this document may be copied, reproduced or transmitted in any form or obligation on the part of Alfa Laval AB only
by any means (electronic, mechanical, recording or otherwise), or for any purpose, without the expressed permission of Alfa Laval. to the extent expressly agreed upon.
Alfa Laval will enforce its rights related to this document to the fullest extent of the law, including the seeking of criminal prosecution.
Implementa
ation guide Document No 9005442
Version No 1.7
Pages 6 (63)
3 G
General
3.1 Co
ommuniccation typ
pes
We differ b
between two o types of re
emote comm munication:
Rem mote Monitoring - This is defined d as reading g of process data fromm the EPC60 0.
Run nning signa
als, pressuree readings, valve posittions, alarm states, etcc, is availablle for
moonitoring rem
motely.
Rem mote Control - This adds the posssibility to control the process.
p In aaddition to the
t
reaading of proccess data, iti is also po ssible to sta
art, stop, ac
cknowledgee alarms, ch hange
parrameters, ettc, remotely
y
3.2 R
Remote control button
The EPC 6
60 operator panel has a separate button for putting
p the system
s in R
Remote Con
ntrol.
Remote C
Control
button
3.3 Prerequisiites
For the sysstem to allo
ow RC the fo
ollowing hass to be fulfillled:
Sysstem must beb equipped d speed sen nsor and ha ave corresponding paraameters set
(P1113=yes & P148=no)
P
Sysstem must beb equipped d with vibra
ation sensorr and have correspondi
c eters set
ing parame
(P1114=yes & P132=no)
P
Syystem must be equippe ed with fram
me cover sw witch and have correspoonding para
ameters
set (P115=yess & P116=no)
Staart questionss must be answered.
a Itt has to be done after every
e poweer down.1
Template ID: 9004871 Version 2
1
For S-type separ
rators the answers can trigg
ger a new calibrati
ion, see Appendix
A
12.
This document and iits contents is owned by Alfa Laval AB (publl.) and protected by law ws governing intellectu
ual property and there
eto related Thi
his document may consstitute a contractual
rights. Without limitiing any rights related to this document, no part
p of this document m may be copied, reproduuced or transmitted in any form or oblligation on the part off Alfa Laval AB only
by any means (electrronic, mechanical, recoording or otherwise), or o for any purpose, witithout the expressed peermission of Alfa Lavaal. to the extent expressly aggreed upon.
Alfa Laval will enforrce its rights related too this document to the fullest
f extent of the law
w, including the seekin
ng of criminal prosecu
ution.
Implementation guide Document No 9005442
Version No 1.7
Pages 7 (63)
3.4 Signaling
Commands are triggered on positive (rising) flank of the signals. Hence, to send the same
command twice the signal has to be set from 1 to 0 and then back to 1.
Holding registers are NOT reset by the EPC 60 when a command has been executed. That has
to be done by the client. Neither does the EPC 60 keep track of the order in which the
registers/commands are set. To avoid unwanted command execution it is therefore highly
recommended that the client monitors the OperationStatus register (see section 7.5) before
initiating any new command.
The following holding registers for “write” are reset by the EPC 60 when RC is not active:
Input.Commands, Input.Parameters.SetValue and Input.Parameters.Enable.
4 Available communication types
Remote Control Communication Type is set with parameter P129. The following descriptions are
valid for that specific communication type:
A specific function can be allocated to any of the input- and output channels. This is defined with
the parameters P133-P138 for the outputs and P139-P144 for the inputs. The available functions
are presented in chapter 011.
The programmable inputs/outputs are only available for FlexRange, PreBilge and Retrofit. The
programmable inputs/outputs are an option.
4.2.1 Settings
When parameter P129 is set to Modbus TCP a Modbus server is started in the EPC 60 (else it is
not running). A Modbus client can then read and write the registers presented in chapter 5.
Slave ID: 1
This document and its contents is owned by Alfa Laval AB (publ.) and protected by laws governing intellectual property and thereto related This document may constitute a contractual
rights. Without limiting any rights related to this document, no part of this document may be copied, reproduced or transmitted in any form or obligation on the part of Alfa Laval AB only
by any means (electronic, mechanical, recording or otherwise), or for any purpose, without the expressed permission of Alfa Laval. to the extent expressly agreed upon.
Alfa Laval will enforce its rights related to this document to the fullest extent of the law, including the seeking of criminal prosecution.
Implementation guide Document No 9005442
Version No 1.7
Pages 8 (63)
MBTYPE_READ_HOLDING_REGISTERS : FC3;
MBTYPE_WRITE_MULTIPLE_REGISTERS : FC16;
With P129=Modbus TCP Multiple Clients (MbsTCPMulCli) the server will allow multiple
connection sockets from the same IP-address. In case clients does not properly close down their
connections that can cause the quota of max 5 simultaneous clients to eventually be filled up; not
allowing new connections to be made.
Modbus RTU interface is available as an option. A bus converter is then needed. A description of
this setup is found in chapter 12.
4.3.1 Settings
P129 is set to Modbus TCP, a Modbus server is started in the Bus converter. A Modbus client
can then read and write the registers presented in chapter 5.
Baud rate: can be selected by the switch on the Bus Converter CPU, se chap 12.2.2
Parity: None
Bits per character: 8
Stop bits: 1
Slave ID: 1
The ”Modbus RTU local” option (mBusLocal) is not for end-customer use. It is currently only used
Template ID: 9004871 Version 2
The Modbus RTU interface is available through communication board A16 (CS1020).
This document and its contents is owned by Alfa Laval AB (publ.) and protected by laws governing intellectual property and thereto related This document may constitute a contractual
rights. Without limiting any rights related to this document, no part of this document may be copied, reproduced or transmitted in any form or obligation on the part of Alfa Laval AB only
by any means (electronic, mechanical, recording or otherwise), or for any purpose, without the expressed permission of Alfa Laval. to the extent expressly agreed upon.
Alfa Laval will enforce its rights related to this document to the fullest extent of the law, including the seeking of criminal prosecution.
Implementation guide Document No 9005442
Version No 1.7
Pages 9 (63)
With this setting the function of the RC button is overridden. It is a pre-requisite that a panel
controlling through Modbus RTU local is placed within visible range of the separator.
Template ID: 9004871 Version 2
This document and its contents is owned by Alfa Laval AB (publ.) and protected by laws governing intellectual property and thereto related This document may constitute a contractual
rights. Without limiting any rights related to this document, no part of this document may be copied, reproduced or transmitted in any form or obligation on the part of Alfa Laval AB only
by any means (electronic, mechanical, recording or otherwise), or for any purpose, without the expressed permission of Alfa Laval. to the extent expressly agreed upon.
Alfa Laval will enforce its rights related to this document to the fullest extent of the law, including the seeking of criminal prosecution.
Implementation guide Document No 9005442
Version No 1.7
Pages 10 (63)
4.5 PROFIBUS DP
4.5.1 GSD‐file
When setting up the PROFIBUS master, the GSD-file for the slave node (bus converter) is
preferably downloaded from the B&R website www.br-automation.com
Searching for the interface module X20IF1063 should generate a result with a link to the latest
GSD-package.
Template ID: 9004871 Version 2
This document and its contents is owned by Alfa Laval AB (publ.) and protected by laws governing intellectual property and thereto related This document may constitute a contractual
rights. Without limiting any rights related to this document, no part of this document may be copied, reproduced or transmitted in any form or obligation on the part of Alfa Laval AB only
by any means (electronic, mechanical, recording or otherwise), or for any purpose, without the expressed permission of Alfa Laval. to the extent expressly agreed upon.
Alfa Laval will enforce its rights related to this document to the fullest extent of the law, including the seeking of criminal prosecution.
Implementation guide Document No 9005442
Version No 1.7
Pages 11 (63)
Two address series are used to separate data sent from EPC60 and data sent to
EPC60 and then one for LED indication and another one for parameters handling:
o 40001 is the start address for “read” from EPC 60.
+0001 means 40002 in EPC 60, +0002 is 40003 in EPC 60 and so on.
5.1.2.2 Values
Values are sent as binary code to one address.
Example: The number “3” is sent as the binary number “00000011”.
This document and its contents is owned by Alfa Laval AB (publ.) and protected by laws governing intellectual property and thereto related This document may constitute a contractual
rights. Without limiting any rights related to this document, no part of this document may be copied, reproduced or transmitted in any form or obligation on the part of Alfa Laval AB only
by any means (electronic, mechanical, recording or otherwise), or for any purpose, without the expressed permission of Alfa Laval. to the extent expressly agreed upon.
Alfa Laval will enforce its rights related to this document to the fullest extent of the law, including the seeking of criminal prosecution.
Implementation guide Document No 9005442
Version No 1.7
Pages 12 (63)
Template ID: 9004871 Version 2
This document and its contents is owned by Alfa Laval AB (publ.) and protected by laws governing intellectual property and thereto related This document may constitute a contractual
rights. Without limiting any rights related to this document, no part of this document may be copied, reproduced or transmitted in any form or obligation on the part of Alfa Laval AB only
by any means (electronic, mechanical, recording or otherwise), or for any purpose, without the expressed permission of Alfa Laval. to the extent expressly agreed upon.
Alfa Laval will enforce its rights related to this document to the fullest extent of the law, including the seeking of criminal prosecution.
Implementation guide Document No 9005442
Version No 1.7
Chapter Modbus Register for FlexRange Pages 14 (63)
+0030 0061
8 Bit0 StartDischarge
9 1 Estop
10 2 Standstill
11 3 TempAboveLowerLimit
12 4 SpeedAboveLowerLimit
13 5 HeatingActive
14 6 AlarmActive
15 7 NewAlarmOccured
+0031 0062, 0063 Operation_Status see description in section 7.5
Operating state 0=STOP
1&2=START
3=RECIRCULATION
4=Transition (Start
discharge)
5=SEPARATION
(Run)
6=STANDSTILL
7=ESTOP
8=CIP
+0032 0064, 0065 Output.Mode 100=IO test
0066, 0067 Software version Scale 1/100, e.g
+0033 Output.Version 123=version 1.23
+0034 0068, 0069 Output.Runtime.Hours Operation time since machine power on Hours
+0035 0070, 0071 Output.Runtime.Minutes Operation time since machine power on Minutes
+0036 0072, 0073 Output.Runtime.Seconds Operation time since machine power on Seconds
2
+0037 0074, 0075 Output.ActValues.ST Speed rpm
0076, 0077 Pressure on PT1. Always presented in bar, Scale 1/100, e.g.
+0038 Output.ActValues.PT1 regardless of parameter setting P103. 123=1.23bar
0078, 0079 Pressure on PT4. Always presented in bar, Scale 1/100, e.g.
+0039 Output.ActValues.PT4 regardless of parameter setting P103. 123=1.23bar
0080, 0081 Pressure on PT5. Always presented in bar, Scale 1/100, e.g.
+0040 Output.ActValues.PT5 regardless of parameter setting P103. 123=1.23bar
0082, 0083 Output flow. Always presented in m³/h, Scale 1/10, e.g.
+0041 Output.ActValues.Q1 regardless of parameter setting P102 123=12.3m³/h
0084, 0085 Temperature TT1. Always presented °C
in °C, regardless of parameter setting
+0042 Output.ActValues.TT1 P101.
0086, 0087 Temperature TT2. Always presented °C
in °C, regardless of parameter setting
+0043 Output.ActValues.TT2 P101.
0088, 0089 Vibration of the bowl Scale 1/100, e.g.
+0044 Output.ActValues.YTvib 123=1.23mm
0090, 0091 Actual distance to the bowl from the sensor Scale 1/100, e.g.
+0045 Output.ActValues.YTact 123=1.23mm
0092, 0093 Water transducer value in % deviation from %
+0046 Output.ActValues.MT calibrated value
Template ID: 9004871 Version 2
2
Actual sensor is called ST
This document and its contents is owned by Alfa Laval AB (publ.) and protected by laws governing intellectual property and thereto related This document may constitute a contractual
rights. Without limiting any rights related to this document, no part of this document may be copied, reproduced or transmitted in any form or obligation on the part of Alfa Laval AB only
by any means (electronic, mechanical, recording or otherwise), or for any purpose, without the expressed permission of Alfa Laval. to the extent expressly agreed upon.
Alfa Laval will enforce its rights related to this document to the fullest extent of the law, including the seeking of criminal prosecution.
Implementation guide Document No 9005442
Version No 1.7
Chapter Modbus Register for FlexRange Pages 16 (63)
This document and its contents is owned by Alfa Laval AB (publ.) and protected by laws governing intellectual property and thereto related This document may constitute a contractual
rights. Without limiting any rights related to this document, no part of this document may be copied, reproduced or transmitted in any form or obligation on the part of Alfa Laval AB only
by any means (electronic, mechanical, recording or otherwise), or for any purpose, without the expressed permission of Alfa Laval. to the extent expressly agreed upon.
Alfa Laval will enforce its rights related to this document to the fullest extent of the law, including the seeking of criminal prosecution.
Implementation guide Document No 9005442
Version No 1.7
Chapter Modbus Register for FlexRange Pages 17 (63)
+0199 0102 Steady lit LEDs Steady lit LEDs on EPC60 panel 1=steady lit
Bit0 Bit0 Start
1 1 Stop
2 2 Discharge
3 3 Sludgepump
4 4 CIP
5 5 Alarm
6 6 Separator motor
7 7 Feedpump
0103
8 Bit0 Heater
9 1 Remote
+0200 0104 Flashing LEDs Flashing LEDs on EPC60 panel 1=flashing
Bit0 Bit0 Start
1 1 Stop
2 2 Discharge
3 3 Sludgepump
4 4 CIP
5 5 Alarm
6 6 Separator motor
7 7 Feedpump
0105
8 Bit0 Heater
9 1 Remote
This document and its contents is owned by Alfa Laval AB (publ.) and protected by laws governing intellectual property and thereto related This document may constitute a contractual
rights. Without limiting any rights related to this document, no part of this document may be copied, reproduced or transmitted in any form or obligation on the part of Alfa Laval AB only
by any means (electronic, mechanical, recording or otherwise), or for any purpose, without the expressed permission of Alfa Laval. to the extent expressly agreed upon.
Alfa Laval will enforce its rights related to this document to the fullest extent of the law, including the seeking of criminal prosecution.
Implementation guide Document No 9005442
Version No 1.7
Chapter Modbus Register for FlexRange Pages 18 (63)
3
Transition to back to SEPARATION requires activation of Remote start signal
This document and its contents is owned by Alfa Laval AB (publ.) and protected by laws governing intellectual property and thereto related This document may constitute a contractual
rights. Without limiting any rights related to this document, no part of this document may be copied, reproduced or transmitted in any form or obligation on the part of Alfa Laval AB only
by any means (electronic, mechanical, recording or otherwise), or for any purpose, without the expressed permission of Alfa Laval. to the extent expressly agreed upon.
Alfa Laval will enforce its rights related to this document to the fullest extent of the law, including the seeking of criminal prosecution.
Implementation guide Document No 9005442
Version No 1.7
Chapter Modbus Register for FlexRange Pages 19 (63)
4
The customer is responsible for the correctness of the values written. The
EPC 60 has no function for checking that the values are continuously updated
(e.g. “keep alive”).
5
This will disable alarm A42
This document and its contents is owned by Alfa Laval AB (publ.) and protected by laws governing intellectual property and thereto related This document may constitute a contractual
rights. Without limiting any rights related to this document, no part of this document may be copied, reproduced or transmitted in any form or obligation on the part of Alfa Laval AB only
by any means (electronic, mechanical, recording or otherwise), or for any purpose, without the expressed permission of Alfa Laval. to the extent expressly agreed upon.
Alfa Laval will enforce its rights related to this document to the fullest extent of the law, including the seeking of criminal prosecution.
Implementation guide Document No 9005442
Version No 1.7
Chapter Modbus Register for FlexRange Pages 20 (63)
The above bits are not flank triggered as the other commands. Hence, the array will be
continuously updated as long as the bit is set.
This document and its contents is owned by Alfa Laval AB (publ.) and protected by laws governing intellectual property and thereto related This document may constitute a contractual
rights. Without limiting any rights related to this document, no part of this document may be copied, reproduced or transmitted in any form or obligation on the part of Alfa Laval AB only
by any means (electronic, mechanical, recording or otherwise), or for any purpose, without the expressed permission of Alfa Laval. to the extent expressly agreed upon.
Alfa Laval will enforce its rights related to this document to the fullest extent of the law, including the seeking of criminal prosecution.
Implementation guide Document No 9005442
Version No 1.7
Chapter Modbus Register for FlexRange Pages 21 (63)
When a load command (bit 0 to 5) in register 40104 is set, then that value for all parameter will be
uploaded to registers 40300-40499.
To change the setting of a parameter the parameter number is written to 40105 and the new
setting to 40106. To activate the new setting in the EPC 60 bit 6 in register 40104 has to be set.
To be able to set the “write” registers 40104 bit 6 and 40106, then bit 0 in 40111
Input.Parameters.Enable has to be set. Note that writing to these two registers require RC to be
active.
For parameters with non-numerical values the representation is presented in table below. For all
yes/no-alternatives 0=no and 1=yes.
This document and its contents is owned by Alfa Laval AB (publ.) and protected by laws governing intellectual property and thereto related This document may constitute a contractual
rights. Without limiting any rights related to this document, no part of this document may be copied, reproduced or transmitted in any form or obligation on the part of Alfa Laval AB only
by any means (electronic, mechanical, recording or otherwise), or for any purpose, without the expressed permission of Alfa Laval. to the extent expressly agreed upon.
Alfa Laval will enforce its rights related to this document to the fullest extent of the law, including the seeking of criminal prosecution.
Implementation guide Document No 9005442
Version No 1.7
Chapter Modbus Register for FlexRange Pages 22 (63)
This document and its contents is owned by Alfa Laval AB (publ.) and protected by laws governing intellectual property and thereto related This document may constitute a contractual
rights. Without limiting any rights related to this document, no part of this document may be copied, reproduced or transmitted in any form or obligation on the part of Alfa Laval AB only
by any means (electronic, mechanical, recording or otherwise), or for any purpose, without the expressed permission of Alfa Laval. to the extent expressly agreed upon.
Alfa Laval will enforce its rights related to this document to the fullest extent of the law, including the seeking of criminal prosecution.
Implementation guide Document No 9005442
Version No 1.7
Chapter Modbus Register for FlexRange Pages 23 (63)
This document and its contents is owned by Alfa Laval AB (publ.) and protected by laws governing intellectual property and thereto related This document may constitute a contractual
rights. Without limiting any rights related to this document, no part of this document may be copied, reproduced or transmitted in any form or obligation on the part of Alfa Laval AB only
by any means (electronic, mechanical, recording or otherwise), or for any purpose, without the expressed permission of Alfa Laval. to the extent expressly agreed upon.
Alfa Laval will enforce its rights related to this document to the fullest extent of the law, including the seeking of criminal prosecution.
Implementation guide Document No 9005442
Version No 1.7
Chapter Modbus Register for FlexRange Pages 24 (63)
150 E-STOP
This document and its contents is owned by Alfa Laval AB (publ.) and protected by laws governing intellectual property and thereto related This document may constitute a contractual
rights. Without limiting any rights related to this document, no part of this document may be copied, reproduced or transmitted in any form or obligation on the part of Alfa Laval AB only
by any means (electronic, mechanical, recording or otherwise), or for any purpose, without the expressed permission of Alfa Laval. to the extent expressly agreed upon.
Alfa Laval will enforce its rights related to this document to the fullest extent of the law, including the seeking of criminal prosecution.