Siemens PLC logic operation instruction

Siemens S7 Series PLC logic operation instructions. Byte logic operation instruction ANDBIN1,OUT The byte in1 and out are logically and calculated bit by bit, and out outputs the result IN1,IN2,OUT:VB,IB,QB,MB,SB,SMB,LB,AC,*VD,*AC,*LD In1 and in2 can also be constants ORBIN1,OUT The byte in1 and out are operated by bit, and out outputs the result XORBIN1,OUT The byte […]

Read More

Detection method of PLC fault

The reliability of PLC is very high, and it has perfect self diagnosis function. If there is a fault, with the help of self diagnosis program, it can easily find the fault parts, and then it can return to normal work after replacement. 1. Timeout detection The alarm set (ANS) and alarm reset (ANR) commands […]

Read More

The use of PLC edge instruction

PLC edge instruction refers to rising edge instruction EU and falling edge instruction ed 1. Edge instructions operate on bit logic values, so those whose operation results are bit logic can be followed by edge instructions, such as I, Q, m, V, C, t, compare instructions, etc; 2. Each edge instruction is independent of each […]

Read More