אוטומציה ובקרה – Create the Generic PLC Model
PLC is a digital computer used for automation of elector mechanical processes, such as control of machinery on factory assembly lines.
PLCs are usually programmed using application software (SW) on personal computers (PCs). The PC is connected to the PLC through Ethernet, RS-232, RS-485 or RS-422 cabling. Most PLCs used by smartlogic when designing an automation and control systems are the Siemens PLCs and Allen Bradley‘s.The programming SW allows entry and editing of the ladder-style logic. Generally the SW provides functions for debugging and troubleshooting the PLC software, for example, by highlighting portions of the logic to show current status during operation or via simulation. The SW will upload and download the PLC program, for backup and restoration purposes.
:This is how to create the generic PLC model
Important: Each device included in the project that will be using the alternate configuration must have a STAT_PLC model. If the STAT_PLC model is not selectable from the device configuration screen, it can be added to the CIMPLICITY configuration by editing the IC646TME000.MODEL configuration file located in the BSM_DATA subdirectory of the original CIMPLICITY distribution.
Add the following line to the file using a text editor.
MB_TCPIP|STAT_PLC|35
For existing projects
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.
Type notepad model.idt and press Enter.
Add the following lines:
MB_TCPIP|Generic PLC|180
MB_TCPIP|STAT_PLC|35
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 Use These Domain Sizes to be 0
Do not specify all of the domains.
Here are some examples of the PLCs used by smartlogic: 6XV1830-0EH10, 6ES7131-4BF00-0AA0,6ES7193-4CA40-0AA0,6ES7134-4GD00-0AB0,6ES7193-4CA40-0AA0, 6ES7138-4CA01-0AA0,6ES7193-4CC20-0AA0, 6ES7590-1AB60-0AA0, 6ES7511-1AK00-0AB0, 6ES7954-8LP01-0AA0,6ES7155-6AU00-0BN0