Frame command error handling is added.
Error handling for up and down command is added.