Pilar Estratégico 2: La Salud, Innovación e Investigación Científica
Eje 9: Gestión Pública Moderna y Descentralización
MasterLogic Software Introduction Describe simulation in SoftMaster MasterLogic Software Introduction Describe simulation in SoftMaster
Honeywell
Honeywell Confidential Copyright © 2012 Honeywell International Inc.
4/25/2012
86
Introduction
• SoftMaster - SIM is available with SoftMaster
– Using SoftMaster - SIM • Programs can run
without a physical ML200R PLC • Programs can be debugged using input condition settings or module simulation functions
MasterLogic Software Introduction Describe simulation in SoftMaster
44
Honeywell
Honeywell Confidential Copyright © 2012 Honeywell International Inc.
4/25/2012
87
Functions Supported by SoftMaster - SIM
• SoftMaster – SIM supports – Program Simulation
• Simulation of programs such as LD/SFC/ST written in SoftMaster • Online editing and debugging
– PLC Online Functions
• Program monitoring and online diagnostics functions such as system monitoring, address monitoring, trend monitoring, data trace and custom events
– Module Simulation
• Simulation for various I/O modules such as Digital I/O, A/D Conversion, D/A Conversion, Counter, Temperature Control, and Positioning • Input value of each module can be set through simulation – I/O Input Condition Settings
• Set data values in a program when a specific condition is met • Set data values once/continuously
• Used to test PLC programs
MasterLogic Software Introduction Describe simulation in SoftMaster
Honeywell
Honeywell Confidential Copyright © 2012 Honeywell International Inc.
4/25/2012
88
System Requirements for SoftMaster - SIM
• Minimum system requirements to run SoftMaster - SIM – Pentium 3 900MHz, RAM 256MB
• Recommended system requirements to run SoftMaster - SIM – Pentium 4 1.5GHz, RAM 512MB (or more)
• Disconnection may occur in the following cases:
– When using a system with minimum specification to run SoftMaster - SIM • Fixed period scan may not operate properly because the scan period
may be longer than the fixed period – If the system is configured to use ‘Sleep’ mode – If the system load is heavy
45
Honeywell
Honeywell Confidential Copyright © 2012 Honeywell International Inc.
4/25/2012
89
Launch and Start SoftMaster - SIM
• Open the ML200R program to be run in simulation mode in SoftMaster – Select Tools Start Simulator
MasterLogic Software Introduction Describe simulation in SoftMaster
Honeywell
Honeywell Confidential Copyright © 2012 Honeywell International Inc.
4/25/2012
90
Launch and Start SoftMaster - SIM
Select ‘OK’ in the ‘Write’ window to download the program into SoftMaster – SIM for simulation
Representation of the SoftMaster – SIM PLC
MasterLogic Software Introduction Describe simulation in SoftMaster
46
Honeywell
Honeywell Confidential Copyright © 2012 Honeywell International Inc.
4/25/2012
91
Basic View of SoftMaster - SIM
• SoftMaster - SIM window – Change channel values – Specify I/O conditions
Modules: BX stands for base number; SXX stands for slot number
Single and Continuous I/O conditions
MasterLogic Software Introduction Describe simulation in SoftMaster
Honeywell
Honeywell Confidential Copyright © 2012 Honeywell International Inc.
4/25/2012
92
Open I/O Module in SoftMaster – SIM
I/O defined in the program automatically appear in
SoftMaster – SIM. Right-click and select
‘Open Item’
To view/change the Channel Value, select the
‘Start/Termination of the Channel Monitor Button
Change Values
47
Honeywell
Honeywell Confidential Copyright © 2012 Honeywell International Inc.
4/25/2012
93
Change Values from SoftMaster – SIM
Change the program to ‘Run’ mode in SoftMaster
Double-click on the Channel Value
Change the I/O values in the program by changing the associated Channel
Value from SoftMaster - SIM
Click ‘OK’ to change the value
MasterLogic Software Introduction Describe simulation in SoftMaster
Honeywell
Honeywell Confidential Copyright © 2012 Honeywell International Inc.
4/25/2012
94
Change Values from SoftMaster – SIM
Value changes in the program and the logic runs
MasterLogic Software Introduction Describe simulation in SoftMaster
48
Honeywell
Honeywell Confidential Copyright © 2012 Honeywell International Inc.
4/25/2012
95
Single I/O Condition
• Basic Setting tab
– Double-click a ‘Condition’ channel to open the condition settings dialog box • Enter Name and Description of the condition
• Execution Options
– Always execute: regardless of the condition set, the output is executed on start
– Execute by button: executes the output setting by pressing a button – Execute by condition expression: execute the output setting when a
specific condition is satisfied
MasterLogic Software Introduction Describe simulation in SoftMaster
Honeywell
Honeywell Confidential Copyright © 2012 Honeywell International Inc.
4/25/2012
96
Single I/O Condition
• Output Setting tab
– Set the address/channel number and the value to be set when the input condition is executed
• Use the ‘View Channel Browser’ button to set the output address
• Select the button ‘Application / Cancellation of a single I/O condition’ to apply/disable the I/O condition
I/O Condition is grayed out and is not
available for editing
If the execute option ‘Execute by button’ is used, an ‘Action’ button appears. When this
button is clicked, the condition is executed
49
Honeywell
Honeywell Confidential Copyright © 2012 Honeywell International Inc.
4/25/2012
97
Continuous I/O Condition
• Basic Setting
– Similar to Single I/O Condition Basic Setting
• Output Setting – Repeated Execution
– Ignore Condition while execution
Click here to select Channel Address
Enter values to be continuously sent to channel.
Up to 199 values can be set
MasterLogic Software Introduction Describe simulation in SoftMaster
Honeywell
Honeywell Confidential Copyright © 2012 Honeywell International Inc.
4/25/2012
98
Continuous I/O Condition Settings
No. Execute Option Ignore Condition
While Execution Repeated Execution Result 1 Execute by button or Execute by
condition (expression is false) Not Set Not Set Only the first value ‘10’ will be written 7 times 2 Always Execute or Execute by
condition (expression is true) Not Set Not Set Values will be continuously written as 10 20 30 40 50 60 70
3 Always Execute or Execute by
condition (expression is true) Set Not Set Values will be written as 10 20 30 40 50 60 70
4 Execute by button or Execute by
condition (expression is false) Not Set Set Values will be continuously written as 10 → 10 → 10 → 10 → 10 → 10 → 10 → 10... 5 Always Execute or Execute by
condition (expression is true) Not Set Set Values will be continuously set as 10 20 30 40 50 60 7010 20 30 40 50 60 70…. 6 Always Execute or Execute by
condition (expression is true) Set Set Values will be continuously set as 10 20 30 40 50 60 7010 20 30 40 50 60 70….
Continuous Value Number 1 2 3 4 5 6 7
Value 10 20 30 40 50 60 70
MasterLogic Software Introduction Describe simulation in SoftMaster
50
Honeywell
Honeywell Confidential Copyright © 2012 Honeywell International Inc.
4/25/2012
99
Continuous I/O Condition
• Select the button ‘Application/Cancellation of continuous I/O condition’ to apply/disable the continuous I/O condition
I/O condition is grayed out and is not
available for editing
If the execute option ‘Execute by button’ is used, an ‘Action’ button appears. When this
button is clicked, the condition is executed
MasterLogic Software Introduction Describe simulation in SoftMaster
Honeywell
Honeywell Confidential Copyright © 2012 Honeywell International Inc.
4/25/2012
100
Save I/O Conditions
• I/O conditions configured in SoftMaster - SIM need to be saved before exiting SoftMaster - SIM
– Select File Save I/O Condition As…
– Select a location, enter a file name and save with an .xic extension
51
Honeywell
Honeywell Confidential Copyright © 2012 Honeywell International Inc.
4/25/2012
101
Limitations of SoftMaster - SIM
• SoftMaster - SIM can be used to simulate only a non-redundant ML200 PLC and not a redundant ML200R PLC
• SoftMaster - SIM doesn’t support functions related to Communication Modules
• In a physical ML200R PLC a watchdog timer can be set to prevent errors
– In SoftMaster - SIM, watchdog timer does not work since scan time in SoftMaster - SIM is longer than in a physical ML PLC
• SoftMaster - SIM does not support all I/O modules defined in SoftMaster – For more details refer to the SoftMaster User's Guide
MasterLogic Software Introduction Describe simulation in SoftMaster
Honeywell
Honeywell Confidential Copyright © 2012 Honeywell International Inc.
4/25/2012
102
This page intentionally left blank
MasterLogic Software Introduction Describe simulation in SoftMaster
Copyright © 2012 Honeywell International Inc.
HPS Automation College written permission required to distribute Honeywell Confidential and Proprietary
4/25/2012 Copyright © 2012 Honeywell International Inc. 1 HPS Automation College written permission required to distribute
Honeywell Confidential and Proprietary