Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - How Siemens s7-300 Double Plastic Surgery Converts into Plastic Surgery
How Siemens s7-300 Double Plastic Surgery Converts into Plastic Surgery
There is no such instruction in STEP7.

If you don't consider the problem of data overflow, you can directly use the MOVE command to transfer double words to the single word storage area.

If you want to consider data overflow, you can do FC yourself.

Compare that original double-word data,

See if it exceeds the upper or lower limit,

If the upper limit is exceeded, it will send the maximum value to the output.

If the lower limit is exceeded, the minimum value is sent to the output.

If it is within the range, the low-order word is transmitted to the output;