jugenzhu1963
Member
Hi
I have an application need send some position data to Mitsubishi A800 drive via Modbus rtu. I have double integer value in plc. There are two integers to hold that data in drive side. Each integer value range is 0-9999. I need split the double integer into two integers. Let's say if the double integer value is 123456 i need one integer hold 12 and another hold 3456. i can't figure out how to do it. The plc is fx5u.
Please help me out. thanks.
I have an application need send some position data to Mitsubishi A800 drive via Modbus rtu. I have double integer value in plc. There are two integers to hold that data in drive side. Each integer value range is 0-9999. I need split the double integer into two integers. Let's say if the double integer value is 123456 i need one integer hold 12 and another hold 3456. i can't figure out how to do it. The plc is fx5u.
Please help me out. thanks.