Roboterforum Willkommen Gast. Bitte einloggen oder registrieren.
Haben Sie Ihre Aktivierungs E-Mail übersehen?
22. Mai 2012, 04:01:03
Übersicht Hilfe Suche Kalender Einloggen Registrieren
News: English and international Robotsupport now on Robot Forum. Also Supported by the Moderators of the roboterforum.de

Roboterforum für Industrieroboter Anwender  |  Allgemeines zum Thema Industrieroboter  |  Bussysteme  |  Thema: DeviceNet - adding new analogue inputs 0 Mitglieder und 1 Gast betrachten dieses Thema. « vorheriges nächstes »
Seiten: [1] Nach unten Drucken
Autor Thema: DeviceNet - adding new analogue inputs  (Gelesen 1894 mal)
MartinH
Stammgast
**
Offline Offline

Beiträge: 21


« am: 10. Juli 2007, 08:58:35 »

We are using Devicenet with Beckhoff terminals at the moment.

Our IOSYS.INI file includes :-
[DEVNET]
;------- Inputs ---------
INW0=10,0,x2      ;$IN[1-32]
;------- Outputs --------
OUTW0=10,0,x2     ;$OUT[1-32]

and DEVNET.INI is
[krc]
debug=0
baudrate=500
[1]
macid=10

Everything is currently working fine.

We would now like to add on a 4-input analogue input module KL3054 (English manual or German manual)

The manual says that the inputs are 16bit, so I believe I need to allocate 1 byte per input.  As far as I understand it, I need to add the following lines to IOSYS.INI

ANIN1=10,0,16,3,CAL 0x7FFF
ANIN2=10,1,16,3,CAL 0x7FFF
ANIN3=10,2,16,3,CAL 0x7FFF
ANIN4=10,3,16,3,CAL 0x7FFF

I believe I then need to change the digital input line as well, to look at byte number 4.  But does the digital Output line stay the same  kopfkratz ?? If so, I think the IOSYS.INI file should read :-

;------- Analogue Inputs ---------
ANIN1=10,0,16,3,CAL 0x7FFF
ANIN2=10,1,16,3,CAL 0x7FFF
ANIN3=10,2,16,3,CAL 0x7FFF
ANIN4=10,3,16,3,CAL 0x7FFF

;------- Digital Inputs ---------
INW0=10,4,x2      ;$IN[1-32]

;------- Digital Outputs --------
OUTW0=10,0,x2     ;$OUT[1-32]

 hilfe
Gespeichert
LindePaul
Forenjunkie
********
Offline Offline

Geschlecht: Männlich
Beiträge: 1248



« Antworten #1 am: 12. September 2007, 17:24:04 »

Hi Martin,
guess, you've got already a solution   supi

;------- Analogue Inputs ---------
ANIN1=10,0,16,3,CAL 0x7FFF
ANIN2=10,2,16,3,CAL 0x7FFF
ANIN3=10,4,16,3,CAL 0x7FFF
ANIN4=10,6,16,3,CAL 0x7FFF

;------- Digital Inputs ---------
INW0=10,8,x2      ;$IN[1-32]

;------- Digital Outputs --------
OUTW0=10,0,x2     ;$OUT[1-32]
Gespeichert

Wer nach allen Seiten offen ist kann nicht ganz dicht sein
MartinH
Stammgast
**
Offline Offline

Beiträge: 21


« Antworten #2 am: 12. September 2007, 17:28:37 »

Yes thanks  supi

Moving on to Kuka robot number 3 now  supi
Gespeichert
Seiten: [1] Nach oben Drucken 
Roboterforum für Industrieroboter Anwender  |  Allgemeines zum Thema Industrieroboter  |  Bussysteme  |  Thema: DeviceNet - adding new analogue inputs « vorheriges nächstes »
Gehe zu:  


Einloggen mit Benutzername, Passwort und Sitzungslänge

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2006, Simple Machines Prüfe XHTML 1.0 Prüfe CSS