4/23/2024 12:42 PM | |
Joined: 1/21/2013 Last visit: 6/7/2024 Posts: 2861 Rating: (458)
|
Hi fk36, The next question you should answer for yourself is whether the printer prints the expected label when you enter a constant real value in your data block. Test this first without using the "S_CONV" instruction. If it works, check that S_CONV produces the correct output to print the label. I would expect this not to be the case as it is a very simple instruction. You may have better luck with the "VAL_STRG" instruction. If you have already figured out what the data in the data block should look like, please provide a few examples (with the actual value and the expected output). Please also pay attention to the consistency of the data. Since TSEND_C works asynchronously over several PLC cycles, you must ensure that the data does not change during this time. However, your current programming of S_CONV does not take this into account. Kind regards |
This contribution was helpful to1 thankful Users |
4/25/2024 2:43 PM | |
Joined: 8/7/2022 Last visit: 5/9/2024 Posts: 10 Rating: (0) |
Hello Stefan , First of all thanks .Like you said ,i already modified my program and please find as attached .But i couldnt take any changes . As you can see from these photos ,what could be problem .What i have to change ? I think PLC program is working properly ,needs to change something from DB23. Please let me know what should i change ?Please also look at the program how it works when i was online. Thank you . AttachmentPictures.zip (16 Downloads) |
Last edited by: fk36 at: 04/25/2024 14:45:48Last edited by: Jen_Moderator at: 04/26/2024 07:51:38All pictures added as .zip file. |
|
4/28/2024 1:58 PM | |
Joined: 8/7/2022 Last visit: 5/9/2024 Posts: 10 Rating: (0) |
Hello @admin ,@Stefan Please give me support ,i have to solve that problem anymore .Please help me ! Regards |