Search the Community

Showing results for tags 'Programming Time'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 136 results

  1. Hello Everyone, I am new at this forum, seeking help from you guys and gals. Scenario: I have a Controllogix 1756-L71 5570 controller installed with 1756-TIME module. The function of time module is to take time from GPS clock module in NTP format and send it to controller in PTP format. All the status LED's on Time module are OK. Also sync LED is Green. Still the time of controller is not synchronized with GPS clock there is a difference of 45 mins. Fellows please help. I'll be helpful.
  2. 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. 
  3. Hi everybody,For a while I’ve been wondering, in every plc forum where the use of loops come to discussion I find most people answering that it’s best to stay away from them and that there are better, easier and mostly less scan time demanding solutions out there. Why is that?In my experience they’re the next best thing.Why would referencing data from an array of 40 Dwords using a FOR X:= 0 TO 40 DO loop be any more scan time demanding then the PLC scanning through 40 rungs of statments?Just curious if I’m missing something here. Cheers
  4. Utility Power at Night

    Has anyone had any issues with dirty power or disturbances from Utility that occur duration the night?
  5. 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.)
  6. 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
  7. PLC Not fast enough?

    Hello, I used a Schneider Electric SR3B261B PLC to create a trivia machine (as I call it).  Basically 20 buttons that let contestants ring in to trivia.  There is a display that shows the number of the person who rang in.  It works pretty well unless people press the buttons at exactly the same time.  Then it shows 2 results at the same time.  Usually resulting in a display of 18 when really it was 12 and 14 that rang in, for example. The PLC has options for: "Adjustment of the basic cycle time of the module."   and "Type of Hardware Input Filtering." Which I assume would make the PLC operate faster and avoid two inputs triggering at the same time.  If I change the setting and update the changes do not keep.  I appear unable to change it past 20 x2 ms  and slow (3ms). Is that a correct assumption that changing this would fix it? Why can I not change this?  Is it because I have so many inputs (14 or so) and Outputs (16 or so)? or because my program uses nearly all 240 lines of ladder logic allowed? What can I do to fix this?   Emerald
  8. Do-More Designer

    Trying to program production tracking in Do-More 2.3. Need to track current Date, Time of day & current hour.  Anyone have an example of how time of day is used? I have done this in Allen Bradley 5000, but this Automation Direct stuff is new to me.
  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. Hi,   I'm pretty new to allen Bradley and wanted to know if there was a function that could help me out. I have a rotation sensor which feeds back to the PLC via a digital input, once every half second or second once machine is up to speed - I want to record the off time of this DI (how long it is off between pulses, essentially how long it takes for drum to rotate once). Is there some way to record this time and use this value for compare logic? any help would be greatly appreciated.   PLC: Micrologix 1400 series B RSLogix 500 version 11.00.00 (CPR 9)
  11. 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.  
  12. I'm very new to sysmac. I am trying to display the current date and time in the corner of each of my HMI pages. I saw a button labeled date and time. It is asking for a variable for behavior. Do I need to write some basic structured text or FB in plc to get date and time and pass it over? I figured the button would update itsself since when I placed it on the screen it had the current date and time and refreshes every time I leave the page and come back. 
  13. Capture Date and Time

    I would like to capture current date and time to registers in the PLC. I would prefer to use a function block, if possible, since I need to do the capture at different places in the program. I am using a CJ2M. How can I do it?
  14. Convert time

    Hello. this is my firs post is possible to convert the elapsed time of timer to real or int i need to make some math operation with the elapsed time thanks  
  15. There have been many good discussions on the applicability of cloud-based solutions for manufacturing and process control systems. On one side, some people have concerns regarding security and control of the information, on the other side, there are identified benefits enabled by cloud systems. From VMS minicomputers to DOS and Windows, from ArcNet to Ethernet, it is inevitable the industrial automation systems shall adopt the technologies that are getting predominant in IT general use; the current environment that I am calling the “Cloud-iPad era” is no different; therefore the practical discussion is not if those new technologies will be applied in the industrial environment, but how. This paper is not intended to join the conceptual discussion about the cloud, but just to present a few simple practical examples, where cloud technologies are already enhancing industrial automation solutions and enabling new business opportunities. CloudPracticalApplications.pdf
  16. 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?
  17. Time Input from NB Screen CP1L-E

    Hi guys,     I am trying to make a controller for an oven using MODBUS with a CP1L and an NB screen. My oven program will have 10 stages in one baking cycle, and the parameters for each stage can be modified individually (temperature, blower speed and time). I have set my number input in the NB screen to be a unsigned int of 2 integers and 2 decimals, and it writes to H4 in plc H memory. I move this value from H4 to W4 in the PLC, and input W4 into a timer (T0000). I have tried data manipulation and still have no success in getting this to work properly. My CP1L timer is set to BCD mode, as I am using premade MODBUS function blocks which are programmed with timers in BCD mode. Does anyone have any pointers regarding this? In the screenshot provided, the number i inputed in the HMI was 60.00.
  18. 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
  19. Hello, Completely new to Mitsubishi PLCs and I need to use a date and time stamp for data collection purposes. We have a Siemens PLC as well and this has the data type "Date_And_Time" which is what I need to replicate. I have been attempting to write my own data type but am struggling with how to go about this as it is not straightforward and I cannot find anything about how the Siemens Date_And_Time is made up so I have nothing to go off. Does anyone have an example of a data type they have made that is the same? Or is there a data type which does this already in GX Works 2 that I just can't seem to find?  Please help!
  20. Hello - I am currently setting up a program to control a downlane conveyor motor and ran into the issue of operators leaving the conveyor on through their breaks/at the end of the shift.... I know, shocking . Anyways, the essentials of the program are the following - ladder logic, start/stop PB station, a sensor that says when I've seen a box for x-amount of time I will turn off, when the eye is clear for x-amount of time I will turn back on. When trying to 'solve the problem' of the operators leaving them on, I figured this would give me a chance to use a RTC (real time counter) and program it so that at various times of the day I will send a single shot to verify the relay is CT is open. I've enabled the RTC on the Micro810, dropped a TOW but do not really understand how to set the TOW block up. Hopefully that all makes sense. Thanks,  grubb
  21. OK,  I have a program in a Control Logix 5561 controller(ver. 19.52) that every time we go online with it, the communication between the PLC and the PC running RS5000 is so slow you cannot navigate the program efficiently. I am new to this facility but I noticed the programmer used 20 different periodic tasks to organize their program, mostly running at 30ms intervals. several are set to 10ms and some are even set to 3ms. I have gone through and found out that the short interval tasks have been overlapped 10's of millions of times, and the combined total of all scan times is over 160ms. I have a strong feeling this could be causing our comms bog down and possibly other erratic behavior but would like a second opinion. This machine has 2 indexing dials, with work stations that do work between indexes, Pick and Place operations, etc.  Is there even a need to be running these with periodic tasks? All thoughts are appreciated. Thank you
  22. 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    
  23. 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 ><
  24. Hello, I am having an issue with FIX Dynamics Real Time Database and the database columns available within when trying to query the database. On a system running iFIX 5.0, there are 19 data columns available, LHS of attached screenshot (in the screenshot example, crystal reports is used to view the columns). However in iFIX 5.9, only 15 columns are available (RHS of attached screenshot ), how can these missing columns be made available to be accessed? Regards, John
  25. 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.