HamzaAhmed
Member
Hi guys,
i am trying to program a Scada/HMI.
The values i will take them from PLC using Modbus.
In the manual they said:
This address is not an absolute address of a Modbus register. It indicates register offset from the beginning of the address space for registers of selected Type.
For example, Address (offset) 1 for a register of a Holding Register type will match to:
Protocol address 40000
Data model address 40001.
So i put the offset to 0 so the programe take the vaule from Register D0 and then the offset to 150 so it take the value from D150.
But i don't know how get the value from coils or outputs, i don't know how much the offset supposed to be to take the status of M0 for example.
can you help?
Thanks,
i am trying to program a Scada/HMI.
The values i will take them from PLC using Modbus.
In the manual they said:
This address is not an absolute address of a Modbus register. It indicates register offset from the beginning of the address space for registers of selected Type.
For example, Address (offset) 1 for a register of a Holding Register type will match to:
Protocol address 40000
Data model address 40001.
So i put the offset to 0 so the programe take the vaule from Register D0 and then the offset to 150 so it take the value from D150.
But i don't know how get the value from coils or outputs, i don't know how much the offset supposed to be to take the status of M0 for example.
can you help?
Thanks,