Documentation issue status ...................... 7 Beckhoff Identification Code (BIC) .................... 8 2 Product overview............................. 10 General ............................ 10 KL3361 - Single-channel oscilloscope terminal ................ 11 Technical Data of the KL3361 ...................... 12 KL3362 - two-channel oscilloscope terminal ................... 13 Technical Data of the KL3362 ...................... 14 Trigger units............................. 15 3 Mounting and wiring.......................... 16...
Page 4
Table of contents 5 Access from the user program ...................... 50 Process image .......................... 51 5.1.1 Process image of the KL3361.................. 51 5.1.2 Process image of the KL3362.................. 51 5.1.3 Control and status bytes .................... 52 RAM and ROM register ........................ 56 5.2.1 Register overview ......................
All the components are supplied in particular hardware and software configurations appropriate for the application. Modifications to hardware or software configurations other than those described in the documentation are not permitted, and nullify the liability of Beckhoff Automation GmbH & Co. KG. Personnel qualification This description is only intended for trained specialists in control, automation and drive engineering who are familiar with the applicable national standards.
01 - hardware version 01 Beckhoff Identification Code (BIC) The Beckhoff Identification Code (BIC) is increasingly being applied to Beckhoff products to uniquely identify the product. The BIC is represented as a Data Matrix Code (DMC, code scheme ECC200), the content is based on the ANSI standard MH10.8.2-2016.
Page 9
Example of composite information from item 1 to 4 and 6. The data identifiers are marked in red for better display: An important component of the BIC is the Beckhoff Traceability Number (BTN, item no. 2). The BTN is a unique serial number consisting of eight characters that will replace all other serial number systems at Beckhoff in the long term (e.g.
Product overview General The KL3361 and KL3362 oscilloscope terminals enable decentralized pre-processing of analog input data. The input values are digitized with a 14-bit resolution and written into an internal memory. A powerful pre- processing processor can determine or monitor the following values, among others: •...
KL3361 - Single-channel oscilloscope terminal Fig. 2: KL3361 The KL3361 analog input terminal makes it possible to perform non-central preliminary processing of analog values. The input values are digitized with a 14-bit resolution and written into an internal memory. An efficient processor can pre-process the values.
120 mA measuring bridge Current consumption from the K-Bus with supply of the typically 140 mA measuring bridge (4 x 350 Ohm) via KL3361 Dielectric strength 500 V (shielding, base plate / K-Bus) Permissible ambient temperature range during operation 0°C ... + 55°C Permissible ambient temperature range during storage -25°C ...
This LED is on if the digital output is set. Error 2 (red) in preparation Trigger (green) This LED is on if a signal is present at the trigger input. For pin assignment see Connecting the KL3362 [} 26]. KL3361 and KL3362 Version: 2.2.0...
Dimensions (W x H x D) approx. 15 mm x 100 mm x 70 mm on 35 mm mounting rail conforms to EN 60715 Mounting [} 16] Installation position variable Protection class IP20 Approvals CE, ATEX [} 27], cULus Version: 2.2.0 KL3361 and KL3362...
For cascaded trigger units, the Valid Trigger Time register specifies a time window, during which the subsequent trigger event must occur. If this does not happen, everything is reset and the first trigger event is once again awaited. KL3361 and KL3362 Version: 2.2.0...
• Each assembly must be terminated at the right hand end with a KL9010 bus end terminal, to ensure the protection class and ESD protection. Fig. 4: Spring contacts of the Beckhoff I/O components Installation on mounting rails WARNING...
To mount the mounting rails with a height of 7.5 mm under the terminals and couplers, you should use flat mounting connections (e.g. countersunk screws or blind rivets). KL3361 and KL3362 Version: 2.2.0...
EL91xx, EL92xx) interrupt the power contacts and thus represent the start of a new supply rail. PE power contact The power contact labeled PE can be used as a protective earth. For safety reasons this contact mates first when plugging together, and can ground short-circuit currents of up to 125 A. Version: 2.2.0 KL3361 and KL3362...
10 frequency runs in 3 axes 6 Hz < f < 60 Hz displacement 0.35 mm, constant amplitude 60.1 Hz < f < 500 Hz acceleration 5 g, constant amplitude Shocks 1000 shocks in each direction, in 3 axes 25 g, 6 ms KL3361 and KL3362 Version: 2.2.0...
Standard wiring (ELxxxx / KLxxxx) Fig. 8: Standard wiring The terminals of ELxxxx and KLxxxx series have been tried and tested for years. They feature integrated screwless spring force technology for fast and simple assembly. Version: 2.2.0 KL3361 and KL3362...
Ultrasonically "bonded" (ultrasonically welded) conductors Ultrasonically “bonded" conductors It is also possible to connect the Standard and High Density Terminals with ultrasonically "bonded" (ultrasonically welded) conductors. In this case, please note the tables concerning the wire-size width below! KL3361 and KL3362 Version: 2.2.0...
The cables are released, as usual, using the contact release with the aid of a screwdriver. See the following table for the suitable wire size width. Version: 2.2.0 KL3361 and KL3362...
Wire size width (conductors with a wire end sleeve) 0.14 ... 0.75 mm Wire size width (ultrasonically “bonded" conductors) only 1.5 mm Wire stripping length 8 ... 9 mm 3.4.3 Shielding Shielding Encoder, analog sensors and actors should always be connected with shielded, twisted paired wires. KL3361 and KL3362 Version: 2.2.0...
0 V supply voltage for the strain gauges in a bridge circuit or reference input for the external supply voltage of the measuring bridge Supply of the measuring bridge via KL3361 The total resistance of the measuring bridge should be dimensioned in such a way that the current to be supplied by the oscilloscope terminal at the terminals UV+ and UV- never exceeds 20 mA.
Page 25
After changing the external supply voltage, the oscilloscope terminal has to be restarted for re- balancing! The internal voltage source switches off automatically, as soon as an external voltage of more than 5 V is applied to the UV+ and UV- terminals of the oscilloscope terminal. KL3361 and KL3362 Version: 2.2.0...
80°C at the wire branching points, then cables must be selected whose tempera- ture data correspond to the actual measured temperature values! • Observe the permissible ambient temperature range of 0 to 55°C for the use of Beckhoff fieldbus compo- nents standard temperature range in potentially explosive areas! •...
Notes about operation of the 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! Version: 2.2.0...
Fieldbus Box modules with the aid of which settings can be modified easily. Alternatively, you have full access to all internal registers of the bus couplers and intelligent terminals. Refer to the register description for the meanings of the registers. KL3361 and KL3362 Version: 2.2.0...
Page 30
• 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. Version: 2.2.0 KL3361 and KL3362...
The right-hand 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 sample). KL3361 and KL3362 Version: 2.2.0...
Click on Settings. You can now change the settings of the oscilloscope terminal. KL3361: • Trigger logic [} 33] • Operating mode and trigger values [} 33] • Process data [} 35] KL3362: • Trigger logic [} 35] • Trigger values [} 38] • Operation mode [} 42] • Process data [} 39] Version: 2.2.0 KL3361 and KL3362...
Masks for KL3361 4.3.1 Trigger logic for KL3361 In the Trigger logic tab, you can specify the trigger behavior of the KL3361 oscilloscope terminal. Fig. 17: Trigger logic for KL3361 • Source Here you can select the trigger source (see Trigger logic in detail [} 40]).
Configuration software KS2000 Fig. 18: Trigger values for KL3361 • Operation mode Here you can specify the trigger type (see General settings in detail [} 42]). • General Here you can specify the general trigger settings (see General settings in detail [} 42]).
Configuration software KS2000 4.3.3 Process data for KL3361 In the Process data tab, you can specify which data are displayed in the process image of the KL3361 oscilloscope terminal. Fig. 19: Process data for KL3361 Output process image • Data word 0 For trigger unit 1, select which trigger parameter you wish to specify with data word 0 (DataOUT0 [} 51]) of the KL3361 (see Output process data in detail [} 44]).
(see Trigger logic in detail [} 41]). • Action Connect the output of the And gate with the desired function in order to specify which task should be triggered (see Trigger logic in detail [} 41]). Version: 2.2.0 KL3361 and KL3362...
• Scaling channel 1 Here you can specify the scaling for channel 1 (see General settings in detail [} 42]). • Scaling channel 2 Here you can specify the scaling for channel 2 (see General settings in detail [} 42]). KL3361 and KL3362 Version: 2.2.0...
Here you can specify the trigger values for trigger unit 3 (see Trigger values in detail [} 43]). • Trigger unit 4 Here you can specify the trigger values for trigger unit 4 (see Trigger values in detail [} 43]). Version: 2.2.0 KL3361 and KL3362...
KL3362 to the controller (see Input process data in detail [} 46]). • Data word 1 Here you can specify which input value is transferred with data word 1 (DataIN1, channel 1 [} 51]) from the KL3362 to the controller (see Input process data in detail [} 46]). KL3361 and KL3362 Version: 2.2.0...
[} 43] tab. Negative pulse shorter The trigger unit responds if the negative pulse width is shorter than than set pulse width the configured pulse width, which can be specified via the Trigger values [} 43] tab. Version: 2.2.0 KL3361 and KL3362...
Page 41
If the output of the And gate in trigger unit 3 is connected with the function Enable trigger 4, the trigger signal is transferred to trigger (R40.5 [} 62]) unit 4, which can be accessed via the Unit 4 button in the Selection field for parameterization. (KL3362 only) KL3361 and KL3362 Version: 2.2.0...
Number of sampling values to be recorded. Sample amount (R36) A maximum of 4,000 values can be default: 100 recorded. Here you can specify the trigger frequency Trigger frequency (R56 of the timer [} 33]. [} 64]) default: 0 Version: 2.2.0 KL3361 and KL3362...
User offset (R33 [} 59]) offset = full scale value x parameter / default: 0 resolution Sample for KL3361: 16 mV x 100 / 32767 = 0.049 mV Here you can enter the gain factor for User gain (R34 [} 59]) scaling the input value by this factor.
Switching threshold 1 of trigger unit 2 Switching threshold 2 Switching threshold 2 of trigger unit 2 Pulse width Pulse width of trigger unit 2 Valid trigger time Valid trigger time of trigger unit 2 Not indicated No parameters set Version: 2.2.0 KL3361 and KL3362...
Page 45
Data word 3 (KL3362 only) Here you can choose which trigger parameter you wish to specify with data word 3 of the oscilloscope terminal for trigger unit 3 (see Data word 1 for trigger parameters). KL3361 and KL3362 Version: 2.2.0...
Number of samples up to analog value Number of measurement points recorded up to the time when the less than switching threshold analog value was less than the switching threshold. Version: 2.2.0 KL3361 and KL3362...
This example program (TwinCAT 3) provides change of single register values of the KL3314 as selection of the element type, characteristical settings of the feature register R32 and user scaling offset and gain (R33/ R34) similar as per KS2000. KL3361 and KL3362 Version: 2.2.0...
Preparations for starting the sample programs (tnzip file / TwinCAT 3) • Click on the download button to save the Zip archive locally on your hard disk, then unzip the *.tnzip archive file in a temporary folder. Fig. 29: Opening the *. tnzip archive Version: 2.2.0 KL3361 and KL3362...
"Change NetId..." have to be selected. The first 4 numbers of the NetId of the target computer have to be entered; the both last values are 4.1 usually. Example: ◦ NetId of project: myComputer (123.45.67.89.1.1) ◦ Entry via „Change NetId...“: 123.45.67.89.4.1 KL3361 and KL3362 Version: 2.2.0...
The index registers R38 [} 61] and R39 [} 62] can be used to specify which process data are cyclically transferred from the oscilloscope terminal • KL3361 with registers DataIN11 [} 51] and DataIN12 [} 51] • KL3362 with registers DataIN11 [} 51] and DataIN12 [} 51] (channel 1) or DataIN21 [} 51] and DataIN22 [} 51] (channel 2)
The command WriteEnvCurvToFLASH (0x0202) can then be used to place data in the flash memory, and are retained even if the voltage supply fails. Process image 5.1.1 Process image of the KL3361 The following 5 bytes are transferred bi-directionally between KL3361 and control: Oscilloscope Byte offset (with- Byte offset (with Format Input data...
State of the digital output SB1.2 bExtTriggerInput State of the trigger input SB1.1 bEvalBufferDone Evaluation of the memory is complete. There are valid current process data present. SB1.0 bTriggerDone Acknowledgement for trigger event, values were recorded. Version: 2.2.0 KL3361 and KL3362...
Page 53
SB1.6 SB1.5 SB1.4 SB1.3 SB1.2 SB1.1 SB1.0 Name bRegAccessQ Register number Legend Name Description SB1.7 bRegAccessQ Register access acknowledgement SB1.6 Read access SB1.5- Register number Number of the register that was read or written. SB1.0 KL3361 and KL3362 Version: 2.2.0...
Page 54
• The process data word DataOUT3 [} 51] is not used for register communication and is not available for process data during register communication. CB2.5- Register number Number of the register that is to be read or written. CB2.0 Version: 2.2.0 KL3361 and KL3362...
Page 55
SB2.6 SB2.5 SB2.4 SB2.3 SB2.2 SB2.1 SB2.0 Name bRegAccessQ Register number Legend Name Description SB2.7 bRegAccessQ Register access acknowledgement SB2.6 Read access SB2.5- Register number Number of the register that was read or written. SB2.0 KL3361 and KL3362 Version: 2.2.0...
Register description The following registers exist for each signal channel of the oscilloscope terminal. This means these registers exist • once on the single-channel KL3361; • twice on the two-channel KL3362. R0: Raw ADC value Raw value of the analog/digital converter.
Page 58
RAM registers and in the EPROM registers and are therefore retained if the terminal is restarted. The code word is reset if the terminal is restarted. Version: 2.2.0 KL3361 and KL3362...
Page 59
R33: User offset Offset, can be changed by the user. Scaling: offset = full scale value x parameter / resolution Sample for KL3361: 16 mV x 100 / 32767 = 0,049 mV R34: User gain Gain factor, can be changed by the user.
Page 60
The content of the Low byte of this register determines which parameter of the oscilloscope terminal ◦ KL3361 is assigned process data register DataOUT0 [} 51] ◦ KL3362 is assigned process data register DataOUT0 (channel 1) [} 51] or process data register DataOUT0 (channel 2) [} 51]...
Page 61
The content of this register (default value: 0x0000) determines which date is shown in the process data register • DataIN0 [} 51] of oscilloscope terminal KL3361 • DataIN0 (channel 1) [} 51] or DataIN0 (channel 2) [} 51] of oscilloscope terminal KL3362 The following indices are supported:...
Page 62
The content of this register (default value: 0x8010) determines which date is shown in the process data register • DataIN1 [} 51] of oscilloscope terminal KL3361 • DataIN1 (channel 1) [} 51] or DataIN1 (channel 2) [} 51] of oscilloscope terminal KL3362 (see Index register 1 for process input data [} 61] for indices).
Page 63
After the trace recording, the envelope curve is evaluated. R54: Parameter 2 envelope curve e.g. distance of the outer envelope curve After the trace recording, the envelope curve is evaluated. KL3361 and KL3362 Version: 2.2.0...
Page 64
Sample zoom after each reading. Samples: 0x000 The same value is always read. R63.0 0x001 All values are read. 0x002 Only every second value is read. 0x00A Only every tenth value is read. Version: 2.2.0 KL3361 and KL3362...
• Bit 0.6 set means: writing to the register. • Bits 0.5 to 0.0 specify the register number 31 with 01 1111 • The output data word (byte 1 and byte 2) contains the code word (0x1235) for deactivating write protection. KL3361 and KL3362 Version: 2.2.0...
Page 66
The bits of the feature register change the properties of the terminal and have a different meaning, depend- ing on the type of terminal. Refer to the description of the feature register of your terminal (chapter Register description) regarding the meaning of the individual bits before changing the values. Version: 2.2.0 KL3361 and KL3362...
Page 67
Byte 2: DataIN1, low byte 0x9F (1001 1111 0xXX 0xXX Explanation: • The terminal returns a value as a receipt in the status byte that differs only in bit 0.6 from the value of the control byte. KL3361 and KL3362 Version: 2.2.0...
Page 68
Access from the user program • The input data word (byte 1 and byte 2) is of no importance after the write access. Any values still displayed are invalid! Version: 2.2.0 KL3361 and KL3362...
Beckhoff's branch offices and representatives Please contact your Beckhoff branch office or representative for local support and service on Beckhoff products! The addresses of Beckhoff's branch offices and representatives round the world can be found on her internet pages: http://www.beckhoff.com You will also find further documentation for Beckhoff components there.
Page 70
BIC as data matrix code (DMC, code scheme ECC200)............. Fig. 2 KL3361 ............................Fig. 3 KL3362 ............................Fig. 4 Spring contacts of the Beckhoff I/O components................. Fig. 5 Attaching on mounting rail ......................Fig. 6 Disassembling of terminal......................Fig. 7 Power contact on left side......................