10/22/2014 11:03 AM | |
Posts: 7 Rating:
|
HelloKaulquappe! When i turn off one slave device i see next picture: DONE-bit=0; ERROR-bit=0; Status-word=0 ("S_SEND" and "S_RCV"). This is not possible... Are S_SEND" and "S_RCV" blocks hangs? Why is it happening? How to write a correct sequence of survey slave devices? Maybe problem is in wrong sequence?
|
10/22/2014 5:20 PM | |
Posts: 7 Rating:
|
Kaulquappe, of course i didn't look on dynamically outputs. I fixed when Error-bit=1 and move Status-word to another Status_Temp-word and looked on it. But i sawDONE-bit=0; ERROR-bit=0; Status-word=0. Fortunately i decided this problem. I don't know exectly what actions have afected on work of my program. I changed response time of 1SSI module from 1500ms to 700ms, and reset RST-bit. All started work properly.But now i have another problem. Poll frequency=1hz - is very big. When i increase it, received values begin to be confuse. One device show good value, second device show wrong value, etc.Why it so? Maybe old values stay in "S_RCV" and registers doesn't have time to cleanse? And how can i accelerate modbus transfer in this situation?
|
10/23/2014 9:23 PM | |
Posts: 7 Rating:
|
HelloKaulquappe! If all were so easy, i didn't write in this forum. You are right in all, i don't argue. But this sequence doesn't work in my situation. I don't know why, but i haven't error=0830 from S_SEND, i have done_bit=1 after 30 CPU cycles(device switch off in this moment)... I can connect you for my PC (using teamviewer) and you'll see my problem. Maybe you''ll see somthing, what i can't see. |
11/11/2015 2:44 PM | |
Joined: 9/3/2014 Last visit: 3/13/2019 Posts: 4766 Rating:
|
New question published by swaroop89 is split to a separate thread with the subject Send string to a Printer using RS232. Best regards |
Follow us on