s5 100u cpu102 to tp27

lambusart

Member
Join Date
May 2006
Location
fleurus
Posts
12
Hi to all users,
icon7.gif

when i load fb51 into the plc,it goes to stop.
ITpile show 1rst int fault and N° bib needed for this fb.
Is this N° bib necessary to run ?
And someone can give me electrical wiring for the cable as511 to tp27(IF1A).
Thank's for all
Diego
 
Just before you JU to FB51 do you have L KY 51,0.
You must also have DB51

In OB22:
L 256
G DB51
C DB51
L KF+1
T DW64

This will create (G = Generate) DB51 and initialize DW64.
The KY 51,0 above the call to FB51 tells FB51 to use DB51 for reading and writing data.
 
Re:s5 100u cpu102 to tp27-10

Just before you JU to FB51 do you have L KY 51,0.
You must also have DB51

In OB22:
L 256
G DB51
C DB51 cpu 102 can't do this
L KF+1
T DW64

This will create (G = Generate) DB51 and initialize DW64.
The KY 51,0 above the call to FB51 tells FB51 to use DB51 for reading and writing data.

Before ,a big thank for your response.
icon7.gif

I' ve programmed like this
-DB51 WITH 210 WORDS IN KF FORMAT (i think that's enough)
-ob20,21,22 :A DB51
:L KF +1
:T dw64

pb51 :L KY 51,0
:SPA FB51
NAME :TDOP:511

ob1 :spa pb51

cpu go to stop
ITPILE -1rst
stop visustp muabs
x x x
-2nd
1e ? dtc
x x

Thank's to you
diego
 
Hi,

another reason for 'CPU STOP' is to use the wrong standard function block,
as there are several types of FB51.

for communication via AS511 the Simatic S5 - plc's are splited in two groups.
Group1 : AG90U ; AG100U ( CPU 100; 102)
Group2 : AG95U ; AG100U (CPU 103); AG115U ( exept CPU945) ; AG135U;
and the function block,('fb51' in this case) to be used, depends on the type of plc.
(for CPU102 you'll need the S5TD02ST.s5d file, which contains the suited functionblock)
Also the datablocks are different in size and assignment, but this
isn't a problem, if the datablock is long enough.( at least 70 DW / group1 ; 185 / group 2)

To initialize in OB 20;21;22 :

L KF1 ==> DW 64 for group 2 and
L KF1 ==> DW 40 for group 1

Links to the Simatic manuals:
(S5_communication ; TP27/37)

http://support.automation.siemens.com/WW/view/de/1137086/0/en
http://support.automation.siemens.com/WW/view/de/1145346/0/en


regards
Rolf
 
s5 100u to tp27

thank's to you my friends
Probleme is resolved
for cpu102 L ky 51,0 (for db51)not good .A DB51 ok
spa fb51
and the DW is the DW40 and not 64
My fb51 was good from s5std2.s5d
diego
PS:I still need the shematic for cable IF1 to a511
 
Hi,

the pinout and the interface are described in the
manuals. Search in Appendix...

I've attached a pdf for AS511.


regards
Rolf
 

Similar Topics

I have an S5 100U CPU102 PLC that's playing up, and I need to swap out the CPU at some point. I have an S5 100U CPU103. Am I correct in thinking...
Replies
3
Views
2,211
Hello everybody When I was searching for mentioned title,i found the required Function blocks in your web page,but there is something...
Replies
0
Views
1,820
Hi.I want to migrate S5-100U CPU 103 program to S7.It is giving error due to the following lines.These lines are exist in OB21. L KH 4435 T RS 8...
Replies
3
Views
784
dear All, i am working on the step5 of Siemens. after successful upload program and going online but RLO data is not updating. In Tset>Status...
Replies
6
Views
2,059
I wonder if some one could help me understand the Istack in a 100U. I have a 103CPU which is in stop mode. I disconnected all the expansion except...
Replies
13
Views
2,617
Back
Top Bottom