You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@plc4x.apache.org by "Christofer Dutz (Jira)" <ji...@apache.org> on 2020/06/11 17:10:00 UTC

[jira] [Commented] (PLC4X-204) S7 Connection: Subscribing not possible

    [ https://issues.apache.org/jira/browse/PLC4X-204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17133429#comment-17133429 ] 

Christofer Dutz commented on PLC4X-204:
---------------------------------------

Hi Richard,

well actually not all protocols do support subscriptions. The S7 is sort of one of them. I know one of our community members has sort of found a way to subscribe to a very limited number of S7 devices, but this is actually a work in progress which is not finished yet.

Protocols like the Modbus protocol don't support this at all.

However we are thinking of adding some functionality to simulate subscriptions by using polling internally, but that feature has not yet been implemented. 

 

Chris

> S7 Connection: Subscribing not possible
> ---------------------------------------
>
>                 Key: PLC4X-204
>                 URL: https://issues.apache.org/jira/browse/PLC4X-204
>             Project: Apache PLC4X
>          Issue Type: Bug
>          Components: Driver-S7
>    Affects Versions: 0.7.0
>            Reporter: Bernhard Rupprecht
>            Priority: Major
>         Attachments: LogProgramExecution.txt
>
>
> I established a connection to a S7-1500.
> Connecting, Reading and Writing works fine.
> However, its not possible to get the subscribing feature to work.
> The PLC access level is set to full access and the put/get communication is on.
> I tried several connection strings including: 
>  s7://192.168.16.150 or
> s7:tcp://192.168.16.150?controller-type=S7_1500&remote-rack=0&remote-slot=1
> However, the program always states that the connection does not support subscribing.
> As I am very new to working with PLC4X:
> Did I forget to configure/activate some options in the PLC settings or is this really a bug in the S7- driver?
> Attached is the log while executing my test application.
> Thank you very much for your adice. If nessecary, I would be happy to provide you additional information.
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)