Modicon Unity - MUX Block

tidwellc87

Member
Join Date
May 2018
Location
Dallas
Posts
9
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
 
Last edited:

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...
Replies
0
Views
381
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?
Replies
4
Views
940
I was wondering if there is a way to convert the PLC code sections .XBD into excel, edit them, and reimport them.
Replies
1
Views
1,179
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...
Replies
1
Views
1,431
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...
Replies
6
Views
3,666
Back
Top Bottom