background image

Access from the user program

KL4494

37

Version: 2.0.0

• The terminal returns the current value of the code word register in the input data word (byte 1 and byte

2).

III. Write to Register 32 (change contents of the feature register)

Output data

Byte 0: Control byte

Byte 1: DataIN1, high byte

Byte 2: DataIN1, low byte

0xE0 (1110 0000

bin

)

0x00

0x02

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.

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 

Register description

) regarding the meaning of the individual bits

before changing the values.

Input data (response from the Bus Terminal)

Byte 0: Status byte

Byte 1: DataIN1, high byte

Byte 2: DataIN1, low byte

0xA0 (1010 0000

bin

)

0xXX

0xXX

Explanation:

• The terminal returns a value as a receipt in the status byte that differs only in bit 0.6 from the value of

the control byte.

• 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)

Output Data

Byte 0: Control byte

Byte 1: DataOUT1, high byte

Byte 2: DataOUT1, low byte

0xA0 (1010 0000

bin

)

0xXX

0xXX

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 byte

Byte 1: DataIN1, high byte

Byte 2: DataIN1, low byte

0xA0 (1010 0000

bin

)

0x00

0x02

Explanation:

• The terminal returns the value of the control byte as a receipt in the status byte.

• The terminal returns the current value of the feature register in the input data word (byte 1 and byte 2).

Содержание KL4494

Страница 1: ...Documentation KL4494 Analog terminal with two input and two output channels 10V 10V 2 0 0 2017 09 08 Version Date...

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

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

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

Страница 5: ...ister overview and register description updated Firmware and hardware versions updated 1 0 Description of connection updated Technical data updated English version available 0 1 Preliminary version on...

Страница 6: ...in one housing and can process signals in the range 10 V to 10 V The voltage is digitized to a resolution of 12 bits and is transmitted electrically isolated to the higher level automation device or t...

Страница 7: ...umption from K bus typically 70 mA Electrical isolation 500 V signal voltage K bus Connection spring loaded system Weight approx 55 g Dimensions W x H x D approx 15 mm x 100 mm x 70 mm width aligned 1...

Страница 8: ...inciples Analog input channels The analog input channels of the KL4494 process signals in the range from 10 V to 10 V with 12 bit resolution 4095 steps The inputs are single ended inputs with a common...

Страница 9: ...ster R32 Analog output channels The analog output channels of the KL4494 generate signals in the range from 10 V to 10 V with a resolution of 12 bits 4095 steps The outputs are single ended outputs wi...

Страница 10: ...Aa Ba Manufacturer and user scaling active Y1 Bh Ah x X 1 3 Y2 Bw Aw x Y1 1 4 Ydac Y2 x Aa Ba Key X Controller process data Ydac Process data to D A converter Ba Aa Manufacturer gain and offset compe...

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

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

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

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

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

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

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

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

Страница 19: ...n for Input 1 1 input 1 signal GND 2 ground Output 2 3 output 1 signal GND 4 ground Input 2 5 input 2 signal GND 6 ground Output 2 7 output 2 signal GND 8 ground The input and output channels of the B...

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

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

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

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

Страница 24: ...d KS2000 window contains a graphic display of the fieldbus station terminals In the tree structure of the left hand window click on the plus sign next to the terminal whose parameters you wish to chan...

Страница 25: ...terization of the KL4494 can be found under Settings 26 ProcData 27 displays the KL4494 process data 4 3 Register You can access the registers of the KL4494 directly under Register The meaning of the...

Страница 26: ...g timer here default activated Siemens output format active R32 3 34 You can activate Siemens output format 34 here default deactivated Operation Mode analog output User scaling active R32 8 34 You ca...

Страница 27: ...Offset R36 35 You can specify the offset for the user scaling of the analog output here default 0 Gain R37 35 You can specify the gain for the user scaling of the analog output here default 256dec cor...

Страница 28: ...onment or equipment Note that changing initial values forcing them can have a direct effect on your automation application Only modify these initial values if you are certain that the state of your eq...

Страница 29: ...the terminal In process data mode it has no function Bit CB1 7 CB1 6 CB1 5 CB1 4 CB1 3 CB1 2 CB1 1 CB1 0 Name RegAccess Key Bit Name Description CB1 7 RegAccess 0bin Register communication off proces...

Страница 30: ...n Read access 1bin Write access CB1 5 to CB1 0 Reg no Register number Enter the number of the register that you want to read with input data word DataIN1 29 or with the output data word DataOUT1 29 St...

Страница 31: ...Alignment register e g 0x7F80 e g 32640dec R W RAM R16 33 Hardware version number e g 0x0000 e g 0dec R W SEEPROM R17 33 Manufacturer scaling analog input Offset Ba variable variable R W SEEPROM R18...

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

Страница 33: ...for analog output gain Aa This register is used for the gain compensation of the analog output Scaling Gain factor R20 x 2 15 see equation 1 1 Example 32768dec 0x1000 equivalent to a gain factor of 1...

Страница 34: ...6 reserved 0bin R32 5 reserved 0bin R32 4 reserved 0bin R32 3 enSiemens Analog Input 0bin Standard output format 0bin 1bin Siemens output format The three bits with the lowest value are used for displ...

Страница 35: ...he feature register via bit R32 8 34 5 5 Examples of Register Communication The numbering of the bytes in the examples corresponds to the display without word alignment 5 5 1 Example 1 reading the fir...

Страница 36: ...code word 0x1235 for deactivating write protection Input Data answer of the bus terminal Byte 0 Status byte Byte 1 DataIN1 high byte Byte 2 DataIN1 low byte 0x9F 1001 1111bin 0xXX 0xXX Explanation The...

Страница 37: ...ore changing the values Input data response from the Bus Terminal Byte 0 Status byte Byte 1 DataIN1 high byte Byte 2 DataIN1 low byte 0xA0 1010 0000bin 0xXX 0xXX Explanation The terminal returns a val...

Страница 38: ...ecify the register number 31 with 01 1111bin The output data word byte 1 and byte 2 contains 0x0000 for reactivating write protection Input Data answer of the bus terminal Byte 0 Status byte Byte 1 Da...

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

Страница 40: ...wiring 16 Fig 9 High Density Terminals 16 Fig 10 Connecting a cable on a terminal point 17 Fig 11 KL4494 19 Fig 12 KS2000 configuration software 22 Fig 13 Display of the fieldbus station in KS2000 24...

Отзывы: