S5 Data Block Use For Logic?

teh

Supporting Member
Join Date
Nov 2002
Posts
140
HI,

DUE TO THE LIMITED OF FLAG 0.0 - 255.7, FOR CPU 115 - 943B

CAN I USE THE BIT OF DATA BLOCK TO THE LADDER LOGIC?

EXAMPLE

AT PB 6

CALL DB10

A D0.0
A D0.1
O D0.2
= D0.7

REGARDS

TEH

NOTE : I KNOW THAT IS POSSIBLE FOR CPU 135U... THANKS!
 
teh said:
I KNOW THAT IS POSSIBLE FOR CPU 135U... THANKS!

Teh

The easiest way to answer this question is try it out, set up a DB and a bit of logic, load it into your PLC and see if it works. I have used DB bits in a 115U 945 cpu, so I can see no reason why you can't use them in 943U.

Paul
 
I have used DB bits in a 115U 945 cpu, so I can see no reason why you can't use them in 943U.
The fact that this is possible is due to the fact that the 115U CPU 945 is in fact an 135U CPU in a 115U housing.

In a 115U CPU's 941 thru 944 you can only use a DB bit as the first test in a network by using the P or PN instruction (don't know the English mnemonics), setting and resetting can only be done unconditionally by the SU and RU commands. And all this can even only be done in an FB.

Kind regards,
 

Similar Topics

Afternoon, I have a DB in TIA Portal V16 that is optimised. I cannot change this. There is an array inside that block which consists of 3000...
Replies
9
Views
1,115
Hello all, PLC-programming noob here. I have multiple clients accessing some data on my Siemens S7 1211C PLC; some OPC clients and some direct...
Replies
30
Views
8,282
Hey people, I have been using GET_NAME , GET_IM_DATA and ModuleStatus FB to get an info from Modules inside my program, but ever since and...
Replies
4
Views
2,532
Hi, just wondering if I could get some advice when setting up function blocks (Currently using Siemens S7) using a STRUCT data format. Say I was...
Replies
11
Views
2,980
Hi, Ok bear with me, I have an Array of Real in a DB ranging from 0 to 10. In ladder I want when count pulse = 100 move count into Array 0...
Replies
1
Views
2,076
Back
Top Bottom