Commit graph

7 commits

Author SHA1 Message Date
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