[?]: about SIMATIC FC1/FC2?

SIMATIC S7-200/300/400, Step7, PCS7, CFC, SFC, PDM, PLCSIM,
SCL, Graph, SPS-VISU S5/S7, IBHsoftec, LOGO ...
Post Reply
HOUYI
Posts: 14
Joined: Mon Jul 19, 2010 11:33 am

[?]: about SIMATIC FC1/FC2?

Post by HOUYI » Wed Jul 11, 2012 5:38 am

I want to design a function bolck(FB) for DP inverter,
so next time, when I progran with DP inverter I needn't to do many program work, I just need give CPLADDR a right start address of DP intervert.
But there are some difficuties for me when I program with fc1 dp_send/fc2 dp_recv,I don't know how to give a right address for SEND/RECV pin of fc1/fc2.
As the picture marked,I want to connect FB's interface/stat/pzd1_send (DBX46.0) to SEND pin of fc1.
Now, But this FB is not called in OBs, and no definite DB number for it; and more when call this FB, I want the definite DB's "pzd1_send(DBX46.0)" automatically connect to SEND pin of FC1.

FC1 online book give a example, SEND:=P#db17.dbx0.0 byte 103
And now, I want to make a general FB for one same type DP inverter, before call this FB, it has no definited DB. I want to give pzd1_send(DBX46.0) of this FB's instance data block to SEND pin of FC1. But I don't how to repalce "db17" in the example with "pzd1_send(DBX46.0)" in a right way. (If there was a instance DB for this FB, for example DB10, we can replace "db17"with "DB10", but if there is no definited instance DB for this FB, I can do like this)


Would anyone want to tell me how to do?
Thanks advance.
Image
you also can find the screeshot here: http://bbs.e10000.cn/a/file.asp?lid=520 ... vGA3pLXuii
Last edited by HOUYI on Thu Jul 12, 2012 2:27 am, edited 1 time in total.

dehell
Posts: 104
Joined: Sat Jun 13, 2009 12:25 pm
Location: Europe

Re: [?]: about SIMATIC FC1/FC2?

Post by dehell » Wed Jul 11, 2012 4:41 pm

Hi,
Inverter on ProfibusDP Network use usually, "Profidrive standard Telegram".
Use Google to find litterature about this.
To access data of a DP slave such inverter (write and read), you could use SFC14 and SFC15 (DPRD_DAT,DPWR_DAT)
In some case, you can also access parameter using PKW area of profidrive telegram...
Look at this link, it is about Micromaster inverter on ProfibusDP network.
http://support.automation.siemens.com/W ... n/26424185

APS_50
Posts: 3
Joined: Wed Apr 28, 2010 11:25 am

Re: [?]: about SIMATIC FC1/FC2?

Post by APS_50 » Wed Jul 11, 2012 10:05 pm

Hi,

is this example helpful ?

Function block V2.2 of the SIMATIC ET 200S FC frequency converter

http://support.automation.siemens.com/W ... n/21378443

Post Reply