5/2/2021 1:13 PM | |
Joined: 9/27/2006 Last visit: 1/17/2025 Posts: 12330 Rating: (2700) |
Hello Amiromidi; The USS error coe 16#818A means that the functions WPM and RPM from the USS protocol are busy. When you restart the USS driver you reset the request for these functions so they start working again, once. The following FAQ shows a way to handle this error code (even though it is proposed for an earlier version of Step 7 (TIA Portal) the same suggestion applies for version 16, the latest version): - How to send a blank PKW request to the motor drive using the USS instructions as requested in the system manual? https://support.industry.siemens.com/cs/ww/en/view/82527287 - SIMATIC STEP 7 Basic/Professional V16 and SIMATIC WinCC V16, USS error codes: https://support.industry.siemens.com/cs/ww/en/view/109773506/127104474635 Hope this helps, Daniel Chartier |
This contribution was helpful to1 thankful Users |
5/3/2021 11:03 AM | |
Joined: 6/1/2018 Last visit: 12/6/2024 Posts: 10 Rating: (0) |
Thank you for your answer Sorry, I typed the code incorrectly in the original question and the correct status code is 8188. It should be noted that immediately after restarting the CPU, I receive the code 8188 at the output of the USS_PORT block, and after restarting the processor, I can read or write the parameters once, and after the first operation, I can no longer read or write a parameter. . I have tested this with TIA versions 13 and 14 and the results are the same. It should be noted that after the problem occurs, disconnecting and connecting the cable will not solve the problem and must be restarted. video link: [snip] thank you for your help Attachmentmm440-uss3.zip (820 Downloads) |
Last edited by: amir omidi at: 05/03/2021 11:05:01Last edited by: Jen_Moderator at: 05/03/2021 11:24:59Removed link and added file as an attachment. |
|
5/3/2021 12:04 PM | |
Joined: 4/28/2015 Last visit: 1/17/2025 Posts: 10752 Rating: (835)
|
Hello, I think you can solve this problem, try think about blocks used. There is some PORT block which probably define (cfg) some required parameters about correct cfg of communication. If I see correctly, you have put this block to cyclic OB what i see not correct. This cfg block (generally) need to be run once in my opinion not cyclically, simply after f.ex. restart of PLC (init proc) you set with this block required parameters and thats all, you need only check output parameters if all was done correctly, without error. If you call cfg block again and again, maybe one other permission read/write can be executed but you still overwrite comm cfg again and again - wrong step. If some error occure, via that ERROR and STATUS parameters you need look what is problem. With your error code (16#9199) is clear that you set wrong length about parameter, pls refer to TIA Online help about block, especially error codes. No worry, try calm think what steps you need to do, especially with then read/write you need take to account that next request you can do only after previous task is complete, also maybe with error but complete. Your output parameters are very important to solve this problem. List of topics with S7-1200 and USS: List of Topics S7-1200 and USS |
Last edited by: Duris_I at: 05/03/2021 12:05:36Last edited by: Duris_I at: 05/03/2021 12:07:30Last edited by: Duris_I at: 05/03/2021 13:46:25With best regards... |
|
This contribution was helpful to1 thankful Users |
5/11/2021 11:18 AM | |
Joined: 6/1/2018 Last visit: 12/6/2024 Posts: 10 Rating: (0) |
Hello After checking, I realized that after sending the first request to the drive micromaster440, the USS channel will be busy and will remain the same over time. Is there a way(such a block in TIA library ) to restart or cancel commands except restarting the cpu so that I can use it in the program to get the USS channel ready to use? video link: [snip] Thanks a lot
Attachmentuss_new.zip (851 Downloads) |
Last edited by: Jen_Moderator at: 05/11/2021 13:27:26Removed link and added file as an attachment. |
|
12/28/2023 1:47 PM | |
Joined: 8/21/2014 Last visit: 1/16/2025 Posts: 1036 Rating: (14) |
New question published by Diego Montes -Technofit is split to a separate thread with the subject S7 1200 USS PROTOCOL - Write protected block. Best regards |
My Forum is the place to personalize your profile, |
|
Follow us on