# NewVeganic

MrPLC Member

17

1. ## Data Block storage in simulation mode

Are you pressed the "monitor all" button 🕶️
2. ## Data Block storage in simulation mode

If I have understood, you have entered the "start value." A start value won't become live until you stop and start the plc/simulation. You can modify the live value by monitoring/going online. You will then have an extra column.
3. ## FX5 48H SHIFT WITH SELECTABLE DATE SKIP CALCULATION

Yeah, obviously. I was giving the original poster a hint. No point considering all use cases and no reason to be a clever clogs.
4. ## FX5 48H SHIFT WITH SELECTABLE DATE SKIP CALCULATION

If result = Saturday or Sunday then result := result + 2days?

6. ## PID - large Integral value.

I have an autotuned PID (PID compact) for a heating application. The I value is greater than 600. Can anyone help me understand why it would be so large? P is less than 3. D is zero.
7. ## Automatically Adjust for BST

Hi Tim, don't suppose you want to buy some old ACPUs/cards?
8. ## Data register over flow

I don't fully understand what you want to do but look at Z registers. Psudo codeo follows... Initialise Z0 to 0 Using 5 double registers IF Z0 = 20 THEN Z0= 0; Something that adds to D10Z0; IF D10Z0 > (limit)THEN Z0 = Z0+2; Total = D10+D12+D14+D16+D18; but you are back to the initial problem of representation of a value greater than a double word/Dint. Enter that in your code of choice and you should be able to work something out. Alternatives,   1.used cascading counters. C1 counts to say 1000, C1 done then reset C1, increment C2. C2 counts to say 1000 but represents 1,000 to 999,000 Repeat for as many counters as necessary. Total = C1 count + C2 count x1000+...etc 2. Counter example but use registers instead of counters. A mix of the original solution and 1. 3.Use real/float datatype.   4. Pay me and I'll do it for you :)
9. ## FX1S Coils Not latching

Ron, we can build up to that. I did consider mentioning that but I thought I'd keep it simple.
10. ## FX1S Coils Not latching

Tim,  DO NOT USE AN OUTPUT COIL MORE THAN ONCE. That's an order!    :)
11. ## FX1S Coils Not latching

Just a heads-up that it's not bizarre how Y4 appears to work. It's all in the code. The state of Y4 will determined by the last use of Y4 in the program. The previous instance would have no effect.
12. ## Automatically Adjust for BST

M8000? M8000 is always on when running so you should be ok. I remembered this was in the download section here, it's not my work and I haven't tried it.
13. ## Automatically Adjust for BST

This might work.I haven't tried it.
14. ## Two Comfort HMI one PLC

Ok, thanks. I've got the different IP addresses.  The connections are identical but it works. I think that has to be changed on all the tags?  What difference does the connection actual make out of interest. If I could read the packets going back and forth over ethernet would they be different?
15. ## String Compare Issues

You need to read the manual. It compare FROM the address entered UNTIL it find  00h.   O0h acts like an end of string character.