best way to check a connection

Hi Gerry,

This part I missed:

The 'GLOBAL_BIT' parameter in FC1 MUST be declared as IN_OUT parameter: This bit is set over the MPI bus, it is read in the polling routine, but it still has to be reset at the end of the polling routine.

So, in your example in post #4, Network 3 should be:
CLR
= #GLOBAL_BIT

Don't know why I missed this...
 
Hey, I understand... I think...

Because u send M50.0 global to M50.0 local, the M50.0 is high.
But, u set M50.0 local on zero after the function is processed, but it's M50.0 locally that I reset, not the global data it's M50.0, so resetting M50.0 is safe as it will become high again the next cycle because of the global M50.0 bit.

I hope I'm right, but sounds logical...

The global data bit In_OUT = okay, because we read before processing and write at the end of the function zero to it.

Thanks

So we make it even shorter:

iiidd.GIF


Monday I need to implement this whole thing. When NO_CONN = 1, the LINE SPEED must be forced to zero, so this code in every mixer, like u said.

Thanks




Sparkz said:
Hi Gerry,

This part I missed:

The 'GLOBAL_BIT' parameter in FC1 MUST be declared as IN_OUT parameter: This bit is set over the MPI bus, it is read in the polling routine, but it still has to be reset at the end of the polling routine.

So, in your example in post #4, Network 3 should be:
CLR
= #GLOBAL_BIT

Don't know why I missed this...
 

Similar Topics

Compactlogix controller, program has 28 conveyors that use TON's to start the conveyors. The TT sounds a warning horn during start and the DN...
Replies
10
Views
588
I have S7 1512C controler for controlling 48 PID temperature loop, the output is PWM. Please I need the best, most efficient way to write the...
Replies
13
Views
718
I am going to need to use HART multi-drop in order to handle a series of Vega Radar units. There are a lot of options and I'm wondering what...
Replies
3
Views
285
Out of interest, I'd like some thoughts on what would be considered best practice with regards to a 2-position turntable control scheme (see...
Replies
17
Views
1,257
Hello colleagues Anybody knows, what could be the best or a better option to bring with you when you are in service at factory to connect via...
Replies
1
Views
285
Back
Top Bottom