background image

Access from the user program

KL4132

30

Version: 3.0

R31 to R47: User parameter area (SEEROM)

The user parameters are specific for each type of terminal. They can be modified by the programmer. The
user parameters are stored in a serial EEPROM in the terminal, and are retained in the event of voltage
drop-out. The user area is write-protected by a code word.

Note

• R31: Code word register in RAM

The code word 

0x1235

 must be entered here so that parameters in the user area can be

modified. If any other value is entered into this register, the write-protection is active. When
write protection is not active, the code word is returned when the register is read. If the
write protection is active, the register contains a zero value.

R32: Feature register

[0x0000]
This register specifies the operation modes of the terminal.

Feature bit no.

Description of the operation mode

Bit 0

1

User scaling (

R33, R34 [

}

 30]

) active [0]

Bit 1

1

Manufacturer scaling (

R19, R20 [

}

 29]

) active [0]

Bit 2

0

Watchdog timer active [0]
In the delivery state, the watchdog timer is switched on. In the event of a watchdog overflow, either the
manufacturer or the user switch-on value is applied to the terminal output.

Bits 3 to 7

-

Reserved, don't change

Bit 8

0/1

0

bin

: Manufacturer switch-on value [0]

1

bin

: User switch-on value

Bits 9 to 15

-

Reserved, don't change

R33: User scaling - offset (B_w)

16 bit signed integer [0x0000]
This register contains the offset of the user straight-line equation (

Eq. 1.4 [

}

 10]

). The straight-line

equation is enabled via register 

R32 [

}

 30]

.

R34: User scaling - gain (A_w)

16 bit signed integer*2

-8 

[0x0100]

This register contains the scaling factor of the user straight-line equation (

Eq. 1.4 [

}

 10]

). The straight-

line equation is enabled via register 

R32 [

}

 30]

.

R35: User switch-on value

16 bit signed integer [0x0000]
If the user switch-on value is enabled in register 

R32 [

}

 30]

, this value is applied to the terminal output

after a system reset or a watchdog timer overflow (terminal has not received any process data for
100 ms).

5.5

Control and status byte

The control and status byte is transmitted from the controller to the terminal. It can be used

• in register mode (REG = 1

bin

) or

• in process data exchange (REG = 0

bin

).

5.5.1

Process data exchange

Control byte in process data exchange (REG=0)

A gain and offset calibration of the terminal can be carried out with the control byte. The code word must be
entered in 

R31 [

}

 30]

 so that the terminal calibration can be carried out. The gain and offset of the terminal

can then be calibrated. The parameter will only be saved permanently once the code word is reset!

Содержание KL4132

Страница 1: ...Documentation KL4132 Dual channel analog output terminal 10 V to 10 V 16 Bit 3 0 2017 11 16 Version Date...

Страница 2: ......

Страница 3: ...3 4 2 Wiring 17 3 4 3 Shielding 18 3 5 KL4132 connection and LED description 19 3 6 ATEX Special conditions standard temperature range 20 3 7 ATEX Documentation 21 4 Configuration Software KS2000 22 4...

Страница 4: ...Table of contents KL4132 4 Version 3 0...

Страница 5: ...data diagrams and descriptions in this documentation Trademarks Beckhoff TwinCAT EtherCAT Safety over EtherCAT TwinSAFE XFC and XTS are registered trademarks of and licensed by Beckhoff Automation Gm...

Страница 6: ...liar with the applicable national standards Description of symbols In this documentation the following symbols are used with an accompanying safety instruction or note The safety instructions must be...

Страница 7: ...ation version KL4132 FW HW 3 0 3A 06 The firmware and hardware versions delivery state can be found in the serial number printed on the side of the terminal Syntax of the serial number Structure of th...

Страница 8: ...utput terminal generates signals in the range from 10 V to 10 V The voltage is supplied to the process level with a resolution of 16 bits and is electrically isolated The output channels of a Bus Term...

Страница 9: ...ss or configuration settings Weight approx 85 g Dimensions W x H x D approx 15 mm x 100 mm x 70 mm width aligned 12 mm Mounting 11 on 35 mm mounting rail conforms to EN 60715 Permissible ambient tempe...

Страница 10: ...wn in two s complement form integer 1 corresponds to 0xFFFF Output value Process data dec hex 10 V 32767 0x8001 5 V 16383 0xC001 0 V 0 0x0000 5 V 16383 0x3FFF 10 V 32767 0x7FFF Process data The proces...

