Commit Graph

96 Commits

Author SHA1 Message Date
Jonny007-MKD 4e40928ff9 2014-06-16 07:23:21 +00:00
Jonny007-MKD f04e31f35e Use values from 0x1022..0x1025 to get the number of IOs 2014-06-12 17:01:37 +00:00
Jonny007-MKD 57ea11238f Comments in MakeConfig.can 2014-06-12 15:28:05 +00:00
Jonny007-MKD 23e0b8af56 EilDLL enhancements 2014-06-12 07:23:50 +00:00
Jonny007-MKD 13c03dd807 ModbusClientCommon.cin
Changed timer to support EilDll

ModbusStructs.cin
  Removed header from all structs

ModbusProtocol.cpp
  Fixed data length issue (l. 353)
  More precise info in InspectProtocol()
  New getter: GetAddrNCount()
2014-06-02 12:16:23 +00:00
Jonny007-MKD 95304c9216 ParsePacket() works 2014-05-30 15:14:33 +00:00
Jonny007-MKD 010e10f567 2014-05-28 14:37:39 +00:00
Jonny007-MKD 7dd0860785 Renamed folder VCSignalProtocolDLL to ModbusProtocolDLL 2014-05-28 14:34:53 +00:00
Jonny007-MKD c6fece1602 Finally the SLN 2014-05-28 14:32:07 +00:00
Jonny007-MKD b0c465c341 Changed VCSignalProtocol to ModbusProtocol
This is a first draft and it would be lucky if it worked
2014-05-28 14:27:53 +00:00
Jonny007-MKD cdd7f1352a Upgraded to VisualStudio 2010 2014-05-28 09:27:33 +00:00
Jonny007-MKD f26088b1eb Copied Modbus-CAPL and added VisualStudio project VCSignalProtocolDLL 2014-05-28 09:20:38 +00:00
Jonny007-MKD 41ba4a3fd5 Renamed project Modbus to Modbus-CAPL 2014-05-27 12:32:27 +00:00
Jonny007-MKD f88f9ec9d5 Renamed ModbusCommonStructs.cin to ModbusStructs.cin 2014-05-27 12:30:01 +00:00
Jonny007-MKD 7fc38537b3 MakeConfig.can
Added OnModbusClientPanics()
  better output

Common.cin
  Changed output sink to CAPL
2014-05-27 11:29:24 +00:00
Jonny007-MKD 3d9c1cca10 Merging branch writeDbg into trunk 2014-05-27 11:03:56 +00:00
Jonny007-MKD c06227db68 Merged branch EthernetIL back into trunk 2014-05-27 08:27:56 +00:00
Jonny007-MKD 9d0c136b08 include/CAPL/MakeConfig.can
Generate Config in SysVars using Config in MakeConfig
  Added Vendor
2014-05-26 11:58:28 +00:00
Jonny007-MKD bd545bd232 Moved files to new locations 2014-05-26 10:22:46 +00:00
Jonny007-MKD 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
Jonny007-MKD bcf79a7b27 Modbus/include/ModbusClientCommon.cin
Fix error in Exception handling

Fix other issues
2014-05-21 11:38:59 +00:00
Jonny007-MKD 087453d5c3 New project: MakeConfig
This project can generate SysVar definitions and CANdbs depending on IP addresses
2014-05-21 11:37:57 +00:00
Jonny007-MKD 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
Jonny007-MKD 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
Jonny007-MKD 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
Jonny007-MKD c43e3cef40 Modbus/include/ModbusCommonStructs.cin
aligned structs

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