Devices in catalog
Specific devices (like custom devices) have a different interface from the Generic Modbus Slave; selecting a device node from the project tree (previously added from the Catalog window), will display teh following inside the main window:
The General tab lets you set:
The objects shown in the window that appears after the Add button is pushed are all (and only) RW parameters contained in the device Modbus dictionary.You can set the order for sending parameters to the slave node by using the Up and Down buttons.
Once an object (a row) is added, you have to set:
You have to assign a variable to each line inserted by using one of the modes described below:
You have to assign a variable to each line inserted by using one of the modes described below:
- Name: name of the slave node.
- Modbus address: MODBUS address of slave node inside the network.
- Node number: value used by diagnostics tools to identify the slave node.
- TimeOut: time (ms) waited before the operation is considered failed (default = 1000 ms)
- Wait before send: time (ms) waited before executing a new operation; this value is added to the polling time of the parameter. (Default = 0 ms).
- Value: value to be assigned to Modbus object
- TimeOut: time (ms) waited before the operation is considered failed (default = 200 ms)
- Use the Assign button, click one of the Automatic variables (the type depends on the contents of the Type column) previously declared on the PLC. The variable will no longer appear in the Automatic variables list but will be mapped in the appropriate datablock.
- Directly declare a variable in the Label column (the type depends on the contents of the Type column); the variable will be created and mapped in the appropriate datablock.
- Contiguous Addresses
- Identical Polling time
- Homogeneous Type: USINT, BYTE, INT, UINT, WORD, DINT, UDINT, DWORD and REAL are homogeneous with regard to Modbus because they are all seen as one or more registers.
- Use the Assign button, click one of the Automatic variables (the type depends on the contents of the Type column) previously declared on the PLC. The variable will no longer appear in the Automatic variables list but will be mapped in the appropriate datablock.
- Directly declare a variable in the Label column (the type depends on the contents of the Type column); the variable will be created and mapped in the appropriate datablock.
- Contiguous Addresses
- Identical Polling time
- Homogeneous Type: USINT, BYTE, INT, UINT, WORD, DINT, UDINT, DWORD and REAL are homogeneous with regard to Modbus because they are all seen as one or more registers.