FBC and DDT: Comparing an Array Against a Reference, and Which One Reports What

FBC and DDT operand blocks with Source InputState element 0, Reference GoodState element 0, Result Mismatch element 0, compare control CmpCtrl with Length 128, and result control ResCtrl with Length 32

One sentence in 1756-RM018A separates these two instructions: each time the DDT instruction finds a mismatch, the DDT instruction changes the reference bit to match the source bit, and the FBC instruction does not. Everything else about them — the operands, the two control structures, the result array, the fault codes, the 0.16 µs per … Read more

BSL and BSR: A Shift Register That Tracks Product, One Bit Per Position

BSL and BSR operand blocks with Array ZoneMap element 0, Control ZoneShift, Source Bit PhotoEye, Length 240, and the CONTROL bits EN, DN, UL and ER shown with their states

Type 8 into the Length of a BSL whose array is DINT[8] and you have built a shift register eight positions long, not eight elements long, and the other 248 bits of that array will sit there untouched for the life of the machine. 1756-RM018A prints the reason in one line under Operands: Length is … Read more

Catching a PLC Intermittent Fault with a Trend in the Controller: the Tags, the Rate, and the Latch That Keeps the Data

Eight tags in the PLC intermittent fault trend with where each comes from, how often it can change, and why it is in

Line 2’s palletiser infeed stops about once a shift with Infeed_Jam latched, the alarm log says “Infeed jam” with a time, and the 1756-L83E, the PowerFlex 525 and the 1756-IB16 feeding the discharge photo-eye all check out every time somebody looks. Whatever happens takes a few tens of milliseconds and happens hours apart, and the … Read more

Changing an Interface on a Running S7-1500 Without Losing the Values

plc programming s7 1500 interface change in run keep values 1 plc

An optimized block on an S7-1500, or on an S7-1200 at V4.x, is created with a 100 byte memory reserve, which is room for 25 Reals of new Statics before a download in RUN has to reinitialise the instance DB. Whether an S7-1500 interface change makes the load preview put “reinitialize” against the block is … Read more

Advertisement