10/24/2023 7:33 AM | |
Joined: 3/7/2023 Last visit: 10/23/2024 Posts: 17 Rating: (0) |
L =INW L =OLDW -F JO =M001 JN =M002 T =DIFW A =RSTB JC =M003 BEU M001: L =OLDW T FW 200 A F 200.7 JC =M004 L KF +32767 L =OLDW -F T FW 202 L =INW L KF -32768 -F T FW 204 JU =M005 M004: L KF -32768 L =OLDW -F T FW 202 L =INW L KF +32767 -F T FW 204 M005: L FW 202 +F M002: T =DIFW A =RSTB JC =M003 L =OUTW +F JU =M006 M003: L KF +0 M006: T =OUTW L =INW T =OLDW BE Please anyone help me to convert this in LADDER .i am using S71200 plc its not accept STL Language and i am converting this from S5 plc to S7 1200 plc.please help ------------------------------------------------------------------------------------------ |
Last edited by: AutoGen_2655561 at: 10/24/2023 07:35:52Last edited by: Jen_Moderator at: 10/24/2023 08:04:07New subject after splitting |
|
10/24/2023 8:23 AM | |
Joined: 3/30/2020 Last visit: 11/17/2024 Posts: 4962 Rating: (1012)
|
How about you use the appropriate S5 manual to decode what each of the operation mean. Put commentary along each code line and put that here. Then someone might consider making some further contribution. As you did not mention which S5 was used, perhaps this manual would do well enough.. One hint the "=" with text refer to a label. So the assumption is that this code lives in a subroutine / program block which has declared input and output parameters. Consider putting down what those are. |
Last edited by: qwazee at: 10/24/2023 08:25:57Activities of this user is voluntary. There is no obligation or liability placed on this user. Though optional, your 'please' and 'thank you' is highly valued. |
|
This contribution was helpful to1 thankful Users |
10/24/2023 5:40 PM | |
Joined: 3/30/2020 Last visit: 11/17/2024 Posts: 4962 Rating: (1012)
|
The LAD code equivalent is in the below picture. The code assumes that the encoder value is a DINT value. It is also assumed that the range of the movement will not exceed the value that the DINT can represent. That assumption should be okay, since the S5 used an INT value. The near equivalent STL, coded for the S7-1500 / S7-300 / S7-400 can be seen in the attached export text file. AttachmentSTL analysed.txt (460 Downloads) |
Activities of this user is voluntary. There is no obligation or liability placed on this user. Though optional, your 'please' and 'thank you' is highly valued. |
|
11/3/2023 6:00 AM | |
Joined: 3/7/2023 Last visit: 10/23/2024 Posts: 17 Rating: (0) |
Thank you for your support. The TM Posinput is not showing the Encoder Value .So we are connected with the inbuilt High Speed counter of S71200 . Now the Encoder Value is display. But the Problem is I convert Some blocks from STL to Ladder . I think the conversion is not correct because the Machine is not running as per the condition of program. So I guess the problem is in myside for the blocks i changed in LAD . Can you please Help me those blocks convert into LAD because the machine is not running in the customer side. Please help me...please please Here i attached the PDF for the blocks . The new Highspeed counter is connected with the Existing Address IW106 and IW98 its available in FB53 and FB54 .and 2 AI and 3 AO .
AttachmentOB2.pdf (376 Downloads) |
11/3/2023 6:17 AM | |
Joined: 3/7/2023 Last visit: 10/23/2024 Posts: 17 Rating: (0) |
Here I attached the updated backup what i did for the Conversion. I did some changes for FB52 because of Machine running in other way. please help me to this conversion.thanks AttachmentTake-up_20231102_0850.zip (358 Downloads) |
Follow us on