Power up serial por...
 
Notifications
Clear all

Power up serial port functionality

3 Posts
1 Users
0 Reactions
22.3 K Views
(@shingadaddy)
Posts: 2
New Member Guest
Topic starter
 

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?

 
Posted : 05/11/2010 7:19 am
(@hsummer)
Posts: 4
New Member Guest
 

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.

 
Posted : 08/11/2010 5:23 am
(@shingadaddy)
Posts: 2
New Member Guest
Topic starter
 

Thanks!

 
Posted : 08/11/2010 5:28 am
Share: