K
Question: How can I save order data in PLC (Siemens S7-300) from HMI (Siemens TP177B)? What is the best way to do this?
I am stuck at inserting orders to PLC. I have created a recipe in WinCC Flexible with the following elements: cup_amount and flavour (also tags on DB).
What I want is, that these elements are saved as an array in the PLC DB, for example:
- order[1,1] = cup_amount
- order[1,2] = flavour
- order[2,1] = cup_amount
- order[2,2] = flavour
and so on...
The recipe form works and it saves data to the flash storage. I can also read the data record tag in the DB (order_number), but not the cup_amount and flavour. The last two tags does not update when pressed on save or download to PLC.
Can I do this in WinCC Flexible Advanced or do I have to use SCL to put them in an array?
Help appreciated! I am stuck for nearly 3 days.
Thanks in advance.
I am stuck at inserting orders to PLC. I have created a recipe in WinCC Flexible with the following elements: cup_amount and flavour (also tags on DB).
What I want is, that these elements are saved as an array in the PLC DB, for example:
- order[1,1] = cup_amount
- order[1,2] = flavour
- order[2,1] = cup_amount
- order[2,2] = flavour
and so on...
The recipe form works and it saves data to the flash storage. I can also read the data record tag in the DB (order_number), but not the cup_amount and flavour. The last two tags does not update when pressed on save or download to PLC.
Can I do this in WinCC Flexible Advanced or do I have to use SCL to put them in an array?
Help appreciated! I am stuck for nearly 3 days.
Thanks in advance.