Help Needed!

Hello all.

Basicly what I'm trying to do is create a counter of peices that are comeing form the machine and when it reaches a specific value wich is enterd in on the OP the machine should stop.

Createing a couter is the easy part.In Step7 I've taken an Cout up an assign parametres counter.

My problem start when I want to enter the number of peices that should be made.
In Protool I made an input field,and there I want to insert the number of peice's that should be made.Now I don't know how to transfer this value to the counter input CV, so that the counter will stop the operation when it reaches that specific number.

Could you please help me how to do this.

PS:
OP: C7-635 OP
 
First of all, mr NoName, if you want to count pieces with an S7 PLC you better count down. I know, it's the oppposite of what anybody would do with another PLC, but believe me, that's the way to do it with Siemens PLC's.

The outputbit of a Siemens counter is alway 1, except when the counter reaches 0. The online help states:
The signal state at output Q is "1" if the count is greater than zero and "0" if the count is equal to zero.
You can preset the counter with the number of pieces to be counted. The preset value is a 16 bit BCD value restricted to the range 000-999. It should be no problem to enter a BCD value with that kind of operator panel, check the Protool help for "counter".

All this information can be found in the online help in Step 7 and ProTool.

Kind regards,
 
Hello

My main problem is that I don't know wich function I should use.
I tried useing, Save_Data_Record and it didn't work,I allso tried
Data_Record_Dat_To_PLC and it didn't work.So I don't know any more what the problem could be or wich other function should i use.

I've allso set the Data Mailbox.It's addres is MW0, should i use another addres or is this one correct?

I've read "Help" in Protool and didn't find a solution,so I started this thread.

Thank you so far.
REGARDS
 
You first have to define a tag which references the counter in the PLC (type=counter, range=C). Subsequently you insert that tag on a screen of the OP as an Input/Output Field. Should be easy.

It could be a little different from what I'm stating here because I don't have the correct version of ProTool, it doesn't list the C7-635. I checked everything on a C7-634 project.

BTW This info IS to be found in the helpfiles. I found it there.

Kind regards,
 
I think that we don't understand each other.Or I don't understand what you're trying to tell me :(


I have to enter the value to the counter on the CV input.This tell's the counter to wich walue it should count. I just want to know,how do i tranfer let's say 1000 to the CV input on the counter.
So I created an input field in Protool and there you enter 1000. Now what function must I use to do this?

Thank you.
Sory for the delay.
 

Similar Topics

Help Needed: Modbus Register Reading – Flygt SRC 311 Hello everyone, I'm integrating three Flygt SRC 311 SmartRun VSDs with an Emerson...
2
Replies
46
Views
Hi everyone, This is an one of those "I can't believe that wasn't done" scenarios. So the PSA is don't blindly trust a third party. Know what you...
4
Replies
155
Views
Respected Sir; I have a HMI and install RSLINK version 3.7 along with Factory talk activation manager But HMI have no internet can i activate the...
2
Replies
168
Views
Hi everyone, I’m struggling with an ABB actuator (CONTRAC RHD 250-10) and was hoping someone here might have run into this before. - Actuator...
0
Replies
185
Views
We need a plc guy willing to travel and has the experience to help us get this project done. We've struggled with staffing agencies and we'd...
19
Replies
1,455
Views
Top