Bool to Int on a Mitsubishi FX3U PLC

stanhffgn

Member
Join Date
Dec 2017
Location
bergen op zoom
Posts
4
hello I am working on a school project were I am building a Safe were people can store valuables like phones.
these people can create there own password of 3 digits which they give in on an screen which runs scada.
but when they select a number this gives a boolean output to the PLC, but to make the complete password I need to be able to connect this output to a specific value (Int).
My question is how can I do this.
 
If your screen is running SCADA and it is communicating to the PLC, why not just write the value to the registers in the PLC?
Are you communicating Modbus RTU?
Knowing exactly how you are connected will help us know how to answer your question.

Regards,
 
I am using an USB to AW cabel form the communication.
And I didn`t know you could write a value fram your scada to your PLC like that I this is the first time I am using scada for something like this.
 
What SCADA (Supervisory Control And Data Acquisition) package are you using?
The USB cable indicates that you are communicating serially to the PLC. Are you using Modbus RTU protocol from the SCADA to the PLC?

Regards,
 
Thank you for this information, now I get my INT value`s directly from scada.
But now I found an other problem and that is that the PLC does not memorize the value so when I let go of the button the value disappears, is there an special function to solve this problem that you know of?

Knipsel 1.jpg Knipsel 2.jpg
 

Similar Topics

I work at a cheese factory and we recently ran into a problem where in an older controller they where able to use a REAL Data type in OTU and XIC...
Replies
13
Views
2,399
Hello I have two Bool data type tags located in the "Program Tags" under the Main Program routine. These tags are internal memory tags. How would...
Replies
4
Views
1,075
Hi, I must move an array of 16 Bool to an array of 2 USINT. I able to do this as attach pisture, but it's not cute! How I can do this with "COP"...
Replies
30
Views
11,938
Hello guys hope y’all healthy during this time, Im looking for help in a project im trying to finish. I need to get a bool (ote) when a dint...
Replies
6
Views
1,691
This is how my GET is configured: CALL GET , "GET_DB_1" remote_type:=Any local_type:=Any REQ :="Blinker 1 sec" ID...
Replies
2
Views
1,616
Back
Top Bottom