Search the Community

Showing results for tags 'programming with function blocks'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 139 results

  1. Hello! I have a PLC S7-1200 (1212C DC/DC/DC) and a few question about programming S7-1200 in TIA Portal v13. 1. I want to make "upload station", because I am not surre whichone project is the last. But, when I start upload data, the error hapens, and the decription of error is: The name of the station "S7-1200 Station_1" is already in use in the project. How and where can I change it? 2. And the last question: I try to connect my S7-1200 and Weintek simualtion. There is all time :"PLC not connected". I have chceck everything: PLC is OK, communication PC-PLC ok (ping ok), windows firewall off, administrator rights ok, configuration made with manuals, (CPU - Siemens S7-1200, IP: 192.168.1.100, port 102, tags import - ok.) I have read the manual many times, and check settings - nothing change. Maybe have someone problems like this, and found a solution? PLC: 6ES7212-1AE40-0XB0 WIndows: 7 Proffessional 32 bit Program: TIA Portal V13 Basics Weintek: EasyBuilder Pro V5.02.01 Best Regards! Andrzej.
  2. Hi!!! Could anyone please tell me how can i make my recipe function working having : 1. SQL database linkage 2. VBA programme 3. Without making new recipe tags (want to use actual plc tags only, no new recipe tags) I am new to factory talk so please tell me from the scratch. It would be highly appreciable. Thank You.
  3. I am converting a PLC-5-40 processor that also has a SST side car for Profibus Dp communication to BK3100 modules on the equipment. To a Control Logix L-72 processsor using a Molex SST-PB3-CLX card to the Profibus modules. Everything went some what smooth until I got to the SSI transducers in the Profibus. The word arrangement is not coming in the same as with the PLC-5. Is there anybody else that has run into this problem and is there a solution. I have contacted Molex, Balluff and Beckhoff the first 2 got back to me I am still waiting on Beckhoff.
  4. I am very new to PLC's, I work in a power plant and we have an ABB DCS. We have some vendors that use PLC's and they try to make them work with our system. Currently I am working on a project were I am trying to add 8 analog outputs to the PLC. I am working with two 1756-L71 controllers (redundant) and the rev for the program that was written 20.01. Basically I have 8 analog inputs that I want to bring to the spare analog outputs that I have. I want to see these inputs in our DCS. I wrote simple logic that at the end of the rung has a move block moving the source which is the input and taking it to the destination which I made an alias tag for the output channel that would correspond. Problem is I can see the source number moving, but the destination number stays at 0. I can type a number into the destination and it will work. I can see my 4-20 signal I am sending out in the DCS. Everything before the move function is true, I have and open contact, and a closed contact and they both are green. This is happening on all eight of my outputs that I am working on. Please help I have learned a lot from this experience but I cannot figure out what has me stuck this time.
  5. Hi friends, Can anybody tell me when to use a local-Static variable and when to use a Local Temp variable whilst creating a Function-Block in S7 -1500 using TIA portal. Thanks for looking in. Best wishes.
  6. In my program, I have about 100 rungs for 100 faults. Each rung looks very similar. I thought I could make the code more maintainable by using function blocks, to avoid having to change each rung individually (if I needed to). Would it be best practice to create a new instance for each fault, or to reuse the same instance for each fault? I come from a C and java background, so I am confused as to whether a function block is supposed to be like a function (in C), or supposed to be like a class (in Java), or neither...
  7. Panasonic FP-X C30R

    I'm very much a novice to plc programming. I've dabbled in years past with Mitsubishi FX units with Medoc long before G X Developer became available. I also did a bit on Schneider using Zelio software. All very much simple stuff using ladder logic and internal relays But I've got me a Panasonic PLC that is surplus to requirements where I work and I would like to investigate the possibility of using it for practice purposes. Who knows, I might even get it to do something useful. I expect it is a few years old - its got a version No 2.4 and what seems like a date on it 080916. First query - is there software available for this item. Second query will it be compatible with a computer running on Windows 7. I've checked on the internet and see that there is documentation out there the plc. I decided ask for some informed opinion from before I go too far into what turns out to be a "cul de sac". Regards jaymac.
  8. Let me set the scene. I am inside my function block. I would like move an internal integer into an integer that belongs to my program symbol table. I would like to do it inside the function block, so that the function block is self contained. i.e. it does not need any extra inputs/outputs in the function block call. Is this possible? If I was writing this in Object Oriented code, I would just write this within my method: myGlobalVariable = myLocalInteger; and that would be that...
  9. FX3U Programming Manual.pdf

    The FX3U Programming manual is a 995 page secured pdf. You cannot copy-paste from a secured pdf. I reprinted the manual with Soda Pdf and OCR'ed it with Acrobat, using no downsampling. So now i have an unsecured searchable pdf. https://www.dropbox.com/s/3ad2ceclphla0z0/FX3U%20Programming%20Manual%20OCR.pdf?dl=0 Cross-platform and free software used: Pdf Split and Merge Basic and Soda PDF: Combine pdf pages Dassault Draftsight: edit and print autocad dwg and dxf, with 3D and scripting support CloneZilla Live: Create and restore a server/ computer image
  10. Hello all, I am trying to download a new program to a AB 1746-BAS SLC 500 BASIC board via RS-232 connection through a Windows 98 laptop running Hyperterminal. While the BASIC board is connected I verify connection by waiting for the board to print out its information in the Hyperterminal program and then enter "CLEAR", "NEW" and finally, "LIST" in Hyperterminal to wipe any program from the board and verify the board is clean respectively. Then I load the new program via a .TXT file using the "Send Text File" option within the Hyperterminal program. After the program has finished loading I than type "LIST" to verify it has copied over correctly. I than switch the SLC over to "Program Mode" via the key. After doing so I type "RAM" to select the program i just uploaded to the BASIC board and then type "PROG" in the Hyperterminal program. I than receive the "Programming Sequence Failure". If anyone has any advice as to what I am doing wrong it would be greatly appreciated. Below is a list of everything I have set and researched. Thank you in advance, James -Laptop: Windows 98, Hyperterminal -BASIC board (programming): JW1 pin: 1-2 3-4 JW2 pin: 1-2 3-4 JW3 pin: 1-3 2-4 JW4 pin: 5-6 3-4 -RS-232 9-pin connector: Pin 2 connected to Tx Pin 3 connected to RX Pin 5 connected to ground Pins (4/6) crossed DSR/DTR Pins (7/8) crossed RTS/CTS -Hypterminal: Direct Com1 bits per second: 1200 parity: none stop bits: 1 Flow control: Xon/Xoff Settings/properties: -> Emulation VT100 -> ASCII line/character delay: 30 milliseconds check box: Append line check box: Wrap lines... -Manuals: 1746-rm001 1746-pm001
  11. Dear all, I need some help with programming time in concept 2.6 in FBD. I use momentum PLC 171 CCC 980 30-IEC I would like to program 24Hours Clock with day, week and year. Can someone help me with this please. Regards Sam
  12. Buy what PLC?

    Hi I want to buy a PLC and additional required stuff, to play with at home. Where do I find cheap PLCs? What software do I need to make this work with a Windows 8 PC? What other physical interface and software is needed/recommended?
  13. FX2N-232IF module programming

    Hi All, I want to connect 3 nos. Barcode scanner with FX-3U PLC, So I am using 232BD card, 232-ADP card and 232-IF card. I need help for FX2N-232IF card programming for Motorola Barcode scanner. I am already done programming with 232-BD & 232-APD card using RS Instruction. But in 232-IF card TO/FROM instruction required. Anyone have FX2N-232IF Card program sample so please send me. My mail id:- mohitkumar1188@gmail.com
  14. Texas Instruments TI 164

    Any one out there have a programmer for one of these old PLC's or can any one recommend some where I could send one and have the program printed off for trouble shooting ? Thanks !