Whilst I'm waiting for the PLC to turn up next week, I thought I'd see if anyone here can answer the question/confirm my thoughts.
I am connecting to the M221 using a Weintek screen, and in the data types available it doesn't list MF(memory float), only MW(memory word) or MD(memory double).
Has anyone read a 32 bit float from an M221 directly, or do you have to read individual words and then assemble them as 32 bit registers, or can it be read in as a MD?
It doesn't matter too much as I can convert the float to a double on the PLC to get an integer, and then divide it back again in a macro on my screen, just thinking of ways to make my life a little less complicated.
I am connecting to the M221 using a Weintek screen, and in the data types available it doesn't list MF(memory float), only MW(memory word) or MD(memory double).
Has anyone read a 32 bit float from an M221 directly, or do you have to read individual words and then assemble them as 32 bit registers, or can it be read in as a MD?
It doesn't matter too much as I can convert the float to a double on the PLC to get an integer, and then divide it back again in a macro on my screen, just thinking of ways to make my life a little less complicated.