simon Ong SK

MrPLC Member
  • Content count

  • Joined

  • Last visited

Everything posted by simon Ong SK

  1. Gas Filling....

    Sleepy: you have any idea what sort of Equipement and what scada ? Thanks
  2. Gas Filling....

    TW, Can you provide me the Web address of Thermoco? Thanks
  3. Hi guys: Does anyone program this Before? Read the Calender (AR352 to AR356, I'm using CJ) then determined which week the date belong to? Example Jan 3 is in Week 1 and 5 Feb in Week 6 and it automatically adjust when the year changes. Please help Thanks
  4. How to Check This Date fall within which Week

    Thanks for the Tips. TW: The Wombat code format is CXF, I'm using CX one, I could not Import or Open it. What Should I Do?

    Thanks: JS You help me to solve the configuration headache.

    Objective: I would like to perform on line monitoring without removing any external devices connected to PLC. 1) A Computer connected by Ethernet to a Server (which the HMI is connected also). 2) AB PLC (SLC5/03 with DH485 and RS232 or M1500 LSP with 2 RS232). 3) Weighing Scale with RS232 Only (No Device Net or RS485). 4) HMI (Not AB). If using M1500: HMI Connected to Channel 0. Weigh Scale to Channel 1. Which network device should I add in order for me to perform downloading and monitoring the plc program? (Note: PLC has to perform ascii read from Weigh Scale) If using SLC5/03: DH485/RS232 converter for Scale? RS232 for HMI (or Vice Versa) Another DH485/RS232 for Downloading and monitoring?? Pleas help me to configured.

    Jstolaruk: Is 1769 ASCII module act like the 1746-BAS ? How to program this ASCII Module ?? If it need AB Basic, then It is out of the scope (DOS or HYPERTERMINAL !) I read through some manual on 1769 ASCII, there is no mentioning about programming on ML1500. If you have info pls let me know. Thanks Simon
  8. MicroLogix Fast Counter

    If I'm not wrong: PTO normally used on Stepper motor where you can output certain nos of pulses as such the stepper motor will move at the amount of pulse entered. The Pulse will generated will be send out throught O no 2 or 3 depending on the CPU. (Must be BXB) here is the excerpt from the manual: "Within the PTO function file, there are PTO element(s). An element can be set to control either output 2 (O0:0/2 on 1762-L24BXB, 1762-L40BXB and 1764-28BXB) or output 3 (O0:0/3 on 1764-28BXB only)." The neccessary setting on the Function files are: OF(Output Frequency):max 20000hz Top(Total Output Pulse to be generated) ADP(ACC/DEC Pulse) I use PTO to measured the accuracy of the Fast Counter. Which I'm not really sure whether this method is OK or otherwise. As I do not have any means or Pulse Generator to verify the Fast Counter capability and accuracy. Thx
  9. MicroLogix Fast Counter

    High Guys: How to access fast counter WITHOUT using the Function Files? MicroLogix 1500 can be expanded to 4 Fast Counter But the Function Files had 2 HSC? Any sample codes?? Thanks Simon
  10. MicroLogix Fast Counter

    TW: I tried something here: 1) Connected Output 2 to 4 input from 0 to 3. 2) Using EII (Function File) 3) Enable PTO, injected 17000 pulses into Input 0 to 3. Observation: Input Filter at 75 usec. 4 input maximum Hz set at PTO is about 4000hz before CPU giving watch dog scan time error 2 input, 5900 at PTO 1 input, about 10khz. Am I right to test this way??
  11. MicroLogix Fast Counter

    TW: The Flowmeter that I used were single direction type. The Fast counter is only one portion of the programs. It was interesting for me to know the effect of interrupts. The whole application including Batching which I had to used One of the RS232 port for reading. The whole program has to run concurrently. There is A PC that will send the recipe and the PLC will performed all the task. As the Fast counters are at the tail end of the system where the filling process take place yet the batching can still run concurrently. So the Interrupt effect is really interesting. Can I ask something that outside this topic? I need to know whether I can make this connection: A PC with ethernet link to a HMI (Not AB), HMI act as a server. Connected device to AB PLC: Weighing Scale and HMI. I need to monitor the PLC at anytime I like without removing any connection from the above (Scale or HMI). If I Used SLC5/03 (1 DF1 and 1 DH485). How can I approach this? If I used M1500 LSP (with 2 DF1). How can I approach this? Thanks
  12. MicroLogix Fast Counter

    TW: The Input Filter had various value including one default. There is no Zero. So should I enable the "Input Latch"? The cTU and CTD acc value were not match with count using ADD ! ADD value had higher count ! hope you can share your experience with us. Thks
  13. MicroLogix Fast Counter

    Thanks TW: Input 0 to 4 have 20khz capabilities. But How can I perform the counting ? The Ladder Logic using "CTU or CTD " or by using "ADD"?? Should I make some adjustment at the Input Filter ? Thanks
  14. HELP!

    HI: Happy New Year! I have this problem: I need to convert Ascii data to Integer! If the ASCII data are like 123 then Fine ACI Can do the JOB! My problem is when the Value is ^B or FF or G Or ^ R (referred to Micro ASCII Table). THe Value is EMPTY or Nothing. Micro is reading a device that sending ASCII data which all the data have to be converted to integer (HEX) then back to Floating Point. Can Some one help me!!!! Thx
  15. HELP!

    Thks Paul. I got it.
  16. MicroLogix Fast Counter

    Hi guys: Thanks for the replies ! Yes, with Add On Module (1769-HSC), the AB Technical Data book (Bulletin 1764) stated the module had 4 Single-Input Counters or 2 Quadrature (ABZ) differential Inputs. I’m using it for flow Measurement and control. I need a total of 4 up/down counter. If the M1500 can not support, should I choose SLC5 ?? I’m interested to know the “Normal” Ladder Logic way if the HSC file could not support 4 counters. So If I decided to switch to SLC5, how should I approach or access the Fast Counter module ? Which Function or Command should I used?? Thks agains
  17. PLC5

    Hi Guys: I'm new with AB. Can anyone help me to configure this? A PLC 5 communicate to a MicroLogix (Model???) which the Micro is going to read a external device with RS232 com protocol. 1) which Model of Micro and what PLC5 card should Add? 2) What command Do I need to use at PLC5 and Micro? 3) What is the differences between DH+ and DH485. 4) Someone suggested to add 1771-DB (Ascii card?) to PLC5. But the proble does AB Pbase (Basic Software) supported with XP? Please help to get the optimum solution. Thx and regards Simon
  18. PLC5

    Hi guys: Thanks for all the advices! I could not reply as I’m waiting for the correct PLC information! The Only Information till now I got: PLC5/40. (will post the latest info if I got one) Here is the actual scenario: Existing equipment is using PLC 5 to perform measurement by means of multiple analog signals from external measuring controller. There are numerous probes connected to this controller, so this controller will distribute the analog signals to individual analog input Card on the PLC 5. Then the PLC5 will performed calculation and determined the status of the measured specimen, the data then will be captured and displayed at Panel View. End user decided to find alternative (without discarding the PLC 5!) after a lot of rejects found a long the process line. There are multiple standalone measuring station at the production line using PLC5. Note: The same PLC5 also perform other tasks. So, the measuring equipment agent proposed to change the current equipment to digital measuring equipment with RS232 capability (No RS485/DeviceNet/Profibus model available). So at that point of time 1771-DB seems to be the answer. I did some reading, that why the Micrologix came to mind (1200 or 1500). The Idea is to use Micro to perform the measurement and in real time (peer to peer?) data will pass to the PLC5. Besides the end user using some controller which they could performed online diagnostic. Micro will have to perform send and receive tasks. Like send a string to the controller and read the result from the controller, then perform calculation and summation. Then the calculation result will be posted back to PLC5. ------------------------------------------------------------------------------------------- Today, I got a Micrologix 1500 LRP (2 RS232 Com), I used Channel 1 to read a Weighing Scale (Just to test the Serial Com Port). I can perform Ascii Read, But the LED of the Channel 1 Com did not Blink (should it be like the Channel 0? Just Like Online?) I had to performed Ascii Buffer Clear when the Ascii Read is done (R6:0/DN) otherwise the string will not be updated. Am I correct?? Thanks for Help Again….Merry Christmas and Happy New Year.
  19. Compolet 2003

    I'm using Compolet version 2 with Finsgateway 3.12. I was told there is a latest Version 2003? Is there any free upgrade to 2003?
  20. RS485

    Hi guys: Any one did this before? Connect multiple Scale Indicator by RS485 to SCU41? Using CX Protocol--Protocl Macro? or TXDU/RXDU??? Do anyone has sample Protocol and PLC Program? I came across some of the posted sample but were between PLCs. Thanks In Advance. Simon
  21. RS485

    Yes, SCU41 come in mind. As there may be a total of 27 Metler Toledo Scale to be used. Out of it 25 will be link with RS485 the remaining 2 with RS232. As The two unit of scales with RS232 are much critical than the 25unit. The Protocol Macro look more suitable. As the Protocol from Wombat look like the one. The Repeat (RSET/R(1)), can be program to performed as many time as possible ? Like at PLC program by increasing the "Node" number at the Send portion of the Protocol Macro?? say: -----++ D100?? then the Protocol Macro will read the next Unit/Node?? Am I correct to say that?? Or is there any other method? Thanks again for the info.
  22. RS485

    Yeah, I did have that Modbus Protocol. The Problem is the Scales are with RS232/RS485. To save some $$$$, RS485 is the only choice. I took a hard look at the CX Protocol Manual, where the Address can be used to identity the "Node" or address of the individual Equiments. Is that right. Does that meant I should write say X number of repeating protocol by incrementing the address. Or Should I write at PLC by incrementing the Send portion of the PMCR Function ? What kind of Time lag should I see?
  23. Pump Control

    Hi anyone: I'm working on a project at a local car paint manufacturing plant. The Disperser will discharge mixed material using pump from upper flow to lower flow using a pump by mean of a inverter. The control is equiped with omron cj1m-cpu12+scu21+DI+DO+AO. The SCU21 is reading the Disperser load (Metler Toledo Indicator) and AO is for controlling the Pump Inverter. No Flow meter is attached to the system. The basic concept is like this: The system should by theory monitor the reduction of weight of the Disperser against a stipulated interval say 5 minutes. Then performed the calculation by mass divided with 5 minutes and then scale to the inverter according to the frequency of the pump (Max 60hz at 20ma). The problem I faced is the non linearlity of the pump which make scaling impossible. End user will enter the feedrate required (Kg/Min) from a PC. Then the PLC has to regulate according to the Target. I'm not using the PID Function (worry about It will damage the sand mill) as a constant flow is required. Any one has this experience before on handling such problem?? Note: End user obtained the feedrate required by 1st manually adjust the inverter (weighed the flow out in 5 minutes manually). Thanks Simon
  24. Proface ST panel and Omron CQM1

    Hi: Just want help Make sure You have the the Correct ST401! This ST401-AG41-24V is with RS232C Connector, the rest are 422 or other. If you are using RS232, Proface Touch Screen Omron RS232C at CPU Pin 2--------------------------------------------------->Pin2 Pin 3--------------------------------------------------->Pin3 Pin 5--------------------------------------------------> Pin 9 Pin 4 & Pin Pin 5 Loop(Bridge) Make sure you GP Communication Setup is the Same as PLC, like Baud Rate..... Make Sure the System Start Address at GP is Reserved and You PLC Program must not used the same address!!!!
  25. Floating Point Conversion

    Guys: Anybody Know how to display Floating Point Value or conversion using Hostlink Command? Say : D100 has a Value of 1.003 (at PLC). By using Hostlink with VB, Which Command should I use? @00RD01000002FCS?? Then How would I convert in VB to Float? Thanks