background image

ZU25102A_e.DOC / Mrz-08 

 

Page 8 / 26 

 

3.5.

 

Serial interfaces 

The unit provides a RS232 interface and a RS485 interface, however only one of the two can be 
used at a time. Serial communication allows to read out the counting result and to set 

parameters and variables by PC, according to need. 

 
 

5

4

3

2

1

9

8

7

6

GND int.

TxD

RxD

RS232

+5V

T+

T-

R+

R-

RS485

Sub-D-9 (female on unit site)

 

 
 
 

5

4

3

2

1

9

8

7

6

5

4

3

2

1

9

8

7

6

5

4

3

2

1

9

8

7

6

5

4

3

2

1

9

8

7

6

GND

TxD

RxD

PC

ZU 251

RS232:

Please connect only pins 2, 3 and 5 !

 

 
 
 

5

4

3

2

1

9

8

7

6

5

4

3

2

1

9

8

7

6

T+

T-

120 Ohms

120 Ohms

RS485- Bus

( 4- wire )

ZU 251

120 Ohms

120 Ohms

R+

R-

T+

T-

R+

R-

 

 
 
 

5

4

3

2

1

9

8

7

6

5

4

3

2

1

9

8

7

6

T+

T-

120 Ohms

120 Ohms

RS485- Bus

( 2- wire )

ZU  251

 

 
 

Summary of Contents for ZU 251 Series

Page 1: ...and 4 20 mA polarity following the sign of the internal counter Analogue conversion time 1 msec only RS 232 and RS 485 interfaces for serial readout of the counter Also suitable for conversion of the...

Page 2: ...nd also all country specific and application specific safety standards When this unit is used with applications where failure or maloperation could cause damage to a machine or hazard to the operating...

Page 3: ...rocedure 11 5 1 Operation as single channel counter without direction signal or as positional counter with direction signal 12 5 2 Operation as a summing or differential counter with two independent i...

Page 4: ...erial a Up down count with quadrature input A B 90 The polarity of the analogue output and the sign of the serial data depend on the sign of the actual counting result b Single channel impulses on cha...

Page 5: ...nnel sources like proximities or photocells providing HTL output and PNP or NPN or NAMUR characteristics Single channel sources with TTL RS422 output providing both signal and inverted signal differen...

Page 6: ...of the unit is approx 150 mA see specifications 1 2 3 4 5 6 7 8 9 10 11 12 Analogue out 10V TTL Input B HTL n c TTL Input B HTL Input B Analogue GND 18 30 VDC typ 200 mA GND 0 20mA 4 20mA out TTL Inp...

Page 7: ...second counting input For use of sensors providing 2 wire NAMUR characteristics Set the inputs to HTL and NPN Connect the positive wire of the sensor to the corresponding input and the negative wire t...

Page 8: ...variables by PC according to need 5 4 3 2 1 9 8 7 6 GND int TxD RxD RS232 5V T T R R RS485 Sub D 9 female on unit site 5 4 3 2 1 9 8 7 6 5 4 3 2 1 9 8 7 6 5 4 3 2 1 9 8 7 6 5 4 3 2 1 9 8 7 6 GND TxD R...

Page 9: ...26 4 DIL switch settings The DIL switch located on the top site of the unit provides customer specific settings of the desired operation modes Changes of the switch settings will become active only a...

Page 10: ...22 RS 232 RS 485 1 2 3 4 5 6 7 8 The switch settings shown in the example are suitable for a quadrature encoder with HTL and NPN characteristics The power down memory is switched off and the serial li...

Page 11: ...cted a pulse on input A The LED will be OFF when no input pulse has been detected When you press the TEACH button once more you can also check input B if applicable With use of mode A B and two indepe...

Page 12: ...ase set the counter to the desired state or move the encoder to the desired position and reset the counter to zero Then press the Teach button again This stores your minimum counter definition The LED...

Page 13: ...according to the ISO 1745 standard Details about the protocol can be found in our document SERPRO doc available for download under www motrona com The following register codes are available for reado...

Page 14: ...ection 3 5 of this manual Make sure the cable only uses pins 2 3 and 5 Pins 2 and 3 must be crossed Run the OS3 x software and you will see the following screen If your text and color fields remain em...

Page 15: ...ardware The boxes in the OUTPUTS field provide information about the state of the unit where Status A and Status B are especially useful to check the counting inputs Status A is lit when a counting pu...

Page 16: ...nimum and TEACH maximum settings Operand Readout from 8 Measuring result in of fullscale x xOperand Operand General Setting Teach Minimum Teach Maximum This couple of settings define your minimum and...

Page 17: ...ting with use of quadrature A B input allows simple count x1 or full quadrature count x4 by either accepting rising edges from input A only or all rising and falling edges from inputs A and B 0 simple...

Page 18: ...o 000 000 provides counting over the full range Power up Mode Sets the action of the counter upon power up 0 Loads the previous value from power down memory 1 sets counter to zero Set Up Settings Anal...

Page 19: ...even 1 1 7 even 2 2 7 odd 1 3 7 odd 2 4 7 none 1 5 7 none 2 6 8 even 1 7 8 odd 1 8 8 none 1 9 8 none 2 Serial Format Factory setting Protocol Setting The serial port of the unit can operate in either...

Page 20: ...tarts with the register value directly This allows a little faster transmission because of the shorter transmission time Unit No Serial Protocol 0 1 1 X X X X X X LF CR Serial Protocol 1 X X X X X X L...

Page 21: ...Now enter the attached values to registers P1 y to P16 y These are the values that the analogue output will generate instead of the x values Example the value set to register P2 y will substitute ori...

Page 22: ...oscope For this select TOOLS then TEST and there Analogue Voltage Function The unit will now simulate a repeating counting cycle over the full range and generate the analogue signal accordingly When y...

Page 23: ...26 11 Test Functions When you select TEST from the TOOLS menu you are able to verify the following data by clicking to the corresponding field Actual counter value DIL switch settings Internal supply...

Page 24: ...ZU25102A_e DOC Mrz 08 Page 24 26 12 Dimensions 74 mm 2 913 91mm 3 583 40 mm 1 575 79 mm 3 110 Front view Side view Top view...

Page 25: ...A 4 20 mA 270 Ohm Step width of analogue outputs 1 25 mV 2 5 A Analogue resolution 14 bits 10V 20mA 10V 20mA Accuracy of analogue output 0 1 1 digit Response time counter analogue normal operation app...

Page 26: ...0 000 000 100 000 000 0 9 0 12 Round Loop 0 1 000 000 0 7 0 13 Power up Mode 0 1 0 1 14 P1 x 100 000 100 000 100 000 6 3 A0 P1 y 100 000 100 000 100 000 6 3 A1 P2 x 100 000 100 000 100 000 6 3 A2 P2 y...

Reviews: