limcm

MrPLC Member
  • Content count

    8
  • Joined

  • Last visited

Community Reputation

3 Neutral

About limcm

  • Rank
    Newbie

Profile Information

  • Country Singapore
  1. Delta plc Communication Issue

    Modbus RTU protocol ---->modbus module and plc setting must match baud rate,parity,Stop bit & data length The attached program is for Dvp-Es2. PLC Com1  is for download/upload and MODBUS address id is "1".PLC Com3 MODBUS address id is "2". MY MODBUS MODULE HAVE TO START FROM 3 ONWARDS. DOWNLOAD "MODBUS  POLL" SLAVE AND INSTALL ON COMPUTER.WITH A RS485 ATTACH TO COMPUTER COM PORT AND TEST WITH THE PLC.     ModBUS_REV2_ES2.isp
  2. Delta PLC Analog Wiring

    Hi, For mA, (V0-->I0+), (V1+-->I1+), (V2+-->I2+), (V3+-->I3+), ARE JOINED TOGETHER RESPECTIVELY. ALL THE VI0-,VI1-,VI2- & VI3- CAN GROUND TO COMMON OR INDIVIDUALLY CONNECT TO NEGATIVE SIDE. TESTED WITH AMPERE INJECTION. CANNOT ATTACHED ANY FILES FOR VIEWING.
  3. CN0 FOR C0 AND TN0 FOR T0 IN C# axActProgType1.ReadDeviceBlock("CN0", 1, out TEST); axActProgType1.ReadDeviceBlock("TN0", 1, out TEST1);
  4. Feel happy for u ,finally it work. The com3 of plc  is connected to my computer comport which is used as modbus master and com2 of plc is connected to modbus slave modules.(no resistors) At least your long fight is worth the effort.
  5. FOR  ModbusSlave setup in either "RTS Toggle" or "DSR"  no problem with the communication .Tested with my delta es2 with file modbus_REV3_ES2_nofloat.isp. So far all the setting on your side is correct. MY SETTING IS "RTS Toggle". Seem to be hardware side problem. If u have two rs485 dongles ,u can test using the one as master the other as slave with the modbus software just to confirm the dongles is working. As for the twisted pairs of wiring use for the connection is cut from lan cable.  The attached files are the modbus modules for modbus slave program. (all these settings are from five modbus hardware modules) Es2 from  https://item.taobao.com/item.htm?spm=a1z09.2.0.0.2dc82e8dFbfve5&id=546424488944&_u=91f3q6oc5ba1 ( fully compatible with Delta ES2) Should u need the program using visual studio 2017 in c# acting as HMI for all the modules testing in modbus then please pm me. Me is  a  hobbyist ...haha (delta dvp-sx2 and dvp-es2 not original) http://www.winchiphead.com/download/  download driver files for ch340 which is Chinese manufacturer.Website in Chinese. 307a_in.mbs 307a_out.mbs 308l_in.mbs 308l_out.mbs 9039_analog_in.mbs 9039_in.mbs 9039_out.mbs tcp580L_in.mbs tcp580L_out.mbs WP3066.mbs
  6. https://www.modbustools.com/  FOR THE MODBUS SLAVE TESTING. COM2 OF PLC CONNECT TO YOUR RS485 DONGGLE(SHOWN IN YOUR COMPUTER HARDWARE DEVICE ,WHICH I USUALLY SET TO 19200 BITS/SEC) THE ATTACHED DELTA FILE JUST CHANGE THE PLC TYPE TO SA2, TRY IT OUT WHETHER THERE IS ANY COMMUNICATION TRAFFIC. IF NOT THEN THE TWO WIRINGS JOINING YOUR RD485 DONNGLE AND PLC COMPORT2 JUST SWAP THEM. modbus_REV3_ES2_nofloat.isp