Search the Community

Showing results for tags 'date'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 10 results

  1. 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. 
  2. 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?
  3. 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!
  4. Julian_AOI

    Version 1.0.0


    This is an add on instruction to calculate the Julian date. It outputs the Julian date as an INT and a String with leading zeros.
  5. Julian_AOI View File This is an add on instruction to calculate the Julian date. It outputs the Julian date as an INT and a String with leading zeros. Submitter wlong995 Submitted 12/08/18 Category PLC Sample Code
  6. Hi   I'm all new to using omron but "stuck" with a project. I find the CX Programmer software (version 9.35) a bit confusing. Used Siemens a lot.  What I'm trying to do is to display date and time on a HMI showing cpu startup time. I use a "First cycle flag" that triggers once when CPU starts and then I understand that the date and timestamp is in the system variables A352 and A353. But how do I format them as a normal text? I only manage to display them as #hex-numbers. I have tried googeling but have not found an answer to my questions. edit: CPU type is: CJ1M CPU12 //Morten
  7. Hi,  i want to read real time and date in simulation mode. How can i do this in Unity pro? Thanks for helping
  8. Hey guys,   I know this is a topic that has been discussed before, but I am having trouble finding exactly what I am looking for.. I want to know the most efficient way to record data from my PLC to an Excel file on my PC. I want this to be done without the use of the PLC's webserver.  Specifically I am trying to record vfd speed every 10seconds with a time and date stamp. How can I do this?   Thanks, James  
  9. ControlLogix

    Can any one help? I am trying to write logic to collect data off a Control Logic controler using V.20.03 Logix5000 software. Attached is a copy of Time and Date logic. I there an easier way?
  10. Hello all, I am experiencing an unusual (and what appears to be an unheard of) behavior in my CompactLogix L18ER controller. I am setting the date/time of the controller from my work station, however when I GSV WallClockTime, it is reporting 4 hours different. I have asked our local resources as well as done some forum and knowledgebase searching without result. Has anyone encountered this before? Attached is a screenshot of the controller time vs. the wall clock time. This isn't mission critical since it can be manually adjusted however I would like to understand what is taking place that would cause this behavior. Thanks!