Modicon Unity - MUX Block

This is occurring on Unity Pro XL v12 in an m580 program.



I've had this happen on several occasions and I can't seem to figure out what's going on. I'm using a MUX block and a selector integer to pass through a real value. As I understand it, the block should not be performing any math on the values whatsoever, and simply passing the value from the correct input to the output. Yet I input a normal real and end up with a VERY small number. The other strange thing is that it is not always very repeatable. Sometimes changing something around that shouldn't affect the output whatsoever will alleviate it.


Is this some sort of bug?




Edit***


Found a workaround. Passing a value to an input via a link seems to be the problem. I deleted the link and assigned the DIV output to an unlocated variable, and pasted that variable to the MUX input. Now it works. This is repeatable. I have no clue why that should matter. Very weird.

muxproblem.PNG
 

Similar Topics

HELLO MY FRİENDS ı have problem. ı tought you can solved thıs problem for me. First of all When I checked all the cable connections of the...
0
Replies
1,139
Views
Hello. New to Unity and had a couple quick questions. Can a Modicon M340 output to a small multiline LCD screen and not a full HMI?
4
Replies
1,959
Views
I was wondering if there is a way to convert the PLC code sections .XBD into excel, edit them, and reimport them.
1
Replies
1,948
Views
A little background information on myself: I have been strapped to Allen Bradley/Rockwell for the last 15 years as an electromech. I've done...
1
Replies
1,792
Views
Hello all, My company have sourced a Modicon M340 PLC with a Magelis (XPT GTO4310) HMI. The intention here is to use this setup in order to...
6
Replies
4,459
Views
Top