Homer_BL

MrPLC Member
  • Content count

    87
  • Joined

  • Last visited

Everything posted by Homer_BL

  1. HELP S7-1200 tia portal

    So, /Common If FWD_Auto OR FWD_Man THEN Mov_FWD If REV_Auto OR REV_Man THEN Mov_REV /Man FWD if SEL_Man AND NOT Mov_REV AND DiffCommFWD THEN SET FWD_Man If PosFWD OR ESTOP THEN RESET FWD_Man /Man REV if SEL_Man AND NOT Mov_FWD AND DiffCommREV THEN SET REV_Man If PosREV OR ESTOP THEN RESET REV_Man /Auto if SEL_Auto AND NOT Mov_FWD AND NOT MOV_Rev AND PosREV THEN SET FWD_Auto if FWD_Auto AD PosFWD THEN SET REV_Auto RESET FWD_Auto if REV_Auto AND PosREV THEN RESET REV_Auto If ESTOP THEN RESET FWD_Auto RESET REV_Auto
  2. HELP S7-1200 tia portal

    You should do it like this: -Auto mode (and manual mode too) moving, finishes only when limit position are reached, even if mode selectro is turned to other position during actuator movement. example: if in manual mode, is started forward, then actuator continues to move even if mode selector is sitched to "none" od "automatic" mode. ONLY when actuator reach limit position, manual mode is terminated. -you should also use differentiated type od manula FW and manual REV commands. -you sholud define default initial move (forward od reverse) for an automatic mode.
  3. Wincc Professional V 12 Scripts

    Call script for a "On change" event for a tag that contains you bits.
  4. CPU Clock

    In such networks (single PLC and multiple HMIs), CPU is a "time master" (where master clock is). You synchronise HMI clocks using AREA POINTER (communication tab in WinCC). On screen, then you put a filed with Date/time tag, showing SYSTEM TIME. How to set master clock in PLC using both HMI? In some DB in PLC you must have a variable type DTL. Then, on screen, make a filed with DTL type INPUT/OUTPUT connecting that PLC variable from DB. Then, create a button to set one bit. Then, in PLC, when that bit is on positive edge, write that variable in PLC RTC using WRITE SYSTEM TIME istruction.
  5. Ungroup objects in WinCC V12

    Hi! I worked earlier with V11, then jumped to V13 (never managed to install V12 - full of bugs). V13 does not have that bug you are talking about. Best regards!
  6. Omron and Siemens through ETN

    One PLC must be able to work as a Profinet Controller, other PLC as a Profinet I/O. Add controller card CJ1W-PTN21 to CJ1M. Add Profinet I/O card CP343-1to S7-300. Start CX-Configurator FDT. Configure networ and data areas.
  7. Wincc Basic v10.5 Libraries

  8. PLC compatible for interfacing

    No. Your card does not support Modbus RTU protocol.
  9. ACTARIS

    Hi all! Anyone has Actaris Optimag (electromagnetic flowmeter) model if6-3600/1/b/3/am connection diagram or manual? Urgent! Thanks!
  10. Strange values

    Ugh... Works now, after that?
  11. Strange values

    Maybe on TP1500, for tags, to choose acquistion mode "continous", not "in operation" (default) for both tags.
  12. timer conversion to see time elapsed in HMI

    You must assign Data block to a timer (not a tag as you did). After that, you will find that datablock in "System blocks" Read variable from that datablock, then convert it using one of "TIME" instructions.
  13. mV Input to Analog Card

    http://support.automation.siemens.com/WW/view/en/69846238
  14. mV Input to Analog Card

    You must have a dedicated mofule when using load cells. You have it for S7-200 (7MH4930-0AA01), S7-1200 (7MH4960-2AA01), for S7-3000 etc....
  15. You can see modules only when ONLINE. You can see if there are some special modules also looking in DBs and SUB crreated by various Wizards.
  16. Setting Real Time In TP170B

    First, you use WinCC Flex 2008SP3 (I have SP2 only), so I could not open your HMI device. So I deleted your HMI and placed a new one created in SP2. Do not worry about that, just convert it to SP3 while opening. In yout Step7 project, there were some issues, as shown in pictures attached: 1. There were NO MPI connection created (HMI station was DISCONNECTED) 2. DB7 did not have a name (must have name for use symbols) 3. Variable MUST have a name other then STAT*** for using symbols 4. When opening HMI device, connection is automatically created. Make it ACTIVE. then, in Area Pointer for RTC, choose SYMBOL for RTC read. 5. In OB1, i put a SFC1 to read real time clock. So, -Download DB7 and OB1 to PLC. -Create a startup screen to show a SYSTEM DATE AND TIME in HMI. -Download HMI application to a HMI station. -It will work. AT TEH BOTTOM OF THIS POST; YOU WILL FIND STEP7 PROJECT ATTACHED TOO. POTT_V2.zip
  17. Setting Real Time In TP170B

    Sure, post a ZIP/RAR project file here.
  18. Setting Real Time In TP170B

    Create Step7 project. Insert S7-30 CPU. Insert TP170B HMI. Open in Step7 MPI (NetPro) if MPI are connection. Connect both S7-300 and TP to MPI. Open TP170 in WinCC Flex Make suggested connection active, or create new one to a LISTED partner. Then deafine an Area Pointer using Symbol in offered list. Create DB like this to read RTC. Use SFC1 to read RTC, and make outputs of that instruction like shown. So: 1. Area pointer uses 6xWord variable (12bytes). 2. SFC1 store RTC as a DT variable (8 bytes). 3. You have to define 12-bytes stucture in DB, consisting of a) DT variable (for storing RTC) and b) 4.bytes reserve ->>>>>>> total 12 bytes so HMI RTC can be synchronised.
  19. Touchscreen HMI

    You will need ProTool V6.0 or WinCC Flexible. Problem is, while downloading 10 years ago, if option "Enable back transfer" was set. If not (default, unfortunatelly), you will not be able to upload application. It option was cheked, you will be able to upload application and convert it to a newer HMI.
  20. Siemens platform comparison

    S7-200 is not like a S7-1200. S7-1200 is much closer to S7-300. S7-200 had some seroius system faults (example, port are set default to 9.6kbit/s and programming adapter has minumum speed 19,2 etc etc..) but TIA Portal (once al service packs are implemented... in few years) would be a nice platform to work with. TIA Portal V12 is not stable yet (crashes, looses data etc) so I reccommend you to use V11 SP2 version. You have possibility to work with S7-300 there (you can not use S7-1500 in V11). Editors are all OK, networking works fine, but there is no simulation module in V11 (in V12 there it is).
  21. Setting Real Time In TP170B

    Do you have addresses DB7.DBW76 to DB7.DBW86 (12 bytes) all reserved for a system clock?
  22. S7-300 Modbus

    Heh :) Even better, with S7-200 CPU you get a free modbus including libraries etc. I need once modbus on S7-300, the cheapest way to do it was to buy S7-200 (as amodbus master), then connect it as profibus slave to S7-300. As you said, Siemens world.
  23. PLC Reset

    If there is a ethernet port, in Step7 you have a "Display accessible node", so you will find an ethernet address. Make sure your PC port address is in 192.168.0 area.
  24. TP270 HMI S7-300 CPU 313C-DP Communications

    Upload you program here. I believe that WinCC Flex is integrated in Step7 project. If not, send both.
  25. Writing Data To Profinet Slave Device

    Intall XML file from MURR (easy to find in murr site) Add 55269 to devices. Add modules to 55269 Then you will se alocated addresses for I/O.