vijayvpv Posted July 4, 2019 Report Posted July 4, 2019 Hi all, Good morning. The PLC I'm currently working is Mitsubishi FX3G. I want to send username (in string format) from Weintek HMI to this PLC. But the string format is not supported in FX3G. But I can get the data into PLC in HEX format. For each string, two units of HEX places are used. For eg., T = 54 (Base 16) TO = 544f (Base 16) TOM = 544f4d (Base 16) TOMY = 544f4d59 (Base 16) In FX3G, the data range of Double Word HEX value is 0 to FFFFFFFF (i.e. upto 8 units). Please refer the image attached. But for my application, I need to have username up to 10 string values. So the HEX data units required are 20 units i.e. 0 to FFFFFFFFFFFFFFFFFFFF. Can anyone suggest how to get it please? Quote
Gambit Posted July 4, 2019 Report Posted July 4, 2019 (edited) You can use the ASC instruction but that is still 2 char per dataword. If you want to quickly put some character in some datawords you can also make a device memory file and send this to the PLC. The FX5 does support string StringMOV Edited July 4, 2019 by Gambit Quote
Wasan Posted July 5, 2019 Report Posted July 5, 2019 @vijayvpv You don't need to setup on PLC because when you input string on Wientek HMI data will be set on PLC that you can check it by using device batch monitor in ASCII format as shown below. Quote
vijayvpv Posted July 5, 2019 Author Report Posted July 5, 2019 @Wasan @Gambit Thank you guys, that fixed my problem..!! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.