task PCDWrite