Jump to content
Sign in to follow this  
Addelichtman

Ethernet IP General Explicit Message

Recommended Posts

1302429877_EIPScanExplicitMessage.jpg.c3821b21bde7a281eb25f9cb229e4912.jpg

Hello I am trying to send an explicit message to a Unistream PLC as seen above. This picture is made from a third party EIP scanner and works as is.

The message unlocks a device I am controlling.  Note that the Command is NOT 0x10 but a special command 0x45 I also have to set request data 0xCD.

So the Adapter's documentation of the message is:

Service Code: 0x45
Class: 0x67
Instance: 0x89
Attribute: 0xAB
Data: 0xCD

The ladder component I use is 'EIP General Explicit Message' as seen below:

 

1134435759_UnitronicsExplicitMessage.thumb.jpg.f76242655b2cf984bc17b7165a3812b8.jpg

I send the required 0xCD data via the debugger.

As you see I get an error -4 which is documented as 'ENIP_WRONG_OFFSET' . I tried several buffer sizes and offsets but none of them gives a correct result.

Could someone please help me on how to tackle this problem? Thanks! Ad

Share this post


Link to post
Share on other sites

Ahoj,

What is XPORT?
Can you show me how the scanner node is connected ?

connect status= 2 ?( for explicit command).

 

 

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...