Commit graph

37 commits

Author SHA1 Message Date
d145a51671 Improved comments 2014-08-29 16:13:05 +00:00
be86c13ffa ModbusClient.cin
Improved comments
2014-08-29 15:57:56 +00:00
63f252d32e ModbusClient.cin
Improved comments
  Added functionality for Modbus Exception 0x05 (ACK)

ModbusClient.cin
ModbusStructs.cin
  Moved Modbus Exception descriptions from ModbusClient.cin to ModbusStructs.cin
2014-08-29 15:25:22 +00:00
f97e0c7481 ModbusStructs.cin
Improved comments
2014-08-29 15:07:40 +00:00
eb6d28c71b Rename generated.dbc and generated.vsysvar into Modbus.*
DeviceInformation.cin
  struct device now contains all 4 bytes of the IP as fields

MakeConfig.can
  Improved code and comments

MakeConfig.can
PollingModbusClient.can
  Removed the subnetting stuff. We simply can add the net to the node name
2014-08-29 14:55:20 +00:00
0403165da5 Added idle Modbus client 2014-07-20 10:47:21 +00:00
5e4c348fc1 2014-07-20 10:46:52 +00:00
35e434874a Improve Panel 2014-07-16 11:00:16 +00:00
a95e4d0245 Double size of panel 2014-07-15 16:47:43 +00:00
1c601ebb99 2014-07-15 16:47:29 +00:00
fa0c64aa32 TcpUdpEilCommon.cin
Resort enum SocketState. CLOSED is a quite good state, placed it above CONNECTING.
2014-07-15 12:46:24 +00:00
7704769468 ModbusClient.cin
Fix some issues with sending and receiving packets

ModbusTcp.cin
  Don't assume the connection is ready when TcpOpen says so. Wait for OnTcpOpen() to confirm
2014-07-15 12:42:05 +00:00
6ddb12d98f Changed B&R receive window to 8 2014-07-14 10:32:08 +00:00
c851e7832a Added configuration that runs some tests with the stack 2014-07-14 10:27:37 +00:00
2d26d89db0 Implemented checks in ModbusWriteRegisters so that the upper bound of process image is not exceeded. 2014-07-14 10:27:04 +00:00
608ec48e47 Implemented checks in ModbusWriteBits that the upper bound of process image is not exceeded. 2014-07-14 10:20:47 +00:00
752f282c3a Added defaults to switch statements 2014-07-14 09:37:21 +00:00
723a6bacc7 Included and adjusted the Panel from Airbus (DEU Power) 2014-07-11 11:34:18 +00:00
84ab39d5b3 ModbusClient.cin
Counting the send attempts to reject packets that cannot be send (e.g. wrong network)

MakeConfig.can
  Introduced options (skip255 and useThirdIpNameForNodeName)
2014-07-11 11:32:02 +00:00
caf58bd7d6 ModbusClient.cin
Improved _ModbusReadBits and _ModbusReadRegisters: Check address and curCount against device information
2014-07-10 07:58:18 +00:00
3e3a24a2a3 DeviceInformation.cin
Improved device structure
2014-07-10 07:56:55 +00:00
decc7357e7 DeviceInformation.cin
Moved device information into structure
PollingModbusClient.can
  Use device structure
ModbusClient.cin
  Use device structure and enum ModbusFuncCode

ModbusEil.cin
ModbusTcp.cin
  Fixes
2014-07-08 11:38:32 +00:00
7b08b19840 Minor changes 2014-07-07 10:24:11 +00:00
2df8f31eb7 Moved all sysvars to PollingModbusClient.can
Fixed bug when splitting Modbus write requests
2014-07-04 11:29:18 +00:00
b6f211d5d3 Prefixed "private" functions with underscore 2014-07-04 10:59:58 +00:00
bf03b46d34 Improve comments 2014-07-04 09:57:03 +00:00
1e893112dd Airbus Panels 2014-06-20 10:46:06 +00:00
32c009aa98 Added comments
Refactured Layer 4
2014-06-20 10:45:41 +00:00
8c7dae6169 Added mapping stuff 2014-06-17 18:23:42 +00:00
409f2327c6 2014-06-17 16:41:05 +00:00
2279ff04b0 DeviceInformation.cin
Added default value of 1 to gDevReceiveWindow because gtRobin would do anything in MakeConfig
2014-06-17 14:28:29 +00:00
93dd56469d ModbusClientCommon.cin
Introduced loops to automatically split requests that are too large for Modbus

ModbusClient.can
  Modified Modbus events so that the split requests (see above) will be written at the correct position in sys vars

ModbusFunctions.cin
DeviceInformation.cin
  Introduced new file that will handle most device specific things

ModbusStructs.cin
  Introduced new constants with maximum Modbus values

MakeConfig.can
  Increment IP address with swapDWord
  Moved detection stuff to DeviceInformation.cin
2014-06-17 14:21:45 +00:00
9dc7ffd47d ModbusClient.can
MakeConfig.can
  Added 
ModbusClientCommon.cin
  Introduced different functions for ModbusFuncCode 0x01 and 0x02. B&R handles them differently
2014-06-16 12:50:35 +00:00
4e40928ff9 2014-06-16 07:23:21 +00:00
f04e31f35e Use values from 0x1022..0x1025 to get the number of IOs 2014-06-12 17:01:37 +00:00
57ea11238f Comments in MakeConfig.can 2014-06-12 15:28:05 +00:00
41ba4a3fd5 Renamed project Modbus to Modbus-CAPL 2014-05-27 12:32:27 +00:00