West Control Solutions KS 800 Interface Manual

Multi Temperaturecontroller KS800
PID
PID
KS800
PID
PID
PID
PID
PID
PID
KS800KS800
PROFIBUS-DP
KS800
KS800
Interface description
PROFIBUS-DP
Valid from: 8395
SIMATIC
STEP
®
is a registered trademark of Siemens AG
®
is a registered trademark of Siemens AG
®
is a registered trademark of the
PROFIBUS user organization (PNO)
© PMA Prozeß- und Maschinen-Automation GmbH Printed in Germany
All rights reserved. No part of this documentation may be reproduced or published in any form or by
any means without prior written permission
from the copyright owner.
A publication of PMA Prozeß- und Maschinen Automation
Postfach 310229
D-34058 Kassel
Germany
Contents
1 General ..................................5
1.1 Scope of delivery . . . . . . . . . . . . . . . . . . . . . . . . . ..........6
2 Hints on operation............................7
2.1 Interface connection . . . . . . . . . . . . . . . ...................7
2.1.1 Installation of cables . . . . . . . . . . . . . . . . . . . ...........7
2.2 Forcing .........................................7
3 Process data ...............................8
3.1 Defined as status byte are: . . . . . . . . . . . . . . ................12
3.2 Status and diagnosis messages . . . . . . . . . . . . ................15
3.3 Disabling mechanism with changes . . . . . . . . . . . ..............15
3.4 Process data transmission . . . . . . . . . . . . . . ................15
3.5 Parameter transmission . . . . . . . . . . . . . . . . . . . . . . ..........16
3.5.1 Message elements . . . . . . . . . . . . . . ................16
3.5.2 General communication structure . . . . . . . . . . . . . . . .......17
3.5.3 Data write sequence . . . . . . . . . . . . . ................17
3.5.4 Data read procedure . . . . . . . . . . . . . ................18
3.6 Examples . . . . . . . . . . . . . . . . . . . . . . . ................18
3.6.1 Function block protocol principles . . . . . . . . . . . . . . . .......18
3.6.2 Individual access . . . . . . . . . . . . . . . ................18
3.6.3 Block access (tens block). . . . . . . . . . . . . ..............19
3.6.4 Block acces (overall block) . . . . . . . . . . . . . . . . . .......19
3.7 Data types. . . . . . . . . . . . . . . . . . . . . . . ................21
4 Quick entrance .............................22
4.1 Quick entrance with S5. . . . . . . . . . . . . . . . . . . . . . ..........22
4.1.1 Example of a test environment: . . . . . . . . . . .............22
4.2 Quick entrance with S7. . . . . . . . . . . . . . . . . . . . . . ..........24
4.2.1 Example of a test environment: . . . . . . . . . . .............24
5 Function block protocol ........................26
5.1 Data structuring. ...................................26
5.2 CODE tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ........27
5.2.1 Structure of configuration words (C.xxxx). . . . . . . . . . ........27
5.2.2 INSTRUMENT (FB no.: 0 type no.: 0) . . . . . . . . . . .......27
5.2.3 Special accesses (FB no.: 10 ... 17 type no.: 10) . . . . . . . . . . . . 33
5.2.4 Freely configurable (FB no.: 20 ... 27 type no.: 20) . . . . . . . . . . 34
5.2.5 INPUT (FB no.: 60 ... 67 Type no.: 112) . . . . . . . . . . . . . . . . 36
5.2.6 CONTR (FB no.: 50 ... 57 Type no.: 91) . . . . . . . . . . . . . . . . 37
5.2.7 ALARM (FB no.: 70 ... 77 Type no.: 46) . . . . . . . . . . . . . . . . 41
3 9499 040 50511
6 Function modules ...........................43
6.1 Function module for SIMATIC®S5 ........................43
6.1.1 Structure . . . . . . . . . . . . . . . . . . . . ...............43
6.1.2 Function module call . . . . . . . . . . . . . ................45
6.2 Function module for SIMATIC®S7 ........................46
6.2.1 Structure . . . . . . . . . . . . . . . . . . . . ...............46
7 Annex ..................................49
7.1 Terms .........................................49
7.2 GSD file . . . . . . . . . . . . . . . . . . . . . . . ................49
9499 040 50511 4
1 General
The KS800 multi-temperature controller versions (9407-480-30001) are equipped with a PROFIBUS-DP interface for transmission of process parameter and configuration data. Connection is via the 9-pole sub-D connector socket. The serial communication interface permits connections to supervisory systems, visualization tools, etc.
Another interface, which is always provided as standard, is the PC interface. This interface serves for connecting an engineering tool, which runs on a PC.
Communication is according to the master/slave principle. KS800-DP is always slave.
Cable medium as well as physical and electrical interface proporties:
Network topologie
w
Linear bus with active bus termination at both ends. Stub lines are possible (dependent of cable type, a maximum overall stub line length of 6,6m with 1,5Mbit/s and of 1,6m with 3-12Mbit/s is possible).
Transmission medium
w
screened, twisted 2-wire cable (Ä EN 50170 vol.2).
Baudrates and cable lengths (without repeater)
w
The maximum cable length is dependent of transmission rate. The Baudrate is determined by the master configuration.
General
Automatic Baudrate detection
Interface
w
RS485 connectable with sub-D connector (9-pole).
Address settings
w
Address setting is possible as follows:
- Adjustment via coding switches, range 00 ... 99, default 00
- adjustment via software, range 0 ... 126, default 126 With the coding switches set to ‘00’, the adjusted software address is valid. A modified coding switch address is active only after switching on the supply voltage again.
32 instruments in one segment. Extension to 127 by means of a repeater is possible.
w
KS800 with PROFIBUS-DP interface offers many advantages with respect to handling and integration into a PROFIBUS network.
Diagnosis and monitoring via COM-LED
w
LED off: error identification for ‘no bus access’ (so far not addressed by the master) LED on: OK, cyclic data exchange running LED blinks: (2Hz) Data exchange interrupted LED blinks: (4Hz) PROFIBUS parameter setting and configuration error.
Particularities
w
Configurable process data modules Direct input and output reading and writing Output forcing Easy connection to PLCs
Baudrate Maximum cable length 9,6 / 19,2 / 93,75 kbit/s 1200 m 187,5 kbit/s 1000 m 500 kbit/s 400 m 1,5 Mbit/s 200 m 3 ... 12 Mbit/s 100m
5 9499 040 50511
General
1.1 Scope of delivery
The engineering set comprises:
Disk
w
3,5-Diskette (A:)
Ks800dp
Gsd
S5_fb
Example.fix
S7_fb
Example
Type
Example
Interface description for PROFIBUS-DP
w
Pma_0800.gsd Pmadp1st.s5d
Pmadm3*.*
Pma_parm.arj Ks800dmo.arj Ks800_1x.200 Demo308i.et2
Demo95ui.et2
Ks800dem.et2
GSD file STEP®5-FB for parameter channel
project example in STEP®5 for FixPoint
STEP®7-FB for parameter channel project example in STEP®7 type file configuration example COM PROFIBUS for
IM308-C configuration example COM PROFIBUS for S5 CPU
95U configuration example COM PROFIBUS for
PC-Karte
9499 040 50511 6
2 Hints on operation
2.1 Interface connection
The PROFIBUS must be connected to the 9-pole sub-D socket. Serial interface, physical RS485-based signals.
Fig.: 1 Connecting PROFIBUS-DP
Hints on operation
The construction of suitable cabling must be provided by the user, whereby the general cable specifications to EN 50170 vol.2 must be taken into account.
2.1.1 Installation of cables
When laying the cables, the general hints for cable installation given by the supplier of the master module must be followed:
Cable run in buildings (inside and outside cabinets)
w
Cable run inside and outside buildings
w
Potential compensation
w
Cable screening
w
Measures against interference voltages
w
Stub line length
w
Bus termination resistors are not contained in KS800-DP, but must be realized via the connector, if
w
necessary. Earthing
w
Special hints for installation of PROFIBUS cables are given in the PNO technical guideline “Installation
g
guidelines for PROFIBUS-DP/FMS” (Order no. 2.111 [dt]; 2.112 [engl.]).
2.2 Forcing
Digital outputs can be written directly after configuring them accordingly.
C.100 C.500/
do
7 9499 040 50511
Process data
3 Process data
Process data module A:
Process data module B:
Process data module C:
Process data module D:
Process data module E:
Process data module F:
Process data module G:
Process data module H:
During data transmission, distinction of process data to be transmitted cyclically and parameter / configuration data to be transmitted acyclically is made. The I/O data field is structured modularly for matching it to the requirements of the control task. Selection of the process data module is via configuration tools of the master circuits (e.g. with Siemens S5 via COM PROFIBUS).
The following process data modules can be configured:
read (66 bytes)
1)
Instrument status, (process value, output value, status, ..) Instrument control, (set-point, output value, ...)
write1)(52 bytes) without
parameter
channel
read (74 bytes) Instrument status, (process value, output value, status, ..) Instrument control, (set-point, output value, ...)
1)
write1)(60 bytes)* with
parameter
channel
1)
only parameter channel
read (74 Byte)
1)
Instrument status, (process value, output value,
(8/8 bytes)
write (60 Byte)
1)
Instrument control, (set-point, output value, ...)
with parameter
channel
status, ..)
read (116 Byte)
1)
write (116Byte)
Instrument status, (52 variable process data) Instrument control, (52 variable process data)
read (92 Byte)
1)
write (92 Byte)
Instrument status, (40 variable process data) Instrument control, (40 variable process data)
read (28 Byte)
1)
write (28 Byte)
Instrument status, (8 variable process data) Instrument control, (8 variable process data)
read (16 Byte) Instrument status, (multiplexing 64 variable
process data)
1)
write (16 Byte) Instrument control, (multiplexing 64 variable process
data)
1)
with parameter
channel
1)
with parameter
channel
1)
with parameter
channel
1)
with parameter
channel
The parameter channel is used for sequential transmission of parameter and configuration data. The values to be adjusted and data significations are given in the following tables:
For the process data modules (module E - H), the cyclical transmission data must be selected by means of the ‘KS800’ engineering tool via General instrument settings r Communication r Bus data.
Max. 64 data for reading and 64 data for writing can be selected. Dependent of selected process data module, the first 52 data (module E), the first 40 data (module F), the first 8 data (module H) or all data are used (module G).
1) Number of required bytes in the I/O field
9499 040 50511 8
Module A (process data of all 8 channels)
q
FIX point format
No. Descr. R/W
Inputs ] 66
0 Unit_State R 2 11 16DE 1 Xeff_1 R 2 50 1AE 2 Yeff_1 R 2 50 1AE 3 HC_1 R 2 50 1AE 4 Alarm_1 R 1 10 8DE 5 Status_1 R 1 10 8DE 6 Xeff_2 R 2 50 1AE 7 Yeff_2 R 2 50 1AE 8 HC_2 R 2 50 1AE 9 Alarm_2 R 1 10 8DE
10 Status_2 R 1 10 8DE
...
36 Xeff_8 R 2 50 1AE 37 Yeff_8 R 2 50 1AE 38 HC_8 R 2 50 1AE 39 Alarm_8 R 1 10 8DE 40 Status_8 R 1 10 8DE
Outputs ] 52
41 Unit_Cntrl W 4 23 32DA 42 Wvol_1 W 2 60 1AA 43 Yman_1 W 2 60 1AA 44 Cntrl_1 W 2 21 16DA 45 Wvol_2 W 2 60 1AA 46 Yman_2 W 2 60 1AA 47 Cntrl_2 W 2 21 16DA
...
63 Wvol_8 W 2 60 1AA 64 Yman_8 W 2 60 1AA 65 Cntrl_8 W 2 21 16DA
Number of bytes
Hex COM PROFIBUS
Value
Process data
Rem.
A
B C
B C
B C
D
E
E
E
q
Module B (process data of all 8 channels + parameter channel)
FIX point format
No. Descr. R/W
Inputs ] 66
0 Unit_State R 2 11 16DE 1 Xeff_1 R 2 50 1AE 2 Yeff_1 R 2 50 1AE 3 HC_1 R 2 50 1AE 4 Alarm_1 R 1 10 8DE 5 Status_1 R 1 10 8DE 6 Xeff_2 R 2 50 1AE 7 Yeff_2 R 2 50 1AE 8 HC_2 R 2 50 1AE 9 Alarm_2 R 1 10 8DE
10 Status_2 R 1 10 8DE
...
36 Xeff_8 R 2 50 1AE 37 Yeff_8 R 2 50 1AE 38 HC_8 R 2 50 1AE 39 Alarm_8 R 1 10 8DE 40 Status_8 R 1 10 8DE
Number of bytes
Hex COM PROFIBUS
Value
Rem.
A
B C
B C
B C
9 9499 040 50511
Process data
Outputs ] 52
41 Unit_Cntrl W 4 23 32DA 42 Wvol_1 W 2 60 1AA 43 Yman_1 W 2 60 1AA 44 Cntrl_1 W 2 21 16DA 45 Wvol_2 W 2 60 1AA 46 Yman_2 W 2 60 1AA 47 Cntrl_2 W 2 21 16DA
...
63 Wvol_8 W 2 60 1AA 64 Yman_8 W 2 60 1AA 65 Cntrl_8 W 2 21 16DA
Inputs/outputs
66 Parameter channel R/W 8 / 8 F3 4AX
Module C (only parameter channels)
q
FIX Point-Format
No. Descr. R/W
Inputs/outputs
0 Parameter channel R/W 8 / 8 F3 4AX
Number of bytes
Hex COM PROFIBUS
Value
D
E
E
E
Transmission of the analog values is in the 16-bit fix point format (FIX). In FIX format, all values are interpreted with one digit behind the decimal point (range -3000,0 to 3200,0).
Module D (Like Module B, but more compact Configurationformat)
q
FIX Point-Format
No. Descr. R/W
Inputs ] 74
0 Unit_State R 2 11 16DE 1 Xeff_1, Yeff_1, HC_1, Alarm_1, Status_1 R 8 53 4AE 2 Xeff_2, Yeff_2, HC_2, Alarm_2, Status_2 R 8 53 4AE
...
8 Xeff_8, Yeff_8, HC_8, Alarm_8, Status_8 R 8 53 4AE
Outputs ] 60
9 Unit_Cntrl W 4 23 32DA 10 Wvol_1, Yman_1, Cntrl_1 W 6 62 3AA 11 Wvol_2, Yman_2, Cntrl_2 W 6 62 3AA
...
17 Wvol_8, Yman_8, Cntrl_8 W 6 62 3AA
In- /Outputs
18 Parameterchannel R/W 8 / 8 F3 4AX
Number of
Bytes
Hex COM PROFIBUS
Value
Rem.
A
B
9499 040 50511 10
Module E (52 variable processdata and parameterchannel)
q
FIX Point-Format
No.. Descr.. R/W
Inputs ] 116
0 Unit_State, Digital_Outputs R 4 13 32DE 1 IN_1 … IN_8 R 16 57 8AE 2 IN_9 … IN_16 R 16 57 8AE
...
6 IN_41 … IN_48 R 16 57 8AE 7 IN_49 … IN_52 R 8 53 4AE
Outputs ] 116
8 Unit_Cntrl I, Unit_Cntrl II W 4 23 32DA 9 OUT_1 … OUT_8 W 16 67 8AA
10 OUT_9 … OUT_16 W 16 67 8AA
...
14 OUT_41 … OUT_48 W 16 67 8AA 15 OUT_49 … OUT_52 W 8 63 4AA
In- /Outputs
16 Parameterchannel R/W 8 / 8 F3 4AX
Number of
Bytes
Hex COM PROFIBUS
Value
Process data
Rem.
A, F
B
Module F (40 variable processdata and parameterchannel)
q
FIX Point-Format
No.. Descr.. R/W
Inputs ] 92
0 Unit_State, Digital_Outputs R 4 13 32DE 1 IN_1 … IN_8 R 16 57 8AE 2 IN_9 … IN_16 R 16 57 8AE
...
5 IN_33 … IN_40 R 16 57 8AE
Outputs ] 92
6 Unit_Cntrl I, Unit_Cntrl II W 4 23 32DA 7 OUT_1 … OUT_8 W 16 67 8AA 8 OUT_9 … OUT_16 W 16 67 8AA
...
11 OUT_33 … OUT_40 W 16 67 8AA
In- /Outputs
12 Parameterchannel R/W 8 / 8 F3 4AX
q
Module G (8 variable processdata and parameterchannel)
No.. Descr.. R/W
Inputs ] 28
0 Unit_State, Digital_Outputs R 4 13 32DE 1 IN_1 … IN_8 R 16 57 8AE
Outputs ] 28
2 Unit_Cntrl I, Unit_Cntrl II W 4 23 32DA 3 OUT_1 … OUT_8 W 16 67 8AA
In- /Outputs
4 Parameterchannel R/W 8 / 8 F3 4AX
Number of
Bytes
Number of
Bytes
Hex COM PROFIBUS
FIX Point-Format
Hex COM PROFIBUS
Value
Value
Rem.
A, F
B
Rem.
A, F
B
11 9499 040 50511
Process data
g
Module H (Multiplexing of all 64 variable processdata and parameterchannel)
q
FIX Point-Format
No.. Descr. R/W
Inputs ] 16
0 Unit_State, Digital_Outputs R 4 13 32DE
1
Index IN
2 Read Value R 2 50 1AE
Outputs ] 16
3 Unit_Cntrl I, Unit_Cntrl II W 4 23 32DA
4
Index OUT
5 Write Value W 2 60 1AA
In- /Outputs
6 Parameterchannel R/W 8 / 8 F3 4AX
Operating principle (reading):
Enter the index number into ‘Index OUT’ (Read).
w
After the index number is mirror-inverted in ‘Index IN’ (Read), the read value is stored in
w
‘Read Value’ .
Operating principle (writing):
Enter the index number into ‘Index OUT’ (Write)
w
Enter the value to be written into ‘Write Value’.
w
After the index number is mirror-inverted in ‘Index IN’ (Write), the value was transmitted.
w
To ensure consistent data transmission, ‘Index OUT’ (Write) and ‘Write Value’ must have been updated safely before a PROFIBUS data cycle. If this cannot be ensured, proceed as follows: ‘0’ in ‘Index OUT’ (Write), write the value to be transmitted into ‘Write Value’ and write the index number into ‘Index OUT’ (Write). With entry ‘0’ in ‘Index OUT’ (Read) / ‘Index OUT’ (Write), no data are transmitted.
Read Write
Read Write
Number of
Bytes
R 2 50 1AE
W 2 60 1AA
Hex COM PROFIBUS
Value
Rem.
A, F
B
3.1 Defined as status byte are:
Unit_State
MSB LSB
D15 D14 D13 .. .. D2 D1 D0
Bit no. Name Allocation Status ‘0’ Status ‘1’
D0 D1 D2 D3 D4 D5
D6, D7
D8
D9 D10 D11 D12 D13 D14 D15
IN13 Digital input IN13 (ParNo) off on IN14 Digital input IN14 (Coff) off on IN15 Digital input IN15 (Leck) off on IN16 Digital input IN16 (w/w2) off on
always ‘0’
Dex Changed ComRead or ComWrite data no yes
Always ‘0’ Err1 Transmission error channel 1 no yes Err2 Transmission error channel 2 no yes Err3 Transmission error channel 3 no yes Err4 Transmission error channel 4 no yes Err5 Transmission error channel 5 no yes Err6 Transmission error channel 6 no yes Err7 Transmission error channel 7 no yes Err8 Transmission error channel 8 no yes
9499 040 50511 12
Rem. B1 Alarm_x
MSB LSB
D7 D6 D5 D4 D3 D2 D1 D0
Bit no. Name Allocation Status ‘0’ Status ‘1’
Lim HH Alarm HH off on
D0
Lim H Alarm H off on
D1
Lim L Alarm L off on
D2
Lim LL Alarm LL off on
D3
Fail Alarm Sensor Fail no yes
D4
HCAl Heating current alarm off on
D5
LeckAl Leakage current alarm off on
D6
do1_8Al Alarm OUT1 ... 8 off on
D7
Rem. C Status_x
MSB LSB
D7 D6 D5 D4 D3 D2 D1 D0
Bit no. Name Allocation Status ‘0’ Status ‘1’
w/W2 w/W2 switch-over w W2
D0
We/w External/internal switch-over external internal
D1
w/Wanf Start-up set-point switch-over w Wanf
D2
Orun Optimization active no yes
D3
A/M Automatic/manual switch-over auto manual
D4
Coff Controller switched off no yes
D5
Y1 Switching output 1 off on
D6
Y2 Switching output 2 off on
D7
Rem. D Unit_Contrl I
MSB LSB
D31 D30 D29 ... ... D2 D1 D0
Process data
Bit no. Name Allocation Status ‘0’ Status ‘1’
D0 D1 D2 D3 D4 D5 D6 D7 D8
D9 D10 D11 D12 D13 D14 D15
OUT1 Forcing of output OUT1 off on OUT2 Forcing of output OUT2 off on OUT3 Forcing of output OUT3 off on OUT4 Forcing of output OUT4 off on OUT5 Forcing of output OUT5 off on OUT6 Forcing of output OUT6 off on OUT7 Forcing of output OUT7 off on OUT8 Forcing of output OUT8 off on OUT9 Forcing of output OUT9 off on OUT10 Forcing of output OUT10 off on OUT11 Forcing of output OUT11 off on OUT12 Forcing of output OUT12 off on OUT13 Forcing of output OUT13 off on OUT14 Forcing of output OUT14 off on OUT15 Forcing of output OUT15 off on OUT16 Forcing of output OUT16 off on
13 9499 040 50511
Process data
Rem. E Unit_Contrl II
MSB LSB
D31 D30 D29 ... ... D2 D1 D0
Bit no. Name Allocation Status ‘0’ Status ‘1’
D0 D1 D2 D3 D4 D5
D6- D15
OUT17 Forcing of output OUT17 off on OUT18 Forcing of output OUT18 off on OUT19 Forcing of output OUT19 off on OstartG Start optimizing all group controllers no start start OStopG Forcing of output OUT5 no stop stop Dval Forcing of output OUT6 flank 0->1
always "0"
Rem. F Cntrl_x
MSB LSB
D15 D14 D13 ... ... D2 D1 D0
Bit no. Name Allocation Status ‘0’ Status ‘1’
D0 D1 D2 D3 D4 D5
D6 .. D15
A/M Automatic/manual switch-over auto manual Coff Controller switched off no yes w/W2 w/W2 switch-over w W2 We/w External/internal switch-over external internal OStart Start optimization OStop Stop optimization
1)
1)
no start start no stop stop
unused, always ‘0’
Rem. G Digital_Outputs
MSB LSB
D15 D14 D13 ... ... D2 D1 D0
Bit-No. Name Allocation Status ‘0’ Status ‘1’
D0 D1 D2 D3 D4 D5 D6 D7 D8
D9 D10 D11 D12 D13 D14 D15
Y1_7 Y1-Output Channel 7 off on Y2_7 Y2-Output Channel s 7 off on Y1_6 Y1-Output Channel 6 off on Y2_6 Y2-Output Channel 6 off on Y1_5 Y1-Output Channel 5 off on Y2_5 Y2-Output Channel 5 off on Y1_4 Y1-Output Channel 4 off on Y2_4 Y2-Output Channel 4 off on Y1_3 Y1-Output Channel 3 off on Y2_3 Y2-Output Channel 3 off on Y1_2 Y1-Output Channel 2 off on Y2_2 Y2-Output Channel 2 off on Y1_1 Y1-Output Channel 1 off on Y2_1 Y2-Output Channel 1 off on Y1_0 Y1-Output Channel 0 off on Y2_0 Y2-Output Channel 0 off on
1) Signals are active only with change from 0 Ä 1. The signal must be available, until a change of Orun
(see Status_x) has occurred.
2)See chapter 3.3 page 15 "Disabling mechanism with changes".
9499 040 50511 14
3.2 Status and diagnosis messages
For KS800 instrumwent status signalling, the external (user-specific) diagnosis must be used. The format corresponds to the instrument-related diagnosis (EN50170 volume 2 PROFIBUS).
Instrument-specific diagnosis Octet 1
MSB LSB
D7 D6 D5 D4 D3 D2 D1 D0
Bit no. Name Allocation Status ‘0’ Status ‘1’ Type
D0 D1 D2 D3
D4 .. D7
Instrument-specific diagnosis Octet 2
Bit no. Name Allocation Status ‘0’ Status ‘1’ Type
D0 D1 D2 D3 D4 D5 D6 D7
Online/Conf On-line / configuration on-line configuration status DO1_12Fail Error do1 ... do12 no yes diagnosis D=13_16Fail Error do13 ... do16 no yes diagnosis HCFail Heating current short circuit no yes diagnosis
unused, always ‘0’
MSB LSB
D7 D6 D5 D4 D3 D2 D1 D0
InpF1 Input fail channel 1 no yes diagnosis InpF2 Input fail channel 2 no yes dianosis InpF3 Input fail channel 3 no yes diagnosis InpF4 Input fail channel 4 no yes diagnosis InpF5 Input fail channel 5 no yes diagnosis InpF6 Input fail channel 6 no yes diagnosis InpF7 Input fail channel 7 no yes diagnosis InpF8 Input fail channel 8 no yes diagnosis
Process data
3.3 Disabling mechanism with changes
Changing the reference to a datum to be transmitted during operation, e.g. on-line via parameter channel or via the engineering interface, implies a hazard of value misinterpreting by bus master and KS800. This can be prevented by a disabling mechanism.
When changing a reference, the controller module sets bit Dex = 1.
w
The master must evaluate bit Dex.
w
Acknowledgement and a statement that there are only valid write data also on the master side, are
w
generated via a positive flank for bit Dval. When receiving a positive flank, the controller module sets Dex = 0 and stores the data which were
w
sent. Resetting Dex is also possible by switching the voltage off and on again.
w
3.4 Process data transmission
Process data are transmitted cyclically by the controller, whereby compliance with the minimum poll time of 570ms is ensured, if no simultaneous access via the parameter channel is made. Output data sent to KS800 are compared with the previously transmitted values and processed by the controller with deviation. If one of the data is faulty, bit 8 with error in channel 1, bit 9 with error in channel 2 ... or bit 15 with error in channel 8 is set in the ‘Unit_State’, until no faulty accesses are pending any more.
15 9499 040 50511
Process data
3.5 Parameter transmission
For parameter transmission, the ‘parameter channel’ via which data can be exchanged transparently via the function block protocol is available. Thereby, all possible protocol access modes are supported (individual access, tens block and overall block). Communication to the controller is transparent, i.e. the user himself is responsible for monitoring ranges, operating modes (auto/hand) etc. The parameter channel is designed for large amounts of data with low requirements on the transmission speed.
3.5.1 Message elements
Some terms which are used in the following text are explained below:
Element Description Rem.
ID
ID1
Code
FB no.
Fct no.
Type
Rem. A ID
This element identifies the telegram type:
Rem. B ID1
This element identifies the file format:
Parameter 1 Parameter 1
Parameter 2 Parameter 2
.... ....
.... ....
.... ....
.... ....
.... ....
Parameter n Parameter n
Parameterkanal
Telegram mode identification
Format of data to be transmitted or to be received
Addressing code of a datum
Function block number
Function number
d.c. (always ‘0’)
ID = 0x10 = start telegram
1)
ID = 0x68 = data telegram ID = 0x16 = end telegram
ID1=0= Integer
ID1 = 1 = Real value as fixpoint
A
B
C
D
E
Rem. C Code
The code identification is decimal and the range includes ‘00’...’99’ as well as ‘178’ = B2 and ‘179’ = B3.
Rem. D FB no. (function block number)
A function block is addressed with a function block number. It is within ‘0’ and ‘250’. Channel addressing is also via the function block number.
Function block number ranges:
0general data for the overall instrument
w
1 - 99 fixed function blocks
w
Rem. E Fct. no. (function number)
A function as a partial address of a function block is also addressed with a function number. It is within ‘0’ and ‘99’.
Function number ranges:
0function general
w
1 - 99 other functions
w
1) 0x10 means 10 in hexadecimal
9499 040 50511 16
Loading...
+ 36 hidden pages