Request: RPC SINUMERIK <-> MCIS RPC <-> SinCOM s

SIMATIC S7-200/300/400, Step7, PCS7, CFC, SFC, PDM, PLCSIM,
SCL, Graph, SPS-VISU S5/S7, IBHsoftec, LOGO ...
ant_man
Posts: 8
Joined: Sat Jul 26, 2008 10:24 am
Location: Russia

Request: RPC SINUMERIK <-> MCIS RPC <-> SinCOM s

Post by ant_man »

Hello!

We have SINUMERIK 840D SL hardware and need to control it from another PC. I've read from sinumerik documentation there is RPC comunication possible for this purpose. But, i am afraid, we have not RPC option software installed. Do anybody have it? Or how to configure it, in case it is already inside SINUMERIK panel?

May be you have some examples explaining this communication mechanism?

Thanks.
in Russian wrote:Привет, никто не знает как настроить обмен между другим компом и Sinumerik 840D через RPC? Где взять и какое нужно ПО для этого?
Спасибо!
Last edited by ant_man on Mon Sep 01, 2008 4:57 pm, edited 1 time in total.
graucho
Posts: 15
Joined: Tue Dec 11, 2007 7:19 pm
Location: Europe

Post by graucho »

Do you have PCU 50/70 connected to the NCU unit? You can use original TCU (from siemens) or VNC (give you this same possibility as you staying in front of operator panel). TCU is operating via VNC (little modified by siemens).

Regards.
ant_man
Posts: 8
Joined: Sat Jul 26, 2008 10:24 am
Location: Russia

Post by ant_man »

I quite not sure if ive learned Siemens terminology yet. If PCU is some sort of PC inside operator panel running Windows XP, then yes, it is what we have. But whan i told "to control" i've meant something like "i click inside Autocad with my drawing and NC execute G-code to go to that location i point", not just thin client. I tried thin client throuh Symantec PC Anyware, but it is not exactly what we need...
graucho
Posts: 15
Joined: Tue Dec 11, 2007 7:19 pm
Location: Europe

Post by graucho »

PCU is a computer mounted on the back side of operator panel. On this computer usually runs HMI Advanced software (where you can configure system, make iso programs, diagnose an so on). If you have cad software probably you can generate iso program. On HMI Adavanced software you can configure logical disk (for example net share on technology computer where cad/cam software is installed) and run program remotely from technology computer. If you want to start remotely machine is quite risky but it's only my opinion. You can prepare some code in PLC on this machine to set interface signal to NC control start machining in response for example softkey pressing.
You need to know that standard program form cad/cam is only a route for the tool (coordinates) but usually in technology program you have lots of another auxiliary code and probably "i click inside Autocad with my drawing and NC execute G-code to go to that location i point" its not so easy.
ant_man
Posts: 8
Joined: Sat Jul 26, 2008 10:24 am
Location: Russia

Post by ant_man »

graucho wrote:PCU is a computer mounted on the back side of operator panel. On this computer usually runs HMI Advanced software (where you can configure system, make iso programs, diagnose an so on)...
So yes, we have this PCU.
graucho wrote:If you want to start remotely machine is quite risky but it's only my opinion. You can prepare some code in PLC on this machine to set interface signal to NC control start machining in response for example softkey pressing.
I dug toward PLC way and have ended with the same result : i don't know how to communicate between PLC and remote PC.
graucho wrote:You need to know that standard program form cad/cam is only a route for the tool (coordinates) but usually in technology program you have lots of another auxiliary code and probably "i click inside Autocad with my drawing and NC execute G-code to go to that location i point" its not so easy.
I have got a bit familiar with G-code and think it is not a problem for me to prepare program text file and copy it through net share to PCU by VBA script for example (PC and PCU connected via ethernet cable). The problem is to remotely start this file and read some NC system variables like $R[..] $AA_IW[..] etc.

The RPC mechanism as it is described in
"Motion Control Information System
SINUMERIK 840D/840Di/810D
RPC SINUMERIK Computer Link"
(it can be downloaded here)
consists enough functionality to accomplish this task. But i need a help to get it work.

This is software requirements mentioned in the document above:
2.1.1 Software
SINUMERIK 840D/810D
The following software is required on the SINUMERIK 840D/810D:
- PCU50/70 V1/V2, HMI ADVANCED 6.x
- The drivers for the Ethernet interface, and TCP/IP must be installed.
- MCIS-TDI (tool handling module) (only if the functions x_DATA_x SFct 21-23
are to be used).
- RPC SINUMERIK computer link software package
Host computer
Drivers for the installed Ethernet interface module.
TCP/IP with the FTP or NFS services and RPC according to the DCE standard.
Where can i get "RPC SINUMERIK computer link software package"? May be it came inside other bigger packages?
graucho
Posts: 15
Joined: Tue Dec 11, 2007 7:19 pm
Location: Europe

Post by graucho »

In my opinion this software will not resolve your ideas but maybe I'm wrong.
Without any additional software package you can add your own button to HMI Advanced system and while keypressing you receive a bit in PLC.
After this you can send signal NC start (IS PLC->NC).
Find a chapter in documetation "Expanding user interface" on DOConCD.
When channel start you can do what you want.
ant_man
Posts: 8
Joined: Sat Jul 26, 2008 10:24 am
Location: Russia

Post by ant_man »

Is MCIS RPC (SinCOM) a standalone product, or it is a part of a bigger one? Did not find it yet...
ant_man
Posts: 8
Joined: Sat Jul 26, 2008 10:24 am
Location: Russia

Post by ant_man »

Aah! Why hadn't someone advised me to use Network DDE connection? It is a realy alternative to do the same things as RPC and no need any additional software. And it works (so at last, it was not too easy to get it functioning)!
russian wrote:Проблемма с обретением пакета RPC была обойдена переходом на использование Network DDE
santosh0705
Posts: 5
Joined: Mon May 25, 2009 1:38 am
Location: India

Post by santosh0705 »

pls. publish some sample how it work.
I'm waiting for it....