background image

Access from the user program

KL3356

49

Version: 2.3.0

Recommended values

Value in R37

F

stop

Cycle time

0x35C0

50 Hz

140 ms

0x2660

70 Hz

100 ms

0x1330

140 Hz

50 ms

0x7FF1

40 ms

0x3FF1

20 ms

0x1001

<4 ms

Value in R37

F

limit

Cycle time

0x7FF2

39.6 Hz

40 ms

0x3FF2

77.36 Hz

20 ms

0x1002

158 Hz

<4 ms

R38: scaling factor

This register contains the scale factor.

Examples:
0x0001 (01

dec

) means factor 1

0x000A (10

dec

) means factor 10

The scale factor can be enabled through bit 

R32.8 [

}

 47]

 in the feature register.

R39: Measuring interval for reference signal

This register contains the measuring interval for the cyclic reference measurement. The unit is 100 ms. The
cyclic reference measurement can be enabled through bit 

R32.6 [

}

 47]

 in the feature register.

R40: Calibration interval

This register contains the calibration interval for the terminal's automatic calibration. The unit is 100 ms. The
automatic calibration can be enabled through bit 

R32.4 [

}

 47]

 in the feature register.

R41: Test interval

This register contains the test interval for the terminal's cyclic testing. This interval is always a multiple
(default: 3

dec

) of the calibration interval (R40). The test interval when the terminal leaves the factory is

therefore 10 x 180 s = 1800 s. The cyclic testing can be enabled through bit 

R32.5 [

}

 47]

 in the feature

register.

R42: nominal test value

This register contains the terminal's nominal test value.

During the production of the terminal, the actual test value is transferred from register 5 to the nominal test
value register R42. This value provides information about a voltage resulting from an internal reference
voltage source and a voltage divider.

During a calibration, the system checks whether the value is within the tolerance given by registers R42 and
R43. This can be used to determine whether there is an internal defect (e.g. faulty analog switch).

This value may change slightly over time (due to ageing of the electrical components). If necessary, the
actual test value of register R5 should therefore be transferred to register R42 from time to time. This can be
done safely, because in case of an error the value will approach 0 or 65535.

R43: test tolerance

This register contains the test tolerance of the terminal (+/-).

Summary of Contents for KL3356

Page 1: ...Documentation KL3356 Accurate 1 Channel Terminal for Resistance Bridges 2 3 0 2019 02 15 Version Date ...

Page 2: ......

Page 3: ... 22 3 3 4 Connection 23 3 4 Application example 24 3 5 ATEX Special conditions standard temperature range 25 3 6 ATEX Documentation 26 4 KS2000 Configuration Software 27 4 1 KS2000 Introduction 27 4 2 Parameterization with KS2000 28 4 3 Settings 30 4 4 Sample program for KL register communication via EtherCAT on KL3314 exemplary 33 5 Access from the user program 36 5 1 Process image 36 5 2 Mapping...

Page 4: ...Table of contents KL3356 4 Version 2 3 0 ...

Page 5: ...ta diagrams and descriptions in this documentation Trademarks Beckhoff TwinCAT EtherCAT EtherCAT P Safety over EtherCAT TwinSAFE XFC and XTS are registered trademarks of and licensed by Beckhoff Automation GmbH Other designations used in this publication may be trademarks whose use by third parties for their own purposes could violate the rights of the owners Patent Pending The EtherCAT Technology...

Page 6: ...rained specialists in control automation and drive engineering who are familiar with the applicable national standards Description of instructions In this documentation the following instructions are used These instructions must be read carefully and followed without fail DANGER Serious risk of injury Failure to follow this safety instruction directly endangers the life and health of persons WARNI...

Page 7: ...nded Firmware and hardware versions updated 1 2 Images adapted to redesign with LED prism 4 LEDs in use Technical data updated 1 1 Description of process data control and status bytes revised Calibration stabilization added Wiring description power contacts updated and example added User calibration added Description of the KL3356 parameterization with the KS2000 software updated 1 0 Technical dat...

Page 8: ...00 0 3 1A 00 0 2 1A 00 0 1 1A 00 The firmware and hardware versions delivery state can be found in the serial number printed on the side of the terminal Syntax of the serial number Structure of the serial number WW YY FF HH WW week of production calendar week YY year FF firmware version HH hardware version Example with ser no 35 04 1A 00 35 week of production 35 04 year of production 2004 1A firmw...

