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. Version 4

    64 downloads

    MX Component manual for programming PC - PLC software solutions.   Details MX Component library functions and examples. 
  2. MX Component Programming Manual View File MX Component manual for programming PC - PLC software solutions.   Details MX Component library functions and examples.  Submitter WattUp Submitted 03/13/20 Category Manuals, Tutorials
  3. CS1D Programming

    Hi dears, I'm programming CS1D omron PLC, I created one project but in project tree i dont have function block section. when i change the cpu to CJ1 for example function block section will be add. how can i add function block to CS1D in my project? thanks.
  4. Function Block addressing

    Hello all.  I have a program which has 8 function blocks. I recently added extra functionality to one of the programs (not the function blocks). I added the new variables to the global symbols table and added the new code, but when I compiled the new code, the variable addresses in three of the function blocks had changed. This is a problem, because we use memory cassettes to download new versions of code, so when the new version is downloaded to a machine in some far flung part of the world, these variables will be overwritten (they are hours run variable, so are important for servicing purposes).   My understanding is that CX assign's variable addresses in Function Blocks and we have no control over this. Bit if I only added variables to the Global symbol table, why are the FB addresses affected??   Any input appreciated. 
  5. Need help for FBD programming

    Good Day. Someone could help me to convert following ST code to FBD? I can make a program in ST language. I am trying to figure out how FBD works.  IF Var_1 THEN Var_2:=true; Var_1:=false; END_IF; IF Var_3 THEN Var_2:=False; Var_3:=false; END_IF;     Note: Var_1 and Var_3 are controlling from PC through Modbus TCP. 
  6. Hi! I have a question about programming. I want to place an input (X01) on the left vertical line, to allow the rest of the program running by an external switch. How can I place an input like that? I work on Gx works2 and using an Fx3g Plc (I used it once, but i can't find that program.)
  7. Hi there, is there anybody who use macro function in NB designer? I need list of C language syntax who can be applicable in macro. I have a task to migration from NP designer to NB designer who use different languages. Thank you
  8. Sample blocks for S7 1200 plc's

    Hi experts, please share the sample blocks for the EDITABLE TIMER block it should be editable from HMI(Siemens). And also motor run hour block. Actually i am having all blocks in tia v12 version and sadly i dont have the old software to convert it again. So please share the blocks that it shoud be work in TIA V14 for s7 1200 plc's. Please note that the blocks should use add instructions to calculate the time because i don't have much memory.
  9. I have a Modicon NOM0200 unit connected to an access switch to send commands to various rs-232 devices. The Access switch requires a "disconnect string" to end communication with a particular port. The disconnect string is "CRTL+D", how can I send a "CRTL" keystroke from the NOM0200 unit? I know for carriage return it is "$R" is their a similar combination I can enter for "CTRL"?  
  10. I am trying to program an analogue output on a Siemens S7-1500 unit from a 4-20ma sourced analogue input scaled over 0-250 degrees. The analogue input will have an adjustable setting in the software for when the alarm status should occur and at this point I want the analogue alarm output to start to process at 4ma, at 5 degrees above the initial set point I want the analogue output value to be 20ma I have no idea how to do this so any help from people is greatly appreciated and advice on which analogue output card to use would be helpful.  
  11. Hi everyone, Using Cicode programming ... I'm try to make a function empressed Button's input command that still running forever until the user press the Button again .. so if i press the Button at first the function inside Button will be running , But i wonder to terminate that function by press same button second time or don't mind if you suppose other Button for stop running the function ... plz help to make a code or something else to stop running of my function.
  12. Optimized Blocks

    Hello everyone, Are there any alternatives to WinCC at the moment that can handle using optimized blocks. In most other SCADA software, while importing tags, the option to optimize blocks should not be selected as they cannot import in this format. Ignition by Inductive Automation has a driver that can be purchased to solve this problem. I wanted to know if there are some other solutions to this issue.  Thanks!
  13. Hi guys. I have a new SRM50-HAV0-K01 sick encoder for my ELAU servo motor (model: ELAU sm 070-60-010-P0-45-M1-B0), and need to program it according to an old one (which seemingly is broken) via hiperface. device: PGT-11-S LAN software: SOPAS 2018.3 build 4.1.1.324 (Vm version 1.8.0_73) I tried to find any certain way for programming of sick encoders on the net using the mentioned device and software, but cant. all is only about datasheet or how to use teh software without an specific instruction. I am not even sure of that the old one is broken, except that in the analysis mode of the SOPAS (entering via hiperface) I can see the the  sin-cosin graph out of its limitation line. The thing is I have bought a special tool which has not any specific instruction and SICK group does not reply any exact instruction for my issue. Here is my questions:   How can I program the new encoder just according the old one?   And how can I assure that the new one programmed just as the old one?    and what is the definite sign of a broken encoder?   anyone experienced?
  14. Pointer Device memory

    To those who don't know the GX Works2 compiler treats any function block referenced used in your code as a place to copy the entire set of code data into your program. Function block calls are not handled like pointers even though the should be. [You'll consume all your pointer space by thinking function blocks are great.]
  15. Direct Logic 05 Ethernet

    I have a control that I want to use a Direct logic 05 plc in.  It is a really simple program but it is going into a plant that has a main control panel that runs the plant.  I dont know the brand of the plc in the main control.  They want to be able to send me a command from their plc to the direct logic to turn on my unit.  I suppose that would mean a simple set instruction to my plc.  I also have a couple alarm conditions that I want to send them.  For example if water pressure is to low I would put my unit in the alarm mode and send them a low water signal.  If the chemical is low likewise,   I dont have a clue how to do this in my program.  Can anyone give me some examples in direct logic plc program for making this happen??? Thank you Thank you Thank you. MikeC
  16. Hey, I recently started trying my hand at creating function blocks. At the moment I'm trying to create a PID function block, however I keep getting this error: "ERROR: Variable does not have enough size." No idea why it does this. Can anyone help?  
  17. Internal function block variables

    I have a function block where the first internal variable is showing as address H1420 in the Global Symbol table. When I add another retained variable to the function block then save and compile the code, the variable address in the global symbol table shifts from H1420 to H1488.  I need to retain the address as I will be downloading code and I need to ensure the address if H1420 stays with that variable.    Can anyone help with this?
  18. Small and newly started Controls Company available to provide service in the following areas: Controls Design Panel Building PLC and HMI programming Commissioning Services 15+ years in controls and automation ranging from automotive to material handling.   Experienced with Rockwell and OMRON Can ship panels to anywhere in the world from Canada Will design and or build your panels to your specs and according to CEC and NEC regulations. Can commission your machines on site. www.ashtoncontrols.ca    
  19. Omron Function Block variables

    Hello all.  I posted earlier in the week regarding downloading new code to an Omron PLC, but I think the question was a bit vague. As a follow up, and hopefully to clarify, I have the following query. I have created an upgraded program which will be downloaded by field techs using memory cassettes. The revised area of code is essentially a Function Block which amends service lamp behaviour, and in creating it, I have amended the existing function block and added new Internal variables. Is there any way I can ensure that the new variables don''t over write or move the existing  variables in the PLC, because this is what is happening when I download it.    HELP!!!!!!!!!
  20. hello.   I've been trying to communicate this omron plc CP1L-EM30DT1-D, with a yaskawa inverter cimr-vu4a0004faa. but i can't figure out how to make de correct mov or configuration in de DM. i need to run/stop, change frequency.    some help, please. :) 485PRUEBA.cxp 485PRUEBA.opt
  21. I am new to Automation Direct software and how the programs are written. Can anyone explain how they handle the analog outputs? My processor does not support the IBox that makes life easier, so I am having to do it the old hard way. I understand most of the logic of how its done for sending data to one channel but I don't understand how the channel selecting works. Can someone give me a programming example or explain how that works? I am looking at the online manual that Automation Direct provides for you for the analog module but I am having a difficult time trying to wrap my brain around how they do their analog stuff ><
  22. MELSEC FX2N 48m plc PID programming

    I am new for gx devloper,I want 4 to 20 ma value to scale with 0 to 5000 and out put with PID. Plz help me.
  23. Hello I have a scenario that's been bugging me for some time now. The scenario consists of a Micrologix 1400 that I need to control it's output from modbus/tcp. In detail what I really need is to be able to manipulate the O0:0 through modbus/tcp. The PLC would be the master and I would be the slave that triggers the connection to the master. I'm using a Modbus-Client on my PC and that should be the slave. Any idea as to how I can manage that? Currently I can send data to the master but everything is "stored" on B10 and I have no idea how I could write directly on O0. Thanks a bunch guys. PS: I'm borderline noob. 
  24. B&R SWPIC-3 PROSYS programming

    I'm looking for the SWPIC-3 PROSYS programming software from the C PLC English version programming system. I am also looking for BRKAOL5-1 Centronics / online converter Online operation through the PC parallel interface. Any help would be appreciated.
  25. I am new to PlC programming . Plz can anyone guide me for ladder programming for FX5U -4LC Temperature controller with autotune parameters . Plus i want to use a PT-100 for the same . Plz help me out.