modular program for flexible system

Supreame

Member
Join Date
Jul 2008
Location
Brasov
Posts
33
Hello,

I need to design a modular program (in STEP7) to control a flexible line (with only one PLC & TCP/IP communication).

The system should handle line components (industrial writing/reading devices: printers, cameras, etc.) from different manufacturers.

For example, the line operator should be able to change the active device configuration from one day to another (on a HMI panel): day_1: printer_1 - from manufacturer A; day_2: printer_2 - from manufacturer B.

Assumption: all the line components are in place, but, regarding the (operator) input, only one part (combination) of the components are used at a specific time: day_1: printer_1, camera_1; day2: printer_2, camera_2; day_3: printer_1 & printer_2, camera_1; etc.).

Also the program needs to handle multiple type of data (received through OPC): writing/reading data with length of 20, 30, 40, etc. characters with different nr. of items/day: 30.000, 50.000, etc., and at different line speeds (also configurable on HMI).

Program design shortcomings:

  1. Hardware configuration with components from different manufacturers.
  2. Implementation of multiple drivers: one for each type of line component.
  3. Memory allocation inside the PLC. I see 2 possibilities:
    1. Allocate enough (very big) memory for worst case scenario: all devices (with their drivers - in FBs, DBs) and maximum nr. of items (with max. length) and effectively use only as much as requiered -> part of PLC memory is defined but not used (may impair performance).
    2. Dynamic memory allocation - allocate memory only for the current configuration -> big headache with pointers & dynamic DB's.

How can I tackle this complex challenge?
Is the Simatic iMap add-on suitable?
Did you have some experience with a similar program (project)?
 

Similar Topics

I've used AOI and User Defined Data Types, but I haven't created one yet. I have a lot of repetitive MOV commands to take a select number of...
Replies
4
Views
387
Hi all, First post on here. I'm an automation engineer and I have plenty of experience with Allen Bradley, Siemens and Fanuc etc. Constantly...
Replies
4
Views
2,965
I don't normally ask for help but this one has me stumped. We are designing a machine with 4 stations each have a 24 pin connector with 6 inputs...
Replies
3
Views
1,765
All, I am looking for some modular PB boxes that I can screw a cable in to hang in on the fence and call it a day. Fortress interlocks makes some...
Replies
4
Views
2,272
Hi all. Using a Red Lion Graphite® 15" Modular HMI and crimson 3 I have a few programs run in the background. The last one I added gets called...
Replies
3
Views
2,196
Back
Top Bottom