Data Block not called for HMI Order

Benton

Member
Join Date
Oct 2010
Location
Baton Rouge
Posts
34
I have a string of code that needs an HMI order to be true before it gives me a start process bit that is used throughout the rest of the code.

The DB that the HMI Order bit comes from is not being called by ANY FB etc. and when the operator clicks the activate button which is tagged to that same uncalled DB nothing happens.

How do I get the bit from the HMI Order coming from the uncalled DB to be called from the FB that it is currently in?

Thanks
 
Ignore the above (1st) thread. I found the FB but if someone could tell me why when the operator click the button in wincc I only get a glitching change of state when monitoring DB? I does stay TRUE.
 
Check the usage of that bit inside the FB. The bit is likely an IN, OUT or STAT variable inside the FB that is being written to. Search for the name of your bit in the block interface, which is the section of the window on top of the code.
 

Similar Topics

Afternoon, I have a DB in TIA Portal V16 that is optimised. I cannot change this. There is an array inside that block which consists of 3000...
Replies
9
Views
1,117
Hello all, PLC-programming noob here. I have multiple clients accessing some data on my Siemens S7 1211C PLC; some OPC clients and some direct...
Replies
30
Views
8,287
Hey people, I have been using GET_NAME , GET_IM_DATA and ModuleStatus FB to get an info from Modules inside my program, but ever since and...
Replies
4
Views
2,534
Hi, just wondering if I could get some advice when setting up function blocks (Currently using Siemens S7) using a STRUCT data format. Say I was...
Replies
11
Views
2,981
Hi, Ok bear with me, I have an Array of Real in a DB ranging from 0 to 10. In ladder I want when count pulse = 100 move count into Array 0...
Replies
1
Views
2,076
Back
Top Bottom