Siemens S7

obi wan

Member
Join Date
Aug 2009
Location
Ro
Posts
13
Hi,

I want to create a library with my personal function. Its work.
But the problem come when I use in my function a library from Siemens (for example FC40 TIM_S5TI).
When I tray to compile the library I have the errors ' TIM S5TI does not match a declaration and is not in the symbol table '. If I tray to insert FC40, the program insert a normal FC not the library from Siemens.

It is possible to resolve this problems.

Thx.
 
Not sure what you mean by "compile the library".

Anyway.
If in the project blocks window there is an FC40 block or a block with the symbolic name TIM_S5TI, then delete these blocks. Be sure to delete the symbols together with the blocks.
Then copy by FC40 from the library window to your projects blocks window. Use Ctrl-C Ctrl-V. You can then use the TIM-S5TI block in your own code.
 
S7 - problem library

I have this situation: fig 01, 02, 03. I cannot compile STL source 'ConvertToS5Time'.

And I cannot copy FC40 from library.

note: FC800 is ok because in this function I not use function from Siemens library.

01.jpg 02.jpg 03.jpg
 
Last edited:

Similar Topics

OK. You guys helped me out a bunch with my first Siemens question. I found a bunch of issues with integrity checking the PLC programs I was...
Replies
3
Views
100
Hi, I have a 1214 on ip 192.168.0.100. This is connected to other modules through a switch on same network. I need to connect this to a company...
Replies
1
Views
94
Hello. I appreciate the insights here and the willingness to share. I've got a lot of Rockwell experience, but my Siemens experience is...
Replies
6
Views
128
Kindly, has anyone tried to control Lenze servomotors with Siemens S120 drives ? Any special hints ? Have some concerns for the resolver and servo...
Replies
5
Views
177
Hi everyone, I want to upload the program from my CPU317TF-2 DP to my PC via connecting to CP 343-1 Advanced since it has LAN ports and the CPU...
Replies
1
Views
119
Back
Top Bottom