background image

Access from the user program

KL4132

29

Version: 3.0

R10: Data length

R10 contains the number of multiplexed shift registers and their length in bits.
The Bus Coupler sees this structure.

R11: Signal channels

Related to R10, this contains the number of channels that are logically present. Thus for example a
shift register that is physically present can perfectly well consist of several signal channels.

R12: Minimum data length

The particular byte contains the minimum data length for a channel that is to be transferred. If the MSB
is set, the control and status byte is not necessarily required for the terminal function and is not
transferred to the control, if the Bus Coupler is configured accordingly.

R13: Data type register

Data type register

Meaning

0x00

Terminal with no valid data type

0x01

Byte array

0x02

Structure 1 byte n bytes

0x03

Word array

0x04

Structure 1 byte n words

0x05

Double word array

0x06

Structure 1 byte n double words

0x07

Structure 1 byte 1 double word

0x08

Structure 1 byte 1 double word

0x11

Byte array with variable logical channel length

0x12

Structure 1 byte n bytes with variable logical channel length (e.g. 60xx)

0x13

Word array with variable logical channel length

0x14

Structure 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: reserved

R15: Alignment bits (RAM)

The alignment bits are used to place the analog terminal in the Bus Coupler on a byte boundary.

R16 to R30: Manufacturer parameter area (SEEROM)

The manufacturer parameters are specific for each type of terminal. They are programmed by the
manufacturer, but can also be modified by the controller. The manufacturer parameters are stored in a serial
EEPROM in the terminal, and are retained in the event of voltage drop-out.

These registers can only be altered after a 

code word has been set in R31 [

}

 30]

.

R17: Hardware compensation - offset (B_a)

This register is used for hardware offset compensation.

R18: Hardware compensation - gain (A_a)

Gain hardware*2

-16

This register is used for hardware gain compensation.
0xFFFF corresponds to 1

R19: Manufacturer scaling - offset (B_h)

This register contains the offset of the manufacturer straight-line equation (

equation 1.1 [

}

 10]

). The

straight-line equation is enabled via register 

R32 [

}

 30]

.

R20: Manufacturer scaling - gain (A_h)

16 bit unsigned integer*2

-8 

[0x0100]

This register contains the scale factor of the manufacturer's equation of the straight line (

Eq. 1.1 [

}

 10]

).

The straight-line equation is enabled via register 

R32 [

}

 30]

.

1 corresponds to register value 0x0100.

Содержание 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...

Отзывы: