Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I establish connection between DirectSoft Programming software and LookOut

Hi,
 
        I am working with a DL06 PLC. I am trying to a develop a LookOut Direct HMI for this tainer. I would like to know if there is any option in LookOut where it allows me to run small parts of PLC code along with HMI so that i can toggle discrete output. To be more speicifc i have X0 - 16 input bits and C0 - 16 status bits. I have to develop a logic in PLC programming so that the status bits toggels Y0 - 16 outputs on the tainer. So can you please let me know if there is any way of establishing communication between LookOut HMI and  DirectSoft 32 PLC programming software.
 
Thanks
regards
Koneru
0 Kudos
Message 1 of 13
(5,341 Views)
Lookout or LookoutDirect?
 
 
Ryan Shi
National Instruments
0 Kudos
Message 2 of 13
(5,329 Views)

Its LookOut Direct HMI Software. Can you please help me with this?

 

Thanks,

regards,

Kone

0 Kudos
Message 3 of 13
(5,327 Views)
I'm no expert on LookoutDirect.
Actually, LookoutDirect is not NI's product. As far as I know, there are some new objects for the connection to DIrectSoft.
Maybe someone else here can help you.
Ryan Shi
National Instruments
0 Kudos
Message 4 of 13
(5,302 Views)

I am not sure if I understand the question fully.  I am guessing you would like LookoutDirect to toggle some bits -- in which case you would just write to these bits from LookoutDirect.  This would work fine as long as the PLC isn't overwriting these. 

Please post back with more details if I have misunderstood your query.

-Khalid

0 Kudos
Message 5 of 13
(5,300 Views)

Ya, now im directly establishing connection between 'C' bits and HMI inputs and it works !

Thanks a lot for your support !

I have one more question can u help me convert inputs from decimal to BCD. I have decimal input on the HM screen that has to be converted to BCD when fed to the PLC. How can i do this?

 

0 Kudos
Message 6 of 13
(5,289 Views)


@kone wrote:
...
I have one more question can u help me convert inputs from decimal to BCD. I have decimal input on the HM screen that has to be converted to BCD when fed to the PLC. How can i do this?

To convert to BCD with LookoutDirect, just add the :B modifier after your object (e.g. DL250.V2000:B=Pot1) as described in the "Getting Started" manual (Appendix B of the current one).

=====================================================
Fading out. " ... J. Arthur Rank on gong."
0 Kudos
Message 7 of 13
(5,264 Views)
Thanks for the answer but my problem is i need to turn on particular set of bits for each value of decimal number. So any idea as to how can i do this? Please help.
 
regards
Kone
0 Kudos
Message 8 of 13
(5,254 Views)
Kone,
 
Have you tried mathematics.
 
I use something like:
 

ADec2Bcd      = sum(mod(000,16),mod(trunc(000/16),16)*10,mod(trunc(trunc(000/16)

                /16),16)*100,mod(trunc(trunc(trunc(000/16)/16)/16),16)*1000);

               

 

Simply replace the 000 with the value to be converted, can be a numerical object.

 

 

0 Kudos
Message 9 of 13
(5,229 Views)
Hi,
 
Im not sure if i understood that right. I have attached my control panel with this e-mail.
Please have look at it. Now what i need to do is for each value of thumbwheel i need to
turn of a set of inputs.
For example when thumbwheel v alue = 1, bits Y110 and Y113 should go high
and when thumbwheel value = 2, bits Y114 and Y115 should go high and so on..
I have thumbwheel values from 0 to 9. So how can i insert expression for the thumwheel to accomplish this task?
When i go to Insert -> expression, it gives me a separate display for each value and i dont want this to happen.
 
Please help me.
 
Thanks a lot !!!
regards
Kone
0 Kudos
Message 10 of 13
(5,211 Views)