Posted 24 Apr 2019 (edited) I am trying to connect my KILO TECH TOP GUN scale with KIN 500 Indicator to PLC CP1H through RS232C Module (CP1W-0007) . Connect all wires , Comm Light on module is Blinking , But But I see nothing in the program. I tried everything I could, but I didn’t get a result in a couple of days. Thank you very much for your attention . KIN 500 25 september 2013 manual.pdf PLCScale.cxp Edited 24 Apr 2019 by Licardius Share this post Link to post Share on other sites
Posted 24 Apr 2019 D200 needs to be something other than &0. Try putting a fixed value in there. Since you are using option slot 1, use #0100 instead of D200. After you do that, check your wiring....I cannot tell if you have anything connected to SG (pin 9) on the CIF01 connector side. 1 person likes this Share this post Link to post Share on other sites
Posted 26 Apr 2019 (edited) Thank you a lot. Now I get NET weight from the scales. But now my big problem .I want to receive status from the scales and it is written in the instructions that status can be obtained, but I do not understand what needs to be done to see it. How i get on PLC this H1,H2,H3,H4 bits? Thank you so much. PLCScalePier3.cxp Edited 26 Apr 2019 by Licardius Share this post Link to post Share on other sites
Posted 26 Apr 2019 It looks to me like you need to send the letter S with a header and terminator. I am guessing that would be <STX>S<CR> and then you should get the status back in the format shown in the last picture. <STX>?<StatusByte><CR>. I am not sure if StatusByte is only one of the status bytes, or all 4 of them. 1 person likes this Share this post Link to post Share on other sites
Posted 26 Apr 2019 30 minutes ago, Michael Walsh said: It looks to me like you need to send the letter S with a header and terminator. I am guessing that would be <STX>S<CR> and then you should get the status back in the format shown in the last picture. <STX>?<StatusByte><CR>. I am not sure if StatusByte is only one of the status bytes, or all 4 of them. Sorry, my level is the most basic for now. I do not quite understand how I can send <STX>?<StatusByte><CR> to my weighing indicator or i need to do it by @TXD(236) transmit? Share this post Link to post Share on other sites
Posted 26 Apr 2019 You need to send <STX>S<CR> using TXD. Then use RXD to receive <STX>?<StatusByte><CR> . Hex code for <STX>S<CR> is 02 53 0D Share this post Link to post Share on other sites
Posted 26 Apr 2019 If <STX>S<CR> does not work, try <STX>?S<CR> which is 02 3F 53 0D in Hex. 1 person likes this Share this post Link to post Share on other sites
Posted 26 Apr 2019 30 minutes ago, Michael Walsh said: If <STX>S<CR> does not work, try <STX>?S<CR> which is 02 3F 53 0D in Hex. Thank you a lot . I still do not see a response from the indicator. Where can I find it? PLCScalePier4.cxp Share this post Link to post Share on other sites
Posted 26 Apr 2019 (edited) 1 hour ago, Michael Walsh said: If <STX>S<CR> does not work, try <STX>?S<CR> which is 02 3F 53 0D in Hex. I have all these bytes go to the same address. If the option is how to separate them? thank you very much Edited 26 Apr 2019 by Licardius Share this post Link to post Share on other sites
Posted 27 Apr 2019 Send that same picture above, but change it to monitor in HEX. 1 person likes this Share this post Link to post Share on other sites
Posted 29 Apr 2019 (edited) On 4/27/2019 at 10:38 PM, Michael Walsh said: Send that same picture above, but change it to monitor in HEX. I see that the values are repeated.And this PLC settings is ok for my situation? Edited 29 Apr 2019 by Licardius Share this post Link to post Share on other sites
Posted 29 Apr 2019 (edited) On 4/27/2019 at 10:38 PM, Michael Walsh said: Send that same picture above, but change it to monitor in HEX. And its interesting why works only D1000-D1004 addresses I think the problem is that the scales do not receive my request command. PLCScalePier6.cxp Edited 29 Apr 2019 by Licardius Share this post Link to post Share on other sites
Posted 29 Apr 2019 Change your end code from CRLF in the settings to hex code 03 <ETX> as it looks like that is the terminator. I just noticed this. You would then get the whole string response at one time. Share this post Link to post Share on other sites
Posted 29 Apr 2019 3 minutes ago, Michael Walsh said: Change your end code from CRLF in the settings to hex code 03 <ETX> as it looks like that is the terminator. I just noticed this. You would then get the whole string response at one time. This way ? Share this post Link to post Share on other sites
Posted 29 Apr 2019 (edited) 4 hours ago, Michael Walsh said: Change your end code from CRLF in the settings to hex code 03 <ETX> as it looks like that is the terminator. I just noticed this. You would then get the whole string response at one time. If I understood correctly, then these are the values that I need? D1000 it is my H1H2 bytes and D1001 it is H3H4? The biggest problem what Scale is still not responding to my signals from TDX(236) Edited 29 Apr 2019 by Licardius Share this post Link to post Share on other sites