The device communication interface will read the .ini parameters regardless of the configured device model.
Important: It is strongly recommended that
entries in the .ini file be restricted
to devices with a model type of STAT_PLC or Generic
PLC.
Refer to the product documentation for instructions for creating the STAT_PLC model.
Create the Generic PLC model to use in a project using the Modbus Ethernet protocol
Click Tools>Command Prompt on the Workbench menu bar.
Type cd master in the Command Prompt window and press Enter.
Type idtpop model and press Enter.
Open model.idt in a text editor.
For example, type notepad model.idt and press Enter.
Add the following line:
MB_TCPIP|Generic PLC|180
Save model.idt and close the text editor.
Type scpop model at the command prompt and press Enter.
Close the Command Prompt window.
Perform a configuration update in the project's Workbench.
Note: The STAT_PLC model sizing is different
from the Generic PLC model if you
do one of the following.
Define the parameter UseTheseDomainSizes to be 0.
Do not specify all of the
domains.
Default Sizes
If STAT_PLC sizes are not defined
in the INI file the defaults are:
Max Coils |
32768 |
Max Input Status |
32768 |
Max Input Regs |
16384 |
Max Holding Regs |
16384 |
All other memory types have a size of 0.
If Generic PLC and other device
models sizes are not defined in the INI file the defaults are
determined by searching the memory in the PLC for the end
points.
Step 1.2.3. Step 1.2.3. Edit .INI Files. |