Data Blocks S-7300

chama mulenga

Member
Join Date
Sep 2009
Location
Lusaka
Posts
42
Hi,

DB's are confusing me were they get there signals from unlike the I/O's e.g DB62.DBX6201.O when l check the data block 62 the initual and actual are all false.what triggers this DBX62O1 to be true.when l highlight this and goto it's showing only AND. Please experts l need your help.
 
I do not have the Simatic Software on this pc but somewhere in your programma there should be

a)

a call-instruction of the DB and after this instruction the DBX will be used as an output-coil.


or

b) the DBX is directly written to as an output-coil:

A I 0.0
= DB2.DBX1.0

Another option is that an operatorpanel is changing the data of the DBX's.
 
The bits in DB62 are accessed indirectly.

DB62 is called directly in FC62 twice and once it is used as an input parameter on call to FB63 (within FC62).

The datawords are written to indirectly i.e.

Code:
      OPN   "Device_Control_DB"
      L     #Current_Channel
      L     100
      *I    
      L     4
      +I    
      SLW   3
      T     #Offset_Int
      L     #Status
      T     DBW [#Offset_Int]


I don't like the way the programmer uses L flage within the program, asking for trouble if anyone modifies the program and add's a TEMP before the existing TEMP flags.
 

Similar Topics

Hi everyone, I am normally not in Siemens PLCs, so I have a relatively beginner question. In a data block (DB3), I added a few rows to it. When...
Replies
8
Views
1,960
Hi everyone i have uploaded some machine programs, what i noticed is that the programmer puts the inputs in a data block and work with this data...
Replies
14
Views
4,921
Hello everyone, As you can see in the screenshot below i have some values that are retentive. Now i want to create a specific value for specific...
Replies
5
Views
1,492
Hello all, I am trying to read DB values from an S7-300 with CPU 317-2 DP. I have done this before with a CPU 313C but it had a CP 343-1 Lean...
Replies
14
Views
4,799
I have a function block (FB1) which uses internal tags and has made a data block (DB1). I have a created a PLC data type with around 15 tags and...
Replies
2
Views
1,686
Back
Top Bottom