Escolar Documentos
Profissional Documentos
Cultura Documentos
Orlando, FL
Track: NAPR
Topic: S7 PLCs
Company: DMC
Nick Shea
Engineering Physics
(University of Kansas)
External Developer:
Internal Programmer:
5.Rapid Development
7.Advanced Tools
#1
System Architecture
Program Architecture
(similar to system architecture!)
Start Start
Stop Stop
Motor I/O
Motor Command Command Command Function
Function Block
Block
Start
Stop
Speed SP One variable is used
Engage Brake
Reset Error to pass multiple
Acceleration piecesCopyright
of information Navigating the world of automation
© Siemens Industry, Inc. 2011. All rights reserved.
Page 19
Monitoring Instances of Function
Blocks
#2
There are two PLC modes and they are toggled in the CPU Properties on the
“Protection” tab: Process Mode and Test Mode.
This option is also shown in the Debug -> Operation dropdown menu from the
Ladder Editor
Note!
As you probably expect, this does slow down the CPU cycle time so this should
only be used when necessary and always leave the final system with
“Process Mode” checked.
#3
FAQ:
How can you have system error messages from a SIMATIC S7-300 / 400 displaye
End Result:
#4
• When compiling an S7 project, many small files are read and written.
• RAM Disk is RAM that is used as a disk drive – via 3rd party software.
• RAM Disk is orders of magnitude faster than other forms of storage media.
• We’ve reduced >10 min compile times to <3 min.
#5
The S7 PLC symbol table allows copy/paste directly from a spreadsheet such as
MS Excel.
#6
#7
Examples:
• Modular Machines
• Alternate Machine Configurations
#8
#9
If you are simply adding items to the end of a flat data block (not adding items to
a user-defined type (udt) within the data block, for example) then to retain the
values of the data block follow these quick steps.
A more complicated change to the data block such as adding items to a udt
used with the data block requires extra steps. Even if you have first saved a copy
of your online values prior to making the change, the values will be lost after you
save the change. Therefore, follow these extra steps.
10. Make all changes that you need to the data block (not source code)
then Save and Close the data block.
11. Open the Source file you created and compile it. This will set all values in the
data block equal to the values you see in the Source file.
12. Download - your values have been retained.
#10
Navigating / Searching
Find: Ctrl-F
Development Shortcuts
Monitor: Ctrl-F7
Download: Ctrl-L
Nick Shea
nick.shea@dmcinfo.com
www.dmcinfo.com