Page 9: ...kes the KL3356 significantly more accurate than the KL3351 The ratio between the bridge voltage UD and the supply voltage Uref is determined in the input circuit In order to achieve good long term stability the complete circuit is re calibrated at least every 3 minutes This procedure can be synchronized by the control in order to prevent the calibration leading to a delay in the production process...

Page 10: ... condensation Vibration shock resistance conforms to EN 60068 2 6 EN 60068 2 27 see also Installation instructions 18 for enhanced mechanical load capacity EMC immunity emission conforms to EN 61000 6 2 EN 61000 6 4 Protection class IP20 Installation position variable Approval CE cULus ATEX 25 2 3 Basic function principles The KL3356 Analog Input Terminal is used to acquire the supply voltage to a...

Page 11: ... the load cell 1 R2 44 URef Reference signal from the load cell 1 R3 45 Emax Nominal weight of the load cell 1 kg R35 48 Cn Nominal parameter of the load cell 1 mV V R36 48 AS Scale factor can be activated via bit R32 8 47 of the feature register 1 R38 49 BH Offset of the manufacturer scaling can be activated via bit R32 1 47 of the feature register 1 R19 46 AH Gain of the manufacturer scaling can...

Page 12: ...115 R151 is applied as a differential signal to the two operational amplifier inputs measurement of the reference voltage Switch settings The various operation modes are selected by means of internal switches Switch SW1 is switched by bit R32 7 47 of the feature register and is to be closed for all calibration processes R32 7 0 SW1 open R32 7 1 SW1 closed If manual calibration mode is enabled in t...

Page 13: ...hat they are congruent Fig 2 Characteristic curves for calibration If the terminal is carrying out a calibration bit R0 2 44 is set in register 0 the status word Testing the measuring amplifiers In order to be able also to test the function of the analog input circuits and the source of the reference voltage it is also possible in addition to the calibration described to connect the internal refer...

Page 14: ...he user code word 1235hex in the code word register R31 46 to clear write protection from the user register Then enter the value 0401hex into the command register R7 45 to switch to manual operation If you enter the value 0 into register R7 manual operation is halted once more In manual operation the value in the RegOUT 36 output word returns the setting of the input switches see table of Switch s...

Page 15: ...est active if Calibr LED not lit Diff green ON Differential signal is calibrated if Calibr LED is lit or Differential signal is checked if LED Calibr not lit Ref green ON Reference signal is calibrated if Calibr LED is lit or Reference signal is checked if LED Calibr not lit Err Diff red ON Channel 1 strain gauge differential signal is above the valid range max 0xFFFF Internal reference voltage fo...

Page 16: ...he fieldbus coupler Join the compo nents with tongue and groove and push the terminals against the mounting rail until the lock clicks onto the mounting rail If the terminals are clipped onto the mounting rail first and then pushed together without tongue and groove the connection will not be operational When correctly assembled no significant gap should be visible between the housings Fixing of m...

Page 17: ...nents The six spring contacts of the K Bus E Bus deal with the transfer of the data and the supply of the Bus Terminal electronics The power contacts deal with the supply for the field electronics and thus represent a supply rail within the bus terminal block The power contacts are supplied via terminals on the Bus Coupler up to 24 V or for higher voltages via power feed terminals Power Contacts D...

Page 18: ...ts for testing these Power Feed Terminals can be released and pulled at least 10 mm from the group of terminals WARNING Risk of electric shock The PE power contact must not be used for other potentials 3 2 Installation instructions for enhanced mechanical load capacity WARNING Risk of injury through electric shock and damage to the device Bring the Bus Terminal system into a safe de energized stat...

Page 19: ...elief and the wire connection should be kept as short as possible A distance of approx 10 cm should be maintained to the cable duct 3 3 Connection 3 3 1 Connection system WARNING Risk of electric shock and damage of device Bring the bus terminal system into a safe powered down state before starting installation disassembly or wiring of the bus terminals Overview The Bus Terminal system offers diff...

Page 20: ...connection wires when the connector is removed Conductor cross sections between 0 08 mm2 and 2 5 mm2 can continue to be used with the proven spring force technology The overview and nomenclature of the product names for ESxxxx and KSxxxx series has been retained as known from ELxxxx and KLxxxx series High Density Terminals HD Terminals Fig 9 High Density Terminals The Bus Terminals from these seri...

Page 21: ...n t toggle 2 The wire can now be inserted into the round terminal opening without any force 3 The terminal point closes automatically when the pressure is released holding the wire securely and permanently See the following table for the suitable wire size width Terminal housing ELxxxx KLxxxx ESxxxx KSxxxx Wire size width single core wires 0 08 2 5 mm2 0 08 2 5 mm2 Wire size width fine wire conduc...

Page 22: ...2 Wire size width fine wire conductors 0 25 1 5 mm2 Wire size width conductors with a wire end sleeve 0 14 0 75 mm2 Wire size width ultrasonically bonded conductors only 1 5 mm2 Wire stripping length 8 9 mm 3 3 3 Shielding Shielding Encoder analog sensors and actors should always be connected with shielded twisted paired wires ...

Page 23: ...al point No Connection for UD 1 Measuring signal UD 2 Measuring signal UV 3 Supply voltage 0 V from power contact Shield 4 PE contact Uref 5 Reference signal Uref 6 Reference signal UV 7 Supply voltage 5 to 12 V from power contact Shield 8 PE contact The supply voltage UV for the measuring bridge can be fed by a power supply terminal e g KL9510 into the power contacts and then is also available at...

Page 24: ...of the Bus Terminals Connecting a load cell e g 4 x 350 Ω to the KL3356 Fig 12 KL3356 application example In the example shown the KL9510 power supply terminal 10 V is used to supply the load cell Beckhoff offers various power supply terminals for the supply of power to the load cells of an KL3356 Power supply terminal Input voltage Output voltage Output current KL9505 24 VDC 5 VDC 1 1 0 A KL9510 ...

Page 25: ...gainst the rated operating voltage being exceeded by more than 40 due to short term interference voltages The individual terminals may only be unplugged or removed from the Bus Terminal system if the supply voltage has been switched off or if a non explosive atmosphere is ensured The connections of the certified components may only be connected or disconnected if the supply volt age has been switc...

Page 26: ...he Beckhoff terminal systems in potentially explosive ar eas ATEX Pay also attention to the continuative documentation Notes about operation of the Beckhoff terminal systems in potentially explosive areas ATEX that is available in the download area of the Beckhoff homepage http www beckhoff com ...

Page 27: ...us Box Modules can be prepared before the commissioning phase Later on this configuration can be transferred to the terminal station in the commissioning phase by means of a download For documentation purposes you are provided with the breakdown of the terminal station a parts list of modules used and a list of the parameters you have modified After an upload existing fieldbus stations are at your...

Page 28: ...put and output images can be observed by monitoring Process values can be specified in the output image for commissioning of the output modules All possibilities in the online mode can be used in parallel with the actual fieldbus mode of the terminal station The fieldbus protocol always has the higher priority in this case 4 2 Parameterization with KS2000 Connect the configuration interface of you...

Page 29: ...and KS2000 window contains a graphic display of the fieldbus station terminals In the tree structure of the left hand window click on the plus sign next to the terminal whose parameters you wish to change item 2 in the example Fig 15 KS2000 branch for channel 1 of the KL3356 For the KL3356 the branches Register Settings and ProcData are displayed Register permits direct access to the registers of ...

Page 30: ...the KL3356 process data 4 3 Settings Under Settings you find the dialog masks for parameterizing the KL3356 Fig 16 Settings via KS2000 Operation mode User scaling active R32 0 47 You can activate user scaling here default disabled Two variants R32 10 47 are available for selection Scaling see formula 1 3 0 11 Calibration see formula 1 3 1 11 ...

Page 31: ...The stabilization of the calibration can be parameterized via the parameters number of stable measured values and tolerance for measurement stability Resolution of nominal parameter 0 01 mV V R32 11 47 Here you can enable a resolution of nominal parameter of 0 01 mV V instead of the resolution of nominal parameter of 1 mV V default disabled After calibration wait for stable value R32 12 47 Here yo...

Page 32: ...it value for the correction factor for gain A correction factor for the differential signal is determined in the course of calibration This is derived from the quotient of reference and differential signal To represent it more clearly the result is normalized to 10000 URef UDiff x 10000 which means that 10000 corresponds to a factor of 1 If the difference between the correction factor and 10000 10...

Page 33: ...cific applications The customer is therefore responsible for assessing and deciding whether the product is suitable for a particular application We accept no responsibility for the completeness and correctness of the source code contained in this document We reserve the right to modify the content of this docu ment at any time and accept no responsibility for errors and missing information Program...

Page 34: ... a temporary folder Fig 18 Opening the tnzip archive Select the tnzip file sample program A further selection window opens Select the destination directory for storing the project For a description of the general PLC commissioning procedure and starting the program please refer to the terminal documentation or the EtherCAT system documentation The EtherCAT device of the example should usually be d...

Page 35: ...an be opened to choose a target system by clicking right in the text field The number blocks are placed in brackets there next to each computer name of a target system Modify the NetId By right clicking on EtherCAT device within the solution explorer a context menu opens where Change NetId have to be selected The first 4 numbers of the NetId of the target computer have to be entered the both last ...

Page 36: ...rocess image the KL3356 is represented with its complete process image 5 2 Mapping The Bus Terminals occupy addresses within the process image of the controller The assignment of process data input and output data and parameterization data control and status bytes to the control addresses is called mapping The type of mapping depends on the fieldbus system used the terminal type the parameterizati...

Page 37: ...Address Input data Output data Requirements Word offset High byte Low byte High byte Low byte Complete evaluation any Motorola format no Word alignment yes 0 reserved SB1 reserved CB1 1 DataIN1 D1 DataIN1 D0 DataOUT1 D1 DataOUT1 D0 2 reserved SB2 reserved CB2 3 DataIN2 D1 DataIN2 D0 DataOUT2 D1 DataOUT2 D0 Complete evaluation in Motorola format with word alignment Address Input data Output data Re...

Page 38: ...gister number Enter the number of the register 41 that you want to read with input data word DataIN1 36 or want to write with output data word DataOUT1 36 Status byte 1 for register communication The status byte 1 SB1 is located in the input image 36 and is transmitted from terminal to the controller Bit SB1 7 SB1 6 SB1 5 SB1 4 SB1 3 SB1 2 SB1 1 SB1 0 Name RegAccess R W Reg no Using control and st...

Page 39: ...errors are cleared CB2 5 0bin reserved CB2 4 MapCaliCounter 0bin The registers R2 44 R3 45 and R5 45 show the data selected with bit CB2 2 1bin Registers R2 44 R3 45 and R5 45 show the calibration counters in addition bit CB2 3 must be set to 0bin for this purpose see note below The calibration counters are evaluated by the KL3356 The calibration counters are a measure for the quality of the self ...

Page 40: ...re register 1bin The measurement registers contain the mapped calibration data R1 44 reserved register is empty R2 44 the offset error of the measuring signal R3 45 the offset error of the reference signal R5 45 the correction factor for the differential signal Symmetrical measurement is switched off even if it has been enabled by bit R32 7 47 of the feature register CB2 1 CaliDisReq Channel 0bin ...

Page 41: ...he process data indicated is not valid SB2 1 CaliDisAck Channel normal operation manual operation 0bin selected measuring channel Udiff 1bin Acknowledgement of calibration block selected measuring channel Uref SB2 0 NegWeight 0bin Process data is positive 1bin Process data is negative Manual operation can be enabled via the command register R7 45 5 4 Register overview All registers can be read or ...

Page 42: ... 0x0000 0dec R RAM R6 45 Diagnostic register 0x0000 0dec R RAM R7 45 Command register 0x0000 0dec R W RAM R8 46 Terminal type 0x0D1C 3356dec R ROM R9 46 Firmware version e g 0x3141 e g 12609dec R ROM R10 Multiplex shift register 0x0130 304dec R ROM R11 Signal channels 0x0130 304dec R ROM R12 Minimum data length 0x3030 18dec R ROM R13 Data structure 0x0007 7dec R ROM R14 reserved R15 Alignment regi...

Page 43: ...nterval for forced calibration 0x0003 3dec R W SEEPROM R45 50 Limit for reference voltage testing 0x1388 5000dec R W SEEPROM R46 50 Limit for reference correction factor 0x0064 100dec R W SEEPROM R47 50 Calibration stabilization number of stable measured values 0x0032 50dec R W SEEPROM R48 50 Calibration stabilization tolerance for measurement stability in digits 0x0005 5dec R W SEEPROM R49 50 Wei...

Page 44: ...de the specified tolerance range R0 7 reserved R0 6 MapCaliCounter 1bin Acknowledgement for CB2 4 39 The calibration counters are shown in registers R2 R3 and R5 41 R0 5 CaliDataMapped 1bin Acknowledgement for CB2 2 39 The last test results are shown in registers R2 R3 and R5 41 R0 4 ManCheckDone 1bin The manual test that was started with CB2 0 39 has been completed R0 3 TestActive 1bin Manual tes...

