Page 2
YOUR PARTNER IN MAINTENANCE Repair this product with RGB ELEKTRONIKA ORDER A DIAGNOSIS LINEAR ENCODERS SYSTEMS INDUSTRIAL COMPUTERS ENCODERS CONTROLS SERVO AMPLIFIERS MOTORS MACHINES OUR SERVICES POWER SUPPLIERS OPERATOR SERVO PANELS DRIVERS At our premises in Wrocław, we have a fully equipped servicing facility. Here we perform all the repair works and test each later sold unit.
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. KS800 with PROFIBUS-DP interface offers many advantages with respect to handling and integration into a PROFIBUS network.
General Scope of delivery The engineering set comprises: Disk 3,5-Diskette (A:) Pma_0800.gsd GSD file Ks800dp Pmadp1st.s5d STEP 5-FB for parameter channel ® S5_fb Pmadm3*.* project example in STEP 5 for FixPoint ® Example.fix Pma_parm.arj STEP 7-FB for parameter channel ® Ks800dmo.arj project example in STEP ®...
Cable screening Measures against interference voltages Stub line length Bus termination resistors are not contained in KS800-DP, but must be realized via the connector, if necessary. Earthing Special hints for installation of PROFIBUS cables are given in the PNO technical guideline “Installation guidelines for PROFIBUS-DP/FMS”...
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.
Page 11
Process data Module A (process data of all 8 channels) FIX point format Descr. Rem. Value Number of bytes COM PROFIBUS Inputs ] 66 0 Unit_State 16DE 1 Xeff_1 2 Yeff_1 3 HC_1 4 Alarm_1 5 Status_1 6 Xeff_2 7 Yeff_2 8 HC_2 9 Alarm_2 10 Status_2...
Page 13
Process data Module E (52 variable processdata and parameterchannel) FIX Point-Format No.. Descr.. Rem. Value Number of Bytes COM PROFIBUS Inputs ] 116 0 Unit_State, Digital_Outputs 32DE A, F 1 IN_1 … IN_8 2 IN_9 … IN_16 6 IN_41 … IN_48 7 IN_49 …...
Process data Module H (Multiplexing of all 64 variable processdata and parameterchannel) FIX Point-Format No.. Descr. Rem. Value Number of Bytes COM PROFIBUS Inputs ] 16 0 Unit_State, Digital_Outputs 32DE A, F Read Index IN Write 2 Read Value Outputs ] 16 3 Unit_Cntrl I, Unit_Cntrl II 32DA...
Page 15
Process data Rem. B1 Alarm_x Bit no. Name Allocation Status ‘0’ Status ‘1’ Lim HH Alarm HH Lim H Alarm H Lim L Alarm L Lim LL Alarm LL Fail Alarm Sensor Fail HCAl Heating current alarm LeckAl Leakage current alarm do1_8Al Alarm OUT1 ...
Page 16
Process data Rem. E Unit_Contrl II Bit no. Name Allocation Status ‘0’ Status ‘1’ OUT17 Forcing of output OUT17 OUT18 Forcing of output OUT18 OUT19 Forcing of output OUT19 OstartG Start optimizing all group controllers no start start OStopG Forcing of output OUT5 no stop stop Dval...
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 ...
Process data 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.
Value 0x68 count Thereby, the first value is sent with Count = 1. For flow control, Count is reflected by KS800 (? once). The values are transmitted in the order real - integer. End telegram: Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 - 7 Controller replies: Byte 0 Byte 1...
0x68 count Value Thereby, the first value is sent with Count = 1. For flow control, count is reflected by KS800 (? once). The values are transmitted in the order real - integer. End telegram: Master sends: Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 - 7 Controller replies: Byte 0 Byte 1...
Process data Example 2: (message structure with data request) Reading the error code of self-tuning heating (MSG1) of controller (channel 2). Start telegram: Master sends: Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 0x10 Controller Byte 0...
Page 22
Process data The message structure with block accesses with code B2/B3 is shown using two examples below. The order of data to be transmitted is given in the relevant code table. Valid values for ID1: Configuration as FixPoint: 0, 1 Transmission of real values each as a FixPoint value Example 1: (message structure with data request) Reading set-point parameters (W0, W100, W2, Grw+, Grw- and Grw2) of controller (channel 7).
Process data Data types Data values are classified in data types for transmission. Floating point number (Real) Range:as integer (in individual access) -9999 ... 0 ... 9999 as fix point-3000,0 ... 0,0 ... 3200,0 Exception:switch-off value ‘-32000’ positive integer number Range: 0 ...
Example of a test environment: A KS800-DP with address 5 is to be connected to an IM 308-C via PROFIBUS-DP. Process data module B is selected (8 process data channels and parameter channel). Data shall be transmitted in fix point format.
Page 25
Quick entrance After taking the test set-up into operation, testing of the I/O area and parameter channel call-up are possible by means of the graphic modules enclosed in the project. Operanden: Signalzustände: -Unit_Sta KM=00000000 00000000 Graphic module 1: -UnitCntA KM=00000000 00000000 -UnitCntB KM=00000000 00000000 Shows all process data of channel 1 (fix point).
Example of a test environment: A KS800-DP with address 5 shall be connected to a CPU315-2 DP via PROFIBUS-DP. Process data module B is selected (8 process data channels and parameter channel). Data shall be transmitted in fix point format.
Page 27
Quick entrance VAT 1: Shows the process data of all channels (fix point). Only channel 1 can be seen in the figure opposite. Example channel 1: (set-point specification = 30 output variable = 40 % manual operation) VAT 2: Access to the function module parameters for parameter channel mapping is possible by means of this variable table.
Function block protocol Data structuring Due to the variety of information to be processed in KS800, logically related data and actions are grouped into function blocks. A function block has input data, output data, parameters and configuration data. 25 function blocks are defined for KS800. They are addressed via fixed block addresses (FB no.). Each block is also grouped in individual functions.
Example: 2-pnt. controller; 0 2 0 4 Set-point / cascade - For transmission of configuration words, see chapter page 19. - The possible settings of the configuration words are given in the KS800 function description (order no.: 9499 040 49218) 5.2.2 INSTRUMENT (FB no.: 0...
Page 30
Function block protocol Rem. A Unit_State1 Bit no. Name Allocation Status ‘0’ Status ‘1’ ‘0’ always ‘0’ Instrument status online configuration D2...D4 ‘0’ always ‘0’ Parameter update ‘1’ always ‘1’ Parity Rem. B DPErr D15 D14 D13 D12 D11 D10 D9 Bit no.
Page 31
Function block protocol I/O connection (function no.: 2) Code Descr. R/W Type Description Range Rem. Block 1...2 Block State_alarm_out R Status alarm outputs State_dio Status digital inputs/outputs Block 21...24 Block SnOEMOpt Serialnumber OEM-Field SnFabMonth Serialnumber Produktion month SnCntHi Serialnumber Counter High SncntLo Serialnumber Counter Low Block 31...33...
Page 32
Function block protocol GProcessVal (Funktions-Nr: 10) Code Descr.. Channel R/W Type Description Range Rem. Xeff Effective process value of channel 1 Yeff Effective correcting variable of channel 1 Heating current of channel 1 Xeff Effective process value of channel 2 Yeff Effective correcting variable of channel 2 Heating current of channel 2...
Page 33
Function block protocol GControlPar (Funktions-Nr: 12) Code Descr. Channel R/W Type Description Range Rem. R/W INT Automatic / manual switch-over of channel 1 Coff R/W INT Controller on/off of channel 1 w/W2 R/W INT Switch-over w/W2 of channel 1 Ostart R/W INT Self-tuning start of channel 1 SoftStartEnable R/W INT...
Page 34
Function block protocol GPIDPar (Funktions-Nr: 14) Code Descr. Channel R/W Type Description Range Rem. R/W INT Proportional band of channel 1 R/W INT Integral time of channel 1 R/W INT Derivative time of channel 1 R/W INT min. cycle time of channel 1 R/W INT Proportional band of channel 2 R/W INT...
Function block protocol 5.2.3 Special accesses (FB no.: 10 ... 17 type no.: 10) Alternatively, access to the KS800 data is possible via function block ‘Special accesses’ . In this case, access is only via code B2. ProcessVal (Funktions-Nr: 0) Code Descr.
Function block protocol 5.2.4 Freely configurable (FB no.: 20 ... 27 type no.: 20) Function block ”Freely definable” defines data, which can be read only by block access 20 or 30. The ComWrite data can also be changed by mean of keys 31 – 38. Additionally, this Profibus interface setting provides the values for the relevant data modules.
Page 37
Function block protocol Parameter- a. Configuration-Data ComRead (Funktionsnr: 0) Code Descr. Type Description Range Rem. 41 ComReadBlock1 Functionblocknumber for value 1 0 … 77 42 ComReadFctKey1 Funktionnumber and code for value 1 0 … 2999 43 ComReadBlock1 Functionblocknumber for value 2 0 …...
Function block protocol 5.2.5 INPUT (FB no.: 60 ... 67 Type no.: 112) All data which concern acquisition and processing of all input values (analog/digital) are grouped in function block ‘INPUT’. The data are available once per controller channel. Process data General input processing of analog signals (function no.: 0)
Function block protocol 5.2.6 CONTR (FB no.: 50 ... 57 Type no.: 91) All data which concern the controller are grouped in function block ‘CONTR’. They are available once for each controller channel. Process data General (function no.: 0) Code Descr.
Page 40
Function block protocol Rem. B2 Cntrl_x: (Code 39) D15 D14 D13 D12 D11 D10 D9 Bit no. Name Allocation Status ‘0’ Status ‘1’ Automat/Manuel Auto Manuel Coff Switch the controller off w/w2 w/w2 switch over we/wi wext/wint wext wint OStart Start the optimisation no start start...
Page 41
Function block protocol Rem. D Status 1 Tuning ‘State_Tune1’ Bit no. Name Allocation Status ‘0’ Status ‘1’ OStab Process at rest Orun Optimization run Oerr Optimization result error D3...D5 ‘0’ always ‘0’ ‘1’ always ‘1’ Parity Parameter a. configuration data General (function no.: 0) Code...
Page 42
Function block protocol Output variable Output variable processing(function no.: 4) Code Descr. R/W Type Description Range Rem. R/W FP Min. output limiting -105..105 % R/W FP Max. output limiting -105..105 % R/W FP Working point f. output variable -105..105 % R/W FP Max.
Function block protocol 5.2.7 ALARM (FB no.: 70 ... 77 Type no.: 46) Function block ‘ALARM’ defines the overall alarm processing of the relevant controller. The data are available once per controller. Process data General (function no.: 0) Code Descr. R/W Type Description Range...
Page 44
Function block protocol Parameter a. configuration data General (function no.: 0) Code Descr. Type Description Range Rem. LimL Low alarm -999..9999 LimH High alarm -999..9999 xsd1 High/low alarm switch. difference 0..9999 LimLL Low low alarm -999..9999 LimHH High high alarm -999..9999 LimHC Heating current limit value...
KH Timeout in time units, decremented with each FB call, must be higher than timeout in DP module. TIME The current transmission status for the selected data area is given in the display word. The structure of the display word is: ANZW The function module reads or writes KS800 parameter/configuration data. A-A, E-A FB206 A-Adr. E-Adr.
Page 46
DWLR (real), DWLI (integer) These parameters contain the relevant number of received data after a read access. With a write access, the number of data to be transmitted is specified. DWLC is not required in KS800, value must be set to SERV This parameter determines the access type (write / read) Ä...
This display word represents the current transmission status. Bit 4 can be used as an input for resetting the FB 206 / FB 207. 6.1.2 Function module call List representation: :SPA FB 206 Name :PMA-FIX DB-S DWAS DWLR DWLI DWLC SERV CODE...
The current transmision status for the selected data area is given in the display word. The structure of the display word is: ANZW The function module reads or writes KS800 parameter/configuration data. A-start, E-start The parameter channel input addresses or output addresses are entered into these parameters. The...
Page 49
Function modules Service This parameter determines the access type (write / read) Ä ID1. Write access: F0 = Integer Read access: Integer F1 = Real Real Individual access This access (code xx) can be used for reading or writing an individual value of a function. Valid values for ID1: Configuration as 0 = integer...
Page 50
Function modules the relevant number of data to be transmitted is filled in. DWLC is not required in KS800, value must be set to 0. ANZW This display word represents the current transmission status. Bit 4 can be used as an input for resetting the FB 206 / FB 207.
Page 53
Annex EndModule ; 4. As process data B in compact form Module = “D: Compact Process data(8) + parameter” 0x11,\ 0x53, 0x53, 0x53, 0x53, 0x53, 0x53, 0x53, 0x53,\ 0x23,\ 0x62, 0x62, 0x62, 0x62, 0x62, 0x62, 0x62, 0x62,\ 0xF3 EndModule ; 5. Process data for 52 Variable data + parameter channel Module = “E: 52 Variable data + parameter”...
Need help?
Do you have a question about the KS800 and is the answer not in the manual?
Questions and answers