Hi,
I have a point that I dont understand about data types and transfer. For example when we transfer a real data or dint data with sint comm data format, how PLC writes these real or dint values into sint format. As I knew it was like copying each bit value one by one
(if the real data is 11110000111100001111000000001111 then we will have 4 piece short integer like sint[0]-11110000 sint[1]-11110000 sint[2]-11110000 sint[3]-00001111)
If it is in this way. Why I can't transfer a dint value via 4 sint accurately while I can send a dint data including bool tags to destionation accurately ? (I can transfer alarm bools in total 32 bit accurately but I can't send a real or dint value accurately to another plc)
Thanks in advance.
I have a point that I dont understand about data types and transfer. For example when we transfer a real data or dint data with sint comm data format, how PLC writes these real or dint values into sint format. As I knew it was like copying each bit value one by one
(if the real data is 11110000111100001111000000001111 then we will have 4 piece short integer like sint[0]-11110000 sint[1]-11110000 sint[2]-11110000 sint[3]-00001111)
If it is in this way. Why I can't transfer a dint value via 4 sint accurately while I can send a dint data including bool tags to destionation accurately ? (I can transfer alarm bools in total 32 bit accurately but I can't send a real or dint value accurately to another plc)
Thanks in advance.