Welcome, Guest
Username Password: Remember me
Messages posted to this category need to be reviewed by the moderator before it gets posted.
  • Page:
  • 1

TOPIC: Power up serial port functionality

Power up serial port functionality 5 years, 11 months ago #51

If serial data is present on the RS232 port when the motor is being powered on, does the motors port lock and require a power cycle without serial data being present to recover?

Re:Power up serial port functionality 5 years, 10 months ago #54

  • hsummer
  • OFFLINE
  • Posts: 12
  • Karma: 1
One of three scenerios is possible
1. Upon power-up, the motor revieves charactes within the first 500millseconds containing multiple "E" characters causing it to not run it's downloaded program
2. It receives too many characters and overloads the receive buffer, code may still run but comms would be locked out
3. IT receives a string of characters without a null terminator (space or carriage return)
upon dong so, it will stall waiting for the carriage return until it gets one, it will not process any downloaded code until then because comms has priority.

IT is best to recycle power under this case.
If you have an HMI or PLC or other host that may send characters unplanned at any time during power up, your program could begin with CCHN and OCHN commands to close and reopen the com port and flush the buffer.

Re:Power up serial port functionality 5 years, 10 months ago #55

Thanks!
  • Page:
  • 1
Moderators: hsummer, csearcy
Time to create page: 0.41 seconds