T J SHARON

MrPLC Member
  • Content count

    34
  • Joined

  • Last visited

Community Reputation

0 Neutral

About T J SHARON

  • Rank
    Sparky

Profile Information

  • Country Singapore
  1. Unable to Recieve data from RS485 in protocol macros

    hi Dan ,  "The Modbus Function Code 06 is normally a "write single 16 bit register", so you'd have to write each register value one at a time with separate 'transactions'.  "  How can i write it in each registers ? Should i write my protocol  as " <a>+[0306]+&(W(1),2)+&(W(1+2),2)+&(W(1+4),2)+W(1+6),2 ' , which is (01 03 06 XXXX YYYY ZZZZ CRC)
  2. Unable to Recieve data from RS485 in protocol macros

    Hi dan,    Thanks a lot. Let me try again!!
  3. Unable to Recieve data from RS485 in protocol macros

    hi Dan & team,   So can I use MODBUS-RTU for SCU and General purpose device communication ?  Does it work if i follow the following ways? connect device to SCU Change SCU setting (MODBUS, baudrate , parity, etc). Use CMND instruction  in ladder. Thanks in advance.
  4. OMRON CJ2M-SCU32- RS485 Connection to gyro compass

    Just noticed that 'No protocol; doesn't work with 2 wire connection. So i will try to use cx protocol
  5. HI all,   I was trying to connect my compass with PLC via SCU32 RS485 (2 wire ) in protocol macros.[ Unit 1 port2]  My send command is   " 01 03 00 01 00 03 54 0B'  &  Expected reply is '01 03 06 XX XX YY YY ZZ ZZ ZZ ZZ" I created a new protocol using CX protocol and created  a send message & a receive message command  and added to sequence 000. (refer pics) Also added PMCR instrcution in cx programmer (refer pic). I can transmit the data , but i cant see any recieve data in D2000. I am not sure what had done wrong, or am i missing something?   Any help is much appreciated!! compass_macro2.psw Compass_TEST.cxp
  6. hi all,  I am using SCU32 ( unit1, port2, 2wire and termination OFF)  to get the RS485 data strings from the compass with setting 19200bps, 8 databit, 1 stop bit &  No parity. I can send the TX string ( 01 03 00 01 00 03 54 0B)  from D100 memory and  write the Rx data to D2000 (01 03 06 xx xx yy yy zz zz CC CC). But the whenever the there is no RX data, The TXdata bounce back to RX. (refer to video, d100 is TX, D2000 is RX). I also tried wth SCU32 termination resistance ON. Same thing. I am not sure what is missing. Should i use different logical Port for TX and RX ?    EDITED: Just tried another scenarios  1) removed the connector and tried , D2000 - was written the TX values  2) Disable the RX  changing  LD from P_On to P_Off. D2000 - was written to #0000 0000 0000 0000  I am not sure what is  happening., Open connection also TX data bounce back to RX   Appreciate all help Thanks a lot  video1.mp4
  7. OMRON CJ2M-AD08V1 - AD data fluctuation

    Hi Dan,  Thanks for the reply. I will try as u said.
  8. OMRON CJ2M-AD08V1 - AD data fluctuation

    Hi Dan,  Thanks for the reply. Yes, Values in open circuit fluctuates as the previous video. 0v is acceptable SPDT as show in the pic? 
  9. OMRON CJ2M-AD08V1 - AD data fluctuation

    hi Dan,  1) those are button switches in the control console.The reason added a switch to prevent someone accidently using potentiometer.  2) these are voltage signals. 3) Pure voltage from PSU to the ADunit via push button and potentiometer  4) Currently i don't have have any screens. Just copied from the manual for future use.   but fluctuation reduced after i connected A5 & B5 to 0V. 5) the values should be &0-4000 UINT. high count is only on open circuit condition. The values are accurate and stable at closed circuit.
  10. OMRON CJ2M-AD08V1 - AD data fluctuation

    okay . thanks alot  
  11. HI,  I am re-posting this thread as i did'nt  manage to solve. The AD conversion values are fluctuating during open circuit (refer to video). And values remains stable once it is powered.My 8 AD channels are sharing  power supply. Refer to pic.   Appreciate all  help and suggestions.   thanks 15faad186bf0b0124a0db59248b78c34.mp4
  12. OMRON CJ2M-CPU13 - SCU32- Communication

    HI,  I still didnt manage to get it done.  The values are fluctuating ( like 6555**, FFF** etc) during open circuit and potentiometer is low resistance. And values remains 0 during open circuit and potentiometer at high resistance(no fluctuation).   My 8 AD channels are sharing  power suppply. DO i need connect anything to AG terminals. Appreciate all  help and suggestions.   thanks    
  13. OMRON CJ2M-CPU13 - SCU32- Communication

    Hi,  Thanks a lot for the suggestions. 1)For the ADs i used IO table to setup changed CH1-8 to enable and 0-10V in (All  voltage/current hardware dip switch set to  off). I am not sure whether any open circuit static V or anything like that. ( wiring attached, Blue color cable to 0V. A5 & B5 are NC). 2) For the data writing issue, i checked the CPU1 side D100, very stable and no issue.  But  at CPU2 side, i can see the data fluctuation in D2000 . Seems like Before transferring is ok and d2000 is overwriting only after receiving. scu32_TEST.cxp