12/21/2013 9:18 AM | |
Posts: 25 Rating:
|
Hi Experts, I attached my simple program. Please I'm lookingto help me to find where is the wrong in my simple program?!! Thank you AttachmentCM Test.zip (421 Downloads) |
Last edited by: O_Moderator at: 12/24/2013 11:20 AMfiles transferred to attachment |
|
12/21/2013 1:41 PM | |
Joined: 12/22/2006 Last visit: 1/25/2022 Posts: 1742 Rating:
|
Hello, You use the EN input of the MB_MASTER block. The same signal is used for the EN, and for the REQ input as a pulse. I wonder if this could be a problem that the FB will therefore never see a rising edge on the REQ input. The DONE and ERROR outputs also deliver a "1" value for one cycle (and of course only if you run in the FB). If you just look to the status of these signals via online functions, you must be very lucky to see them change to "1". Please try the changes in the document in annex. - I have suppressed the EN - I reset the request when done or Error came up - I count the done signals - I save the status in a status memory word, to be able to see the last error code You read registers 1 and 2 from the slave 5. Be sure the really are available in that slave. May be the slave has other register numbers AttachmentMain (OB1).pdf (467 Downloads) |
Best regards |
|
This contribution was helpful to
1 thankful Users |
1/20/2014 5:44 PM | |
Posts: 10 Rating:
|
please help check out this thread V12 SP1 S7-1200 MODBUS RTU (485) MASTER PROBLEMRegards Pete
|
6/30/2014 1:24 PM | |
Joined: 9/1/2005 Last visit: 4/10/2025 Posts: 4113 Rating:
|
|
My Forum is the place to personalize your profile, |
|
7/7/2014 3:50 PM | |
Joined: 3/25/2013 Last visit: 4/7/2025 Posts: 176 Rating:
|
New question split intoconnect weighing indicators (mettler make IND331) to s7-1200 plc through CM 1241 RS422/485 module. With best regards, Narrator1
|
8/7/2015 2:15 PM | |
Joined: 9/3/2014 Last visit: 3/13/2019 Posts: 4766 Rating:
|
|
3/8/2016 11:31 AM | |
Joined: 9/3/2014 Last visit: 3/13/2019 Posts: 4766 Rating:
|
New question published by Ygor0191 is split to a separate thread with the subject CPU 1214C communicate with a SEL 751A Relay. Best regards |
Follow us on