CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Tue Jan 28, 2020 9:32 pm

All times are UTC+01:00

Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: Fri Mar 29, 2019 1:57 am 

Joined: Thu Mar 28, 2019 9:38 am
Posts: 1
Dear all.

I am trying to connect RaspberryPi(installed CODESYS 3) to PLC using EtherNet / IP.
In this system, PLC is a scanner and RaspberryPI is an adapter.

I was able to connect PLC and RaspberryPi by Forward_Open command.
However, I could not get RaspberryPi's data using ExplicitMessage, and I got an error response.
(General Status code : 0x14 => "Attribute not supported")
When I checked the command output from the PLC, "Logical Format" was "16-bit logical value".

I want to connect PLC to RaspberryPi with "16-bit logical value". Do I need to make any configuration changes?

When I conducted a communication test using two RaspberryPi (one scanner + one adapter), data was successfully acquired."Logical Format" was "8-bit logical value" when communication was successful.

Could you help me this problem ?
Thank you.

【Explicit Message data】
    - Service Code : 0x0E (Get_Attribute_Single)
    - Class ID : 16#01 (Identity Object)
    - Instance ID : 16#01
    - Attribute ID : 16#05 (Status)

【CODESYS Information】
    - Raspberry Pi : Target Version
    - Ethernet device : Version:
    - EtherNet/IP Adapter : Version:

You do not have the required permissions to view the files attached to this post.

Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 1 post ] 

All times are UTC+01:00

Who is online

Users browsing this forum: No registered users and 6 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited