aboon78

MrPLC Member
  • Content count

    34
  • Joined

  • Last visited

Posts posted by aboon78


  1. File Name: Calendar Calculation File Submitter: aboon78 File Submitted: 10 Jan 2009 File Category: PLC Sample Code FB will output time different in btw system date/time [PLC] and input date/time [external]. Different time range from 0~9959 minutes. 9960~9999 is allocated for error code. Click here to download this file

  2. Hi, I have setup a PC with fixed IP as SNTP server for several Omron CJ1M-CPU12 + ETN21 network module. Windows Time service is activated and PLC clock receive time from the PC when reach auto adjust time. The problem I have now is the clock PLC recevie is always GMT. My PC time zone is GMT+8. Anyone knows how to tackle this problem? Thanks.

  3. Hi, Is it possible to use commercial available CF Card say 1GB in Q06HCPU memory slot and use FWRITE to store data? I read the spec sheet of the Q-series CPU but only mention on the 32MB memory card from Mitsubishi. If can't, I'm thinking to log the data in GOT (HMI) via serial port. Anyone experience to log data with GOT in commercial avaialble CF Card (1GB or 2GB)? Appreciate for sharing your thought and experience. Thanks.

  4. After surfing few days, finally understand that it's mostly due to the excel DDE functions itself that expect to receive tab delimited. http://www.taltech.com/support/dde_sw/ddeexcel505.htm

  5. Hi, I use DDEInitiate & DDERequest to obtain data from OMRON CJ1M PLC. DDE Manager Version 3.1.1.1 This is the code in Excel VBA: ChannelNumber = Application.DDEInitiate(app:="CDMDDE", topic:="C:\OMRON\Test.cdm") ReturnArray = Application.DDERequest(ChannelNumber, "SS001_TagImage1-1") Application.Worksheets("Sheet1").Range("A1") = ReturnArray Point D4000_001 added in Test.cdm with 64 elements. I want to read 127 words starting from D4000. First, I get the data in array - this what I expect. After a few try, the data is in string. Do you guys know what's going wrong here? Thanks.

  6. Actually my plan is to write 254 (D4000-D4126 & D4200-D4326) words of 24 CJ1M PLCs (127 x 2 x 24) into a date stamp text commma deliminated file by using CX-Server DDE Manager & excel VBA. Stuck at the DDE settings whereby not all the data can be shown on the DDE link in the cells and sometimes get no response (have to end task). Notice there is "elements" setting in point config. Is this work by config. point D4000 with 127 elements; but how to link and display on excel? Appreciate if example can be attached.

  7. Hi, How to configure QJ71E71-100 to accept multi access at a time? Say, I have MX-Sheet running to collect data and at the same time I'd like to online edit the PLC with GX-Developer via network. I try to set Open Settings with 3 TCP protocol with MELSOFT connection method. It works but the connection break intermittently. Thanks.

  8. Hi All, Thanks for you guys' input. Actually this data comes from the V600 RFID data carrier. It's programmed to store 95, 65, 54 in a specific address. In the above case, the data carrier of the pallet should be 95. I checked the data carrier of the pallet when this happened, it's confirmed 95. So, possibility 96 come from data source is eliminated. Next possibility is D121 is overwritten somewhere else, but I couldn't find out D121 is used in other area within the program. That's why I called it strange. May be I am wrong, may look into the code again when free.

  9. Hi All, Hav anyone experienced with Omron CJ1 CPU12 that giving strange result as screen captured in the above? Instruction move #95 from lower byte of D5006 to upper byte of D121, but it becomes #96. This is my second strange incident with CJ1 CPU12, as previous I saw one of the timer didn't stop increment though it's supposed to elasped. It's back to normal after cyclepower. Is this Omron CJ1 bug? Never hav this experience with NAiS, ControlLogix, Mitsubishi, Siemens, GeFanuc... I might change my mind in next project of PLC selection.

  10. I had experience in Control Logix & RSSQL. But now all the new equipments are of OMRON PLC (CJ1M), they do come with Ethernet card. My problem now is can I accomplish data logging using RSSQL with OMRON PLCs? Many thanks for those who are willing to shae their experience with the same setup in place. Regards, Chee.

  11. When the problem occurred; the output modules "OK" LED blinking, "I/O" LED of the processor is OFF though turn the key from run-prog-run. When try to go online with RSLogix5k, a dialog window appearred saying the project file can't found in the processor; the RSLogix5k requires to download program to the processor. After downloading, everything back to normal. I have no idea why this can be happened. Are you meant the problem could be caused by the battery becomes weak & can't hold the program memory? But the "Batt" LED doesn't turn ON. And it happened when the processor is running; and the mahcine is supplied with power.

  12. Anyone has experience of the Logix5555 project file not found in the processor unit? The processor was running & suddenly the project file corrupted. When try to online using RSLogix5000, a window shown "project file not found". And new project file need to download into the processor. Can this problem handled by fault handler rountine? Thanks.

  13. There are 3 cache connections: 1 > Rack1 (checkweigher - gross weight) 2 > Rack2 (checkweigher - net weight) 3 > PV900 BTRs/BTWs 1 & 2 on the same DHRIO card; channel A & B respectively. 3 is on another DHRIO card, channel B. BTRs/BTWs that give problem is on 1 & 2 only. 3 is OK. I just cycled power the PLC just now due to frequent "connection in use" error on the MSGs. After cycle power the PLC, I started with uncheck cache connection for both 1 & 2 target, it works fine. After several process, I check the cache connection and the task monitor "cache connection" shows 3. Before cache is 1 > PV. Now, it's working fine with cache connection checked.