Vai al contenuto
PLC Forum


Driver 3964r E Rk512 In Java


Messaggi consigliati

Inserito: (modificato)

Sto riscrivendo un'applicazione in Java, che dovrà collegarsi a PLC Siemens S5 115, dotati di schede CP524 , nel protocollo rk512 (che usa il 3964R).

Sto cercando vari livelli di soluzione, in ordine decrescente di priorità:

1) un driver nativo Java che gestisca direttamente rk512

2) (in subordine) un driver nativo Java per il protocollo 3964R. In tal caso dovrei io implementarci sopra l'rk512, ma non trovo la documentazione

3) (in subordine) un driver non-Java, che mi fornisca una DLL utilizzabile in Java, cosa per cui ho letto essere necessario fare una certa procedura a partire dai sorgenti (utility Javah)

Grazie, saluti

Franchi

Modificato: da franchi

Inserita:

http://libnodave.sourceforge.net

e un progetto di software sorgente aperta (mio) per la communicazione con i PLC Siemens tramite porta programmatore seriale. E scritto in C, pero sarebbe possibile portarlo a JAVA. Infatto, lo ho gia fatto per la parte S7-200 PPI la settimana fa, pero non ho ancora reso publico. Sta funzionamdo su LINUX e Windows con la biblioteca javax.comm e i biblioteque di communicazione rispettivi per il sistema operativo.

Puoi fai da te la conversione della communicazione S5 te o contattami a thomas.hergenhahn_at_web.de

Inserita:

Thomas,

thank you very much for your attention. I see you have drivers for MPI protocol. Really, I need a driver for 3964R/ rk512 connecting my Java application to a S5 PLC by CP524 serial RS422 card interface (or CP525 for RS232). This is not the programming port, but a communication-only port.

Is your driver useful in this environment? Please let me know, if it's possible, I'll . you in migrating it to Java

Best Regards

Franchi

(I see your note was in Italian. Do you prefer to speak it?)

Inserita:

Regarding Italian: I prefer English, its much easier for me, might it be impolite to the other people reading this forum?

Sorry, my drivers are not useable with RK512/RK3964R.I must have overseen that you need to use it in any case. There is also a project to do this in JAVA (google for somthing like "rkjava" or "java" and "3964 " or "java" and "rk512".

But this is does not execute the protocol, but delegates it to a commercial RK512 driver for LINUX.I´ve an old copy of an implementation of R3964 in PASCAL, found it somtimes on the net. If you want, I can search for it and mail it to you. Or I could port it to JAVA, provided you can wait a week or two and you will do all the testing. I have no CP at hand.

Thomas

Inserita:

Thomas,

thank you for your answer. Yes, I found that driver for Linux, but I need it on XP. If I remember, it's a C program, so it probably has to be migrated. About porting Pascal application, at the moment I'd prefer other options. I mean including a DLL of old commercial C drivers I found in a Java Native Method.

Thank you

Franchi

Crea un account o accedi per commentare

Devi essere un utente per poter lasciare un commento

Crea un account

Registrati per un nuovo account nella nostra comunità. è facile!

Registra un nuovo account

Accedi

Hai già un account? Accedi qui.

Accedi ora
×
×
  • Crea nuovo/a...