MrPLC Member
  • Content count

  • Joined

  • Last visited

Everything posted by got

  1. [step7] how to replace DBx

    ok thank you ...
  2. [step7] how to replace DBx

    hi, into step 7 i want to replace a4.0 by DB1.dbx0.0 how can i do that? replacing an input/output by a memory Mx.x is possible but i am not able to replace something in a DB ? is there a solution? thank you
  3. [step7] how to replace DBx

    this is for the replace/search tool available when editing only one function block or i miss somthing? but this could be better that done it manually thanks
  4. [step7] how to replace DBx

    for now there is two different adress to replace by two others. But they are in 5-6 function block. and there is about 15 occurences. there is no easier step? i had better made the change manually. thank you for your help...
  5. [step7] how to replace DBx

    Yes this is what i want to do. But i have not just one net (i am using ladder ... ) to change but a lot. So i want to use an automatic replace function. And the one in step 7 seems not to allow that... am i clear?
  6. hi, i program in ladder an have a net like that : is it normal that when MI208 is equal to 19 and i push MB 153 my value goes to 1 and not to 20. infact the "first" line is execute and the the second too. i thought that in ladder when the first line is executethe second wasn't. Am i wrong ... Thanks
  7. yes this is IEC 1131 that was a mistake. For the pulse that's what i tought so if the pulse is active for one plc scan only, then there will only be the incrementation bu not the test after it?
  8. But whith a |p| this means it's active with a pulse so only during on plc cycle... thank you for the solution but there is a lot of one the probleme was a general problem with ladder coding. i wanted to know what is the right way to do. i heard about an IEC 1031 that explain the rules but it seems to be non-free thank you
  9. CJ protocol and SCU41

    Hi everybody, I got a problem with a communication board CJ1W SCU 41. It works perfectly with the port number 2 that is in RS232. But the port 1 in RS485 doesn't seems to work weel. I am using a 2 wires connection on pin 1 and 2 of the DB9. i change the bit to activate port 1 instead of port 2 and nothing happen on my wiring cable..?? i made the test with 2 SCU41 different. Is there a bit to change (other than the one wich designate the port number) to communicate with the rs485 port?! Thank you
  10. VB 6 and simatec net

    Hi, I wnat to "communicate" from VB to a cp 635 (tp170 + CPU 314) i have a 5611 PCI card for profibus step 7 5.3 and imatic net 6.2. Is there anybdy with some example or tips to do such a things? because i am trying for hours now... Thnaks Olivier
  11. Connection plc and vb

    i think yes there is no reason for the plc to send data if you don't ask him to.. but i don't know how.. :\
  12. Connection plc and vb

    Is your RS232 port on the S7 200 well initialize? (9600,8N,1 )? You rthreashold property of mscomm1 is to 0? the handshaking on the plc is xon xoff? (like in your code?) ...
  13. Connection plc and vb

    you should use MSComm1_OnComm event that occure when you receive something on the com... i think the other parameters are fine... i have no time today to write a basic code... tell us i you still have problem...
  14. wincc flexible and C7 635

    Thank you... For thye last point that's how i do first but i found that if the variable isn't in the screen the page jump didn't occure.... i know i can't pour the variable in invisible mode in each page but it's quiet long and not very optimzed i think...
  15. wincc flexible and C7 635

    Hi everybody, i am using wincc flexible to program a c7-635 panel touch (TP 170 with cpu 314..) The problem i meet is that to program it i need to reboot it and select transfer each time .. is there a way yo program it without reboot ot? Another thing in the help of wincc i found an sliders object that i can't found in the soft are these objects only for full version of wincc (i am using the standart!) Last things i want to dynamically change the screen on the panel from the ladder program i found a word that indicate the actual screen but this is read only is there a word to force the actual screen ??? Thanks a lot Olivier
  16. Function count question

    i didn't manage to find an example but i understand the function so don't need it anymore..
  17. Function count question

    Hi, Is there anybody that have en example of use under, step 7, of SFC 47 (count) in the help an example call ZFr26_02_TF_____31xC_Cnt. is mentioned but i can't find it on the CD ?! Thank you
  18. step 7 5.3 generality

    Hi, i am new with step 7 programming and i have few question if somebody could help me first i made a little program with OB1 and a FC i try the online mode to see the state of bits but i can't see OB1 and FC1 at the same time online one can be online at once? is there a solution fo that? tkank you
  19. step 7 5.3 generality

    i am just starting so my project is quiet simple... but if i am not alone in this case i think it's normal.. my cpu is a 314 ... another thing i am using wincc flexible ti program an C7 635 panel touch t program it i had to restart the 635 and click on transfer is there any solution to program it without restart it ??? Thanks.. sorry for all those question but i do a lot of test as i am starting in the siemens world
  20. step 7 5.3 generality

    no if i do that i go a message that told me there is already an instance ruing online mode .... !?
  21. step 7 5.3 generality

    thank you for your answer i ever did that but it would be cool to visualise the state of each net...
  22. Still data type problem :\

    sorry for you i don't think it's just a monitor problem... but it's ok i use BCD function and now i got what i want on my rs232 port...
  23. Still data type problem :\

    Hi, Here is my today's problem I enter a number by the Touch panel (NS7) It stores this number in D1 (channel) Then i want to send via RS232(with cx protocol) The problem is that i enter 10 by num keypad it stores &10 in d1 but when i "load" it with cx protocol i have "F" ... do you have an idea of solutuion? Thanx...
  24. NsDesigner question

    Hi, With Ns designer (5) i want to display/hide a label by an inderect adress (control flag tab) i can select the adress on the plc but acces (it is disable) to the on/off state (depend on the stat of the bit selected before... ) Do you have an idea.. Infact i want to change a string on the screen depend on the state of a bit... i didn't found function that do that(strange it's basic!) so i want to put 2 label at the same place and disable one when the other is active... maybe there is a better solution... Thanx .. Olivier
  25. NsDesigner question

    I saw the solution with .txt... but it's a little bit long.. if i can't do it another way.!!! If i select sys ver 5 and the systeme of the NS is 2 is it a problem? will it works? Thank you