Variables can be used in the plc program, which is one of the features of the S7 series PLC. The following functions can be implemented by using variables in S7.
(1) Increasing the versatility of the program In the PLC programming stage, in order to improve the versatility of the program, the same logic block can be used for different control situations by variables.
For example, for the logic block shown in Figure 11-2.2, assume that its function is to implement the logic operation C=BA; D-D+l, and use variables to program.
When the logic block is called, if the variable A is assigned the value IO.1, the variable B is assigned the value I0.2, the variable D is assigned the value MW10, and the variable C is assigned the value QO.1, the execution result of the program is:
QO.1=10.2.IO.1;
MW10 - MW10+l.
When the logic block is called, if the variable A is assigned to Il.l, the variable B is assigned to I1.2, the variable D is assigned to MW20, and the variable C is assigned to Ql.l, the execution result of the program is:
Ql.l=11.2. Il. l;
MW20 = MW20+l.
(2) It is convenient for program check. After the variable is used, when the logic block is called, the corresponding input and output signals required by the logic block can be displayed in the call instruction (see Figure 11-2.3) to facilitate program design and inspection.
Since S7 has a specified format requirement for variables and symbol addresses, the logical block variables A, B, C, and D corresponding to Figure 11-2.2 have been used with symbol addresses IN A, IN-, respectively, in Figure 11-2.3. B, OUT_C, INOUT D are programmed.
Single Mining Power Supply 2000W
Features
1. Low noise, low ripple, high efficiency
2. The long life cycle averages above 100KH hours
3. 14CM double-rolling fan, good noise, fast heat dissipation
4. Possess complete protection function: over voltage, under voltage
Specification:
Product name: 2000W miner power supply
Input voltage: AC 180V~240V
Support graphics card: 8
Colour: Black
Size: 15 x 14 x 8.6cm
Rated power: 2000W
Maximum power: 2000W
The package includes:1 x miner power supply
Price better, Quantity more, strong factory support for wholesale buyer.
if you need 90V-120V power supply, please contact us.
we can provide Customized power supply with 110V-240V if you need 1800W 2000W 2600W 3300W mining power supply, please feel free to contact us.
mining psu,psu for mining,mining rig psu,power supply,power supply for pc
Easy Electronic Technology Co.,Ltd , https://www.yxpcelectronicgroups.com