Table of Contents - TG Drives

Table of Contents - TG Drives Table of Contents - TG Drives

28.11.2012 Views

96 SysIo, System I/O SYSIO, SYSTEM I/O Group Group No. Description EXTENDED REGISTER GROUPS SysIo 9 System I/O for internal supervisory functions etc. GENERAL The Sysio group holds information mainly for monitoring and control of the hardware system. There are also some members in this group for adjusting the software flow. Most of the registers in this group are normally not used in application programs. FUNCTION SysIo.Pin SysIo.Pout SysIo.Led SysIo.Pout SysIo.PWM0 SysIo.ChkTmr SysIo.Sync SysIo.SyncMode SysIo.ADC9 SysIo.ADC10 SysIo.ADC11 SysIo.SysTime SysIo.FBCTime SysIo.Servorate SysIo.SyncRate The logical interface between the software system and the digital hardware. In these registers individual bits can be manipulated to reset and enable the output power stage and also monitor error events in the hardware. The LED’s on the DMC 2 front plate are manipulated as bits in the SysIo.Led register except for CPU Ok, which is handled from the SysIo.POut byte. SysIo.PWM0 controls the amplitude of the resolver supply signal, the range of 3 to 13 V is mapped to 255 - 0 in this parameter. A measuring routine (PL2 coded) for this parameter is included in the SW package. NOTE! Not fully backward compatible from Ver.4.0. or later. SysIo.ChkTmr sets the rate for system monitoring of PosError, Bleederload, Overtemperature and Resolver errors. SysIo.Sync and SysIo.SyncMode controls the synchronization functions needed for some gearing applications. SysIo.ADC8 SinCos encoder (sin). SinCos encoder (cos). Strain gauge input # 1. Indicate system time usage in 100 ns. Indicate field bus communication time usage in 100 ns. Servo cycle frequency in Hz. The synchronization signal frequency. User's Manual 5.1 Inmotion Technologies AB Doc. No.9032 0027 01 (B), Rev. 11.07.2001

EXTENDED REGISTER GROUPS RELATED ITEMS Vector.ResolvErr Vector.BleedErr Vector.TempErr Vector.PosErr Int.SysMask Int.SysPend EXAMPLE USAGE . SysIo.ChkTmr , 25 . or SysIo.POut , 1 or SysIo.POut , 4 bclr SysIo.POut , 4 or SysIo.POut , 2 or SysIo.POut , 8 or SysIo.Led , 1+8 . System interrupt vector for resolver monitoring. System interrupt vector for bleeder monitoring. Bit mask for system interrupts. SysIo, System I/O System interrupt vector for temperature monitoring. System interrupt vector for position monitoring. Bit mask for pending events. ;25 ms check rate GROUP MEMBERS (GROUP 9) ;set CPU Ok led alive ;reset the power stage ;with a short pulse ;enable the power stage ;activate the brake relay ;set LED1 and LED 4 alive Group.Member Member No. Range Ability Default SysIo.PIn 0 0..255 R System parallel input port (on CPU board). Bit0 (1) High voltage level 0 = Active R Bit1 (2) Comp. current sign V 2 = Active R Bit2 (4) Comp. current sign U 4 = Active R Bit3 (8) Motor Temp. High 0 = Active R Bit4 (16) Drive Temp. High 0 = Active R Bit5 (32) Current Regulator fault 0 = Active R Bit6 (64) Shunt regulator active (on/off) (Dynamic Brake) 0 = Active R Bit7 (128) Short circuit, power stage 0 = Active R SysIo.POut 1 0..255 RW System parallel output port (on CPU board). Bit0 (1) Green LED on front panel CPU OK. 1 = Active RW (CPUA) Bit1 (2) Software enables. 2 = Active RW (SWEN) Bit2 (4) Power reset. 4 = Active (P l ) RW (PRES) User's Manual 5.1 Inmotion Technologies AB Doc. No.9032 0027 01 (B), Rev. 11.07.2001 97

EXTENDED REGISTER GROUPS<br />

RELATED ITEMS<br />

Vector.ResolvErr<br />

Vector.BleedErr<br />

Vector.TempErr<br />

Vector.PosErr<br />

Int.SysMask<br />

Int.SysPend<br />

EXAMPLE USAGE<br />

.<br />

SysIo.ChkTmr , 25<br />

.<br />

or SysIo.POut , 1<br />

or SysIo.POut , 4<br />

bclr SysIo.POut , 4<br />

or SysIo.POut , 2<br />

or SysIo.POut , 8<br />

or SysIo.Led , 1+8<br />

.<br />

System interrupt vector for resolver monitoring.<br />

System interrupt vector for bleeder monitoring.<br />

Bit mask for system interrupts.<br />

SysIo, System I/O<br />

System interrupt vector for temperature monitoring.<br />

System interrupt vector for position monitoring.<br />

Bit mask for pending events.<br />

;25 ms check rate<br />

GROUP MEMBERS (GROUP 9)<br />

;set CPU Ok led alive<br />

;reset the power stage<br />

;with a short pulse<br />

;enable the power stage<br />

;activate the brake relay<br />

;set LED1 and LED 4 alive<br />

Group.Member Member<br />

No.<br />

Range Ability Default<br />

SysIo.PIn 0 0..255 R<br />

System parallel input port (on CPU board).<br />

Bit0 (1) High voltage level 0 = Active R<br />

Bit1 (2) Comp. current sign V 2 = Active R<br />

Bit2 (4) Comp. current sign U 4 = Active R<br />

Bit3 (8) Motor Temp. High 0 = Active R<br />

Bit4 (16) Drive Temp. High 0 = Active R<br />

Bit5 (32) Current Regulator fault 0 = Active R<br />

Bit6 (64) Shunt regulator active<br />

(on/<strong>of</strong>f) (Dynamic Brake)<br />

0 = Active R<br />

Bit7 (128) Short circuit, power stage 0 = Active R<br />

SysIo.POut 1 0..255 RW<br />

System parallel output port (on CPU board).<br />

Bit0 (1) Green LED on front panel<br />

CPU OK.<br />

1 = Active RW (CPUA)<br />

Bit1 (2) S<strong>of</strong>tware enables. 2 = Active RW (SWEN)<br />

Bit2 (4) Power reset. 4 = Active<br />

(P l )<br />

RW (PRES)<br />

User's Manual 5.1 Inmotion Technologies AB<br />

Doc. No.9032 0027 01 (B), Rev. 11.07.2001<br />

97

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!