[GitHub] [plc4x] modraedlau opened a new issue, #568: (plc4j opcua driver) Unable to read when node id contains unicode characters

2022-11-02 Thread GitBox
modraedlau opened a new issue, #568: URL: https://github.com/apache/plc4x/issues/568 Unable to read when node id contains unicode characters. For example: The nodeid is `ns=2;s=设备1`, the read result will be `NOT_FOUND`. Look at the generated class

[GitHub] [plc4x] SteinOv opened a new issue, #710: modbus-tcp Write Request coil always set to false

2022-12-22 Thread GitBox
SteinOv opened a new issue, #710: URL: https://github.com/apache/plc4x/issues/710 This is a bug that is new in release 0.10.0 and did not exist in 0.9.1. When doing a write request for a modbus coil, the coil is always set to false, no matter the value given. it can be

[GitHub] [plc4x] SteinOv commented on issue #710: modbus-tcp Write Request coil always set to false

2022-12-22 Thread GitBox
SteinOv commented on issue #710: URL: https://github.com/apache/plc4x/issues/710#issuecomment-1362874176 Found where this is configured (src/main/resources/protocols/modbus/modbus.mspec). According to the git history this was a fix for another bug: fix(protocols/modbus): PLC4X-335:

[GitHub] [plc4x] SteinOv commented on issue #710: modbus-tcp Write Request coil always set to false

2022-12-22 Thread GitBox
SteinOv commented on issue #710: URL: https://github.com/apache/plc4x/issues/710#issuecomment-1362763771 I found the cause of the bug! On line 144 in the write() method in ModbusTcpProtocolLogic there is a ModbusPDU object called requestPdu. This object has a field "value" which is a

[GitHub] [plc4x] SteinOv commented on issue #710: modbus-tcp Write Request coil always set to false

2022-12-22 Thread GitBox
SteinOv commented on issue #710: URL: https://github.com/apache/plc4x/issues/710#issuecomment-1362801011 The problem seems to be that in the generated class DataItem a boolean is assigned 2 bytes instead of 1. I can't seem to figure out where this originates though. So if anyone has an

[GitHub] [plc4x] hongjinlin commented on issue #664: S7-200 is not supported?

2022-12-25 Thread GitBox
hongjinlin commented on issue #664: URL: https://github.com/apache/plc4x/issues/664#issuecomment-1364974282 @nmgwr It's now supported at the develop branch, please try with the param "?controller-type=S7_200”. Welcome to feedback if you still have any problems. -- This is an

[GitHub] [plc4x] SteinOv commented on issue #713: [Bug]: Camel integration, connection initiated in constructor of Endpoint

2022-12-28 Thread GitBox
SteinOv commented on issue #713: URL: https://github.com/apache/plc4x/issues/713#issuecomment-1366557700 PR created, waiting for review. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the

[GitHub] [plc4x] SteinOv opened a new issue, #716: [Feature Request]: Apache Camel Consumer repeated polling

2022-12-28 Thread GitBox
SteinOv opened a new issue, #716: URL: https://github.com/apache/plc4x/issues/716 ### What would you like to happen? It would be useful if the Plc4XConsumer would be able to poll the state of tags every x seconds/milliseconds. There is the possibility of adding a "trigger" with a

[GitHub] [plc4x] nmgwr commented on issue #664: S7-200 is not supported?

2022-12-27 Thread GitBox
nmgwr commented on issue #664: URL: https://github.com/apache/plc4x/issues/664#issuecomment-1366305375 @chrisdutz In some industrial control systems in China, a large number of low-end PLCs use the s7-200. I think the author's development branch supports it. Let me try -- This is an

[GitHub] [plc4x] chzhm159 opened a new issue, #714: [Feature Request]: 建议(Suggestion)参考 NI OPC Server (National Instruments OPC Server) 与 Labview 的交互方式(Shared Variables)

2022-12-27 Thread GitBox
chzhm159 opened a new issue, #714: URL: https://github.com/apache/plc4x/issues/714 ### What would you like to happen? 软件架构可以参考 NI OPC Server (National Instruments OPC Server) 与 Labview 的交互方式(Shared Variables). (The software architecture can refer to the interaction between NI

[GitHub] [plc4x] nmgwr commented on issue #664: S7-200 is not supported?

2022-12-27 Thread GitBox
nmgwr commented on issue #664: URL: https://github.com/apache/plc4x/issues/664#issuecomment-1366305547 @heyoulin thank you -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment.

[GitHub] [plc4x] nmgwr commented on issue #664: S7-200 is not supported?

2022-12-27 Thread GitBox
nmgwr commented on issue #664: URL: https://github.com/apache/plc4x/issues/664#issuecomment-1366305767 @heyoulin thank you,i try, thank you -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the

[GitHub] [plc4x] kdxq opened a new issue, #722: [Feature Request]: is there any example about plc4x-server and plc4-driver?

2022-12-30 Thread GitBox
kdxq opened a new issue, #722: URL: https://github.com/apache/plc4x/issues/722 ### What would you like to happen? I have been tracking the new features of the plc4x. I like it. The new version has the plc4x-server, but I haven't seen any related examples. Can you add an example for

[GitHub] [plc4x] hutcheb commented on issue #714: [Feature Request]: 建议(Suggestion)参考 NI OPC Server (National Instruments OPC Server) 与 Labview 的交互方式(Shared Variables)

2023-01-01 Thread GitBox
hutcheb commented on issue #714: URL: https://github.com/apache/plc4x/issues/714#issuecomment-1368401824 Hi chzhm159, The NI OPC Server is primarily an OPC-DA server. There is no OPC-DA driver within PLC4X. However, I believe there is an optional package for the NI OPC server

[GitHub] [plc4x] chrisdutz commented on issue #703: [ADS] The encoding used for strings is incorrect

2022-12-20 Thread GitBox
chrisdutz commented on issue #703: URL: https://github.com/apache/plc4x/issues/703#issuecomment-1359257202 I guess you should probably have a look at the ads.mspec document in /protocols/ads ... there find the DataItem definition and update the encoding of the types. However you

[GitHub] [plc4x] chzhm159 commented on issue #714: [Feature Request]: 建议(Suggestion)参考 NI OPC Server (National Instruments OPC Server) 与 Labview 的交互方式(Shared Variables)

2023-01-06 Thread GitBox
chzhm159 commented on issue #714: URL: https://github.com/apache/plc4x/issues/714#issuecomment-1373326534 使用 Java 举例,PLC 使用 KEYENCE KV-7500,读取一个32位有符号整数. Using Java as an example, PLC uses KEYENCE KV-7500 to read a 32-bit signed integer. First step: configuration

[GitHub] [plc4x] nmgwr opened a new issue, #731: [Feature Request]: Can the s7-200-cn plc support it?

2023-01-06 Thread GitBox
nmgwr opened a new issue, #731: URL: https://github.com/apache/plc4x/issues/731 ### What would you like to happen? Can the s7-200-cn plc support it? ![Uploading image.png…]() ### Programming Languages - [X] plc4j - [ ] plc4go - [ ] plc4c - [ ] plc4net

[GitHub] [plc4x] nmgwr commented on issue #731: [Feature Request]: Can the s7-200-cn plc support it?

2023-01-06 Thread GitBox
nmgwr commented on issue #731: URL: https://github.com/apache/plc4x/issues/731#issuecomment-1373452869 ![image](https://user-images.githubusercontent.com/32054165/210990935-61ea979b-f780-4253-a51b-42e604b6074e.png) -- This is an automated message from the Apache Git Service. To

[GitHub] [plc4x] nmgwr commented on issue #731: [Feature Request]: Can the s7-200-cn plc support it?

2023-01-06 Thread GitBox
nmgwr commented on issue #731: URL: https://github.com/apache/plc4x/issues/731#issuecomment-1373494086 String connectionString = "s7://192.168.33.203?remote-rack=0=1=S7_200"; this is my connectionString. Anyway, I would like to thank you for your reply. Plc4x is a great

[GitHub] [plc4x] chrisdutz commented on issue #731: [Feature Request]: Can the s7-200-cn plc support it?

2023-01-06 Thread GitBox
chrisdutz commented on issue #731: URL: https://github.com/apache/plc4x/issues/731#issuecomment-1373455681 Well ... so far we haven't implemented a S7 protocol via serial ... in theory it should be possible to do so, but I would say that out-of-the-box the current driver doesn't support

[GitHub] [plc4x] nmgwr commented on issue #731: [Feature Request]: Can the s7-200-cn plc support it?

2023-01-06 Thread GitBox
nmgwr commented on issue #731: URL: https://github.com/apache/plc4x/issues/731#issuecomment-1373463246 https://github.com/s7connector/s7connector I tried to use this driver to read and write, but there are bugs in this driver -- This is an automated message from the Apache Git

[GitHub] [plc4x] nmgwr commented on issue #731: [Feature Request]: Can the s7-200-cn plc support it?

2023-01-06 Thread GitBox
nmgwr commented on issue #731: URL: https://github.com/apache/plc4x/issues/731#issuecomment-1373465751 If you want to support the s7 200 cn in the future, I hope I can help you! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub

[GitHub] [plc4x] nmgwr commented on issue #731: [Feature Request]: Can the s7-200-cn plc support it?

2023-01-06 Thread GitBox
nmgwr commented on issue #731: URL: https://github.com/apache/plc4x/issues/731#issuecomment-1373464930 ![image](https://user-images.githubusercontent.com/32054165/210997983-af710318-929b-4fd3-b70e-e717e414bb3c.png) type is S200 -- This is an automated message from the Apache Git

[GitHub] [plc4x] nmgwr commented on issue #731: [Feature Request]: Can the s7-200-cn plc support it?

2023-01-06 Thread GitBox
nmgwr commented on issue #731: URL: https://github.com/apache/plc4x/issues/731#issuecomment-1373469256 The s7 200 smart is indeed supported by the test of the development branch I used. S7 200 cn reports the following error: java.io.IOException: Connection reset by peer

[GitHub] [plc4x] nmgwr closed issue #731: [Feature Request]: Can the s7-200-cn plc support it?

2023-01-06 Thread GitBox
nmgwr closed issue #731: [Feature Request]: Can the s7-200-cn plc support it? URL: https://github.com/apache/plc4x/issues/731 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment.

[GitHub] [plc4x] chrisdutz commented on issue #731: [Feature Request]: Can the s7-200-cn plc support it?

2023-01-06 Thread GitBox
chrisdutz commented on issue #731: URL: https://github.com/apache/plc4x/issues/731#issuecomment-1373482494 If you want to use the S7200 smart thing ... you need to tell the driver about the type of plc, so it will not ask the PLC. Because in case of the S7200 it just hangs up (which you

[GitHub] [plc4x] chrisdutz commented on issue #731: [Feature Request]: Can the s7-200-cn plc support it?

2023-01-06 Thread GitBox
chrisdutz commented on issue #731: URL: https://github.com/apache/plc4x/issues/731#issuecomment-1373479664 Well the "host" and "port" on the above code snippet implicates a network connection ... the picture you sent indicates a serial communication. And yes... from a quick look at the

[GitHub] [plc4x] SteinOv commented on issue #716: [Feature Request]: Apache Camel Consumer repeated polling

2023-01-04 Thread GitBox
SteinOv commented on issue #716: URL: https://github.com/apache/plc4x/issues/716#issuecomment-1370916549 I just remembered this was stated in de docs: `The consumer supports one-time reading or Triggered Reading. (_Schedulded Reading using Period only soon_).` If I understand

[GitHub] [plc4x] chrisdutz commented on issue #716: [Feature Request]: Apache Camel Consumer repeated polling

2023-01-03 Thread GitBox
chrisdutz commented on issue #716: URL: https://github.com/apache/plc4x/issues/716#issuecomment-1369780749 I do think that in general it should be polling and subscription based triggers are an option ... becaust initially almost no protocol supported subscriptions. -- This is an

[GitHub] [plc4x] SteinOv commented on issue #716: [Feature Request]: Apache Camel Consumer repeated polling

2023-01-03 Thread GitBox
SteinOv commented on issue #716: URL: https://github.com/apache/plc4x/issues/716#issuecomment-1369823999 Hmm, I'm having trouble understanding what you mean. Are you saying that what I'm describing already exists? -- This is an automated message from the Apache Git Service. To respond to

[GitHub] [plc4x] SteinOv commented on issue #716: [Feature Request]: Apache Camel Consumer repeated polling

2023-01-03 Thread GitBox
SteinOv commented on issue #716: URL: https://github.com/apache/plc4x/issues/716#issuecomment-1369837802 Okay, thanks. I'll send an email to the mailing list to see if someone could help me in getting this to work. -- This is an automated message from the Apache Git Service. To respond

[GitHub] [plc4x] chrisdutz commented on issue #716: [Feature Request]: Apache Camel Consumer repeated polling

2023-01-03 Thread GitBox
chrisdutz commented on issue #716: URL: https://github.com/apache/plc4x/issues/716#issuecomment-1369828016 I think: yes ... because otherwise the component wouldn't have done anything before. -- This is an automated message from the Apache Git Service. To respond to the message, please

[GitHub] [plc4x] SteinOv opened a new issue, #713: [Bug]: Camel integration, connection initiated in constructor of Endpoint

2022-12-27 Thread GitBox
SteinOv opened a new issue, #713: URL: https://github.com/apache/plc4x/issues/713 ### What happened? In the Apache Camel integration the connection is established in the constructor of Plc4XEndpoint instead of the doStart() method in the Plc4XConsumer/Plc4XProducer. Although this is

[GitHub] [plc4x] SteinOv commented on issue #713: [Bug]: Camel integration, connection initiated in constructor of Endpoint

2022-12-27 Thread GitBox
SteinOv commented on issue #713: URL: https://github.com/apache/plc4x/issues/713#issuecomment-1365839462 .take-issue -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To

[GitHub] [plc4x] floka94 opened a new issue, #701: Cannot write singe BOOL or BYTE to PLC with Object PLC Mapping

2022-12-15 Thread GitBox
floka94 opened a new issue, #701: URL: https://github.com/apache/plc4x/issues/701 I am trying to write a single BOOL value to a Siemens S7-400 PLC with the OPM Feature. Here is my Entity: ```java @PlcEntity public class NewDataSetReady {

[GitHub] [plc4x] floka94 opened a new issue, #702: Cannot read REAL value from S7-1500 with PLC4J

2022-12-19 Thread GitBox
floka94 opened a new issue, #702: URL: https://github.com/apache/plc4x/issues/702 I cannot read REAL values from a S7-1500 with PLC4J with version 0.10.0. I get the following error from the PLC4J Lib: ```bash Caused by: java.lang.NullPointerException: Cannot invoke

[GitHub] [plc4x] inosik opened a new issue, #703: [ADS] The encoding used for strings is incorrect

2022-12-19 Thread GitBox
inosik opened a new issue, #703: URL: https://github.com/apache/plc4x/issues/703 I noticed that PLC4X uses UTF-8 encoding to read/write strings to ADS devices. According to [Beckhoffs

[GitHub] [plc4x] chrisdutz commented on issue #702: Cannot read REAL value from S7-1500 with PLC4J

2022-12-20 Thread GitBox
chrisdutz commented on issue #702: URL: https://github.com/apache/plc4x/issues/702#issuecomment-1358996088 The odd thing is that I have a test with an S7-1200 to test all data-types ... this is a regular data-type which my PLC supports and I couldn't see any problems. Also that

[GitHub] [plc4x] chrisdutz commented on issue #703: [ADS] The encoding used for strings is incorrect

2022-12-20 Thread GitBox
chrisdutz commented on issue #703: URL: https://github.com/apache/plc4x/issues/703#issuecomment-1358994209 Should be pretty simple to change ... thanks for reporting this. Would you be willing to provide a Pull-Request with a fix? -- This is an automated message from the Apache Git

[GitHub] [plc4x] chrisdutz commented on issue #701: Cannot write singe BOOL or BYTE to PLC with Object PLC Mapping

2022-12-20 Thread GitBox
chrisdutz commented on issue #701: URL: https://github.com/apache/plc4x/issues/701#issuecomment-1358996762 Admittedly the person who wrote this part of PLC4J is currently not really active anymore ... would this be something you would be willing to look into? -- This is an automated

[GitHub] [plc4x] chrisdutz commented on issue #694: Implement custom exception handling in TriggeredScraperTask

2022-12-20 Thread GitBox
chrisdutz commented on issue #694: URL: https://github.com/apache/plc4x/issues/694#issuecomment-1358999111 Yeah ... unfortunately the scraper is sort of a part we are planning on rewriting as the original author is no longer seriously active here and we're not too happy with parts of it.

[GitHub] [plc4x] floka94 opened a new issue, #695: Invalid url for TCP transport

2022-12-15 Thread GitBox
floka94 opened a new issue, #695: URL: https://github.com/apache/plc4x/issues/695 I try to connect to a S7 PLC on Slot 3. I tried several connection strings: ```java "s7://172.16.0.12/0/3" "s7://172.16.0.12/0/3?controller-type=S7_400"

[GitHub] [plc4x] chrisdutz commented on issue #695: Invalid url for TCP transport

2022-12-15 Thread GitBox
chrisdutz commented on issue #695: URL: https://github.com/apache/plc4x/issues/695#issuecomment-1353022817 Which version of PLC4X are you using? I think we've changed that rack and slot setting to use a default and to be overridable via query options ... please have a look here:

[GitHub] [plc4x] floka94 closed issue #695: Invalid url for TCP transport

2022-12-15 Thread GitBox
floka94 closed issue #695: Invalid url for TCP transport URL: https://github.com/apache/plc4x/issues/695 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe,

[GitHub] [plc4x] floka94 commented on issue #695: Invalid url for TCP transport

2022-12-15 Thread GitBox
floka94 commented on issue #695: URL: https://github.com/apache/plc4x/issues/695#issuecomment-1353029752 I use version 0.10.0. Ah thank you very much! It seems I used an outdated code example! Now everything is working as expected! -- This is an automated message from the Apache

[GitHub] [plc4x] inosik commented on issue #703: [ADS] The encoding used for strings is incorrect

2022-12-20 Thread GitBox
inosik commented on issue #703: URL: https://github.com/apache/plc4x/issues/703#issuecomment-1359182654 Sure, I‘d be happy to fix this! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the

[GitHub] [plc4x] frido opened a new issue, #694: Implement custom exception handling in TriggeredScraperTask

2022-12-14 Thread GitBox
frido opened a new issue, #694: URL: https://github.com/apache/plc4x/issues/694 If there is exception while scraping, the exception is logged on the DEBUG level.

[GitHub] [plc4x] heyoulin commented on issue #646: NettyChannelFactory.closeEventLoopForChannel never returns

2022-11-21 Thread GitBox
heyoulin commented on issue #646: URL: https://github.com/apache/plc4x/issues/646#issuecomment-1322927009 try my fork: https://github.com/spnettec/plc4x -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to

[GitHub] [plc4x] chrisdutz commented on issue #664: S7-200 is not supported?

2022-11-21 Thread GitBox
chrisdutz commented on issue #664: URL: https://github.com/apache/plc4x/issues/664#issuecomment-1323064310 Anything in that firm, that you would like to contribute back to the project? -- This is an automated message from the Apache Git Service. To respond to the message, please log on

[GitHub] [plc4x] chrisdutz commented on issue #646: NettyChannelFactory.closeEventLoopForChannel never returns

2022-11-21 Thread GitBox
chrisdutz commented on issue #646: URL: https://github.com/apache/plc4x/issues/646#issuecomment-1323065853 Anything in that fork, that you would like to contribute back to the project? -- This is an automated message from the Apache Git Service. To respond to the message, please log on

[GitHub] [plc4x] heyoulin commented on issue #664: S7-200 is not supported?

2022-11-21 Thread GitBox
heyoulin commented on issue #664: URL: https://github.com/apache/plc4x/issues/664#issuecomment-1322925451 try my fork: https://github.com/spnettec/plc4x -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above

[GitHub] [plc4x] modraedlau commented on issue #568: (plc4j opcua driver) Unable to read when node id contains unicode characters

2022-11-23 Thread GitBox
modraedlau commented on issue #568: URL: https://github.com/apache/plc4x/issues/568#issuecomment-1324966843 I submitted a pull request:[fix(plc4j/opcua): not to get String.length but to calculate length in...](https://github.com/apache/plc4x/pull/668) -- This is an automated message from

[GitHub] [plc4x] hutcheb commented on issue #667: "Unable to Close 'broken' Connection" when extracting data from Rockwell PLC 1756-EN2T

2022-11-23 Thread GitBox
hutcheb commented on issue #667: URL: https://github.com/apache/plc4x/issues/667#issuecomment-1325345973 Hi johanngil, That's awesome that you built the logix_develop branch :) It looks as though you are trying to use the opcua driver to communicate with it. The connection

[GitHub] [plc4x] hutcheb commented on issue #667: "Unable to Close 'broken' Connection" when extracting data from Rockwell PLC 1756-EN2T

2022-11-23 Thread GitBox
hutcheb commented on issue #667: URL: https://github.com/apache/plc4x/issues/667#issuecomment-1325350400 Sorry, also just realized I gave you bad information, it is the eip_update branch that is more up to date. https://github.com/apache/plc4x/pull/405 -- This is an automated

[GitHub] [plc4x] modraedlau closed issue #568: (plc4j opcua driver) Unable to read when node id contains unicode characters

2022-11-23 Thread GitBox
modraedlau closed issue #568: (plc4j opcua driver) Unable to read when node id contains unicode characters URL: https://github.com/apache/plc4x/issues/568 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to

[GitHub] [plc4x] chrisdutz opened a new issue, #669: Ensure the KNX date and time fields are defined correctly

2022-11-24 Thread GitBox
chrisdutz opened a new issue, #669: URL: https://github.com/apache/plc4x/issues/669 In KNX a Time needs to be mapped to a DATE_AND_TIME type according to 03_07_02 Datapoint Types v01.08.02 AS.pdf and in genereal I think we should really review our MSPEC and XSLTs for KNX that they

[GitHub] [plc4x] chrisdutz opened a new issue, #670: Define the LDATE_AND_TIME type for S7

2022-11-24 Thread GitBox
chrisdutz opened a new issue, #670: URL: https://github.com/apache/plc4x/issues/670 S7 Devices should support a LDATE_AND_TIME data type, however I haven't found a clear description of the way the data is encoded. Would be cool, if someone could look into this.

[GitHub] [plc4x] dremsol commented on issue #605: Reading long Int Array

2022-11-16 Thread GitBox
dremsol commented on issue #605: URL: https://github.com/apache/plc4x/issues/605#issuecomment-1317172717 Actually I tried with an array of WORD[400]. Splitting the readRequestBuilder into 4 arrays of WORD[100] works perfectly fine. ``` PlcReadRequest.Builder builder =

[GitHub] [plc4x] dremsol opened a new issue, #659: Kafka on-change/hysteresis support

2022-11-18 Thread GitBox
dremsol opened a new issue, #659: URL: https://github.com/apache/plc4x/issues/659 Currently the Kafka Connect integration supports polling-based data acquisition. This results in duplicate messages when values don't change. Although some drivers support subscription not all devices seem to

[GitHub] [plc4x] hutcheb commented on issue #659: Kafka on-change/hysteresis support

2022-11-18 Thread GitBox
hutcheb commented on issue #659: URL: https://github.com/apache/plc4x/issues/659#issuecomment-1320030863 Hi Willem, Each driver has the canRead, canWrite and canSubscribe attributes, these can be used to decide between using a subscription based connection and a read connection.

[GitHub] [plc4x] dremsol commented on issue #626: java.lang.ClassCastException: DefaultPlcSubscriptionField cannot be cast to class OpcuaField

2022-11-18 Thread GitBox
dremsol commented on issue #626: URL: https://github.com/apache/plc4x/issues/626#issuecomment-1320241346 I have a similar error using `0.10.0` and S7 driver ``` [main] INFO org.apache.plc4x.java.PlcDriverManager - Instantiating new PLC Driver Manager with class loader

[GitHub] [plc4x] chrisdutz commented on issue #659: Kafka on-change/hysteresis support

2022-11-18 Thread GitBox
chrisdutz commented on issue #659: URL: https://github.com/apache/plc4x/issues/659#issuecomment-1320324456 We also have thought of implementing some "fake subscription" support based on polling, if a driver doesn't directly support subscriptions. However nobody ever volunteered to take on

[GitHub] [plc4x] chrisdutz commented on issue #663: plc4j-Write a value to the coil, and the result is INVALID_ ADDRESS

2022-11-20 Thread GitBox
chrisdutz commented on issue #663: URL: https://github.com/apache/plc4x/issues/663#issuecomment-1321578580 Well ... I have no Idea what type of address you used. From the release notes I can see that the modbus driver changed it's connection string. This is now "modbus-tcp" and no longer

[GitHub] [plc4x] isfangmk opened a new issue, #663: plc4j-Write a value to the coil, and the result is INVALID_ ADDRESS

2022-11-20 Thread GitBox
isfangmk opened a new issue, #663: URL: https://github.com/apache/plc4x/issues/663 On version 0.10.0, when testing modbus protocol, write a value to the coil, and the result is INVALID_ ADDRESS. However, it is normal to test the read/write function of the holding register. -- This is an

[GitHub] [plc4x] chrisdutz commented on issue #671: Implmement the Java ADS PlcValueHandler to use the right data-types

2022-11-25 Thread GitBox
chrisdutz commented on issue #671: URL: https://github.com/apache/plc4x/issues/671#issuecomment-1327422740 I currently added a hack, that allows writing data, in a way that if you pass in PlcValue objects, it will simply leave them unchanged, however they are not validated in any way. This

[GitHub] [plc4x] heyoulin commented on issue #664: S7-200 is not supported?

2022-11-25 Thread GitBox
heyoulin commented on issue #664: URL: https://github.com/apache/plc4x/issues/664#issuecomment-1327641090 Soory. I'm a bit busy recently, I will submit in few days -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the

[GitHub] [plc4x] chrisdutz commented on issue #664: S7-200 is not supported?

2022-11-21 Thread GitBox
chrisdutz commented on issue #664: URL: https://github.com/apache/plc4x/issues/664#issuecomment-1322254463 Well we don't have anyone with such a device. Theoretically it should be possible to extend an S7 200 with an ethernet module, however I guess nobody has ever tested it with that. So

[GitHub] [plc4x] nmgwr commented on issue #664: S7-200 is not supported?

2022-11-21 Thread GitBox
nmgwr commented on issue #664: URL: https://github.com/apache/plc4x/issues/664#issuecomment-1322252461 The Java version of the driver I use -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the

[GitHub] [plc4x] johanngil opened a new issue, #667: "Unable to Close 'broken' Connection" when extracting data from Rockwell PLC 1756-EN2T

2022-11-23 Thread GitBox
johanngil opened a new issue, #667: URL: https://github.com/apache/plc4x/issues/667 Dear community, With a recent (from Friday last week) build from PLC4X 0.11.0-SNAPSHOT (https://github.com/apache/plc4x/tree/logix_develop) we connected our Kafka environment through the PLC4X connector

[GitHub] [plc4x] ottlukas commented on issue #595: OPC UA Driver should support client certificates

2023-01-18 Thread GitBox
ottlukas commented on issue #595: URL: https://github.com/apache/plc4x/issues/595#issuecomment-1386972457 @hutcheb looked at it in 2021: For 0.9, certificates for encryption is not supported. For encryption, asymmetric encryption is used initially, the logic for this should work. It

[GitHub] [plc4x] marcoantigo commented on issue #595: OPC UA Driver should support client certificates

2023-01-18 Thread GitBox
marcoantigo commented on issue #595: URL: https://github.com/apache/plc4x/issues/595#issuecomment-1386966987 Are there any estimates on when this will be implemented? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use

[GitHub] [plc4x] SteinOv commented on issue #716: [Feature Request]: Apache Camel Consumer repeated polling

2023-01-19 Thread GitBox
SteinOv commented on issue #716: URL: https://github.com/apache/plc4x/issues/716#issuecomment-1397351408 @chrisdutz Hi Chris, I did not get a response from anyone after sending an email to the dev mailing list. I think time based polling is not supported, see my previous comment. Are

[GitHub] [plc4x] apoorv28goel commented on issue #722: [Feature Request]: is there any example about plc4x-server and plc4-driver?

2023-01-19 Thread GitBox
apoorv28goel commented on issue #722: URL: https://github.com/apache/plc4x/issues/722#issuecomment-1397312283 thanks a lot @chrisdutz . Can you give more examples of requests like how to browse , read and write to a device ? .I intend to make the server production grade. I will try to

[GitHub] [plc4x] apoorv28goel commented on issue #722: [Feature Request]: is there any example about plc4x-server and plc4-driver?

2023-01-19 Thread GitBox
apoorv28goel commented on issue #722: URL: https://github.com/apache/plc4x/issues/722#issuecomment-1397322604 i can see read and write are implemented. how to do I use those ? and example ? -- This is an automated message from the Apache Git Service. To respond to the message, please

[GitHub] [plc4x] apoorv28goel commented on issue #722: [Feature Request]: is there any example about plc4x-server and plc4-driver?

2023-01-19 Thread GitBox
apoorv28goel commented on issue #722: URL: https://github.com/apache/plc4x/issues/722#issuecomment-1397387117 okay thanks -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment.

[GitHub] [plc4x] apoorv28goel commented on issue #722: [Feature Request]: is there any example about plc4x-server and plc4-driver?

2023-01-19 Thread GitBox
apoorv28goel commented on issue #722: URL: https://github.com/apache/plc4x/issues/722#issuecomment-1397328488 alright i can give it a try. do you mean like "plc4x://{ip-of-the-plc4x-server}?{tag-address1,tag-address2} " to read 2 tags ? -- This is an automated message from the Apache Git

[GitHub] [plc4x] apoorv28goel commented on issue #722: [Feature Request]: is there any example about plc4x-server and plc4-driver?

2023-01-19 Thread GitBox
apoorv28goel commented on issue #722: URL: https://github.com/apache/plc4x/issues/722#issuecomment-1397093674 I am also looking for the same. It is very difficult to use the server without any kind of documentation. i have created a docker file for the PLC4X-Server but I am not able to

[GitHub] [plc4x] chrisdutz commented on issue #722: [Feature Request]: is there any example about plc4x-server and plc4-driver?

2023-01-19 Thread GitBox
chrisdutz commented on issue #722: URL: https://github.com/apache/plc4x/issues/722#issuecomment-1397333847 No ... like: `plc4x://{ip-of-the-plc4x-server}?remote-connection-string={url-encoded-connection-string}` And then using normal address strings for reading / writing.

[GitHub] [plc4x] chrisdutz commented on issue #722: [Feature Request]: is there any example about plc4x-server and plc4-driver?

2023-01-19 Thread GitBox
chrisdutz commented on issue #722: URL: https://github.com/apache/plc4x/issues/722#issuecomment-1397324597 I posed in my response, how you build the connection url and that you simply use the nomal address strings (like for local versions of the driver) -- This is an automated message

[GitHub] [plc4x] chrisdutz commented on issue #722: [Feature Request]: is there any example about plc4x-server and plc4-driver?

2023-01-19 Thread GitBox
chrisdutz commented on issue #722: URL: https://github.com/apache/plc4x/issues/722#issuecomment-1397323004 Yeah ... so if you ask the connection about it's features, it says "false" for subscriptions and browsing. Probably not too hard to add, if you want to give it a try? -- This is an

[GitHub] [plc4x] chrisdutz commented on issue #722: [Feature Request]: is there any example about plc4x-server and plc4-driver?

2023-01-19 Thread GitBox
chrisdutz commented on issue #722: URL: https://github.com/apache/plc4x/issues/722#issuecomment-1397305855 Ok ... the PLC4X Server is sort of an experiment ... should be pretty advanced state, if you use the Java Server. From what I see in the code I wrote some time ago, you simply

[GitHub] [plc4x] chrisdutz commented on issue #716: [Feature Request]: Apache Camel Consumer repeated polling

2023-01-20 Thread GitBox
chrisdutz commented on issue #716: URL: https://github.com/apache/plc4x/issues/716#issuecomment-1398095614 Well I am not sure we want to continue maintaining two versions of the plugin ... My plans were actually to delete it from the repo here before the next release. -- This is an

[GitHub] [plc4x] chrisdutz commented on issue #716: [Feature Request]: Apache Camel Consumer repeated polling

2023-01-20 Thread GitBox
chrisdutz commented on issue #716: URL: https://github.com/apache/plc4x/issues/716#issuecomment-1398096411 I'll contact the folks on the camel list again ... and see if I can have them have a look ... I would be happy to do so, but I don't have commit privileges there. -- This is an

[GitHub] [plc4x] chrisdutz commented on issue #716: [Feature Request]: Apache Camel Consumer repeated polling

2023-01-20 Thread GitBox
chrisdutz commented on issue #716: URL: https://github.com/apache/plc4x/issues/716#issuecomment-1398163803 As far as I understood it, it's camel asking the component to produce an "event" ... so the triggering is done from Camel and not PLC4X ... not sure if there are pushing camel

[GitHub] [plc4x] SteinOv commented on issue #716: [Feature Request]: Apache Camel Consumer repeated polling

2023-01-20 Thread GitBox
SteinOv commented on issue #716: URL: https://github.com/apache/plc4x/issues/716#issuecomment-1398186317 Okay, I'll look into it next week. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the

[GitHub] [plc4x] chrisdutz commented on issue #716: [Feature Request]: Apache Camel Consumer repeated polling

2023-01-20 Thread GitBox
chrisdutz commented on issue #716: URL: https://github.com/apache/plc4x/issues/716#issuecomment-1398100420 I'm actually not seeing your email to the camel list ... could you send me a lists.apache.org link to it, so I can refer to it?

[GitHub] [plc4x] nielsbasjes opened a new issue, #743: [Feature Request]: Reading blocks of registers

2023-01-15 Thread GitBox
nielsbasjes opened a new issue, #743: URL: https://github.com/apache/plc4x/issues/743 ### What would you like to happen? As requested by @chrisdutz a wireshark dump when requesting a set of correctly and incorrectly alligned sets of modbus registers. Notes about this trace:

[GitHub] [plc4x] nielsbasjes commented on issue #743: [Feature Request]: Reading blocks of registers

2023-01-15 Thread GitBox
nielsbasjes commented on issue #743: URL: https://github.com/apache/plc4x/issues/743#issuecomment-1383199805 [modbus-sunspec.zip](https://github.com/apache/plc4x/files/10420712/modbus-sunspec.zip) -- This is an automated message from the Apache Git Service. To respond to the message,

[GitHub] [plc4x] SteinOv closed issue #713: [Bug]: Camel integration, connection initiated in constructor of Endpoint

2023-01-20 Thread GitBox
SteinOv closed issue #713: [Bug]: Camel integration, connection initiated in constructor of Endpoint URL: https://github.com/apache/plc4x/issues/713 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to

[GitHub] [plc4x] SteinOv commented on issue #713: [Bug]: Camel integration, connection initiated in constructor of Endpoint

2023-01-20 Thread GitBox
SteinOv commented on issue #713: URL: https://github.com/apache/plc4x/issues/713#issuecomment-1398555696 Merged in Camel repository, closing this. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to

[GitHub] [plc4x] SteinOv closed issue #710: modbus-tcp Write Request coil always set to false

2023-01-20 Thread GitBox
SteinOv closed issue #710: modbus-tcp Write Request coil always set to false URL: https://github.com/apache/plc4x/issues/710 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To

[GitHub] [plc4x] SteinOv commented on issue #716: [Feature Request]: Apache Camel Consumer repeated polling

2023-01-20 Thread GitBox
SteinOv commented on issue #716: URL: https://github.com/apache/plc4x/issues/716#issuecomment-1398151095 I sent an email on the plc4x mailing list, since the Camel component was maintained here until recently. So, if anyone would know about the existing trigger functionality they would

[GitHub] [plc4x] chrisdutz commented on issue #716: [Feature Request]: Apache Camel Consumer repeated polling

2023-01-20 Thread GitBox
chrisdutz commented on issue #716: URL: https://github.com/apache/plc4x/issues/716#issuecomment-1398156000 Well ... you would need to create a PR for the camel repo ... then I could comment on it there. -- This is an automated message from the Apache Git Service. To respond to the

[GitHub] [plc4x] splatch commented on issue #568: (plc4j opcua driver) Unable to read when node id contains unicode characters

2022-11-03 Thread GitBox
splatch commented on issue #568: URL: https://github.com/apache/plc4x/issues/568#issuecomment-1302151843 @modraedlau It might be related to utf-8 vs utf-16. What's your platform jvm setting in this regard? -- This is an automated message from the Apache Git Service. To respond to the

[GitHub] [plc4x] ottlukas opened a new issue, #587: The connection pool should respect the entire URL

2022-11-09 Thread GitBox
ottlukas opened a new issue, #587: URL: https://github.com/apache/plc4x/issues/587 Currently the Connection pool only seems to work on the connection string but ignoring the parameters. As the parameters might contain important information (Rack & Slot for S7 or other things like the

[GitHub] [plc4x] ottlukas opened a new issue, #590: The RequestTransactionManagerTest.abortTransactionFromExternally seems to be a little flaky

2022-11-09 Thread GitBox
ottlukas opened a new issue, #590: URL: https://github.com/apache/plc4x/issues/590 The build on jenkins randomly seems to fail because of this test: RequestTransactionManagerTest.abortTransactionFromExternally ### Stacktrace java.lang.AssertionError at

[GitHub] [plc4x] ottlukas opened a new issue, #589: Exception on S7 disconnect

2022-11-09 Thread GitBox
ottlukas opened a new issue, #589: URL: https://github.com/apache/plc4x/issues/589 My PLC4J demo project at https://github.com/sewiendl/plc4j-demo yields the following output after/during disconnecting from the PLC:``` all requests took PT2M6.261S Nov 14, 2019 10:05:13 AM

[GitHub] [plc4x] ottlukas opened a new issue, #580: ADS Big-Endian Support

2022-11-09 Thread GitBox
ottlukas opened a new issue, #580: URL: https://github.com/apache/plc4x/issues/580 For some reason the response of the PLC seems not to be in *LITTLE_ENDIAN*  format. Therefore, the Byte to Integer conversion in [1] results in a negative number.   The issue occurs during the 

[GitHub] [plc4x] ottlukas opened a new issue, #582: Substitution of returning null-Values by throwing e.g. UnsupportedOperationException

2022-11-09 Thread GitBox
ottlukas opened a new issue, #582: URL: https://github.com/apache/plc4x/issues/582 abstract FieldItem class holds non abstract methods that return null values - this might cause strange behavior if some of the subClasses have not overridden those methods. It may be more intuitive

[GitHub] [plc4x] ottlukas opened a new issue, #583: Create a set of connection-tests that potentially could lead to crash or leak

2022-11-09 Thread GitBox
ottlukas opened a new issue, #583: URL: https://github.com/apache/plc4x/issues/583 set of connection-tests to * different drivers * different conditions (not available, avab then not avab, firewall issues) * heavy load * ... Imported from Jira

  1   2   >