nicepal

MrPLC Member
  • Content count

    11
  • Joined

  • Last visited

Everything posted by nicepal

  1. Need some help here. I am trying to link a Panasonic FP0H, using it's Build-in LAN to a Fuji / Hakko TS1070Si. I managed to setup the IP addresses on both devices, able to ping both device's IP using laptop. However when hooking them up and meddled with all possible settings. There is still an error on the HMI " PLC1 Communication Error. Ethernet Error : 205(0)".  TCP connection error Connection cannot be established. Check the communication lines, or turn the power off and on. And on the PLC itself the "Connection Establish Flag is 0"   Anyone ever come across such connection type able to help out?
  2. CJ1W-ETN21 Detection

    To all the gurus. We have a project now that is using CJ2M PLC. However some hardware is using 1 piece of ETN21 card while some machines are using 2 cards. Programs sequence is quite similar. However Customer wants us to be able from program side able to detect if there is 1 card presence or 2 cards presence.   Not sure if there is certain bits or memory in PLC that program can tap to "detect" number of cards that is presence.
  3. CJ1W-ETN21 Detection

    Michael, Thanks, this sound great. Just that the scenario is  1 - We have 2 batches of machines 2 - Batch 1 is using 1 card 3 - Batch 2 is using 2 cards 4 - 2 cards communication seems to be more stable as compared to 1 card. Just that software portion is a little different for the 2 machines though they are identical. 5 - Customer request is to keep program the same. Use a method to "detect" if there is 1 or 2 card exist, then run different portion of programs for this. Instead of keeping 2 program version.   But hearing you saying declare 2 cards in I/O table but 2nd card physically not installed will generate a non-fatal (PLC will keep running) error. Maybe we can use this "error Bit" to determine if the 2nd Card is present or not.   Thanks in advance. Shall update again when tested working.
  4. CJ2M Function Block String to Real

    Seems the FVAL is in the Ladder format. Under Structure Text, like don't have direct. Anyway, I have work around this by extracting the Integer part to a DINT -> Real, the Decimal part to another DINT -> Real -> Convert into Decimal value. Add them together. Then check if it is E+ or E-, and Multiply or Divide according to the E number.
  5. I have this issue. working on Omron's CJ2M. String received can be +4.24737E-03 or +2.17737E+01 Somehow, the structure text function does not have STRING_TO_REAL. We need to extract some readings from a Meter and do some value comparison in the PLC to set the passing range. Any advise I can get from personnel here?
  6. String to Real

    Thanks. Just realized this is under NJ after I posted.:) Seems the FVAL is in the Ladder format. Under Structure Text, don't have direct. Anyway, I have work around this by extracting the Integer part to a DINT -> Real, the Decimal part to another DINT -> Real -> Convert into Decimal value. Add them together. Then check if it is E+ or E-, and Multiply or Divide according to the E number.
  7. String to Real

    I also have this issue. working on Omron's CJ2M. String received can be +4.24737E-03 or +2.17737E+01 Somehow, the structure text function does not have STRING_TO_REAL.  
  8. CJ1M xml communication

    Thanks Sparky. We tried checked withh the Vendor who also not very sure and cannot commit the feasibility. In the end, we proposed to link to Customer's Host PC through a PC where by PC will poll the data from PLC through that PLC. Reason being I have 3 PLC and also each PLC has 1~2 Barcode Reader that uses Ethernet protocol. Cost maybe be higher but I think as long I can link to PC, the rest of the issues leave it to PC to do the more difficult job.
  9. CJ1M xml communication

    Anyone here done any communication through Omron's PLC using xml to communicate with Host PC? I got a Customer enquiring on this, Transmit to and Receive from Host PC through Omron's CJ1M PLC using xml format.......
  10. CJ1M Date and Time Calculation

    To all experts out there, I am using CJ1M-CPU23. I have a project that need to calculate when a Error start and when a Error End. Form the Time, I need to calculate how long the error takes to reset by operator. With this info, I need to write into the CF card a file capturing all errors with, how many time it occurs in a day, how long was the duration the error last added up together. And I also need to check that if the files was 4 months old, I need to delete them from CF card. Can anyone help to advise me how can I do this as now I am stuck on the time calculation portion. I need to know; 1) how i can calculate the time difference. 2) how can I check the CF card that the file is more that 3 months ago (I intend to save the file with the YYMMDD kind of format) Thanks in advance. I appreciate if someone out there can let me know by thursday as I need to reply Cstomer by 30/08/2007 Singapore time. Thanks a zillion.
  11. CJ1M Date and Time Calculation

    I would like to thank all in providing your valuable advises. I have made some tests last weekend. 1) how i can calculate the time difference. - I captured the Start & End time and uses the CSUB (Calendar subtract) to calculate the duration. 2) how can I check the CF card that the file is more that 3 months ago (I intend to save the file with the YYMMDD kind of format) - I use the same CSUB function and calculate what is the date that is 90 days ago (90*24hr=2160hr). As the file is created under the formate of YYMMDD.txt, so I just issue a file delete command to CF Card to delete the file that is YYMMDD.txt. I had even saved those files under individual folder, named monthly ("09" for September). When 90 days is up, the program can go into individual folder to delete the required dated file.