News:

  • February 01, 2023, 11:53:50 AM

Login with username, password and session length

Author Topic: H2-DM1E and TCP/IP  (Read 12418 times)

Alfred G

  • Newbie
  • *
  • Posts: 3
H2-DM1E and TCP/IP
« on: March 04, 2015, 05:19:34 PM »
Hi, first ask an apology for my English because it is not my native language but I try to make myself understood.

I'm new to the Do-More plc and Do-More Designer but I'm trying to integrate it into an application of a manufacturing company, this application uses the ASG-CT2500 Screwdriver controller, currently only has the pass/fail output and is required to store in a database the torque of each screw tightened.

Through communication module ASG-NW2500-EIP is possible to "transmit and receice TCP/IP messages that are formated to Comply with Ethernet IP"

My question is whether it is possible to read these data with H2-DM1E cpu and use the instructions for the Custom TCP (OPENTCP, STREAMIN, STREAMOUT) indicated here:"http://www.hosteng.com/FAQFiles/Do-more.htm" on the table "instructions used for the types of communication" ?


Additional information about the communication module:

This unit is capable of transmiting 103 output bytes, the user can select which group of information are actually transmited.

This unit is capable of receive 40 input bytes, the user can select which group of information are actually received.

ASG-NW2500-EIP Datasheet: http://products.asg-jergens.com/Asset/Ethernet%20IP%20Addendum%20for%20X-PAQ.pdf


Thanks for your help!

Controls Guy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 3478
  • Darth Ladder
Re: H2-DM1E and TCP/IP
« Reply #1 on: March 04, 2015, 06:53:40 PM »
If you're willing to implement Ethernet IP from scratch, you're a braver man than I (and I have written comms drivers, including AB drivers).  Do-More is in the process of getting an Ethernet IP master and slave in the next version, due out soon.
I retract my earlier statement that half of all politicians are crooks.  Half of all politicians are NOT crooks.  There.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 5788
  • Yes Pinky, Do-more will control the world!
Re: H2-DM1E and TCP/IP
« Reply #2 on: March 05, 2015, 11:17:08 AM »
I scanned the document and it is not obvious to me that this even supports EtherNet/IP (ODVA protocol), it may just be some kind of raw TCP/IP transfer they are calling Ethernet IP. If it is EtherNet/IP, the document isn't written at all like others...it has no CIP class definitions at all.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

Alfred G

  • Newbie
  • *
  • Posts: 3
Re: H2-DM1E and TCP/IP
« Reply #3 on: March 05, 2015, 12:27:57 PM »
Thank you for your responses.
I don't know much of internet protocol but even for me it does seem very little information that is shown in the datasheet about the TCP/IP, it just mention that you can set the IP address, submask and gateway.
I will try to get more information about the protocol of communication with the manufacturer.

Alfred G

  • Newbie
  • *
  • Posts: 3
Re: H2-DM1E and TCP/IP
« Reply #4 on: March 06, 2015, 02:12:49 PM »
The manufacturers send me some information and the module uses the "Anybus-IC EtherNet/IP module
"
On this page can be foun the ODBA EtherNet/IP certificate of the chip : http://www.anybus.com/support/support.asp?PID=90&ProductType=Anybus-IC
It seems that it can communicate with the Do-More PLC, now i have two questions (i'm new):
-is ok if  the EIP module is connected along C-More HMIs and Remote I/O?
-the plc can communicate with two (ASG-NW2500-EIP)EtherNet/IP modules at the same time?

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 5788
  • Yes Pinky, Do-more will control the world!
Re: H2-DM1E and TCP/IP
« Reply #5 on: March 06, 2015, 03:40:40 PM »
First...Do-more does not currently support EtherNet/IP. The initial development of it is complete, but it will still take a while to get it tested and get the software released. It should be sometime in the Spring.

Second...it is definitely possible to develop EtherNet/IP explicit messaging using Do-more's custom protocol tools...however...if you are not experienced in writing comm protocols, EtherNet/IP is absolutely *not* the first one to try.

Third...the Anybus module appears to also support Modbus/TCP, which is already supported by Do-more. Modbus/TCP is a much better alternative until we release Do-more 1.4.

In answer to your questions:
1. Yes, but you will likely see some Remote I/O communication retries. It isn't a problem as long as your I/O performance requirements are not so strict. If they are strict, I would not use the Ethernet port for anything but I/O.
2. Yes. As a master (scanner), the PLC is essentially unlimited.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO