step 5 program help request

srik

Member
Join Date
Sep 2005
Location
hyderabad
Posts
104
We are using siemens S135U PLC.

We are not using one control loop since long back. Now we have to take it in to operation. we found that, total control loop is working except input analog signal .please find the following program for reference.I checked DB39 (PB38,PB39 INTER DB),found that DL 25 is 192 and DR25 is 014 ( 25: KY = 192,014 )which are card number and channel numbers respectively.Further I found that the input signal displaying the value in MMI.But not showing any value in respective FB78 . Is the problem with assigning DL25 and DR25 in DB39 ?.How 192(DL25) is related with card number? Chanel number (014) is not matching with actual channel number in the PLC analog module. Iam new to siemens PLCs.

PB 38 C:[email protected] LEN=14
Page 1
Segment 1 DEA. LVL CONTROL O/P
!
! FB 79
! +--------------+
! ! ANAU !
! DL 70 --!STEB ! :BE
! DD 66 --!XE !
! DW 24 --!PBER !
! DL 71 --!BG !
! DR 71 --!KN !
! DR 70 --!BT !
! +--------------+



PB 39 C:[email protected] LEN=121
Page 1
Segment 1 DEA. LVL CONTROL
:C DB 6
:L DD 234
:L KG +1000000+03
:XG
:C DB 39
:T DD 33
:
:C DB 6
:L DD 236
:L KG +1000000+03
:XG
:C DB 39 C1A/M OS
:T DD 64
: C1A/M PLC
:C DB 6
:AN D 233.0
:C DB 39
:= D 40.8
:***



Segment 2
:C DB 39
:A D 40.8
:= D 32.8
:= D 63.8
:***



Segment 3
:JU FB 78
Name :ANEI
STEB : DL 23
PBER : DW 24
BG : DL 25
KN : DR 25
BT : DR 23
NA : DD 26
ER : DD 28
XA : DD 30
:
:JU FB 115
Name :K-AUSW
STEB : DL 32
XE1 : DD 33
XE2 : DD 30
XA1 : DD 35
XA2 : DD 37
:***
PB 39 C:[email protected] LEN=121
Page 2
Segment 4
!
! FB 176
! +--------------+
! ! IPD-REG !
! DW 39 --!STEW XA !-- DD 41
! DW 40 --!RSP I !-- DD 57
! DD 35 --!SOLL P !-- DD 59
! DD 30 --!IST D !-- DD 61
! DD 43 --!OBXA !
! DD 45 --!UBXA !
! DD 26 --!ABTZ !
! DD 26 --!ANTZ !
! DD 47 --!K0/P !
! DD 49 --!K/TI !
! DD 66 --!A(0) !
! DD 51 --!K/TD !
! DD 53 --!T1 !
! DD 55 --!TM !
! DD 26 --!THLG !
! DD 66 --!HAND !
! DD 26 --!ZEIN !
! +--------------+



Segment 5
!
! FB 115
! +--------------+
! ! K-AUSW !
! DL 63 --!STEB XA1 !-- DD 66
! DD 41 --!XE1 XA2 !-- DD 68
! DD 64 --!XE2 !
! +--------------+



Segment 6
:C DB 39
:AN D 40.8 C1A/M PLC
:C DB 6
:= D 233.0 C1A/M OS
:***



Segment 7
:C DB 39
:A D 40.8 C1 A/M PLC
:C DB 6
:= D 233.1 C1A/MFB OS
PB 39 C:[email protected] LEN=121
Page 3
:***



Segment 8 A/M,SP,MV,PID PLC -> OS FEEDBACK
:C DB 39
:L DD 35 C1SP PLC
:L KG +1000000+03
::G
:C DB 6
:T DD 234 C1SP OS
:
:C DB 39
:L DD 66 C1MV PLC
:L KG +1000000+03
::G
:C DB 6
:T DD 236 C1MV OS
:BE
 
Further, I found in manual as the analog module card address should assign with multiples of (2 x No.of channels) and chanel address is card address + (2 x Channel number). But I found the channel number in DB programs, below 15.If I want to make the loop to work, Is the change of address in DB39 is sufficient? or any changes required in any another blocks?
 
Last edited:

Similar Topics

Hello everyone I'm new here and was hoping someone can help me out. I have a pneumatic punching/ bending machine that broke down running on a...
Replies
39
Views
5,166
Hello Everyone! I just became a member of this great site. I have a PLC program from an S5-100U PLC, and now I want to make a PDF report of all...
Replies
3
Views
1,576
Hello Guys, Good day. I am just wondering if you could help me how to program a "running hour" in step 7, for example, I have activated a light...
Replies
4
Views
2,950
I've got a task to make a new, more stable PLC program, based on the solution that was made a long time ago. The problem is that this old program...
Replies
1
Views
1,353
What could be wrong..? I have tried to set on and off this ticker "automatic program status change on blocks" (at customize menu), to have back...
Replies
2
Views
2,233
Back
Top Bottom