Commit graph

10 commits

Author SHA1 Message Date
bd545bd232 Moved files to new locations 2014-05-26 10:22:46 +00:00
e0a6d84a9f include/ModbusFunctions.cin
Write values to struct

MakeConfig.can
  Detect devices via IP port scan
  Analyze devices and generate sysVars appropriately

ModbusClientUDP.can
  Don't analyze devices because this has to be done in MakeConfig.can
2014-05-26 10:07:04 +00:00
bcf79a7b27 Modbus/include/ModbusClientCommon.cin
Fix error in Exception handling

Fix other issues
2014-05-21 11:38:59 +00:00
df4813e33d Modbus/include/ModbusClientCommon.cin
fixed decoding bits in OnModbusReceiveBits()

Modbus/ModbusClientUDP.can
  Enhanced client
    Timer that automatically refreshes the status
    Save received data in sysvars
2014-05-21 11:29:29 +00:00
dde6cef26f Modbus/include/ModbusClientCommon.cin
Removed the 9 seperate times
  Introduced pending, sent and ack stacks to allow concurrent requests
  Introduced timer gtRobin that monitors the stacks, sends the packets and checks for timeouts

Modbus/include/ModbusCommonStructs.cin
  added enum ModbusFuncCode

Modbus/include/ModbusFunctions.cin
  fixed analog modules

Modbus/include/TcpCommon.cin
  don't use local ip anymore

Modbus/ModbusClientUDP.can
  no state machine for reading configuration :)
2014-05-21 11:26:45 +00:00
2ed521dc48 Detect connected modules and count inputs and outputs 2014-05-15 16:40:08 +00:00
68e41595cb 2014-05-15 15:05:20 +00:00
74707e39ea Moved cin-files to include\ 2014-05-15 12:56:23 +00:00
8c9f78a0a9 Common.cin
Added hbin_to_strhex and dbin_to_strhex
ModbusClientCommon.cin
  Introduced timers to watch for timeouts
  Enhanced OnModbusReceive
  Added exception handling
  Added ModbusReadWriteRegisters and ModbusWriteMasks
2014-05-15 12:43:52 +00:00
2884b48093 Added events in ModbusClient*.can
Added length property for ModbusSend()
Introduced OnModbusReceive() called by OnTcpReceive() and OnUdpReceive()
2014-05-12 08:46:53 +00:00