Sign in to follow this  
Followers 0
pszczepan

S7-200 Programming

9 posts in this topic

Hi ! I am beginner with S7-200, but not with PLCs. So, recently I uploaded program from working S7-200 and I have a couple question: please look at the picture below: In network 4 there is M0.0 normal open contact. I see there only M0.0 Reset instruction. There is no Set. How does it work? On the right you have cross-reference for this program and M0.0. exist only twice in this program. During uploading I got message taht everything was OK - So I think I uploaded all, but when I see this M0.0 I doubt. In Program block I have also SBR0 and INT0, but they are empty no networks inside. How I can check if I uploded all? Maybe M0.0 is some internal flag? Another problem below: Eeprom in this S7-200 CPU 212 will be dead soon. Now after some time at least 24 hours when program from RAM has gone we have problem to start controller. We get message on TD200 - Eeprom failure. We make power ON and OFF many times and finally it starts. We will purchase new PLC, but I want to change program little bit. Now it puts VW data to Eeprom very often - this a reason why The EePROM getting bad - I guess I would like to write network - I want to put power supply signal to one input and if I switch Power On to Off I check diferrentiate down and in this case I save VW to Eeprom. It is my idea, but problem is - that in the same moment I switch power off from PLC so it stops working - I am not sure if I can arrange my idea like that - maybe you have better solution. Thanks for help Pawel Edited by pszczepan

Share this post


Link to post
Share on other sites
M0 is most likely being set by the operator interface.

Share this post


Link to post
Share on other sites
How I can check if it is set in TD200. I have TD keypad designer, but I do not know what cabel should I use to connect PC with TD - the same what I am using for S7-200? In TD Designer there is no ICON upload or download. How I can upload data from TD200 panel?

Share this post


Link to post
Share on other sites
TD200 data is stored in the PLC program, not in the TD200. TD Keypad Designer is for the TD200C to lay out the touch cells on the screen. There is a wizard in Step 7-Micro/Win.

Share this post


