Hi, I'm facing a problem with Modbus TCP communication using an S7 1500 as Slave (Server).
I configured the MB_SERVER function block and I'm using QModMaster as Master (Client) to test the system.
The communication is working and I tested the following configurations:
a. with an array DB of Words (or Bools, or Reals) I'm able to read them with FC3 on (4)0000+ addresses. See 1st MB_SERVER on pic1.
b. if I use a pointer, e.g. P#M100.0 BYTE 18, I'm able to read the inputs from %I0.0 onwards and I can read Discrete Inputs (FC2) and Inputs Registers (FC3). See 2nd MB_SERVER on pic1 and pic2.
My questions:
1. Why the pointer reads the inputs from %I0.0
2. How to configure the server to read from a mixed DB. I tried to use pointers to read the data inside a DB but with no luck. I would like to read data as pic2 but without allocating inputs images (or at least not starting from 0).
Advices?
Thanks
I configured the MB_SERVER function block and I'm using QModMaster as Master (Client) to test the system.
The communication is working and I tested the following configurations:
a. with an array DB of Words (or Bools, or Reals) I'm able to read them with FC3 on (4)0000+ addresses. See 1st MB_SERVER on pic1.
b. if I use a pointer, e.g. P#M100.0 BYTE 18, I'm able to read the inputs from %I0.0 onwards and I can read Discrete Inputs (FC2) and Inputs Registers (FC3). See 2nd MB_SERVER on pic1 and pic2.
My questions:
1. Why the pointer reads the inputs from %I0.0
2. How to configure the server to read from a mixed DB. I tried to use pointers to read the data inside a DB but with no luck. I would like to read data as pic2 but without allocating inputs images (or at least not starting from 0).
Advices?
Thanks