Industrial Communications

cancel
Showing results for 
Search instead for 
Did you mean: 

TEST Communication PLC M340 Labview 14

Hi All,

 

Im trying de to read à coil from a vi ( see attached).

I wrote à litle programme using READ_VAR

Labview is on 192.168.0.16

The PLC on 192.168.0.15 ( Ethernet_1)

I use the the S6 bit

The link is ok

compiling the plc prog return no error

But I can't read any coil

 

Can you help me to locate my mistakes ?

 

Thank you

0 Kudos
Message 1 of 3
(4,389 Views)

Hello XKIKOU,

 

Could you give us more explanations about your application ? I see that you use another software, Unity Pro.

First, have you tried to read another parameter ? Is there just the "coil" parameter that you can't read ?

 

Best regards.

Samir
Ingénieur d'applications
National Instruments - France
0 Kudos
Message 2 of 3
(4,348 Views)

Hello Samir

 

Thank you for taking a few minutes to examin my problem.

I effectivly tried to read different parameters coil or regisrt but with no success.

Using Wireshark I can see that the request are  going from the M340 ( 192.168.0.15) to the vi (192.168.0.16)

On the Unity the error register à 0000  ie the communication is OK

But  I cant get the value of the first coil.

On attached the m340 program and the vi.

 

 

 

Thanks for your help.

0 Kudos
Message 3 of 3
(4,342 Views)