PLCs: Black Magic in a Box