Store and sum variables

ahh

Member
Join Date
Sep 2006
Location
Stockholm
Posts
1
Hello!
Sorry for beeing a newbie, but I would be most grateful for your help.
I use a Matsushita (Panasonic) FP0 PLC. The software is NAIS (Matsushita) Fpwin Pro 4 (IEC compatible).

I want to make a program that store an Integer in a variable:
  • store one value if one Input is True.
  • another value if another Input is True.
  • Store Zero if none of these Inputs are true.
  • The Inputs cannot be true at the same time (one three-way switch).
I want to make seven of these blocks, to get seven Integers.
Now i want to sum up the Integers to make a sum.

Later this sum will be Published on a Display (Matsushita GT01), but that's another question I suppose.

I would be so grateful if somebody could help me!
/Eric
 
Eric,

I have no experience with Matsushita, but the logic seems uncomplicated.


 Input 1       Input 2 
|---||----------|/|----+-----[LOAD VALUE 1]--|
| | |
| +----[STORE VALUE 1]--|
| Input 2 Input 1 |
|---||----------|/|----+-----[LOAD VALUE 2]--|
| | |
| +----[STORE VALUE 2]--|
| Input 1 Input 2 |
|---|/|----------|/|---+-----[LOAD VALUE 0]--|
| | |
| +----[STORE VALUE 0]--|

 

Similar Topics

I'm running into a problem when trying to use the RSLinx Backup Restore Utility where it throws an error when it tries to restore a backup. The...
Replies
6
Views
448
Hi y'all I have a KTP400 connected to a s7-1200. Now i have on my screen the encoder value which comes from my SEW movitrac. under there I have...
Replies
2
Views
368
This was asked in another forum and taken down due to being a 'backdoor', but this has useful info that might be useful to someone in a pinch. I'm...
Replies
6
Views
565
Hello all, I'm using a 5069-L330ER in a project and I need to essentially capture some data that will be shown as a trend on a screen. The data...
Replies
9
Views
942
Hi all, I am working with an IO link sensor (measuring current across motor)and need to read in and store the sensor values for 5 seconds, then...
Replies
13
Views
1,189
Back
Top Bottom