Q: Which friends do you know about the conversion between Siemens plc ladder and instruction list? What are the various data storage units in the Siemens S7-300, and what data is stored?
A: Generally, when editing a program fast, if you insert a fast time, in the SIAMTIC Manager, when the menu "Insert" / S7Block (S7 block) / OrganizationBlock is selected, there is an option "Createdinlanguage" (select Programming language, LAD/STL/FBD), after selecting the programming language, your programming language is determined; of course, you can also view the menu in the open program (LAD/STL/FBD editor). Switch between three programming languages ​​(in LAD (ladder), STL (statement table) and FBD (function block diagram));
STEP7 supports mixed programming of the languages ​​LAD/STL/FBD and conversion between them. In general, both LAD and FBD programs can be automatically converted to STL by STEP7, but not all STL languages ​​can be converted to LAD and FBD.
The S7-300PLC memory area has three basic memory units (system memory, load memory area and working memory area) as well as peripheral I/O memory areas (direct access to local and distributed input and output analog modules). ), accumulators (ACCU1 and ACCU2), address registers (AR1, AR2), data block address memory (open shared data block DB and open instance data block DI) and status word registers (16 status bits), three of which are basic The data stored in the storage area is as follows:
System memory area: digital input/output process image register I/Q, bit storage area (depending on the model size of the CPU), timer T and calculator C;
Working memory area: store user program and data (logic fast OB/FB/FC, data block DB) executed during CPU running, temporary local data storage area (L stack);
Load memory area: Dynamically load memory area RAM (store user program), optional built-in fixed load memory area (FEPROM) for saving user program and system data (configuration, connections and modules) without symbolic addresses and comments Parameters, etc.)
2-in-1 Laptop,2 In 1 Tablet,Rugged Tablet,Detachable Laptop
C&Q Technology (Guangzhou) Co.,Ltd. , https://www.gzcqteq.com