Programming Mental Block

YoungWint

Member
Join Date
Dec 2012
Location
East Midlands
Posts
77
Ok I have a mental block and am in need of great big bag of inspiration.

Have an application on Siemens S7.

I have a Drive block with an associated instance.

This is to interface to an HMI.

The HMI is to use a common DB for all drives, populated by the PLC. This is mainly driven by the client not accepting scripting, this is how I would prefer to do it.

So from the HMI I will set a unique number for each device which will in turn populate the FC from the specific drive instance.

My mental block comes from need to start/ stop each drive from the common faceplate using the common HMI data block.

Just can't find the inspiration to reverse the action i.e send commands to the drive FB from the HMI.

Any advice inspiration would be gladly received.
 
If all of the drive data is in a consistent format then you could use tag multiplexing. Or you could use address multiplexing if only the DB number is to change between drives; you should be able to do that without a script.

"No-Scripting" sound like an odd requirement, maybe fear of the unknown which usually comes from ignorance.

Nick
 
I don't know which HMI you are using. In Wonderware InTouch, for instance, you could accomplish the use of a common faceplate to access different PLC addresses by populating the faceplate with Indirect Tags and then assigning their linkage to IO Tags with a pushbutton script that opens the faceplate window, or on drive select pushbuttons within the faceplate window.

I'm not really familiar with the S7 PLC, but many PLCs also allow either indexed or indirect addressing, which would allow a fixed group of addresses tied to HMI tags to be dynamically redirected to different memory locations within the PLC.
 
The attached pictures show examples of tag multiplexing and address multiplexing in WinCCFlexible2008.

With the tag multiplexing, you create an internal tag for the value and then use another tag (internal or external) as the index value. In the tag configuration, each index value can then be assigned a different tag.

With Address Multiplexing, you create an internal tag for the value and then you can use other tags to specify the DB number, Byte number, Bit Number. In the example attached, only the DB number is specified by an internal tag.

Hope this helps,

Nick

AddressMultiplex.jpg TagMultiplex.jpg
 
Thanks Manglemender very useful.

We have gone down the route of using faceplates and extracting the required data by index moves into data blocks.
 

Similar Topics

Dear all, I have fx2n plc on my hand but I don't have the programming cable sc-09 and it would not be easy for me to get one. I need the cable...
Replies
3
Views
67
Hi all, i am the new controls guy at the plant and i have inherited a pc from the previous controls guy with Siemens tia portal version 16 and 17...
Replies
20
Views
699
I need to pull the program off of an old 90-30 so I can convert it to Allen Bradley. This is my first time messing with GE and I don't have the...
Replies
2
Views
83
New to vfds. I put in parameters. IP, but I get ethernet flashing and link solid. What did I do wrong?
Replies
9
Views
454
I'm been deciphering a program for a press here. I've gotten most of it deciphered using the manual to understand the instructions (first mitsu...
Replies
11
Views
274
Back
Top Bottom