Commit graph

32 commits

Author SHA1 Message Date
7fc38537b3 MakeConfig.can
Added OnModbusClientPanics()
  better output

Common.cin
  Changed output sink to CAPL
2014-05-27 11:29:24 +00:00
3d9c1cca10 Merging branch writeDbg into trunk 2014-05-27 11:03:56 +00:00
c06227db68 Merged branch EthernetIL back into trunk 2014-05-27 08:27:56 +00:00
9d0c136b08 include/CAPL/MakeConfig.can
Generate Config in SysVars using Config in MakeConfig
  Added Vendor
2014-05-26 11:58:28 +00:00
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
087453d5c3 New project: MakeConfig
This project can generate SysVar definitions and CANdbs depending on IP addresses
2014-05-21 11:37:57 +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
73e18085c3 Modbus/include/ModbusCommonStructs.cin
aligned structs

Modbus/include/UdpCommon.cin
  testing EthGetAdapterStatus before opening sockets
  don't use local ip for socket anymore
2014-05-21 10:55:57 +00:00
c43e3cef40 Modbus/include/ModbusCommonStructs.cin
aligned structs

Modbus/modbus.dbc
  Included Ethernet_IL.dll
2014-05-21 10:53:02 +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
ec17a10562 Remove %NODE_NAME% from variable names 2014-05-09 13:49:19 +00:00
7574cf9dd0 Still not working 2014-05-09 13:39:44 +00:00
b38cf4807e Renamed client files.
Not working!
2014-05-09 13:39:16 +00:00
d843a68116 2014-05-08 15:22:21 +00:00
f82756e670 Implemented UDP
Implemented TCP/UDP abstraction layer
2014-05-08 14:44:01 +00:00
c863dbd443 2014-05-08 14:08:33 +00:00
71c556b75c 2014-05-08 14:07:38 +00:00
4484ed15fb Modbus TCP Stack implemented 2014-05-08 13:34:28 +00:00
584a787814 Added network interface enumeration 2014-05-08 08:26:26 +00:00
340c950984 2014-05-07 10:13:24 +00:00
4fceb602a5 TCP Stack implemented 2014-05-07 08:47:00 +00:00
83103d679e Erster Test von Jörn 2014-05-07 08:46:08 +00:00
9041f0b0d2 2014-05-07 08:38:53 +00:00
29904713c2 First project 2014-05-07 08:36:26 +00:00
8be0ae52ab Init 2014-05-07 08:12:37 +00:00