Hello everyone, so I have connected labview with plcs before so I understand the basic but have recently encountered a problem which hopefully you can input me. My plc is a Fatek FB's 20MAT2-AC internally the configuration for modbus RTU slave is as follows: Port 2, Parity: even, Data bits: 8, and Stop bit: 1 (attached image). So basically in my computer when I go to device manager I setup up the same parameters as shown before in Com2 (attached image). I create my I/O server in labview with the same parameters as shown before (attached Labview VI) and create the bound variables CommFail and 400001 because in my plc I move some data to R0 and from the Fatek plc manual the corresponding modbus slave address is R0-400001. When I run my VI the CommFail doesn't light up which tells me that communication with the plc is successful nevertheless 400001 is always at zero. If somebody can input me as to where I am making a mistake please do give me some input.
↧