1, installation, V4.0 STEP 7 MicroWIN programming software. 2, prepare a programming cable for 200PLC, 6ES7 901-0BF00-0AA0 3. After the programming line and the PLC are connected, the PLC is powered on, open the software, and click to set the PC/PG interface in the navigation bar. Select the PPI protocol, then select the USB port […]
Generally, when writing a program, only one output is written in a network. The advantage is that the structure is simple and clear. Secondly, when you write a program with errors, you write a lot of programs in a network, and then compile through you. The software will prompt you for the wrong network; If […]
For rising edge detection, as long as there is a rising edge, a scan cycle is turned on!
The complete set of Siemens plc programming instructions is here 1-bit logic instruction 1.1 -||- Normally open contact (address) 1.2 -|/|- Normally closed contact (address) 1.3 XOR XOR 1.4 -|NOT|- Signal flow reversal 1.5 – ( ) output coil 1.6 -(#)- intermediate output 1.7 – (R) coil reset 1.8 -(S) coil set 1.9 RS complex […]
1, beginning with F: F1: Get help. F2: The ladder diagram enters the edit mode. F3: The ladder diagram enters the operation mode. F4: Compile the program. F5: Normally open contact input. F6: Normally closed contact input. F7: Coil output. F8: Function command input. F9: Horizontal line input. 2, Shift related: Shift+F3: The ladder diagram […]
SM0.0, the PLC is always 1 when it is running, it is a constant ON relay. SM0.1, the first scan of the PLC is 1, one scan cycle. Generally used to initialize the program. SM0.2, if the data is lost, change to 1, one scan cycle. SM0.3, enter RUN mode, close one scan cycle SM0.4, […]
Use the upload function Upload (also known as upload) is to copy the program in the CPU load memory to the hard disk of the programmer or PC. The following methods can be used to upload the program: In the SIMATIC Manager, execute the menu plc/UploadStationtoPG (upload to PG/PC) or click the upload shortcut button […]
POU is the program organization unit. The POU Program Organization Unit (POU) is an important and widely used basic IEC programming unit in the IEC61131-3 standard. The POU consists of three types of basic units: Program, Function Block, and Function.
A subroutine helps you to block the program. The instructions used in the main program determine the execution status of the specific subroutine. When the main program calls a subroutine and executes it, the subroutine executes all instructions until the end. The system then returns control to the main program in the calling subroutine network. […]
Click on the left side of the bus and enter directly using the keyboard, such as P10