Section 128. The owner of a cotton factory erected after May twenty-eighth, eighteen hundred and ninety-six, in which there is any traversing carriage of a self-acting mule installed, or of any cotton factory erected previously to such date in which thereafter such traversing carriage is installed, who permits such carriage to travel within twelve inches of any pillar, column, pier or fixed structure, shall be punished by a fine of not less than twenty nor more than fifty dollars.