02-08-2012 10:08 AM
How are you addressing the PLC? What do you see out of the PLC? Is each letter (ABCDEF) a word that you are reading?
This will make a difference how you put together your code.
02-08-2012 01:40 PM
No, I see only booleans, 0, 1 , acordind to this configurations it would show a diferent image.
I have anothe doubt, What if I want to use the value of one indicadore twice or more times?, I'm creatting a local variable, But when I want to use this value again the proyect actue wrong.
02-08-2012 01:50 PM
I see only booleans, 0, 1
This confuses me - In LabVIEW booleans have values of TRUE or FALSE.
0 and 1 are integers, or possibly floating point numbers, but not booleans.
Blog for (mostly LabVIEW) programmers: Tips And Tricks
02-08-2012 01:52 PM
What if I want to use the value of one indicadore twice or more times?, I'm creatting a local variable,
You should avoid local variables, until you are experienced enough to know what they can and cannot do to/for you.
Have you looked at the example programs provided with LabVIEW?
A lot of basic concepts are covered in there.
Blog for (mostly LabVIEW) programmers: Tips And Tricks
02-08-2012 01:54 PM
Are your inputs going to a daq card so they are digital inputs or are you reading them from another device?
02-08-2012 02:03 PM
I take the variables from an OPC server. It will be digital outputs from the PLC
02-08-2012 02:05 PM
No, where can I found those examples??
02-08-2012 02:07 PM
Do you have sucessful communications with your PLC through the OPC?
02-08-2012 02:16 PM
YES. with RSLINX and SLC 5/04 PLC
02-08-2012 02:18 PM
Are you reading out one word or is this many words from your PLC?
Do you read one Boolean word that has 8 bits so you get an array of Boolean values?
How is the data presented in LabVIEW?