Jump to content

Recommended Posts

Posted

Hi,

I am trying to use CIPUCMMSend FB, but when it's executed, nothing happens.

I would be happy if I had an error code or something to work with.

I succesfully established an implicit connection with the same device and it's working fine.

I don't understand since every input value of the function block seems fine and the ethernet port is ready.

Has anyone had this issue ?

I'm really confused as why it's not executed.

image.thumb.png.44d5e96bd59c14d3809c324fef6d665a.png

image.thumb.png.a1065002a3ca275945f884c7e3949d19.png

 

My PLC is a NX1P2 and I am using Sysmac Lite ver 1.60

I'm sorry if it is obvious, it's my first time using this block.

I searched here and some place else, but I could not find any answers.

Thanks,

Posted
On 1/25/2025 at 1:11 AM, chelton said:

Can i ask what device you are trying to read from?

I have had issues before and received very generous help from another forum member, although not completely related may provide some helpful info.

Have a look at this thread ..

Omron NJ Explicit message

The device I'm connected with is a clearlink from teknic.

Thanks for the help, I took a peek at your thread, now my rung is executed.

I changed the req path format from _sREQUEST_PATH to _sREQUEST_PATH_EX as adviced by PMCR and now it executes.

I will test further to see if it works now, but I have no error code so far.

  • Solution
Posted

Thank you, your thread did solve my problem.

Here are the things I had to change in order to make it run properly:

1- Use sREQUEST_PATH_EX type for the RqPath variable.

2- Change ServiceDat and RespServiceDat for Byte arrays. Precisely an array of 4 for ServiceDat and 10 for RespServiceDat

3- Set logical format of Instance ID to 16bit and Attribute ID to 8bit

4- Change data type of UINT to UDINT for attribute, instance and class.

I will test further if the Clearlink receive and execute the CIP message, but sor far, the FB is at done and no error emerges.

  • Like 2
Posted

As for the FB done signal, that is true once the command is sent to the Ethernet module, it does not indicate the message was sent, just the command is done.  There shouldn't be much of a delay unless there is a large queue of messages to send, but the standard with the FB is the Done output is tied to FB completion not the Ethernet module completion.

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.   Restore formatting

  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.

×
×
  • Create New...