Page 45: ... control bit CB2 2 39 is not set register R5 shows the most recent actual test value Calibration data If control bit CB2 2 39 is set register R5 shows the correction factor for the differential signal factor x 10000 Calibration counter 2 If control bit CB2 4 39 is set register R5 shows the number of measured values that were greater than the first measured value R6 diagnostic register Status byte ...

Page 46: ... character A This value cannot be changed R16 hardware version number Register R16 contains the hardware version of the terminal this value cannot be changed R19 manufacturer scaling offset This register contains the offset of the manufacturer scaling Manufacturer scaling can be enabled through R32 1 47 in the feature register R20 manufacturer scaling gain This register contains the gain of the ma...

Page 47: ...9 enStabCali 0bin Calibration stabilization not active 1bin 1bin Calibration stabilization active R32 8 enScaling 0bin Scale factor is not active 1bin 1bin Scale factor is active R32 7 enSymm 0bin Symmetrical measurement is not active 1bin 1bin Symmetrical measurement is active R32 6 disRef 0bin Cyclic reference measurement is active 0bin 1bin Cyclic reference measurement is not active R32 5 disTe...

Page 48: ...4 3 2 1 0 Name Filter constants SF SF 11 to SF 0 Zero Zero SkipFIR Fast Key Bit Name Description Default R37 15 Filter constant SF SF 11 SF 0 The filter constant SF specifies the 3dB limit frequency of the sinc3 filter The value ranges from 150 to 2047 The 3 dB limit frequency FLimit and the 64 5 dB stop frequency FStop are calculated as follows 35Chex 860dec R37 4 SkipFIR 0 FLimit 11981 SF FStop ...

Page 49: ...the test interval for the terminal s cyclic testing This interval is always a multiple default 3dec of the calibration interval R40 The test interval when the terminal leaves the factory is therefore 10 x 180 s 1800 s The cyclic testing can be enabled through bit R32 5 47 in the feature register R42 nominal test value This register contains the terminal s nominal test value During the production o...

Page 50: ...tial signal To represent it more clearly the result is normalized to 10000 URef UDiff x 10000 which means that 10000 corresponds to a factor of 1 In mapped calibration data the correction factor is output in R5 45 If the difference between the correction factor and 10000 10000 correction factor is greater than this limit bit R0 15 44 is set in the status word R47 calibration stabilization number o...

Page 51: ...l returns the firmware version 0x3341 in the input data word byte 1 and byte 2 This is to be interpreted as an ASCII code ASCII code 0x33 represents the digit 3 ASCII code 0x41 represents the letter A The firmware version is thus 3A 5 6 2 Example 2 Writing to an user register Code word In normal mode all user registers are read only with the exception of Register 31 In order to deacti vate this wr...

Page 52: ...e Byte 1 DataIN1 high byte Byte 2 DataIN1 low byte 0x9F 1001 1111bin 0x12 0x35 Explanation The terminal returns the value of the control byte as a receipt in the status byte The terminal returns the current value of the code word register in the input data word byte 1 and byte 2 III Write to Register 32 change contents of the feature register Output data Byte 0 Control byte Byte 1 DataIN1 high byt...

Page 53: ...Byte 0 Status byte Byte 1 DataIN1 high byte Byte 2 DataIN1 low byte 0xA0 1010 0000bin 0x00 0x02 Explanation The terminal returns the value of the control byte as a receipt in the status byte The terminal returns the current value of the feature register in the input data word byte 1 and byte 2 V Write Register 31 reset code word Output Data Byte 0 Control byte Byte 1 DataOUT1 high byte Byte 2 Data...

Page 54: ...f components there Beckhoff Headquarters Beckhoff Automation GmbH Co KG Huelshorstweg 20 33415 Verl Germany Phone 49 0 5246 963 0 Fax 49 0 5246 963 198 e mail info beckhoff com Beckhoff Support Support offers you comprehensive technical assistance helping you not only with the application of individual Beckhoff products but also with other wide ranging services support design programming and commi...

Page 55: ...Fig 9 High Density Terminals 20 Fig 10 Connecting a cable on a terminal point 21 Fig 11 Connection 23 Fig 12 KL3356 application example 24 Fig 13 KS2000 configuration software 27 Fig 14 Display of the fieldbus station in KS2000 29 Fig 15 KS2000 branch for channel 1 of the KL3356 29 Fig 16 Settings via KS2000 30 Fig 17 Settings of KL3314 via visualisation of TwinCAT 3 33 Fig 18 Opening the tnzip ar...

Reviews: