Topic: DMD0252 Module Configuration |
|
Some Intelligent I/O modules must be preconfigured before they can be used in a Do-more Designer project - for example a CTRIO modules must be configured within the System Configuration, and an ERMs must be configured with ERM Workbench, etc. Before these modules can be used in a project, Do-more Designer needs to know how the modules are configured. This information is stored in a Module Configuration.
A module configuration consists of a Name that will referenced by instructions that can use the module, a Type that defines the type of module configuration that is required to access the module, and a Location that specifies the base and slot where the module physically resides. The module's configuration creates a logical connection between the Do-more Designer project and the I/O module, thereby eliminating the need to use the physical Base & Slot addressing in the project.
At power-up, the Do-more controller will create a default module configuration for each Intelligent I/O module that requires one. The default Name for each of the configurations will be in the form <Type>_<Slot Number>, for example, a CTRIO module in slot 2 will have a default configuration called CTRIO_002. Because the modules have very different configuration, there is a type-specific editor for each type of module.
|
Module Name - this column displays the logical name assigned to the I/O module.
Type - this column displays the type of I/O module configuration used for the module in that Location
Location - this column displays the I/O Master, the Base and the Slot number of the I/O module. If a module configuration exists for a module that is not currently in the base the location will change to Disconnected.
|
|
|
|
Edit the Configuration for a CTRIO ModuleThis dialog facilitates the configuration of the CTRIO/CTRIO2 module for use in the Do-more controller CTRIO instructions.
Before the advent of Do-more Designer software, configuration of the CTRIO module was done by a free utility called CTRIO Workbench which could optionally store the CTRIO's configuration into a .CWB file. That utility is not needed with Do-more Designer. However, the dialog here will allow the import of previously stored .CWB files created by CTRIO Workbench. It will also allow the export of any CTRIO configuration done here to be exported to a CTRIO-Workbench-compatible .CWB file.
Another important feature of this configuration dialog is that it doesn't matter what configuration is stored in the CTRIO/CTRIO2 module themselves; whether they are freshly out-of-the-box or have previously stored configurations from CTRIO Workbench. Whatever configuration exists in the CTRIO/CTRIO2 module, it will be overwritten by the configuration in this dialog. This dialog does not write the CTRIO configuration to the CTRIO's ROM, but only its RAM. This is because the CTRIO's configuration is now stored as a permanent part of the Do-more controller's System Configuration.
After configuring the module the Name fields will have default names. These can optionally be given meaningful and unique names for each of the configured resources. The names will be used to automatically create Do-more Devices that will be available to the CTRIO instructions.
Module Configuration Name -
This name will become a Do-more Device
so be careful to choose a meaningful and unique name. Module names follow
Nickname rules
Info - Not an editable field, but gives information read directly from the CTRIO module.
To configure the CTRIO, make sure the CONFIGURATION NOTES are read and followed.
Total Blocks - The total number of memory blocks allocated for Discrete Tables and Pulse Profiles. The number of memory blocks used varies between Pulse Profiles and Discrete Tables.
Blocks Free - The total number of memory blocks not being used.
Export to CtrioWB File... (button): Once a satisfactory configuration is complete, pressing this button allows the exporting of this configuration to a classic CTRIO Workbench .CWB file.
Import from CtrioWB File... (button): Pressing this button allows the importing from a previously stored CTRIO-Workbench-compatible .CWB file.
Configure I/O... (button): Pressing this button pulls up the setup dialogs for configuring the CTRIO's input and output functions. To the right of this button the current configuration of the CTRIO module along with the default names is shown. Click here for help on Configure I/O.
Input Filters... (button): (CTRIO2 only) Pressing this button pulls up the setup dialog for configurating the input filter times. To the right of this button the current values for these filters are shown in for each CTRIO input in nanoseconds. Click here for help on Input Filters.
Discrete Tables... (button): Pressing this button pulls up the setup dialogs for configuring preset tables (CTRIO/CTRIO2) and PLS tables (CTRIO2 only) for CTRIO discrete outputs. Click here for help on Discrete Tables.
Pulse Profiles... (button): Pressing this button pulls up the setup dialogs for configuring profiles for CTRIO pulse outputs. Click here for help on Pulse Profiles.
|
|
Edit the Configuration for a SERIO ModuleModule Configuration Name -
The Module Configuration Name will become a Do-more
Device, be careful to choose a meaningful and unique name. Module
names follow Nickname rules
Port A / B / C Name - The port Name will become a Do-more Device, be careful to choose a meaningful and unique name.
|
Mode - designates the functional mode for each of the serial ports on the SERIO/4 module.
Because each mode has an associated device that is specific to that mode, changing the mode will cause the underlying device to be deleted and/or created as needed. Because the port device changes can have a significant impact on the System Configuration, they are not committed until the 'OK' or Apply' buttons are clicked by the programmer.
After selecting the Mode for a port, click the Apply button to commit that selection. At that point the programmer can click the Device Settings... button for that port to configure the Baud Rate, Parity, Station Address, etc., for that individual port.
Device Name - displays the logical name of the serial port Device
Port Settings
- set the serial port configuration
|
Device Name - displays the logical name of the serial port Device
K Sequence Protocol Settings
- configuration settings used when this Device responds to K-Sequence
Client requests:
Port Settings
|
Device Name - displays the logical name of the serial port Device
Modbus Protocol Settings - configuration
settings used when this Device responds to Modbus RTU Client requests:
Port Settings
|
Device Name - displays the logical name of the serial port Device
Modbus Protocol Settings - configuration settings used when this Device is used in a Modbus Network Read (MRX) or Modbus Network Write (MWX) instruction:
Port Settings
|
Device Name - displays the logical name of the serial port Device
Port Settings
|
|
ERM (Ethernet Remote Master) modules are DL205 modules that provide Ethernet connectivity to I/O in remote bases. The ERM modules do not require additional configuration within Do-more Designer, but they must be configured with ERM Workbench before they can operate correctly.
ERM modules are treated as legacy modules, meaning the ERM will place the I/O data read from the remote bases into DLX, DLY, DLC, and DLV memory in the Do-more controller, and data to be sent to the remote bases will be read from the same memory blocks.
Name - The ERM Name will become
a Device, be careful to choose a meaningful and unique name. The ERM name
must follow Nickname rules
Run ERM Workbench - click to launch the ERM Workbench utility
|
|
Edit ECOM or ECOM100 Configuration:
Note: the ECOM and ECOM100 modules are configured with NetEdit and do not require additional configuration within Do-more Designer to operate normally.
|
|
Handling Disconnected Module Configurations:When a Do-more controller is powered up, it looks through the System Configuration for Module Configurations. Then, for each Module Configuration that is found, it checks to see if the correct I/O module is still installed in the correct location. Disconnected module configurations appear for any slot that has a module configuration but the I/O module itself is missing or is not the correct module type for that configuration.
Note: the 'Module configuration changed at power up (ST134)' Info message will be generated and displayed in the System Information dialog, and 'Info' will be displayed on the Status Bar.
The screen capture shows a disconnected CTRIO module configuration.
|
Delete Config - is used to delete a disconnected module configuration. Highlight the disconnected configuration in the list and click the Delete button, confirm the delete operation on the subsequent dialog.
|
Assign Config - is used to connect a Disconnected module configuration to the I/O module in a designated location. Highlight the disconnected configuration in the list and click the Assign Config button. The Assign Module Config dialog will display a list of the I/O modules in locations that can be assigned to the selected module configuration. Highlight the I/O module in the list to use.
Module's current config should be ... - this option designates what to do with the module configuration of the target I/O module
Click OK to Assign the selected I/O module to the Module Configuration, then click Yes on the subsequent confirmation dialog to complete the operation.
Click Cancel to leave the current module configuration intact.
|
|
See Also:
|
|