Klaus

MrPLC Member
  • Content count

    23
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Klaus

  • Rank
    Sparky

Contact Methods

  • Website URL http://
  • ICQ 0

Profile Information

  • Location Sweden
  1. How set output by indirect command?

    Cut from the Step 7 manual A pointer is used to point to an address. The advantage of this type of addressing is that you can modify the address of the statement dynamically during program processing. Pointer for Memory-Indirect Addressing Program statements that work with memory-indirect addressing are made up of an instruction, an address identifier, and an offset (the offset must be given in square brackets). Example of a pointer in double word format: L P#8.7 Load the value of the pointer into accumulator 1. T MD2 Transfer the pointer to MD2. A I [MD2] Query the signal state at input bit I 8.7 and = Q [MD2] assign the signal state to output bit Q 8.7. Pointer for Area-Internal and Area-Crossing Addressing The program statements that work with these types of addressing are comprised of an instruction and the following parts: address identifier, address register identifier, offset. The address register (AR1/2) and the offset must be specified together in square brackets. Example for Area-Internal Addressing The pointer contains no indication of a memory area: L P#8.7 Load the value of the pointer into accumulator 1. LAR1 Load the pointer from accumulator 1 into AR1. A I [AR1, P#0.0] Query the signal state at input bit I 8.7 and = Q [AR1, P#1.1] assign the signal state to output bit Q 10.0. The offset 0.0 has no influence. Output 10.0 is calculated from 8.7 (AR1) plus the offset 1.1. The result is 10.0 and not 9.8, see pointer format. Example for Area-Crossing Addressing In area-crossing addressing the memory area is indicated in the pointer (in the example I and Q). L P# I8.7 Load the value of the pointer and the area identification in accumulator 1. LAR1 Load memory area I and the address 8.7 into AR1. L P# Q8.7 Load the value of the pointer and the area identification in accumulator 1. LAR2 Load memory area Q and the address 8.7 into AR2. A [AR1, P#0.0] Query the signal state at input bit I 8.7 and = [AR2, P#1.1] assign the signal state to output bit Q 10.0. The offset 0.0 has no influence. Output 10.0 is calculated from 8.7 (AR2) plus the offset 1.1. The result is 10.0 and not 9.8, see pointer format.
  2. OP17 Upload

    You probably have to set the op in transfer mode. This can be done in the "System settings" menu with "OpMode" if you integrated Siemens standard pictures or by holding in some key combination which i cant remember when you restart the op.
  3. Comparing two DataBlock in a PLC

    I wrote a bit of code hope this is what you are looking for. Remember that 100 Real value compares probably will add a little peak to the scan cycle time if this i critical you can spilt the comparision over more scancycles. CompareR.zip
  4. Siemens Training Manuals/CD

    I can really recomend this books by Hans Berger, Automating with SIMATIC and Automating with STEP 7 in LAD and FBD. They will give you a good grip of the Siemens Step7 controls. They are also avaliable in Step5 versions but iam not sure that there are English versions i have onle seen the German ones. Siemens have also gatherd a bit of material on their website Siemens material .
  5. Profibus DP with ABB inverter

    You can use sfc 14 to read data over the profibus and sfc15 to write data. Remeber that the Laddr adress is entered in hex format. So if you for example is using PIW/PQD 512 to communicate then the laddr should be 200.
  6. s7 lite help

    Fritz here are some links containg more information.......... Step7 Lite Siemens support Siemens mall
  7. s7 lite help

    Yes you can! Cut from siemens homepage. STEP7 Lite is designed for non-networked automation solutions. Typical applications are those with SIMATIC S7-300 in a centralized arrangement with digital and analog inputs/outputs. SIMATIC C7 and the intelligent probes of ET 200 S/X can also be programmed. LAD, CSF and STL are available as a programming standard. In terms of simulation and diagnostics there are no restrictions compared with STEP7. If the tasks should become more complex, you simply upgrade to STEP7. Your investment in the know-how is secure, as your data can be transferred.
  8. Programming PLC in delphi

    Runmode
  9. System Tray Icon

    Msconfig isent installed in win2000 but it will work if you copy it from ex a WinXP station. The task you are looking for is called "S7ubTstx.exe" and is started throw the registry. Start regedit and do a search for S7ubTstx. When you find a folder called run and a value with S7ubTstx just delete it.
  10. Siemens plc system

    Regarding the datatype support in Protool!
  11. Siemens plc system

    I litte tip. If you want to debug Functionblocks that are called more than one time first open the fc,fb or ob that calles the block that you want to monitor online. Then choose the menu debug and select test operation. Now you can right click on the fc or fb that you want to debug and choose called block --> Monitor with call up path. Now the fc,fb is monitored with the in/out parameters in the calling block. This nice feature dosent work with really old s7 cpu´s, there you have to write in the call up parameters yourself. Another tip if your project is getting big is to choose save as and click the "With reorganization" this can save plenty of disk space. And regarding the simatic Archive feature what it does i simply packing the project using standard archiving tools. Pkzip is predefined but you can change this to example winzip or arj in the Options/customize/archiving menu.
  12. Help. "Micro Computing" and Delphi

    Check out this links Vladimir Shishkov and Runmode there you can find information about Siemens 200 and Delphi!
  13. No Prodave cant be used. Prodave is used for communication between a pc and the mpi port on the cpu.
  14. Soft for S7-200

    Here you can download STEP 7-Micro/WIN 32 Evaluation Version This demonstration package has the complete functional scope of the normal product (for 60 days, you can use it up to 100 times). Microwin
  15. No i'm pretty sure that you cant use SFC14,15 FC1,2 they are for communicating with profibus slaves. I checked the cp that you mentioned not all the versions can handle S7 communication between them. Open Netpro and select the on of the cpu's and choose "insert new connection". Choose S7 communication and select the other Cpu as the communication partner if this dosent work choose the other cpu and try the same thing. If this works you can use any of this blocks to communicate UsendUSEND(SFB 8)/URCV(SFB 9) BSEND(SFB 12)/BRCV(SFB 13) PUT(SFB 15)/GET(SFB 14). If you are unlucky setting up the connection in Netpro try Siemens hotline and they can tell you if communication between your units is possible. I taught you always could do master/master communication but i might be wrong. I always succeded but i mostly work with 400 cpu's and they are better on communicating. If you manage to set up the connection i could point you in the right direction on how to use the blocks. Regarding communication to other Plc brands you could insert connection to unknown units in Netpro but then i think that both units have to suport standard profibus communication FMS or FDL but again im not sure since i never done this.