background image

 

 

TIP670 User Manual Issue 1.3 

Page 8 of 19 

4 IP Addressing  

The TIP670 is accessed in the I/O space through the following set of four direct accessible registers 
implemented in the Z8536 controller: 

Address 

Symbol 

Description 

Size (Bit) 

0x01 

PORTC 

Port C Data Bits D00-D07 

0x03 

PORTB 

Port B Data Bits D00-D07 

0x05 

PORTA 

Port A Data Bits D00-D07 

0x07 

CIOCSR 

CIO Command and Status Register 

Figure 4-1 :  Register Set  

4.1 Indirect Addressable Registers 

In addition to the above mentioned direct access registers the Z8536 CIO has 48 indirect 
addressable registers. These indirect addressable registers are used for the mode specification 
and for the control of ports and counter/timers. 

Not all of the indirect addressable registers are required for the operation of the TIP670. For a 
more detailed description of the function of these registers see the Z8536 data sheet which is 
part of the Engineering Documentation TIP670-ED. 

Address 

Symbol 

Description 

Size (Bit) 

0x00 

MICR 

Master Interrupt Control 

0x01 

MCCR 

Master Configuration Control 

0x02 

PAIV 

Port A Interrupt Vector 

0x03 

PBIV 

Port B Interrupt Vector 

0x04 

CTIV 

Counter / Timer Interrupt Vector 

0x05 

PCDP 

Port C Data Path Polarity 

0x06 

PCDD 

Port C Data Direction 

0x07 

PCSC 

Port C Special I/O Control 

0x08 

PACS 

Port A Control / Status 

0x09 

PBCS 

Port B Control / Status 

0x0A 

C1CSR 

Counter / Timer 1 Command / Status 

0x0B 

C2CSR 

Counter / Timer 2 Command / Status 

0x0C 

C3CSR 

Counter / Timer 3 Command / Status 

0x0D 

PADR 

Port A Data Register 

0x0E 

PBDR 

Port B Data Register 

0x0F 

PCDR 

Port C Data Register 

0x10 

CT1CM 

Counter / Timer 1 Current Count MSB  8 

0x11 

CT1CL 

Counter / Timer 1 Current Count LSB 

0x12 

CT2CM 

Counter / Timer 2 Current Count MSB  8 

Содержание TIP670

Страница 1: ...D75670800 TEWS TECHNOLOGIES GmbH Am Bahnhof 7 25469 Halstenbek Germany Phone 49 0 4101 4058 0 Fax 49 0 4101 4058 19 e mail info tews com www tews com TEWS TECHNOLOGIES LLC 1 E Liberty Street Sixth Flo...

Страница 2: ...is document at any time without notice TEWS TECHNOLOGIES GmbH is not liable for any damage arising out of the application or use of the device described herein Style Conventions Hexadecimal characters...

Страница 3: ...Isolation 11 5 1 2 Digital Filtering 11 5 1 3 Input and Interrupt Logic 11 5 2 Digital Outputs 11 5 2 1 Optical Isolation 11 5 2 2 Output Polarity 11 5 2 3 Overload Protection 11 5 2 4 Output Watchdog...

Страница 4: ...ID PROM CONTENTS 7 FIGURE 4 1 REGISTER SET 8 FIGURE 4 2 Z8536 CIO INDIRECT ADDRESSABLE REGISTERS 9 FIGURE 4 3 CIO STATE MACHINE 10 FIGURE 7 1 INPUT WIRING OPTIONS 16 FIGURE 7 2 OUTPUT WIRING AS HIGH...

Страница 5: ...ebounce circuit with fixed debounce time All inputs can generate an interrupt The signal edge handling is programmable For systems with particularly fast reaction each input can be assigned its own in...

Страница 6: ...TIP670 10 8 TIP670 20 4 Output Isolation All channels each two channels shares the same power supply and ground External Supply Voltage for Outputs 24V DC typical 6V DC minimum 48V DC maximum Output C...

Страница 7: ...0x05 ASCII A 0x41 0x07 ASCII C 0x43 0x09 Manufacturer ID 0xB3 0x0B Model Number 0x02 for TIP670 10 0x03 for TIP670 20 0x0D Revision 0x10 0x0F Reserved 0x00 0x11 Driver ID low byte 0x00 0x13 Driver ID...

Страница 8: ...peration of the TIP670 For a more detailed description of the function of these registers see the Z8536 data sheet which is part of the Engineering Documentation TIP670 ED Address Symbol Description S...

Страница 9: ...T3MO Counter Timer 3 Mode Specification 8 0x1F CTCV Counter Timer Current Vector 8 0x20 PAMO Port A Mode Specification 8 0x21 PAHS Port A Handshake Specification 8 0x22 PADP Port A Data Path Polarity...

Страница 10: ...This will put also the state machine into state 1 A read or write access in state 1 will transfer data from or to the internal register which was selected by the pointer register Any access to the int...

Страница 11: ...mmed for each channel and input transition For more detailed information see the Z8536 data manual which is part of the TIP670 ED Engineering Documentation A software initialization of the Z8536 is re...

Страница 12: ...puts Any software access to the Z8536 will retrigger Timer 3 in the Z8536 If the programmed time expires without a software access all outputs go into the off state the maximum programmable time is ap...

Страница 13: ...IOSR Write 0x01 to CIOSR Write 0x00 to CIOSR This sequence puts the CIO Z8536 into a known reset state Write 0x2B to CIOCSR This selects the Port B Data Direction Register PBDD for the next operation...

Страница 14: ...1A to CIOCSR This selects the Counter Timer3 Preload MSB Register CT3PM for the next operation Write 0xF0 to CIOCSR Writing 0xF0 into CT3PM will load the first half of the watchdog time out time of 0x...

Страница 15: ...to CIOCSR This selects the Counter Timer 3 Command and Status Register C3CSR for the next operation Write 0x06 to CIOCSR Writing 0x06 into C3CSR triggers and runs counter timer 3 Write 0x00 to PORTC W...

Страница 16: ...he logic circuit Each input is independent of the other inputs and can be wired different Each input has two connections at the IP I O connector Input x and Input x However the TIP670 has AC optocoupl...

Страница 17: ...wo Output channels 1 and 2 3 and 4 5 and 6 7 and 8 share the same output potential but are completely isolated against the other output pairs Each output can be individually configured as a high side...

Страница 18: ...ut 1 02 Input 1 03 Input 2 04 Input 2 05 Input 3 06 Input 3 07 Input 4 08 Input 4 09 Input 5 TIP670 10 only 10 Input 5 TIP670 10 only 11 Input 6 TIP670 10 only 12 Input 6 TIP670 10 only 13 Input 7 TIP...

Страница 19: ...36 Low Side Output 4 37 High Side Output 4 38 Low Side Output 5 TIP670 10 only 39 High Side Output 5 TIP670 10 only 40 Low Side Output 6 TIP670 10 only 41 High Side Output 6 TIP670 10 only 42 Low Side...

Отзывы: