Commit Graph

273 Commits

Author SHA1 Message Date
Robert von Burg 0788528793 [Fix] Synchronize I2C communication, so that message can't overtake each other 2020-04-17 11:17:48 +02:00
Robert von Burg d9f5132610 [Fix] Allow Action2 to be empty for output in PlcAddressGenerator 2020-04-15 13:08:38 +02:00
Robert von Burg cd2757a488 [New] PlcGwService.register(String, String) now returns PlcAddressKey 2020-04-15 13:08:23 +02:00
Robert von Burg 2f02bfec1c [New] PlcAddressGenerator now handles invert for inputs 2020-04-09 17:25:15 +02:00
Robert von Burg fbfdfeca58 [Fix] Trim values in PlcAddressGenerator 2020-04-08 16:44:41 +02:00
Robert von Burg 83be05028a [Fix] i18n fix 2020-04-08 16:44:16 +02:00
Robert von Burg 9626326904 [Fix] Added missing dependency strolch-plc-gw-server in bom 2020-04-06 20:49:54 +02:00
Robert von Burg aa4d8c4155 [New] Added new PlcConnection RSL366OverHorterI2c 2020-04-01 16:24:39 +02:00
Robert von Burg 0c5d9912a6 [New] Added PlcAddressResponse.state() chain method 2020-04-01 16:24:13 +02:00
Robert von Burg f009ab8179 [New] Added PlcGwService.register(String, String) 2020-04-01 16:23:47 +02:00
Robert von Burg a97fcac61a [Fix] Call listener in PlcGwService 2020-04-01 16:23:22 +02:00
Robert von Burg 9cfef69b24 [New] Implemented PlcTelegram message in PlcGwClientHandler 2020-04-01 16:22:41 +02:00
Robert von Burg 3a58dfcb0f [Major] PlcGwService.run* calls PlcGwServerHandler, using a configurable runAsUser 2020-04-01 16:22:07 +02:00
Robert von Burg 38fe3f8345 [Minor] Code cleanup 2020-04-01 16:19:16 +02:00
Robert von Burg 68c9507476 [Project] Updated the readme with a PlcService example 2020-04-01 11:43:31 +02:00
Robert von Burg 4e07fe99a0 [Project] PlcAddressGenerator uses SubTypes Pin, DevPin and DevPin0 2020-04-01 11:31:12 +02:00
Robert von Burg 70369fe85d [Project] Added more text to README.md 2020-03-31 08:45:17 +02:00
Robert von Burg 68ab1b4bd6 [Project] Added more text to README.md 2020-03-31 08:40:08 +02:00
Robert von Burg a32c7cd29b [Project] Add link to documentation 2020-03-30 22:43:14 +02:00
Robert von Burg 34f806e46a [New] Added RaspiBcmGpioInputConnection 2020-03-30 18:17:59 +02:00
Robert von Burg 487a354eb1 [Project] Added plc-bom 2020-03-30 18:17:42 +02:00
Robert von Burg a04fd71d0b [Major] Changed PlcAddressGenerator to handle different sub types (PCF8574, GPIO) for input or output 2020-03-30 18:17:24 +02:00
Robert von Burg d281fb0805 [Major] Moved PlcNotificationListener to gw-server 2020-03-30 18:16:34 +02:00
Robert von Burg f5a488fc38 [Minor] logger changes in DataLogicScannerConnection 2020-03-25 11:31:42 +01:00
Robert von Burg 7991f30fbd [Fix] Fixed PlcResponseState.isFailed to use Failed, not Sent enum 2020-03-19 08:26:32 +01:00
Robert von Burg a440fc18dd [New] Added PlcConstants.PARAM_ENABLED and .PARAM_WARNING 2020-03-16 17:12:31 +01:00
Robert von Burg ebfeca7c4d [New] Added PlcGwService.getComponent() 2020-03-16 17:12:08 +01:00
Robert von Burg ba13628be6 [Minor] Set silent threshold to 60ms 2020-03-03 15:59:41 +01:00
Robert von Burg 8f1aae0774 [Fix] Fixed broken tests 2020-02-28 17:03:45 +01:00
Robert von Burg d9dcb0e147 [Fix] Fixed broken tests 2020-02-28 17:03:32 +01:00
Robert von Burg e77f88256d [Major] No need to pass container into constructor for PlcGwService 2020-02-28 16:58:52 +01:00
Robert von Burg 4ceb856f7a [Major] Refactored PlcHandler.register() and unregister(), add .getContainer(), removed from svc constructor 2020-02-28 16:07:17 +01:00
Robert von Burg 65c30f47c9 [Fix] Fixed wrong name generated for output action 2 2020-02-28 16:06:10 +01:00
Robert von Burg 8dead3c65e [Minor] Set silentThreshold for TXs in DefaultPlcHandler to 100ms 2020-02-28 09:38:17 +01:00
Robert von Burg 960d30f4c6 [Fix] Don't update state on PlcHandler.send(), as we get notified by the PLC after sending anyhow 2020-02-28 09:37:47 +01:00
Robert von Burg 6e0f2e5075 [Minor] Use caller method as context for openTx in PlcService 2020-02-28 09:36:00 +01:00
Robert von Burg d9cbb7467f [Minor] No TX needed in SetPlcConnectionStateService 2020-02-28 09:24:36 +01:00
Robert von Burg 6205ccc8b9 [Minor] No TX needed in SendPlcAddressActionService 2020-02-28 09:23:35 +01:00
Robert von Burg f474c07d46 [New] PlcAddressGenerator doesn't require action2 for virtualBoolean anymore 2020-02-28 09:23:06 +01:00
Robert von Burg 9b29266d89 [Major] Refactored PlcAddressGenerator for DataLogicScanner 2020-02-27 14:44:12 +01:00
Robert von Burg 38686c0e2d [Minor] Logger changes 2020-02-27 12:46:43 +01:00
Robert von Burg 261282d490 [Minor] set silent threshold to 10ms 2020-02-27 11:53:33 +01:00
Robert von Burg 7cd97f4c4c [Major] Renamed PlcConnection.isConnectAtStartup() to isAutoConnect(), and use respectively 2020-02-26 20:02:52 +01:00
Robert von Burg 6f5fec4478 [Minor] Fixed broken test 2020-02-26 18:39:26 +01:00
Robert von Burg 2dbf92a971 [Major] Renamed Plc.register() and Plc.unregister(), logger cleanup, etc. 2020-02-26 09:38:13 +01:00
Robert von Burg 34ffaf6e70 [New] Added PlcConnection.isConnectAtStartup() 2020-02-26 09:37:01 +01:00
Robert von Burg ee94e5a5d7 [Fix] Handle multiple devices for I/O 2020-02-26 09:35:43 +01:00
Robert von Burg 03a1108b29 [New] Added simple DataLogic barcode scanner PlcConnection 2020-02-21 16:23:41 +01:00
Robert von Burg ac4287b4dd [Major] Refactored connections to use helper methods from PlcConnection, e.g. handleBrokenConnection() 2020-02-21 16:23:01 +01:00
Robert von Burg 164db50745 [Minor] Added validation that no two resources with same id may be generated 2020-02-21 14:44:52 +01:00