Hello, PLCS.net guys.
I'm learning about MSG for TCP communication recently.
I'm trying to use CIP Generic.
And the main flow is like the one below based on the manual.
SocketCreate
→OpenConnection(using the Instance generated on SocketCreate)
→WriteSocket(using the Instance generated on OpenConnection)
And I made the variable for the SocketCreate Instance.
But
・I can't use the variable for OpenConnectoion. The instance of the service accepts only integer.
・OpenConnection doesn't generate the instance. How can WriteSocket use the instance?
Could you give me some advice if you know something?
Thank you.
I'm learning about MSG for TCP communication recently.
I'm trying to use CIP Generic.
And the main flow is like the one below based on the manual.
SocketCreate
→OpenConnection(using the Instance generated on SocketCreate)
→WriteSocket(using the Instance generated on OpenConnection)
And I made the variable for the SocketCreate Instance.
But
・I can't use the variable for OpenConnectoion. The instance of the service accepts only integer.
・OpenConnection doesn't generate the instance. How can WriteSocket use the instance?
Could you give me some advice if you know something?
Thank you.