3 Mounting and wiring................................................................................................................................16
3.1Installation on mounting rails ...........................................................................................................16
3.2Installation instructions for enhanced mechanical load capacity .....................................................18
6.1Support and Service ........................................................................................................................56
KL3356 and KS33563Version: 2.4.0
Table of contents
KL3356 and KS33564Version: 2.4.0
Foreword
1Foreword
1.1Notes on the documentation
Intended audience
This description is only intended for the use of trained specialists in control and automation engineering who
are familiar with the applicable national standards.
It is essential that the documentation and the following notes and explanations are followed when installing
and commissioning these components.
It is the duty of the technical personnel to use the documentation published at the respective time of each
installation and commissioning.
The responsible staff must ensure that the application or use of the products described satisfy all the
requirements for safety, including all the relevant laws, regulations, guidelines and standards.
Disclaimer
The documentation has been prepared with care. The products described are, however, constantly under
development.
We reserve the right to revise and change the documentation at any time and without prior announcement.
No claims for the modification of products that have already been supplied may be made on the basis of the
data, diagrams and descriptions in this documentation.
Trademarks
Beckhoff®, TwinCAT®, EtherCAT®, EtherCATG®, EtherCATG10®, EtherCATP®, SafetyoverEtherCAT®,
TwinSAFE®, XFC®, XTS® and XPlanar® 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 is covered, including but not limited to the following patent applications and
patents: EP1590927, EP1789857, EP1456722, EP2137893, DE102015105702 with corresponding
applications or registrations in various other countries.
EtherCAT® is registered trademark and patented technology, licensed by Beckhoff Automation GmbH,
Germany.
Please note the following safety instructions and explanations!
Product-specific safety instructions can be found on following pages or in the areas mounting, wiring,
commissioning etc.
Exclusion of liability
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.
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.
WARNING
Risk of injury!
Failure to follow this safety instruction endangers the life and health of persons.
CAUTION
Personal injuries!
Failure to follow this safety instruction can lead to injuries to persons.
NOTE
Damage to environment/equipment or data loss
Failure to follow this instruction can lead to environmental damage, equipment damage or data loss.
Tip or pointer
This symbol indicates information that contributes to better understanding.
KL3356 and KS33566Version: 2.4.0
1.3Documentation issue status
Version Comment
2.4.0• Register description extended
• Technical data updated
• Application example corrected
• New title page
2.3.0• Example program added to chapter KS2000 Configuration software
• Design of the safety instructions adapted to IEC 82079-1
2.2.0• Chapter Basic Function Principles updated
2.1.0• Technical data updated
2.0.0• Migration
1.5.0• Description of process image and mapping updated
• Register description updated and corrected
1.4• Register description updated
• Installation instructions revised
1.3• LED description adapted to redesign with new LED prism (8 LEDs in use)
• Register description corrected and extended
• 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 Configuration software updated
1.0• Technical data updated
• Basic function principles revised
• English translation available
0.4• Register descriptions extended
0.3• Technical data updated
• Description of KL3356 parameterization via KS2000 Configuration software added
• Register description extended
0.2• Technical data added
• Examples for register communication added
• Information on installation and connection added
0.1First preliminary version
Foreword
KL3356 and KS33567Version: 2.4.0
Foreword
Firmware and hardware versions
Documentation
Version
2.4.02D07
2.3.02D06
2.2.02D06
2.1.02D06
2.0.02D06
1.5.02D05
1.42B03
1.32B02
1.22A01
1.11F00
1.01A00
0.41A00
0.31A00
0.21A00
0.11A00
The firmware and hardware versions (delivery state) can be found in the serial number printed on the side of
the terminal.
KL3356, KS3356
FirmwareHardware
Syntax of the serial number
Structure of the serial number: WWYYFFHH
WW - week of production (calendar week)
YY - year
FF - firmware version
HH - hardware version
Example with serial number 35 04 1A 00:
35 - week of production 35
04 - year of production 2004
1A - firmware version 1A
00 - hardware version 00
KL3356 and KS33568Version: 2.4.0
2Product overview
2.1Introduction
Product overview
Fig.1: KL3356
The KL3356 analog input terminal permits direct connection of a resistance bridge. An improved input circuit
makes the KL3356 significantly more accurate than the KL3351. The ratio between the bridge voltage U
and the supply voltage U
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.
is determined in the input circuit. In order to achieve good long-term stability, the
ref
D
KL3356 and KS33569Version: 2.4.0
Product overview
2.2Technical data
Technical dataKL3356, KS3356
Inputs2, for one resistor bridge
Signal voltage U
D
Input resistance (UD)>1MΩ
Supply voltage for the measuring bridge (UV)5V...12V (recommended)
Reference voltage U
Input resistance (U
Ref
)>200kΩ
ref
Resolution16bits
Conversion time<250ms, configurable
Measuring error (total measuring range)±0.01% of the full scale value, self-calibration
Bit width in the K-bus I/O2 x 16bit user data, 2 x 8bit control/status
Bit width in the input process image2data words, 2status byte
Bit width in the output process image2data words, 2control byte
Power supply for the electronicsvia the K-Bus
Current consumption from K-bustypically 85mA
Weightapprox. 75g
Dimensions (W x H x D)approx. 15mmx100mmx70mm
Mounting [}16]
Pluggable wiring [}19]
Permissible ambient temperature range during
operation
Permissible ambient temperature range during
storage
Permissible relative air humidity95%, no condensation
Vibration/shock resistanceconforms to EN60068-2-6/EN60068-2-27, see also
EMC immunity/emissionconforms to EN61000-6-2 / EN61000-6-4
Protection classIP20
Installation positionvariable
Approvals / markings
Ex markingATEX: II 3 G Ex nA IIC T4 Gc
-20mV...+20mV
max. 12V
on 35mm mounting rail conforms to EN60715
at all KSxxxx series terminals
0°C ... + 55°C
-25°C ... + 85°C
Installation instructions [}18] for enhanced mechanical
load capacity
CE, cULus, ATEX [}25]
2.3Basic function principles
The KL3356 Analog Input Terminal is used to acquire the supply voltage to a load cell as a reference
voltage, and simultaneously the differential voltage that is proportional to the force acting on the cell. The
reference and the differential voltages are measured alternately by the same converter. The quotient of the
differential and the reference voltages corresponds to the force that is acting on the load cell. Deviations in
the analog input stages (temperature drift, long-term drift etc.) are checked by regular calibration, and
compensated to bring the measurement within the permitted tolerance range.
Strain gauge measuring signal
The strain gauge measuring signal is acquired at fixed intervals with a resolution of 16bits (+ sign). This
value is saved as a data word, without sign, in register R2 [}44]. The sign is represented in bit SW.0 [}44]
of the status word.
The length of the sampling interval is directly determined by the filter constant in register R37 [}48].
KL3356 and KS335610Version: 2.4.0
Product overview
Strain gauge reference signal
The strain gauge reference signal is also acquired with a resolution of 16bits (+ sign) at longer intervals.
This value is saved as a data word, without sign, in register R3 [}45]. The sign is represented in bit SW.1[}44] of the status word.
The length of the sampling interval is defined, in multiples of 100ms, in register R39 [}49].
Calculating the weight
Every time the analog signal is acquired, the weight that it indicates is calculated. This is composed of the
ratio between the measuring signal and the reference signal, and of a number of calibrations:
YR = (U
YS = YR x A
YH = YS x AH + B
Y
OUT
Y
OUT
/U
S
Ref
) x (E
H
Diff
= YHxAA + B
= (YH+ BA) xA
/Cn) x 1000 / 500(1.0)Calculation of the raw weight value
max
(1.1)Scale factor
(1.2)Manufacturer scaling
A
A
(1.3.0)
(1.3.1)
User scaling (if R32.10 [}47]=0
User calibration (if R32.10 [}47]=1
)
bin
)
bin
Key
Name NameUnitRegister
U
U
E
C
A
B
Measuring signal from the load cell[1]
Diff
Reference signal from the load cell[1]
Ref
Nominal weight of the load cell[1kg]
max
Nominal parameter of the load cell[1mV/V]
n
Scale factor (can be activated via bit R32.8 [}47] of the feature register)
S
Offset of the manufacturer scaling (can be activated via bit R32.1 [}47] of
H
[1]
[1]
R2 [}44]
R3 [}45]
R35 [}48]
R36 [}48]
R38 [}49]
R19 [}46]
the feature register)
A
Gain of the manufacturer scaling (can be activated via bit R32.1 [}47] of the
H
[1]
R20 [}46]
feature register)
B
Offset of the user's scaling (can be activated via bit R32.0 [}47] of the
A
[1]
R33 [}47]
feature register)
A
Gain of the user's scaling (can be activated via bit R32.0 [}47] of the
A
[1]
R34 [}48]
feature register)
The factor of 1000 in formula 1.0 [}11] results from normalizing the units of the nominal weight [kg] and the
nominal parameter [mV/V]. The factor 1/500 is specified through a voltage divider. The result is written into
the terminal's process image with a resolution of 16bits (+ sign). This value is saved as a data word, without
sign, in register R1 [}44]. The sign is represented in bit SB1.0 [}38] of the status byte.
Operation modes
The KL3356 provides different operation modes:
KL3356 and KS335611Version: 2.4.0
Product overview
Operation modeComment
Normal operationMeasuring the force acting on the load cell
Zero calibrationThe DC voltage potential at the inputs to the operational amplifier corresponds to that of
normal operation. The differential voltage at the two operational amplifier inputs is 0mV
(determination of the zero points).
Final calibrationThe DC voltage potential at the inputs to the operational amplifier corresponds to that of
normal operation. The divided cell supply voltage (R114, R115, R151) is applied as a
differential signal to both the operational amplifier inputs (determination of the
amplification factors).
Null-test (0V)The DC voltage potential at the operational amplifier inputs is set to 0V. The differential
voltage at the two operational amplifier inputs is 0mV (first stage in establishing the
Common Mode Rejection of the operational amplifiers).
Null-test (2.5V)The DC voltage potential at the operational amplifier inputs is set to 2.5V. The
differential voltage at the two operational amplifier inputs is 0mV (second stage in
establishing the Common Mode Rejection of the operational amplifiers).
Reference testThe DC voltage potential at the inputs to the operational amplifier corresponds to that of
half the reference voltage. The divided reference voltage (R114, R115, 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 the command register R7 [}45] you can control switches
SW2 to SW8 by means of the output data word RegOUT [}36].
Operation modeRegOUTSwitch settings
SW1SW2SW3SW4SW5SW6SW7SW8
Normal operation0
Zero calibration1
Final calibration2
Null-test (0V)3
Null-test (2.5V)4
Reference test5
dec
dec
dec
dec
dec
dec
0/11101010
0/10110000
0/10011010
0/10010001
0/10010100
0/10010101
Key
0: switch not connected
1: Switch connected
Calibrating the measuring amplifiers
The measuring amplifiers are periodically subjected to examination and calibration. For this purpose a total
of eight analog switches are provided in order to be able to connect the various calibration signals. It is
important for this process that the entire signal path, including all passive components, is examined at every
phase of the calibration. Only the interference suppression elements (L/C combination) and the analog
switches themselves cannot be examined.
The calibration interval is set in register R40 [}49] in steps of 100ms. The test interval is specified in
register R41 [}50] as a multiple of the calibration interval.
KL3356 and KS335612Version: 2.4.0
Product overview
• In the first phase of the calibration, an input voltage of 0mV is applied to both analog inputs (zerocalibration [}11]). The zero points of both analog input stages can be determined in this way. This
involves a system offset calibration of the A/D converter. In this measurement, both the respective
absolute values and the mutual deviation of the channels are of interest.
• An input voltage of approx. 24mV is applied to both analog inputs in the second phase of the
calibration (final calibration [}11]). This is derived from the power supply to the load cell. At this point
the absolute value of the measurements is no longer an interest, only any possible deviation of the
values for the two analog inputs. The gain of the first channel is adjusted here to match that of the
second channel. The important point is that the calibrations are carried out using the same DC voltage
potential at the inputs to the operational amplifiers, as in a normal measuring operation.
Calibrating the input stages at both working points (the zero point and the final value) allows the straight lines
of the two measuring channels to be adjusted to one another so that 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 reference voltage
signal of 2.5V as the input signal. For this purpose, before measuring the reference voltage itself, a
difference voltage signal of 0V with a DC voltage potential of 0V is applied. Measurement of the 0V
differential signal combined with a DC voltage potential of 2.5V is then carried out. With the aid of the
measured values resulting from this, the CommonMode effect of the two input stages at an input voltage of
1.25V can be calculated, and can be taken into account in the subsequent measurement of the reference
voltage. When measuring the source of the reference voltage, both operational amplifiers must deliver the
same measuring signal, in addition to which it must also be possible to predict the value to within a very tight
tolerance. If this tolerance is exceeded, the situation is classified as a hardware defect, and is indicated in bit
SW.8 [}44] of the status word.
If the terminal is carrying out a test, bit R0.2 [}44] is set in register0 (the status word).
KL3356 and KS335613Version: 2.4.0
Product overview
Initiating the calibration or test
The calibration and test procedures are executed by the terminal automatically after the times specified in
registers R39 to R41 [}49] have elapsed. Bit CB1.1 [}38] of the control byte can be used to block the
automatic calibration (this command is acknowledged in bit SB1.1 [}38] of the status byte) in order to
prevent calibration from taking place during a time-critical measurement. So that calibration is not completely
suppressed in this way, the KL3356 monitors the calibration cycle, and autonomously starts a forced
calibration if the block remains in place for too long. The time after which the terminal will carry out this
forced calibration is specified in register R44 [}50] as a multiple of register R40 [}49]. At each
measurement, the reference voltage is compared with the contents of register R45 [}50] (in units of 1mV).
If it is found to be below this limit, bit R0.14 [}44] is set.
If it is necessary to initiate a test manually, it is started by bit CB1.0 [}38] of the control byte. Completion of
a test is signaled by bit R0.4 [}44] in register R0 (the status word). The result of the last test is represented
by a difference in the two analog inputs, and can be placed into registers R1 [}44] to R3 [}45] and R5[}45] by bit CB1.2 [}38] of the control byte. Valid calibration data is present if bit R0.5 [}44] in register 0
(status word) is set to 1
. Register write protection can be set by bit CB1.3 [}38] to prevent the calibration
bin
data from being modified (this is acknowledged by bit SB1.3 [}38])
Manual operation
• Under some circumstances it may be necessary to observe the values from the A/D converter directly.
For this purpose the terminal can be switched to manual operation. To do this, first enter the user code
word (1235
• Then enter the value 0401
) in the code word register R31 [}46] to clear write protection from the user register.
hex
into the command register (R7 [}45]) to switch to manual operation. If
hex
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 settings [}12]). You can use bit CB1.1 [}38] of the control byte to switch between OP1
and OP2 (CB1.1=0
: OP1; CB1.1 =1
bin
: OP2).
bin
A forced calibration is automatically carried out as soon as you return the terminal to normal operation again.
Error diagnosis
The KL3356 offers internal error diagnosis. The upper 8bits of register R0 [}44] (the status word) indicate
errors that have occurred.
So that the user does not have to keep reading register R0, any change in the error bits (if, for instance, a
new error has occurred or if an existing error has been cleared) is indicated in bit SB1.6 [}38] of status byte
1. All errors that have occurred are temporarily stored, and are not cleared by the terminal on its own
account. By setting bit CB1.6 [}38] in control byte1 you can reset error bit SB1.6 [}38].
Measured value stabilization
During self-calibration, various signals are switched internally as described above. After the self-calibration
has been completed, depending on the setting of R32.9 (stabilization of the calibration), the following
behavior occurs:
- Stabilization active (R32.9 = 1): the terminal waits until the signal has stabilized as specified in register R47/
R48 and only then outputs measured values to the bus again - this extends the pause until the terminal
measures again and can cause the terminal to wait until measurement in the event of an unstable input
signal.
- Stabilization inactive (R32.9 = 0): the terminal immediately switches the measuring signal back to the bus this can lead to a swing-in process being observed in the measured value over several cycles.
KL3356 and KS335614Version: 2.4.0
2.4LEDs
Fig.3: LEDs
LEDDisplay
Power
(green)
K-bus
(green)
Calibr.
(green)
Measure
(green)
Diff.
(green)
Ref.
(green)
Err. Diff.
(red)
Err. Ref
(red)
ONPower supply (5V) available on the K-bus
OFFNo power supply (5V) available on the K-bus
ONData transmission on the K-bus is active
OFFData transmission on the K-bus is not active
ONCalibration active
OFF• Test active (if Measure LED not lit) or
ONMeasurement active (process data are valid)
OFF• Calibration active (if LED Calibr. is lit) or
ON• Differential signal is calibrated (if Calibr. LED is lit) or
ON• Reference signal is calibrated (if Calibr. LED is lit) or
ON• Channel 1 (strain gauge differential signal) is above the valid range (max.
ON• Channel 2 (strain gauge reference signal) is above the valid range (max.
Product overview
• Measurement active (if Measure LED is lit)
• Test active (if Calibr. LED not lit)
• Differential signal is checked (if LED Calibr. not lit)
• Reference signal is checked (if LED Calibr. not lit)
0xFFFF)
• Internal reference voltage for channel 1 is missing
0xFFFF)
• Internal reference voltage for channel 2 is missing
• Channel2 is less than about 1 V
• No communication with the A/D converter.
• Actual value from the test is outside the specified tolerance range
KL3356 and KS335615Version: 2.4.0
Mounting and wiring
3Mounting and wiring
3.1Installation on mounting rails
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!
Assembly
Fig.4: Attaching on mounting rail
The bus coupler and bus terminals are attached to commercially available 35mm mounting rails (DIN rails
according to EN60715) by applying slight pressure:
1. First attach the fieldbus coupler to the mounting rail.
2. The bus terminals are now attached on the right-hand side of the fieldbus coupler. Join the components 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 mounting rails
The locking mechanism of the terminals and couplers extends to the profile of the mounting rail. At
the installation, the locking mechanism of the components must not come into conflict with the fixing
bolts of the mounting rail. To mount the mounting rails with a height of 7.5mm under the terminals
and couplers, you should use flat mounting connections (e.g. countersunk screws or blind rivets).
KL3356 and KS335616Version: 2.4.0
Mounting and wiring
Disassembly
Fig.5: Disassembling of terminal
Each terminal is secured by a lock on the mounting rail, which must be released for disassembly:
1. Pull the terminal by its orange-colored lugs approximately 1cm away from the mounting rail. In doing
so for this terminal the mounting rail lock is released automatically and you can pull the terminal out of
the bus terminal block easily without excessive force.
2. Grasp the released terminal with thumb and index finger simultaneous at the upper and lower grooved
housing surfaces and pull the terminal out of the bus terminal block.
Connections within a bus terminal block
The electric connections between the Bus Coupler and the Bus Terminals are automatically realized by
joining the components:
• 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 24V)
or for higher voltages via power feed terminals.
Power Contacts
During the design of a bus terminal block, the pin assignment of the individual Bus Terminals must
be taken account of, since some types (e.g. analog Bus Terminals or digital 4-channel Bus Terminals) do not or not fully loop through the power contacts. Power Feed Terminals (KL91xx, KL92xx
or 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 125A.
KL3356 and KS335617Version: 2.4.0
Mounting and wiring
Fig.6: Power contact on left side
NOTE
Possible damage of the device
Note that, for reasons of electromagnetic compatibility, the PE contacts are capacitatively coupled to the
mounting rail. This may lead to incorrect results during insulation testing or to damage on the terminal (e.g.
disruptive discharge to the PE line during insulation testing of a consumer with a nominal voltage of 230V).
For insulation testing, disconnect the PE supply line at the Bus Coupler or the Power Feed Terminal! In order to decouple further feed points for testing, these Power Feed Terminals can be released and pulled at
least 10mm from the group of terminals.
WARNING
Risk of electric shock!
The PE power contact must not be used for other potentials!
3.2Installation 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 state before starting mounting, disassembly or
wiring of the Bus Terminals!
Additional checks
The terminals have undergone the following additional tests:
Verification Explanation
Vibration10 frequency runs in 3 axes
6 Hz < f < 60 Hz displacement 0.35 mm, constant amplitude
For terminals with enhanced mechanical load capacity, the following additional installation instructions apply:
• The enhanced mechanical load capacity is valid for all permissible installation positions
• Use a mounting rail according to EN 60715 TH35-15
• Fix the terminal segment on both sides of the mounting rail with a mechanical fixture, e.g. an earth
terminal or reinforced end clamp
• The maximum total extension of the terminal segment (without coupler) is:
64 terminals (12mm mounting with) or 32 terminals (24mm mounting with)
• Avoid deformation, twisting, crushing and bending of the mounting rail during edging and installation of
the rail
• The mounting points of the mounting rail must be set at 5 cm intervals
• Use countersunk head screws to fasten the mounting rail
• The free length between the strain relief and the wire connection should be kept as short as possible. A
distance of approx. 10cm should be maintained to the cable duct.
3.3Connection
3.3.1Connection 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 different connection options for optimum adaptation to the respective
application:
• The terminals of ELxxxx and KLxxxx series with standard wiring include electronics and connection
level in a single enclosure.
• The terminals of ESxxxx and KSxxxx series feature a pluggable connection level and enable steady
wiring while replacing.
• The High Density Terminals (HD Terminals) include electronics and connection level in a single
enclosure and have advanced packaging density.
Standard wiring (ELxxxx / KLxxxx)
Fig.7: 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.
KL3356 and KS335619Version: 2.4.0
Mounting and wiring
Pluggable wiring (ESxxxx / KSxxxx)
Fig.8: Pluggable wiring
The terminals of ESxxxx and KSxxxx series feature a pluggable connection level.
The assembly and wiring procedure is the same as for the ELxxxx and KLxxxx series.
The pluggable connection level enables the complete wiring to be removed as a plug connector from the top
of the housing for servicing.
The lower section can be removed from the terminal block by pulling the unlocking tab.
Insert the new component and plug in the connector with the wiring. This reduces the installation time and
eliminates the risk of wires being mixed up.
The familiar dimensions of the terminal only had to be changed slightly. The new connector adds about 3
mm. The maximum height of the terminal remains unchanged.
A tab for strain relief of the cable simplifies assembly in many applications and prevents tangling of individual
connection wires when the connector is removed.
Conductor cross sections between 0.08mm2 and 2.5mm2 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 terminals from these series with 16 terminal points are distinguished by a particularly compact design,
as the packaging density is twice as large as that of the standard 12mm bus terminals. Massive conductors
and conductors with a wire end sleeve can be inserted directly into the spring loaded terminal point without
tools.
Wiring HD Terminals
The High Density Terminals of the ELx8xx and KLx8xx series doesn't support pluggable wiring.
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!
KL3356 and KS335620Version: 2.4.0
Mounting and wiring
3.3.2Wiring
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!
Terminals for standard wiring ELxxxx/KLxxxx and for pluggable wiring ESxxxx/KSxxxx
Fig.10: Connecting a cable on a terminal point
Up to eight terminal points enable the connection of solid or finely stranded cables to the bus terminal. The
terminal points are implemented in spring force technology. Connect the cables as follows:
1. Open a terminal point by pushing a screwdriver straight against the stop into the square opening
above the terminal point. Do not turn the screwdriver or move it alternately (don'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.
Wire size width (conductors with a wire end sleeve)0.14 ... 1.5mm
2
2
2
0.08 ... 2.5mm
0,08 ... 2.5mm
0.14 ... 1.5mm
2
2
2
Wire stripping length8 ... 9mm9 ... 10mm
High Density Terminals (HD Terminals [}20]) with 16 terminal points
The conductors of the HD Terminals are connected without tools for single-wire conductors using the direct
plug-in technique, i.e. after stripping the wire is simply plugged into the terminal point. 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.
Wire size width (conductors with a wire end sleeve)0.14 ... 0.75mm
Wire size width (ultrasonically “bonded" conductors) only 1.5mm
2
2
2
2
Wire stripping length8 ... 9mm
3.3.3Shielding
Shielding
Encoder, analog sensors and actors should always be connected with shielded, twisted paired
wires.
KL3356 and KS335622Version: 2.4.0
Mounting and wiring
3.3.4Connection
WARNING
Risk of injury through electric shock and damage to the device!
Bring the Bus Terminals system into a safe, de-energized state before starting mounting, disassembly or
wiring of the Bus Terminals!
Fig.11: Connection
Terminal point No.Connection for
+U
-U
-U
D
D
V
1Measuring signal
2Measuring signal
3Supply voltage, 0V (from power contact)
Shield4PE contact
+U
+U
+U
ref
ref
V
5Reference signal
6Reference signal
7Supply voltage, 5 to 12V (from power contact)
Shield8PE 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 terminal points 7 (+UV) and 3 (-UV) of the KL3356 for
referencing at terminal points 5 and 6.
KL3356 and KS335623Version: 2.4.0
Mounting and wiring
3.4Application example
WARNING
Risk of injury through electric shock and damage to the device!
Bring the Bus Terminals system into a safe, de-energized state before starting mounting, disassembly or
wiring 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 (10V) 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 terminalInput voltageOutput voltageOutput current
KL950524V
KL951024V
KL951224V
DC
DC
DC
5VDC ±1%0.5A
10VDC ±1%0.5A
12VDC ±1%0.5A
KL3356 and KS335624Version: 2.4.0
Mounting and wiring
3.5ATEX - Special conditions (standard temperature
range)
WARNING
Observe the special conditions for the intended use of Beckhoff fieldbus components with
standard temperature range in potentially explosive areas (directive2014/34/EU)!
• The certified components are to be installed in a suitable housing that guarantees a protection class of at
least IP54 in accordance with EN60079-15! The environmental conditions during use are thereby to be
taken into account!
• For dust (only the fieldbus components of certificate no. KEMA10ATEX0075XIssue9): The equipment
shall be installed in a suitable enclosure providing a degree of protection of IP54 according to
EN60079-31 for group IIIA or IIIB and IP6X for group IIIC, taking into account the environmental conditions under which the equipment is used!
• If the temperatures during rated operation are higher than 70°C at the feed-in points of cables, lines or
pipes, or higher than 80°C at the wire branching points, then cables must be selected whose temperature 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 components standard temperature range in potentially explosive areas!
• Measures must be taken to protect against 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 voltage has been switched off or if a non-explosive atmosphere is ensured!
• The fuses of the KL92xx/EL92xx power feed terminals may only be exchanged if the supply voltage has
been switched off or if a non-explosive atmosphere is ensured!
• Address selectors and ID switches may only be adjusted if the supply voltage has been switched off or if
a non-explosive atmosphere is ensured!
Standards
The fundamental health and safety requirements are fulfilled by compliance with the following standards:
• EN 60079-0:2012+A11:2013
• EN 60079-15:2010
• EN 60079-31:2013 (only for certificate no. KEMA 10ATEX0075 X Issue 9)
KL3356 and KS335625Version: 2.4.0
Mounting and wiring
Marking
The Beckhoff fieldbus components with standard temperature range certified according to the ATEX directive
for potentially explosive areas bear one of the following markings:
II 3G KEMA 10ATEX0075 X Ex nA IIC T4 Gc Ta: 0 … +55°C
II 3D KEMA 10ATEX0075 X Ex tc IIIC T135°C Dc Ta: 0 ... +55°C
(only for fieldbus components of certificate no. KEMA 10ATEX0075 X Issue 9)
or
II 3G KEMA 10ATEX0075 X Ex nA nC IIC T4 Gc Ta: 0 … +55°C
II 3D KEMA 10ATEX0075 X Ex tc IIIC T135°C Dc Ta: 0 ... +55°C
(only for fieldbus components of certificate no. KEMA 10ATEX0075 X Issue 9)
3.6Continuative documentation for ATEX and IECEx
Continuative documentation about explosion protection according to ATEX and
IECEx
Pay also attention to the continuative documentation
Notes on the use of the Beckhoff terminal systems in hazardous areas according to ATEX and
IECEx
that is available for download on the Beckhoff homepage https:\\www.beckhoff.com!
KL3356 and KS335626Version: 2.4.0
KS2000 Configuration Software
4KS2000 Configuration Software
4.1KS2000 - Introduction
The KS2000 configuration software permits configuration, commissioning and parameterization of bus
couplers, of the affiliated bus terminals and of Fieldbus Box Modules. The connection between bus coupler/
Fieldbus Box Module and the PC is established by means of the serial configuration cable or the fieldbus.
Fig.13: KS2000 configuration software
Configuration
You can configure the Fieldbus stations with the Configuration Software KS2000 offline. That means, setting
up a terminal station with all settings on the couplers and terminals resp. the Fieldbus 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 disposal for further editing.
Parameterization
KS2000 offers simple access to the parameters of a fieldbus station: specific high-level dialogs are available
for all bus couplers, all intelligent bus terminals and 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.
KL3356 and KS335627Version: 2.4.0
KS2000 Configuration Software
Commissioning
The KS2000 software facilitates commissioning of machine components or their fieldbus stations: Configured
settings can be transferred to the fieldbus modules by means of a download. After a login to the terminal
station, it is possible to define settings in couplers, terminals and Fieldbus Box modules directly online. The
same high-level dialogs and register access are available for this purpose as in the configuration phase.
The KS2000 offers access to the process images of the bus couplers and Fieldbus Box modules.
• Thus, the coupler's input 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.2Parameterization with KS2000
Connect the configuration interface of your Fieldbus Coupler with the serial interface of your PC via the
configuration cable and start the KS2000 Configuration Software.
Click on the Login button. The configuration software will now load the information for the
connected fieldbus station.
In the example shown, this is
• a BK9000 Ethernet Coupler
• a KL1xx2 digital input terminal
• a KL3356 accurate terminal for resistance bridge
• a KL9010 Bus End Terminal
KL3356 and KS335628Version: 2.4.0
KS2000 Configuration Software
Fig.14: Display of the fieldbus station in KS2000
The left-hand KS2000window displays the terminals of the fieldbus station in a tree structure.
The right-hand KS2000window 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 the KL3356.
KL3356 and KS335629Version: 2.4.0
KS2000 Configuration Software
• Under Settings [}30] you find dialog masks for parameterizing the KL3356.
• ProcData displays the KL3356 process data.
4.3Settings
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])
KL3356 and KS335630Version: 2.4.0
Manufacturer scaling active (R32.1 [}47])
You can activate manufacturer scaling here (default: disabled).
Scale factor active (R32.8 [}47])
You can deactivate the scale factor here (default: enabled).
Watchdog timer active (R32.2 [}47])
You can deactivate the watchdog timer here (default: enabled).
Cyclic calibration enabled (R32.4 [}47])
You can deactivate cyclic calibration here (default: enabled).
You can deactivate cyclic reference measurement here (default: enabled).
Cyclic test enabled (R32.5 [}47])
KS2000 Configuration Software
You can deactivate cyclic testing here (default: enabled).
Symmetric reference potential (R32.7 [}47])
You can deactivate the symmetric reference potential here (default: enabled).
Stabilization of calibration active (R32.9 [}47])
You can deactivate the stabilization of the calibration here (default: enabled). 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.01mV/V, instead of the resolution of nominal
parameter of 1mV/V (default: disabled).
After calibration wait for stable value (R32.12 [}47])
Here you can specify that, after calibration or measurement of the reference voltage, the KL3365 should wait
until the weight value output is stable before outputting the measured value (default: disabled).
Register data
Nominal weight (R35 [}48])
You can specify the nominal weight of the connected load cell here in kg (default: 5kg).
Nominal parameter (R36 [}48])
You can specify the nominal characteristic value of the connected load cell here (default: 2mV/V).
Scale factor (R38 [}49])
You can specify the scale factor here (default: 1000).
Measure interval for the reference signal (R39 [}49])
You can specify the measuring interval for the reference signal here in steps of 100ms (default: 360s).
KL3356 and KS335631Version: 2.4.0
KS2000 Configuration Software
Calibration interval (R40 [}49])
You can specify the calibration interval for the reference signal here in steps of 100ms (default: 180s).
Forced calibration interval (R44 [}50])
You can specify the interval for the forced calibration here. This interval is always a multiple (default: 3
dez
) of
the calibration interval. The interval for forced calibration when the terminal leaves the factory is therefore
3x180s =540s.
Test interval (R41 [}50])
You can specify the test interval here. This interval is always a multiple (default: 10
) of the calibration
dez
interval. The test interval when the terminal leaves the factory is therefore 10x180s =1800s.
Nominal test value (R42 [}50])
Here you can specify the nominal test value of the terminal (e.g. 332C
=13100
hex
dec
).
Test tolerance (R43 [}50])
You can specify the test tolerance for the terminal here (the default is 50
dec
).
Threshold reference voltage (R45 [}50])
You can specify the limit for the reference voltage test here in steps of one mV (default: 5000mV). If the
reference voltage is found to be below this limit, bit R0.14 [}44] is set in the status word.
Threshold correction factor (R46 [}50])
Here you can specify the limit 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 (U
Ref
/ U
x 10000), which means that
Diff
10000 corresponds to a factor of 1. 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.
Number of stable measured values (R47 [}51])
Here you can specify the number of measured values for the calibration stabilization that have to be within
the set tolerance (R48). The default value is 50.
Tolerance for measurement stability (R48 [}51])
Here you can specify the tolerance (in digits) for the calibration stabilization, by which the measured values
may be outside the reference value. The default value is 5 digits.
Manual calibration weight (R49 [}51])
Here you can specify the reference weight for the manual calibration. The default value is 2000g.
Filter constant (R37.11-R37.4 [}48])
The filter constant SF specifies the 3dB limit frequency of the sinc3 filter (default: 860
Fast-Step Mode
(TM)
enabled (R37.0 [}48])
dec
).
You can activate Fast Step Mode here (default: disabled). A fast reaction to jumps at the input follows in fast
step mode, in spite of the filter stage being active. In this case the filter is bypassed!
KL3356 and KS335632Version: 2.4.0
KS2000 Configuration Software
FIR Filter enabled (R37.1 [}48])
You can deactivate the FIR filter here (default: enabled).
4.4Sample program for KL register communication via
EtherCAT on KL3314 exemplary
Using the sample programs
This document contains sample applications of our products for certain areas of application. The
application notes provided here are based on typical features of our products and only serve as examples. The notes contained in this document explicitly do not refer to specific 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 document at any time and accept no responsibility for errors and missing information.
Program description / function
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.
Fig.17: Settings of KL3314 via visualisation of TwinCAT 3
KL3356 and KS335633Version: 2.4.0
KS2000 Configuration Software
At least following configuration setup shall be present:
[coupler (e.g. BK1120) or embedded PC] + KL3314 + KL9010.
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.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 declared your present system. After selection
of the EtherCAT device in the “Solutionexplorer” select the “Adapter” tab and click on “Search...”:
Fig.19: Search of the existing HW configuration for the EtherCAT configuration of the example
KL3356 and KS335634Version: 2.4.0
KS2000 Configuration Software
• Checking NetId: the “EtherCAT” tab of the EtherCAT device shows the configured NetId:
.
The first 4 numbers have to be identical with the project NetId of the target system. The project NetId
can be viewed within the TwinCAT environment above, where a pull down menu can 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 four 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
KL3356 and KS335635Version: 2.4.0
Access from the user program
5Access from the user program
5.1Process image
In the process image, the KL3356 is always represented with 6bytes of input data and 6bytes of output
data.
FormatInput dataOutput data
Byte
WordDataIN1DataOUT1
Byte
WordDataIN2DataOUT (this is not used and is not displayed by the TwinCAT
• The input data word DataIN1 and the output data word DataOUT1 are only used for register
communication.
• In process data mode, the input data word DataIN2 transmits the weight, and the output data word
DataOUT2 is not used.
Status byte (SB1 [}38])Control byte (CB1 [}38])
Status byte (SB2 [}40])Control byte (CB2 [}39])
System Manager)
• Please refer to the Mapping [}36] page for the assignment of the bytes and words to the addresses
of the controller.
• The meaning of the control and status bytes is explained in Control and status bytes [}38].
Compact process image not possible
The KL3356 cannot be operated with compact process image (without control and status bytes),
since control and status bytes are required for process data mode of the KL3356 to function correctly. Even if your Bus Coupler is set to compact process image, the KL3356 is represented with its
complete process image!
5.2Mapping
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 parameterization of the Bus Coupler (conditions) such as
◦ Intel or Motorola format
◦ word alignment switched on or off
The Bus Couplers (BKxxxx, LCxxxx) and Bus TerminalControllers (BCxxxx, BXxxxx) are supplied with
certain default settings. The default setting can be changed with the KS2000 configuration software or with a
master configuration software (e.g.TwinCAT System Manager or ComProfibus).
The following tables show the mapping depending on different conditions. For information about the contents
of the individual bytes please refer to the pages Process image and Control and status byte.
Compact evaluation
Compact process image not possible
The KL3356 cannot be operated with compact process image (without control and status bytes),
since control and status bytes are required for process data mode of the KL3356 to function correctly. Even if your Bus Coupler is set to compact process image, the KL3356 is represented with its
complete process image!
KL3356 and KS335636Version: 2.4.0
Access from the user program
Complete evaluation
For complete evaluation, the analog input terminals occupy addresses in the input and output process
image. Control and status bytes can be accessed.
Complete evaluation in Intel format
Default mapping for CANopen, CANCAL, DeviceNet, ControlNet, Modbus, RS232 and RS485 coupler
AddressInput dataOutput data
RequirementsWord offset High byteLow byteHigh byteLow byte
Complete evaluation: any
Motorola format: no
Word alignment: no
Complete evaluation in Motorola format
RequirementsWord offset High byteLow byteHigh byteLow byte
Complete evaluation: any
Motorola format: yes
Word alignment: no
0DataIN1 D0SB1DataOUT1 D0CB1
1SB2DataIN1 D1CB2DataOUT1 D1
2DataIN2 D1DataIN2 D0DataOUT2 D1DataOUT2 D0
AddressInput dataOutput data
0DataIN1 D1SB1DataOUT1 D1CB1
1SB2DataIN1 D0CB2DataOUT1 D0
2DataIN2 D0DataIN2 D1DataOUT2 D0DataOUT2 D1
Complete evaluation in Intel format with word alignment
Default mapping for Lightbus, EtherCAT and Ethernet coupler as well as Bus Terminal Controllers (BCxxxx,
BXxxxx)
AddressInput dataOutput data
RequirementsWord offset High byteLow byteHigh byteLow byte
Complete evaluation: any
Motorola format: no
Word alignment: yes
Complete evaluation in Motorola format with word alignment
RequirementsWord offset High byteLow byteHigh byteLow byte
Complete evaluation: any
Motorola format: yes
Word alignment: yes
Key
0reservedSB1reservedCB1
1DataIN1 D1DataIN1 D0DataOUT1 D1DataOUT1 D0
2reservedSB2reservedCB2
3DataIN2 D1DataIN2 D0DataOUT2 D1DataOUT2 D0
AddressInput dataOutput data
0reservedSB1reservedCB1
1DataIN1 D0DataIN1 D1DataOUT1 D0DataOUT1 D1
2reservedSB2reservedCB2
3DataIN2 D0DataIN2 D1DataOUT2 D0DataOUT2 D1
Complete evaluation: In addition to the process data, the control and status bytes are also mapped in the
address space.
Motorola format: Motorola or Intel format can be set.
Word alignment: To ensure that the address range of the words always begins on a word boundary, empty
bytes are inserted into the process image.
SB n: status byte n (appears in the input process image)
CB n: control byte n (appears in the output process image)
KL3356 and KS335637Version: 2.4.0
Access from the user program
DataIN n D0: input word n, low-order data byte
DataIN n D1: input word n, high-order data byte
DataOUT n D0: output word n, low-order data byte
DataOUT n D1: output word n, high-order data byte
reserved: This byte is assigned to the process data memory, although it is not used.
DataOUT2
The process data word DataOUT2 is not used and is not displayed by the TwinCAT System Manager.
5.3Control and status bytes
Register communication
Control byte 1 (for register communication)
Control byte1(CB1) is located in the output image [}36], and is transmitted from the controller to the
terminal.
BitCB1.7CB1.6CB1.5CB1.4CB1.3CB1.2CB1.1CB1.0
NameRegAccessR/WReg. no.
Key
BitNameDescription
CB1.7RegAccess1
CB1.6R/W0
bin
bin
1
bin
Register communication switched on
Read access
Write access
CB1.5 to CB1.0Reg. no.Register 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.
BitSB1.7SB1.6SB1.5SB1.4SB1.3SB1.2SB1.1SB1.0
NameRegAccessR/WReg. no.
Using control and status bytes
In contrast to other types of terminal, the process data provided when using a KL3356 is valid even
during register communication!
The KL3356 uses
• control byte0 and status byte 0 exclusively for register communication
• control byte1 and status byte1 exclusively for process data mode
Key
BitNameDescription
SB1.7RegAccess1
SB1.6R0
bin
bin
Acknowledgment for register access
Read access
SB1.5 to SB1.0Reg. no.Number of the register that was read or written.
KL3356 and KS335638Version: 2.4.0
Access from the user program
Process data mode
Control byte 2 (for process data mode)
Control byte2(CB2) is located in the output image [}36], and is transmitted from the controller to the
terminal.
The registers R2 [}44], R3 [}45] and R5 [}45] show the data selected
bin
with bit CB2.2.
1
Registers R2 [}44], R3 [}45] and R5 [}45] show the calibration counters
bin
(in addition, bit CB2.3 must be set to 0
for this purpose). (see note below)
bin
The calibration counters are evaluated by the KL3356
The calibration counters are a measure for the quality of the self-calibration. In standard applications, it is not necessary for the user to evaluate these counters, since the KL3356 evaluates the
counters itself and uses bit0.8 or bit0.15 of the status word (R0) to report when permitted tolerances have been exceeded.
KL3356 and KS335639Version: 2.4.0
Access from the user program
BitNameDescription
CB2.3 RegLockReq0
Register lock not active:
bin
• The KL3356 can update the values in registers R1 [}44], R2 [}44], R3[}45] and R5 [}45].
• Registers R2 [}44], R3 [}45] and R5 [}45] can be shown by setting bit
CB2.4 to 1
1
Register lock active:
bin
• The KL3356 no longer updates the registers R1 [}44], R2 [}44], R3[}45] and R5 [}45].
• Bit CB2.4 is not evaluated!
normal operationmanual operation*
CB2.2 MapCaliData/
DisableSymm
0
The measured value registers contain the mapped raw
bin
data from the converters:
• R1 [}44]: the calculated weight
• R2 [}44]: the strain gauge measuring signal
• R3 [}45]: the strain gauge reference signal
• R5 [}45]: the last actual test value
1
The measurement registers contain the mapped
bin
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
.
bin
Symmetrical
measurement is
switched on if it has
been enabled by bit
R32.7 [}47] of the
feature register.
Symmetrical
measurement is
switched off even if it
has been enabled by
bit R32.7 [}47] of
the feature register.
• R5: [}45] the correction factor for the differential
signal
CB2.1 CaliDisReq/
Channel
CB2.0 StartManCheck/
StartManCali
0
The ForcedCali status bit (SB2.4 [}40]) is cleared
bin
Selection of the
measuring channel,
U
Diff
1
Blocking automatic calibration and cyclic reference
bin
measurement
1
Start testStart calibration and
bin
Selection of the
measuring channel,
U
Ref
test
*) Manual operation can be enabled via the command register (R7 [}45]).
Status byte 2 (for process data mode)
The status byte 2(SB2) is located in the input image [}36] and is transmitted from terminal to the controller.
BitSB2.7 SB2.6 SB2.5 SB2.4SB2.3SB2.2SB2.1SB2.0
Name -Error-ForcedCali RegLockAck NoActualValue CaliDisAck/Channel NegWeight
KL3356 and KS335640Version: 2.4.0
Key
BitNameDescription
SB2.7 -0
SB2.6 Error1
SB2.5 -0
SB2.4 ForcedCali1
SB2.3 RegLockAck1
SB2.2 NoActualValue 1
SB2.1 CaliDisAck/
Channel
SB2.0 NegWeight0
reserved
bin
internal error
bin
reserved
bin
Forced calibration is being carried out.
bin
Acknowledgement for the write protection of all registers
bin
The process data indicated is not valid.
bin
normal operationmanual operation*
0
-selected measuring channel: U
bin
1
Acknowledgement of calibration blockselected measuring channel: U
bin
Process data is positive
bin
1
Process data is negative
bin
*) Manual operation can be enabled via the command register (R7 [}45]).
5.4Register overview
Access from the user program
diff
ref
All registers can be read or written via register communication.
Registers R0 to R31 (direct access)
These registers are used to parameterize the KL3356.
KL3356 and KS335641Version: 2.4.0
Access from the user program
Register no. CommentDefault valueR/W Memory
R0 [}44]
R1 [}44]
Status word0x00000
measured value register1*:
0x00000
dec
dec
RRAM
RRAM
• calculated weight (raw value without
scaling)
• none
R2 [}44]
measured value register2*:
0x00000
dec
RRAM
• strain gauge measuring signal or
• offset error of the measuring signal or
• calibration counter0
R3 [}45]
measured value register3*:
• strain gauge reference signal or
typically 0xF618 typically
63000
RRAM
dec
• offset error of the reference signal or
• calibration counter1
R4 [}45]
R5 [}45]
Register page selection register0x00000
measured value register4*:
0x00000
dec
dec
R/W RAM
RRAM
• last actual test value or
• correction factor for differential signal
or (factorx10000) or
• calibration counter2
R6 [}45]
R7 [}45]
R8 [}46]
R9 [}46]
Diagnostic register0x00000
Command register0x00000
dec
dec
Terminal type0x0D1C3356
Firmware versione.g.0x3141e.g.12609
R10Multiplex shift register0x0130304
R11Signal channels0x0130304
R12Minimum data length0x303018
R13Data structure0x00077
dec
dec
dec
dec
dec
dec
RRAM
R/W RAM
RROM
RROM
RROM
RROM
RROM
RROM
R14reserved----
R15Alignment registertypically 0x7F80 typically
32640
R16 [}46]
Hardware version numbere.g.0x0000e.g.0
dec
dec
R/W RAM
R/W SEEPROM
R17reserved----
R18reserved----
R19Manufacturer scaling: offsettypically 0x0000 typically 0
dec
R20Manufacturer scaling: gaintypically 0x0100 typically 256
R/W SEEPROM
R/W SEEPROM
dec
R21reserved----
...reserved----
R30reserved----
R31 [}46]
Code word register0x00000
dec
R/W RAM
*) depending on bit CB2.2 [}39] and bit CB2.4 [}39] of control byte2
Register page 0 (access selectable via register R4 [}45])
These registers are also used for parameterization of the KL3356.
KL3356 and KS335642Version: 2.4.0
Access from the user program
Register no. CommentDefault valueR/W Memory
R32 [}47]
R33 [}47]
R34 [}48]
R35 [}48]
R36 [}48]
R37 [}48]
Feature register0x0380896
User offset0x00000
dec
User gain0x08002048
Nominal weight0x00055
Nominal parameter0x00022
Filter constants of the A/D converter, and
0x35C013760
dec
dec
dec
dec
dec
R/W SEEPROM
R/W SEEPROM
R/W SEEPROM
R/W SEEPROM
R/W SEEPROM
R/W SEEPROM
configuration bits for the filter
R38 [}49]
R39 [}49]
Scale factor0x03E81000
Measuring interval for the reference
0x0E103600
dec
dec
R/W SEEPROM
R/W SEEPROM
signal ****)
R40 [}49]
R41 [}50]
R42 [}50]
R43 [}50]
R44 [}50]
R45 [}50]
R46 [}50]
R47 [}51]
Calibration interval ****)0x07081800
Test interval *****)0x000A10
Nominal test valuetypically
0x332C
Test tolerance0x003250
Interval for forced calibration *****)0x00033
dec
typically
13100
dec
dec
Limit for reference voltage testing0x13885000
Limit for reference correction factor0x0064100
Calibration stabilization:
0x003250
dec
dec
dec
dec
dec
R/W SEEPROM
R/W SEEPROM
R/W SEEPROM
R/W SEEPROM
R/W SEEPROM
R/W SEEPROM
R/W SEEPROM
R/W SEEPROM
- number of stable measured values
R48 [}51]
Calibration stabilization:
0x00055
dec
R/W SEEPROM
- tolerance for measurement stability (in
digits)
R49 [}51]
Weight for manual calibration0x7D02000
dec
R/W SEEPROM
R50reserved----
...reserved----
R63reserved----
****) In multiples of 100ms
*****) in multiples of register R40 [}49]
Register page 1 (access selectable via register R4 [}45])
Freely available SEEPROM memory.
Register no. CommentDefault valueR/W Memory
R32 [}51]
freely available--R/W SEEPROM
...freely available--R/W SEEPROM
R63freely available--R/W SEEPROM
Register page 2 (access selectable via register R4 [}45])
Freely available SEEPROM memory.
Register no. CommentDefault valueR/W Memory
R32 [}51]
freely available--R/W SEEPROM
...freely available--R/W SEEPROM
R63freely available--R/W SEEPROM
KL3356 and KS335643Version: 2.4.0
Access from the user program
5.5Register description
All registers can be read or written via register communication.
Registers R0 to R31 (direct access)
These registers are used to parameterize the KL3356.
R0: status word
The status word contains information about internal signals, and provides an indication of errors that have
occurred.
BitNameDescription
R0.15 GainError1
R0.14 LowVoltageCh21
R0.13 NoRefCh21
R0.12 NoRefCh11
R0.11 OverloadCh21
R0.10 OverloadCh11
R0.9ADCError1
R0.8TestError1
R0.7-reserved
R0.6MapCaliCounter1
R0.5CaliDataMapped 1
R0.4ManCheckDone1
R0.3TestActive1
R0.2CaliActive1
R0.1NegSignalCh21
R0.0NegSignalCh11
The deviation of the gain correction factor is greater than specified in register
bin
R46 [}50].
The strain gauge reference signal is smaller than specified in register R45
bin
[}50].
The internal reference voltage for channel 2 (strain gauge reference signal)
bin
is missing.
The internal reference voltage for channel 1 (strain gauge differential signal)
bin
is missing.
The strain gauge reference signal is above the valid range (max. 0xFFFF)
bin
The strain gauge differential signal is above the valid range (max. 0xFFFF)
bin
No communication with the A/D converter.
bin
Actual value from the test is outside the specified tolerance range.
bin
Acknowledgement for CB2.4 [}39]. The calibration counters are shown in
bin
registers R2, R3 and R5 [}41].
Acknowledgement for CB2.2 [}39]. The last test results are shown in
bin
registers R2, R3 and R5 [}41].
The manual test that was started with CB2.0 [}39] has been completed.
bin
Manual testing is in progress.
bin
Calibration (manual or automatic) is active.
bin
The strain gauge reference signal is negative.
bin
The strain gauge differential signal is negative.
bin
R1: measured value register1
• Raw data of the converters:
If control bit CB2.2 [}39] is not set, then the weight calculated by means of formulae 1.0 and 1.1 [}11]
is displayed in register R1.
• If control bit CB2.2 [}39] is set, register R1 is blank.
• If control bit CB2.4 [}39] is set, register R1 is blank.
R2: measured value register2
• Raw data of the converters:
If the control bit CB2.2 [}39] is not set, register R2 shows the strain gauge measuring signal.
• Calibration data:
If control bit CB2.2 [}39] is set, register R2 shows the preload of the measuring signal input.
• Calibration counter0:
If control bit CB2.4 [}39] is set, register R2 shows the number of measured values that were identical
to the first measured value.
KL3356 and KS335644Version: 2.4.0
Access from the user program
R3: measured value register3
• Raw data of the converters:
If the control bit CB2.2 [}39] is not set, register R3 shows the strain gauge reference signal.
• Calibration data:
If control bit CB2.2 [}39] is set, register R3 shows the preload of the reference signal input.
• Calibration counter1:
If control bit CB2.4 [}39] is set, register R3 shows the number of measured values that were smaller
than the first measured value.
R4: register page selection register
Other register pages can be accessed by writing into register R4. The value entered into register R4 is
accepted if the desired register page is present. If that is not the case, the previous value is retained.
Register content R4Register numbers R32 to R63 permit access to
0x0000Register page0: Configuration registers R32 to R63
0x0001Register page1: 32 words of freely available SEEPROM memory
0x0002Register page2: 32 words of freely available SEEPROM memory
0x0003 to 0xFFFFreserved
R5: measured value register4
• Raw data of the converters:
If the 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 counter2:
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 SB2 [}40] is placed into register R6.
R7: command register
User code word
For a command to be executed, it is first necessary for the user code word, 0x1235, to be entered
into register R31 [}46].
Command 0x0101: user calibration - offset
The KL3356 uses the entry 0x0101 in register R7 to compensate the user offset. The calibration value is
entered in register R33 [}47].
The calibration value is taken account in weight measuring if bit R32.0 [}47] is set.
To execute this command, the user calibration must be active (bit R32.0 [}47] and R32.10 [}47] must be
set)!
Command 0x0102: user calibration - gain
The KL3356 uses the entry 0x0102 in register R7 to compensate the user gain. The calibration value is
entered in register R34 [}48].
The calibration value is taken account in weight measuring if bit R32.0 [}47] is set.
KL3356 and KS335645Version: 2.4.0
Access from the user program
To execute this command, the user calibration must be active (bit R32.0 [}47] and R32.10 [}47] must be
set)!
Command 0x0401: manual calibration mode
Manual calibration mode is enabled by entering 0x0401 into register R7. When the terminal has accepted the
value, then setting
• CB2.1 [}39] = 0 switches to analog converter U
• CB2.1 [}39] = 1 switches to the analog converter U
diff
Ref
Output data word DataOUT1 [}36] can be used to change the operation mode [}11] of the KL3356.
Command 0x7000: Restore Factory Settings
Entering 0x7000 in register R7 restores the delivery state for the following registers:
The name of the terminal is contained in register R8. KL3356: 0x0D1C (3356
dec
)
R9: firmware version
Register R9 contains the ASCII coding of the terminal's firmware version, e.g.0x3141 = '1A'. The '0x31'
corresponds here to the ASCII character '1', while the '0x41' represents the ASCII 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 manufacturer scaling (16bit unsigned integer x 2-8 + 1).
Examples:
0x0080 (128
0x0100 (256
) means factor 0.5
dec
) means factor 1.0
dec
Manufacturer scaling can be enabled through R32.1 [}47] in the feature register.
R31: codeword register
• If you write values into the user registers without first entering the user code word (0x1235) into the
code word register, the terminal will not accept the supplied data.
KL3356 and KS335646Version: 2.4.0
Access from the user program
• If you write values into the user registers and have previously entered the user code word (0x1235) in
the code word register, these values are stored in the RAM registers and in the SEEPROM registers
and are therefore retained if the terminal is restarted.
The code word is reset if the terminal is restarted.
Register page 0 (access selectable via register R4 [}45])
These registers are also used for parameterization of the KL3356.
Feature register (R32)
The feature register specifies the terminal's configuration.
Name ---WaitForStableValue ScalingUnit enUsrCalienStabCali enScaling
BitR32.7R32.6R32.5R32.4R32.3R32.2R32.1R32.0
Name enSymm disRefdisTest disCali-disWdTimer enManScal enUsrScal
Key
BitNameDescriptionDefault
R32.15 -reserved0
bin
............
R32.13 -reserved0
R32.12 WaitFor
StableValue
R32.11 ScalingUnit0
R32.10 enUsrCali0
R32.9enStabCali0
R32.8enScaling0
R32.7enSymm0
R32.6disRef0
R32.5disTest0
R32.4disCali0
0
After a calibration or measurement of the reference voltage, the KL3365 outputs the measured
bin
value immediately. Small peaks may still be displayed.
1
After a calibration or measurement of the reference voltage, the KL3365 waits with the mea-
bin
sured value output until the weight value has become stable.
Unit of R35 = 1mV/V0
bin
1
Unit of R35 = 0,01mV/V
bin
User scaling (see formula 1.3.0 [}11]) is active if bit 32.0 is set.
bin
1
User calibration (see formula 1.3.1 [}11]) is active if bit 32.0 is set.
bin
Calibration stabilization not active1
bin
1
Calibration stabilization active
bin
Scale factor is not active1
bin
1
Scale factor is active
bin
Symmetrical measurement is not active1
bin
1
Symmetrical measurement is active
bin
Cyclic reference measurement is active0
bin
1
Cyclic reference measurement is not active
bin
Cyclic testing is active0
bin
1
Cyclic testing is not active
bin
Cyclic calibration of the A/D converter is active0
bin
1
Cyclic calibration of the A/D converter is not active
bin
R32.3-reserved0
R32.2disWdTimer0
R32.1enManScal0
R32.0enUsrScal0
Watchdog timer is active (the watchdog is triggered if no process data are received for
bin
100ms)
1
Watchdog timer is not active
bin
Manufacturer scaling is not active0
bin
1
Manufacturer scaling is active
bin
User scaling and user calibration are not active0
bin
1
User scaling or user calibration (depending on bit 32.10) is active
bin
bin
0
bin
bin
0
bin
bin
bin
bin
bin
bin
bin
bin
0
bin
bin
bin
R33: user scaling - offset
This register contains the offset of the user scaling. User scaling can be enabled in the feature register via bit
R32.0 [}47].
KL3356 and KS335647Version: 2.4.0
Access from the user program
R34: user scaling - gain
This register contains the gain of the user scaling (16bit unsigned integer x 2
-11
+ 1).
Examples:
0x0100 (1024
0x0800 (2048
) means factor 0.5
dec
) means factor 1.0
dec
User scaling can be enabled in the feature register via bit R32.0 [}47].
R35: nominal weight of the load cell
The nominal weight of the connected load cell is entered into register R35. The unit is 1kg.
R36: nominal parameter of the load cell
The nominal parameter of the connected load cell is entered into register R36. The unit is 1mV/V.
R37: Filter constant of the A/D converter, and configuration bits for the filter
The KL3356 possesses two low-pass filter stages:
• The first stage consists of a sinc3 filter, and is always active.
• The second stage consists of a 22nd order FIR filter, which can be disabled
(FIR: finite impulse response, i.e. a non-recursive filter).
Bit1514131211109876543210
Name Filter constants SF (SF.11 to SF.0)Zero Zero SkipFIR Fast
Key
BitNameDescriptionDefault
Stop
3
35C
hex
(860
dec
R37.15 Filter constant SF
...
(SF.11 - SF.0)
R37.4
The filter constant SF specifies the 3dB limit frequency of the sinc
filter. The value ranges from 150 to 2047.
The 3dB limit frequency F
and the 64.5dB stop frequency F
Limit
are calculated as follows:
SkipFIR = 0F
SkipFIR = 1F
= 11981/SF
Limit
F
= 43008/SF
Stop
= 80486/SF
Limit
BitNameDescriptionDefault
R37.3Zero0
R37.2Zero0
(see note below)0
bin
bin
bin
0
bin
Do not change these bits
Bits R37.2 and R37.3 always have to be 0
, in order to avoid errors in the A/D converter!
bin
)
BitNameDescriptionDefault
R37.1SkipFIR0
R37.0Fast0
FIR filter is enabled.0
bin
1
FIR filter is bypassed.
bin
Fast Step Mode is disabled.0
bin
1
Fast Step Mode is active: a fast reaction will follow jumps at
bin
bin
bin
the input, in spite of the filter stage being active. In this case
the filter is bypassed!
KL3356 and KS335648Version: 2.4.0
Recommended values
Access from the user program
Value in R37F
stop
Cycle time
0x35C050Hz140ms
0x266070Hz100ms
0x1330140Hz50ms
0x7FF140ms
0x3FF120ms
0x1001<4ms
Value in R37F
limit
Cycle time
0x7FF239.6Hz40ms
0x3FF277.36Hz20ms
0x1002158Hz<4ms
R38: scaling factor
This register contains the scale factor.
Examples:
0x0001 (01
0x000A (10
) means factor 1
dec
) means factor 10
dec
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 100ms
(default: 3600
= 360 s). The cyclic reference measurement can be enabled through bit R32.6 [}47] in the
dec
feature register.
This interval should not be chosen too small. With each measurement of the reference signal, the weight
measurement value is temporarily invalidated (consider R0.2 [}44]). With short measurement intervals, the
number of measurements is significantly higher and therefore a low ratio of valid to invalid weight
measurement values results with many reference measurements.
If cyclically invalid weight values have too great an influence on the application, the reference measurement
and calibrations (calibration and forced calibration) can be switched off via the CB2.1 [}39] control bit. Then
no reference measurement and calibration will take place permanently. However, it is recommended to
reactivate the bit temporarily at a suitable moment, when no weight measurement is taking place, in order to
achieve a higher measurement accuracy. If the time for the reference measurement/(forced) calibration
interval has expired when the control bit is deactivated, a (forced) calibration and reference measurement is
performed.
R40: Calibration interval
This register contains the calibration interval for the terminal's automatic calibration. The unit is 100ms
(default: 1800
= 180 s). The automatic calibration can be enabled through bit R32.4 [}47] in the feature
dec
register.
This interval should not be chosen too small. With each calibration, the weight measurement value becomes
temporarily invalid (consider R0.2 [}44]). With short calibration intervals, the number of measurements is
significantly higher and therefore a low ratio of valid to invalid weight readings results with many calibrations.
If cyclically invalid weight values have too great an influence on the application, the reference measurement
and calibrations (calibration and forced calibration) can be switched off via the CB2.1 [}39] control bit. Then
no reference measurement and calibration will take place permanently. However, it is recommended to
reactivate the bit temporarily at a suitable moment, when no weight measurement is taking place, in order to
KL3356 and KS335649Version: 2.4.0
Access from the user program
achieve a higher measurement accuracy. If the time for the reference measurement/(forced) calibration
interval has expired when the control bit is deactivated, a (forced) calibration and reference measurement is
performed.
R41: Test interval
This register contains the test interval for the terminal's cyclic testing. This interval is always a multiple
(default: 3
) of the calibration interval (R40). The test interval when the terminal leaves the factory is
dec
therefore 10x180s =1800s. 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 (+/-).
R44: Forced calibration interval
This register contains the interval for the terminal's forced calibration. This interval is always a multiple
(default: 3
) of the calibration interval (R40). The interval for forced calibration when the terminal leaves the
dec
factory is therefore 3x180s =540s.
If register R44 is set to 0 set, forced calibration is switched off completely.
With each forced calibration, the weight measurement value is invalid for the time of the calibration (consider
R0.2 [}44]).
If cyclically invalid weight values have too great an influence on the application, the reference measurement
and the calibrations (calibration and forced calibration) can be switched off via control bit CB2.1 [}39]. Then
no reference measurement and calibration will take place permanently. However, it is recommended to
reactivate the bit temporarily at a suitable moment, when no weight measurement is taking place, in order to
achieve a higher measurement accuracy. If the time for the reference measurement/(forced) calibration
interval has expired when the control bit is deactivated, a (forced) calibration and reference measurement is
performed.
R45: threshold for reference voltage test
This register contains the limit for the reference voltage test. The unit is 1mV. If the reference voltage is
found to be below this limit, bit R0.14 [}44] is set in the status word.
R46: threshold for correction factor
This register contains the limit value for the correction factor. A correction factor for the differential signal is
determined in the course of calibration. When measuring the internal reference, this results from the quotient
of the reference and differential signal. To represent it more clearly, the result is normalized to 10000
(U
/U
Ref
x 10000), which means that 10000 corresponds to a factor of 1. In mapped calibration data, the
Diff
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.
KL3356 and KS335650Version: 2.4.0
Access from the user program
R47: calibration stabilization - number of stable measured values
Default: 50
R48: calibration stabilization - tolerance for measurement stability
Default: 5
R49: manual calibration weight
Default: 2000grams
Register page 1 (access selectable via register R4 [}45])
R32 to R63: freely allocatable SEEPROM memory
Registers R32 to R63 on register page 1 are freely available, non-volatile registers that can be used to store
2 x 32 words of user data. Because these values are stored in SEEPROM, they are retained when the
terminal is restarted.
Register page 2 (access selectable via register R4 [}45])
R32 to R63: freely allocatable SEEPROM memory
Registers R32 to R63 on register page 2 are freely available, non-volatile registers that can be used to store
2 x 32 words of user data. Because these values are stored in SEEPROM, they are retained when the
terminal is restarted.
KL3356 and KS335651Version: 2.4.0
Access from the user program
5.6Examples of Register Communication
The numbering of the bytes in the examples corresponds to the display without word alignment.
5.6.1Example 1: reading the firmware version from Register 9
Output Data
Byte 0: Control byteByte 1: DataOUT1, high byteByte 2: DataOUT1, low byte
0x89 (1000 1001
Explanation:
• Bit 0.7 set means: Register communication switched on.
• Bit 0.6 not set means: reading the register.
• Bits 0.5 to 0.0 specify the register number 9 with 00 1001
• The output data word (byte 1 and byte 2) has no meaning during read access. To change a register,
write the required value into the output word.
)0xXX0xXX
bin
.
bin
Input Data (answer of the Bus Terminal)
Byte 0: Status byteByte 1: DataIN1, high byteByte 2: DataIN1, low byte
0x890x330x41
Explanation:
• The terminal returns the value of the control byte as a receipt in the status byte.
• The terminal 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.2Example 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 deactivate this write protection you must write the code word (0x1235) into Register 31. If a value other
than 0x1235 is written into Register 31, write protection is reactivated. Please note that changes to
a register only become effective after restarting the terminal (power-off/power-on).
I. Write the code word (0x1235) into Register 31.
Output Data
Byte 0: Control byteByte 1: DataOUT1, high byteByte 2: DataOUT1, low byte
0xDF (1101 1111
)0x120x35
bin
Explanation:
• Bit 0.7 set means: Register communication switched on.
• Bit 0.6 set means: writing to the register.
• Bits 0.5 to 0.0 specify the register number 31 with 01 1111
.
bin
KL3356 and KS335652Version: 2.4.0
Access from the user program
• The output data word (byte 1 and byte 2) contains the code word (0x1235) for deactivating write
protection.
Input Data (answer of the Bus Terminal)
Byte 0: Status byteByte 1: DataIN1, high byteByte 2: DataIN1, low byte
0x9F (1001 1111
)0xXX0xXX
bin
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.
• The input data word (byte 1 and byte 2) is of no importance after the write access. Any values still
displayed are invalid!
II. Read Register 31 (check the set code word)
Output Data
Byte 0: Control byteByte 1: DataOUT1, high byteByte 2: DataOUT1, low byte
0x9F (1001 1111
)0xXX0xXX
bin
Explanation:
• Bit 0.7 set means: Register communication switched on.
• Bit 0.6 not set means: reading the register.
• Bits 0.5 to 0.0 specify the register number 31 with 01 1111
.
bin
• The output data word (byte 1 and byte 2) has no meaning during read access.
Input Data (answer of the Bus Terminal)
Byte 0: Status byteByte 1: DataIN1, high byteByte 2: DataIN1, low byte
0x9F (1001 1111
)0x120x35
bin
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 byteByte 1: DataIN1, high byteByte 2: DataIN1, low byte
0xE0 (1110 0000
)0x000x02
bin
Explanation:
• Bit 0.7 set means: Register communication switched on.
• Bit 0.6 set means: writing to the register.
• Bits 0.5 to 0.0 indicate register number 32 with 10 0000
.
bin
• The output data word (byte 1 and byte 2) contains the new value for the feature register.
KL3356 and KS335653Version: 2.4.0
Access from the user program
CAUTION
Observe the register description!
The value of 0x0002 given here is just an example!
The bits of the feature register change the properties of the terminal and have a different meaning, depending on the type of terminal. Refer to the description of the feature register of your terminal (chapter Registerdescription) regarding the meaning of the individual bits before changing the values.
Input data (response from the Bus Terminal)
Byte 0: Status byteByte 1: DataIN1, high byteByte 2: DataIN1, low byte
0xA0 (1010 0000
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.
• The input data word (byte 1 and byte 2) is of no importance after the write access. Any values still
displayed are invalid!
IV. Read Register 32 (check changed feature register)
)0xXX0xXX
bin
Output Data
Byte 0: Control byteByte 1: DataOUT1, high byteByte 2: DataOUT1, low byte
0xA0 (1010 0000
)0xXX0xXX
bin
Explanation:
• Bit 0.7 set means: Register communication switched on.
• Bit 0.6 not set means: reading the register.
• Bits 0.5 to 0.0 indicate register number 32 with 10 0000
.
bin
• The output data word (byte 1 and byte 2) has no meaning during read access.
Input Data (answer of the Bus Terminal)
Byte 0: Status byteByte 1: DataIN1, high byteByte 2: DataIN1, low byte
0xA0 (1010 0000
)0x000x02
bin
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 byteByte 1: DataOUT1, high byteByte 2: DataOUT1, low byte
0xDF (1101 1111
)0x000x00
bin
Explanation:
• Bit 0.7 set means: Register communication switched on.
• Bit 0.6 set means: writing to the register.
• Bits 0.5 to 0.0 specify the register number 31 with 01 1111
.
bin
• The output data word (byte 1 and byte 2) contains 0x0000 for reactivating write protection.
KL3356 and KS335654Version: 2.4.0
Access from the user program
Input Data (answer of the Bus Terminal)
Byte 0: Status byteByte 1: DataIN1, high byteByte 2: DataIN1, low byte
0x9F (1001 1111
)0xXX0xXX
bin
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.
• The input data word (byte 1 and byte 2) is of no importance after the write access. Any values still
displayed are invalid!
KL3356 and KS335655Version: 2.4.0
Appendix
6Appendix
6.1Support and Service
Beckhoff and their partners around the world offer comprehensive support and service, making available fast
and competent assistance with all questions related to Beckhoff products and system solutions.
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: https://www.beckhoff.com
You will also find further documentation for Beckhoff components there.
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 commissioning of complex automation systems
• and extensive training program for Beckhoff system components