Link to post
Share on other sites
I think taht Wizard I can use when I create project using TD200. What about if I want to upload TD200 function from S7-200. I read that those info is in Data Block: My Data Block is: "...VB0 16#54 VB1 16#44 VB2 16#10 VB3 16#01 VB4 16#04 VB5 16#00 VB6 16#00 VB7 16#20 VB8 16#00 VB9 16#0C VB10 16#00 VB11 16#00 VB12 16#00 VB13 16#00 VB14 16#00 VB15 16#00 VB16 16#00 VB17 16#00 VB18 16#00 VB19 16#00 VB20 16#00 VB21 16#00 VB22 16#00 VB23 16#00 VB24 16#00 VB25 16#00 VB26 16#00 VB27 16#00 VB28 16#00 VB29 16#00 VB30 16#00 VB31 16#00 VB32 16#20 VB33 16#20 VB34 16#38 VB35 16#31 VB36 16#35 VB37 16#20 VB38 16#42 VB39 16#41 VB40 16#47 VB41 16#20 VB42 16#4D VB43 16#41 VB44 16#43 VB45 16#48 VB46 16#49 VB47 16#4E VB48 16#45 VB49 16#20 VB50 16#20 VB51 16#20 VB52 16#57 VB53 16#49 VB54 16#43 VB55 16#4B VB56 16#45 VB57 16#54 VB58 16#20 VB59 16#43 VB60 16#4F VB61 16#55 VB62 16#4E VB63 16#54 VB64 16#20 VB65 16#00 VB66 16#10 VB67 16#00 VB68 16#00 VB69 16#20 VB70 16#20 VB71 16#20 VB72 16#53 VB73 16#41 VB74 16#46 VB75 16#45 VB76 16#54 VB77 16#59 VB78 16#20 VB79 16#47 VB80 16#55 VB81 16#41 VB82 16#52 VB83 16#44 VB84 16#53 VB85 16#20 VB86 16#4F VB87 16#50 VB88 16#45 VB89 16#4E VB90 16#20 VB91 16#20 VB92 16#43 VB93 16#4C VB94 16#4F VB95 16#53 VB96 16#45 VB97 16#20 VB98 16#54 VB99 16#4F VB100 16#20 VB101 16#52 VB102 16#55 VB103 16#4E VB104 16#20 VB105 16#4D VB106 16#41 VB107 16#43 VB108 16#48 VB109 16#49 VB110 16#4E VB111 16#45 VB112 16#4D VB113 16#4F VB114 16#54 VB115 16#4F VB116 16#52 VB117 16#20 VB118 16#50 VB119 16#52 VB120 16#4F VB121 16#54 VB122 16#45 VB123 16#43 VB124 16#54 VB125 16#49 VB126 16#4F VB127 16#4E VB128 16#20 VB129 16#20 VB130 16#20 VB131 16#20 VB132 16#54 VB133 16#52 VB134 16#49 VB135 16#50 VB136 16#2C VB137 16#20 VB138 16#52 VB139 16#45 VB140 16#53 VB141 16#45 VB142 16#54 VB143 16#20 VB144 16#54 VB145 16#4F VB146 16#20 VB147 16#52 VB148 16#55 VB149 16#4E VB150 16#20 VB151 16#20 VB152 16#4E VB153 16#55 VB154 16#4D VB155 16#42 VB156 16#45 VB157 16#52 VB158 16#20 VB159 16#4F VB160 16#46 VB161 16#20 VB162 16#42 VB163 16#41 VB164 16#47 VB165 16#53 VB166 16#20 VB167 16#4F VB168 16#4E VB169 16#20 VB170 16#41 VB171 16#20 VB172 16#57 VB173 16#49 VB174 16#43 VB175 16#4B VB176 16#45 VB177 16#54 VB178 16#2C VB179 16#45 VB180 16#4E VB181 16#54 VB182 16#45 VB183 16#52 VB184 16#3D VB185 16#20 VB186 16#10 VB187 16#10 VB188 16#00 VB189 16#00 VB190 16#20 VB191 16#20 ..." Hmm, I do not know if this looks like, because I uploaded program in RUN mode, but if it is not a reason of my Data Block I have no idea how I can recognize if M0 is set from TD200 or not Edited by pszczepan

Share this post


Link to post
Share on other sites
Can you "share" the uploaded S7 program here?

Share this post


Link to post
Share on other sites
Hi ! I attached Uploaded program in rar version. Program is easy - the only question is in network 4 - how M0 is set. TD200 has a few messages - depends on inputs I0.00, I0.1, I0.2,I0.3, I0.4 and it shows messages generate by f.e V12.6 The whole program has just one physical output Q0.0 Thanks for take a look at program Pawel S7_200_upload.rar Edited by pszczepan

Share this post


Link to post
Share on other sites
Are you sure you have all the program from the PLC? You can go online to the PLC and see if M0.0 changes state? (maybe the programmer has used M0.0 to block this progam part)?

Share this post


Link to post
Share on other sites
I am not sure - As I wrote this PLC has a problem with Eeprom. After 24 hours when the RAM is clear the PLC does not want to start - TD200 shows Eepron failure. Finally after many times switch power ON to OFF S7-200 starts and work correctly - look like I uploaded program when it was already OK. The machine has Omron PLC to control process. Someone in the past add this S7-200 just for counting elements and sets parameters. During uploading nothing bad happened - the process came to 100% and that's it - this what I uploaded I shared. Maybe you are right the programmer had some idea and finally he didnot used this network. I can go online, but to be online I have to disconnect TD200 and I will not have possibility to set M0 if so. Now I am curious if I download this project which I have to new S7-200 I will have TD200 run as works now - hmm. Data Block does not have any messages and I guess it should be defined exactly in Microwin not in Td200 seperate. Maybe I am wrong. Pawel

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0