Страница 11: ...ct with highly insulating materials synthetic fibers plastic film etc b Surroundings working place packaging and personnel should by grounded probably when handling with the devices c Each assembly mu...

Страница 12: ...k 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 assem...

Страница 13: ...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...

Страница 14: ...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 230 V For insulation testing disconnect the PE supply lin...

Страница 15: ...e g an earth terminal or reinforced end clamp The maximum total extension of the terminal segment without coupler is 64 terminals 12 mm mounting with or 32 terminals 24 mm mounting with Avoid deforma...

Страница 16: ...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...

Страница 17: ...bles concern ing the wire size width below 3 4 2 Wiring WARNING Risk of electric shock and damage of device Bring the bus terminal system into a safe powered down state before starting installation di...

Страница 18: ...ools 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 wit...

Страница 19: ...n c 2 Not used GND 3 Internal ground internally connected to terminal point 7 Shield 4 PE contact internally connected to terminal point 8 Output2 5 Output 2 n c 6 Not used GND 7 Internal ground inter...

Страница 20: ...inst 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 sys tem if the s...

Страница 21: ...he Beckhoff terminal systems in potentially explo sive areas ATEX Pay also attention to the continuative documentation Notes about operation of the Beckhoff terminal systems in potentially explosive a...

Страница 22: ...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 p...

Страница 23: ...s 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 Fi...

Страница 24: ...g a terminal the control and status byte also has to be mapped BK2000 Lightbus Coupler In the BK2000 Lightbus Coupler the control status byte is always mapped in addition to the data bytes This is alw...

Страница 25: ...nterbus coupler example for KL4132 Other Bus Couplers and further information Further information about the mapping configuration of Bus Couplers can be found in the Appendix of the respective Bus Cou...

Страница 26: ...ault setting in the Bus Coupler Bus Terminal The KS2000 configuration software or a master configuration software e g ComProfibus or TwinCAT System Manager can be used to change this default setting I...

Страница 27: ...erminal Controller BCxxxx BXxxxx Conditions Word offset High byte Low byte Complete evaluation yes Motorola format no Word alignment yes 0 Res Ch0 CB SB 1 Ch0 D1 Ch0 D0 2 Res Ch1 CB SB 3 Ch1 D1 Ch1 D0...

Страница 28: ...ister 0x0000 R W SEEROM R33 30 User scaling Offset 0x0000 R W SEEROM R34 30 User scaling Gain 0x0100 R W SEEROM R35 30 User switch on value 0x0000 R W SEEROM R36 R47 reserved 0x0000 R W SEEROM 5 4 Reg...

Страница 29: ...ucture 1 byte n words with variable logical channel length 0x15 Double word array with variable logical channel length 0x16 Structure 1 byte n double words with variable logical channel length R14 res...

Страница 30: ...to 7 Reserved don t change Bit 8 0 1 0bin Manufacturer switch on value 0 1bin User switch on value Bits 9 to 15 Reserved don t change R33 User scaling offset B_w 16 bit signed integer 0x0000 This regi...

Страница 31: ...reserved Bit 4 1bin Gain calibration Bit 3 1bin Offset calibration Bit 2 0bin slow clock 1000 ms 1bin fast clock 50 ms Bit 1 1bin up Bit 0 1bin down Status byte in process data exchange REG 0 The sta...

Страница 32: ...ce the status byte in the input process image has returned an acknowledgment see example Bit 0 to 5 Address The address of the register to be addressed is entered in bits 0 to 5 of the control byte Co...

Страница 33: ...he terminal returns the register address with bit 7 for register access as acknowledgment Byte Byte 3 Byte 2 Byte 1 Byte 0 Name DataIN 1 DataIN 0 Not used Status byte Value 0x00 0x00 0x00 0x9F 5 6 Exa...

Страница 34: ...bin 0x12 0x35 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 1111bin The output data...

Страница 35: ...le 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 termin...

Страница 36: ...UT1 low byte 0xDF 1101 1111bin 0x00 0x00 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...

Страница 37: ...components there Beckhoff Headquarters Beckhoff Automation GmbH Co KG Huelshorstweg 20 33415 Verl Germany Phone 49 0 5246 963 0 Fax 49 0 5246 963 198 e mail info beckhoff com Beckhoff Support Support...

Страница 38: ...side 14 Fig 6 Standard wiring 16 Fig 7 Pluggable wiring 16 Fig 8 High Density Terminals 16 Fig 9 Connecting a cable on a terminal point 17 Fig 10 KL4132 connection and LEDs 19 Fig 11 KS2000 configurat...

Отзывы: