I have two FX5 PLCs and I want to communicate using FX5-ENET/IP modules.
First PLC1 Eth/IP module IP: 192.168.003.100
Second PLC2 Eth/IP module IP: 192.168.003.102
I downloaded configurations using FX5-ENET/IP config1.png and config2.png
On both modules MS LED is green.
I have also installed FX5-ENET/IP blocks - fbenetip.png.
Now I want to create simple program to set boolean in PLC1 and read it in PLC2.
There is function in PLC1:
M_FX5ENETIP_Class1GetInputData_00A_2(i_bEN:= TRUE ,i_stModule:= FX5ENETIP_1 ,i_uConnectionNo:= 1 , o_uInputData=> D1000);
And function in PLC2:
M_FX5ENETIP_Class1SetOutputData_00A_1(i_bEN:= TRUE ,i_stModule:= FX5ENETIP_1 ,i_uConnectionNo:= 1 ,i_uOutputData:= D1000);
1. When I set D1000 to 1 in PLC2 it does not appear on PLC1. What am I missing? Error in U1\G6262 is H010F so TCP/IP error
2. What should I put as i_uConnectionNo? Should I set something in ExternalDevice configuration?
3. How should I set which bits are exchanged?
Sorry for questions but I am a Siemens guy. Everything in Siemens is simple. You drag and drop module define memory area which is exchanged and then use addresses from that area in the program.