FB and DB's link together SIEMENS 315-2 PN/DP

kxe

Member
Join Date
Feb 2012
Location
Romania
Posts
18
Hello!

I'm new in PLC programming I have a PLC 315-2 PN/DP from Siemens, I want to store the status of one input (or more) in a DB for every cycle 0 to 1 of the input (boolean representation) and after that i retrive every result and make the next decision. It's like a Fifo buffer for storing multiple variable changes, how could i do this?

Thank you!
 
Last edited:
Im curious why you want want to do this. Do the states enter a table at the top then fall out at the bottom? Do you want to capture in groups of 5? Is it changes of state of time period, say every second or whatever
 
Im curious why you want want to do this. Do the states enter a table at the top then fall out at the bottom? Do you want to capture in groups of 5? Is it changes of state of time period, say every second or whatever

Thank you for the reply,

I have a program for sorting boxes using two sensors I0.0 and I0.1 they represent lower and higher box. I wrote a program in plc that sort one box at a time using those sensors, now i want to use a buffer (FIFO i guess) that stores multiple values of inputs I0.0 and I0.1 in a DB for multiple boxes not one at a time. I don't use a tabel right now, the time and groups doesen't matter just to store variable and extract it.
 
Last edited:

Similar Topics

I'm struggling to get an FR-E800SCE to work on CC-Link IE TSN. I'm sure the issue is with the drive, when I plug in the network cable I get no...
Replies
1
Views
89
Hi everybody, I would like to know if anybody here has already programmed with a LR-TB keyence on Io Link on a Rockwell PLC? And perhaps have...
Replies
0
Views
76
Hi everybody, Is anybody here still have programmed a Keyence sensor LR-TB2000CL and used it as io link material in studio 5000. I would like to...
Replies
0
Views
89
Hey there friends, recently discovered the world of industrial automation and learned what this fancy PLC can do so i am a super novice. Started...
Replies
10
Views
334
Hi, I'm having an issue with a mircologix not transmitting out. The current setup is a mircologix 1400 connected to a Guardian 100 Radio...
Replies
1
Views
105
Back
Top Bottom