T J SHARON

MrPLC Member
  • Content count

    52
  • Joined

  • Last visited

Community Reputation

3 Neutral

About T J SHARON

  • Rank
    Sparky

Profile Information

  • Country Singapore
  1. CPU to Advaced HMI slow response

    HI all,  I have connected my CJ2M-CPU13 to Advanced HMI software via Hostlink (19200,7,2,E ) .  I connected to the serial port in CPU and just used ( didnt write any code or formating).   The HMI response is very slow ( almost 2+seconds).  I am not sure whats is wrong, Is it because i am using more words?  Anybody had this encountered this problem? Appreciate all suggestions and advices.    
  2. HI all,    managed to settle. Some of the  TX words were integars. I changed to UINT. Issue solved.         Any suggestion or comments?  
  3. HI all,    Any suggestion or comments?  
  4. HI All,  I have an issue with my SCU32 communication.  Back ground Two SCU32s  (top and bottom side) connected via a 1100M datacable  using port1 ( 9600bps,  8-2-E, start code FF, end code FE, Tx save to d1000-d1200 , Rx save to d2000-d2200). PORT2 of bottom SCU32 is connected to a compass( 2 wire, 8-1-N, 19200 bps, serial gateway MODBUS ). Refer to photo Issue  Without compass, the receiving data at top is very stable and is didn't see any fluctuation. But if is compass is connected at bottom side port2, there is a fluctuation at the top side RX data(specifically d2000-d2005 ) .  I checked the data a bottom side TX (d1000-d1200) and it is stable. Only after sending the data and Receiving at Top side, then only the starting words fluctuate. I am not sure sure what is wrong, I am using logical ports for the DTXDU/DRXDU and compass.   Appreciate all your feedback and suggestions.  
  5. CJ2M PLC power supply wiring

    Thanks a lot
  6. CJ2M PLC power supply wiring

    HI all,  Is there anything issue or wrong in thing connection ( added noise filter & fuse. )?  
  7. PIDAT INSTRUCTION PROGRAM

    Hi,  I am using same ADunit channel ( 2502) for  SV & PV in the PIDAT instruction. When the execution start the DIFU will save the current value as SV. I am suing AD081 and PLC read as UINT 0-4000.  My doubt is Do i need to scale the 0-4000 to 0-4095 for the SV & PV.?   PID_w_thrustercal.cxp
  8. PID I & D Unit

    Hi All,  I need some clarification on the PID instruction. The note states that if #9 is set for C+6 04-07, the I & D will be 0.1 to 819.1s. But I didn't understand this highlighted section. Does it mean that my I and D values will something between  (1x τ)~(8191xτ)s??   All help is much appreciated, Stay safe and healthy. T J Sharon
  9. grounding and fluctuation

    Hi All , Thanks for all the reply and help.  let me try as what u said. And thanks for sharing the video.    
  10. grounding and fluctuation

    HI  BOB,  "What is the analogue signal - 4-20ma? 0-10V? 4-20ma is much better for noise rejection - I will not use voltage analogues at all! Is the 24VDC supply negative grounded? That is always a no no as far as I am concerned - do not ground the negative at all but let it float - ground noise introduced. I expect the 24VDC supply is from a switch mode power supply. If so what brand? There is some really cheap junky stuff out there. Is the analogue cable only grounded at one end? It should be grounded at the source only.  "   Based on red coloured statement how can i do wiring ? Something as below pic?    
  11. Add Delay to to the Analogue out

    Hi Chelton,  thanks a lot.
  12. Add Delay to to the Analogue out

    Hi ,    I already extended FB areas of H-memory. Is there any issue if I change my over all FB memory allocation to d10000 ? Mean while I will try the feasibility of using IN-OUT  method.    
  13. Add Delay to to the Analogue out

    HI,  Its tested and working well. I have 8 Analogue inputs and will be using 8FBs, which need 800 words for Buffer_Ring array. But i don't have much free words in H-memory for Buffer_Ring array.  Is there any way that i can assign  Dmemory for the array? ( Assign "AT" in the Fb variable session not possible as this FB is using simultaneously for different Analogue inputs)    
  14. Add Delay to to the Analogue out

    hi Chelton. Thanks a lot. Let me go thru and work it out.
  15. Add Delay to to the Analogue out

    thanks  It seems like a code for FB.   Could you please specify the input,output and internal variables and data type? I managed to identify some. EN (bool) ------>INPUT Run (Bool)------>INPUT Ring_Buffer_Initialize (bool) Ring_Buffer_Write_Index Ring_Buffer_Read_Index Ring_Buffer_Size Ring_Buffer_Read_Index RB-Loaded (bool)------>OUTPUT ONS_Trig (bool)------>OUTPUT Ring_Buffer[ ] ------>INTERNAL Analogue_In (UINT)------>INPUT  Analogue_Out(UINT) ------>OUTPUT Appreciate all your help Regards, T J sharon