Siemens S7 series PLC integer arithmetic instructions

In STEP 7 can be integers, long integers and real numbers to add, subtract, multiply and divide arithmetic. Arithmetic instructions in accumulator 1 and 2 were as minuend or dividend accumulator value 2 in. Result of an arithmetic of preservation, the original value of the accumulator 1 Accumulator 1 is covered in the calculation result, … Continue reading Siemens S7 series PLC integer arithmetic instructions

Siemens S7 series PLC Conversion between integer and BCD

Conversion Instructions ACCU 1 data type conversion, the conversion still result in accumulator l. Switching operation can be realized are: Conversion BCD and integer and long integer between real and long integer between numbers negated negation, byte expansion.In STEP 7, the integer and long integer expressed as a complement form. BCD code values, there are … Continue reading Siemens S7 series PLC Conversion between integer and BCD

WinCC timer using the method described

1, Timer Functions2, the script describes the timer3, using a script to achieve more timer function3.1 The whole point of the archiveAvoid initial script execution and delayed implementation of the script 1:00 activated 3.2 WinCC projectTimer Functions    WinCC timer can make use of WinCC in accordance with the specified time period, or to perform tasks, such … Continue reading WinCC timer using the method described