Hey Cesar, I see that you do awesome progress with all complicated parts of S7 communication. By looking at code and updated docs I see that most of this functionality is intended for S7-400 and will not work with low end S7-1200. This brings me to a question if our present "PlcConnection.canSubscribe()" method is sufficient to let know user application that it can subscribe? Does it return false for S7-1200 and true for 300 and 400?
Main question is how we could keep user applications aware of subscription possibilities without complicating PLC4X end too much. If subscription support is similar (alarm, mode, user) and available only in higher end models then we can live with current APIs, but if subscription support vary between models we need to think how to express that to end user. After all doing a subscription request which fails is least effective way to find that driver and connected plc does not support specific subscription kind. Best, Łukasz śr., 17 lis 2021 o 06:43 Cesar Garcia <[email protected]> napisał(a): > Hello, > > This PR includes the following features for the S7 driver. > > 1. Subscribe to Alarm8. > 2. Recognition of events. > 3. Alarm text processing. > 4. Subscription to cyclical values. > 5. Diagnostic Record Readings (SZL). > 6. Proposal for documentation. > > Thank you very much for your support in the documentation proposal, several > sections are missing, but I think your observations are extremely > important. > > Best regards, > > -- > *CEOS Automatización, C.A.* > *GALPON SERVICIO INDUSTRIALES Y NAVALES FA, C.A.,* > *PISO 1, OFICINA 2, AV. RAUL LEONI, SECTOR GUAMACHITO,* > > *FRENTE A LA ASOCIACION DE GANADEROS,BARCELONA,EDO. ANZOATEGUI* > *Ing. César García* > > *Cel: +58 414-760.98.95* > > *Hotline Técnica SIEMENS: 0800 1005080* > > *Email: [email protected] > <[email protected]>* >
