tlemar Posted November 30, 2009 Share Posted November 30, 2009 I am having problems reading a device that I just brought on-line. I have attached an excerpt from the device documentation. I can read the Serial No (49002-49003) using S32 RWords(3). However, I have been unable to find any setting that provides values or doesn't throw an Modbus #128 error when trying to read Device Name value (Register 49051-49082). I am doing something wrong? The document is entitled - "In-Situ Modbus Communication Protocol Version 5.5". The full document can be found at In-Situ Website Link to comment Share on other sites More sharing options...
AzeoTech Posted December 1, 2009 Share Posted December 1, 2009 My guess is that you have to read all 32 registers that make up that string. Use Read U16. Do it from script, since channels won't concat into a single string for you very easily. Its unclear whether each register is a single character, or two characters. My guess is a single character, in which case you can just take the result from Read U16 and use the chra() function on it and it will return a single string. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.