...
When the CWM has not yet established communication with its OKE then the CWM shall enter a discovery mode where it will attempt to determine which physical interface and what communication settings must be used between it and the of the attached OKE.
The discovery sequence is: {38400, TTL}, {115200, USB}, {115200,RS-232}, {115200,RS-485}, {115200, TTL}, {9600,RS-232}, {9600,RS-485},
{9600, TTL}, {19200,RS-232}, {19200,RS-485}, {19200, TTL}, {38400,RS-232}, {38400,RS-485},{57600,RS-232},
{57600,RS-485}, {57600, TTL}, {230400,RS-232}, {230400,RS-485}, {230400, TTL}
Baud/Port Settings | Port |
---|---|
38400 N81 | TTL |
NA | USB |
115200 N81 | RS-232 |
115200 N81 | RS-485 |
115200 N81 | TTL |
9600 N81 | RS-232 |
9600 N81 | RS-485 |
9600 N81 | TTL |
19200 N81 | RS-232 |
19200 N81 | RS-485 |
19200 N81 | TTL |
38400 N81 | RS-232 |
38400 N81 | RS-485 |
57600 N81 | RS-232 |
57600 N81 | RS-485 |
57600 N81 | TTL |
230400 N81 | RS-232* |
230400 N81 | RS-485 |
230400 N81 | TTL |
Note: CWM1 does not support 230400 baud on its RS-232 port and will not discover devices on that port at that baud rate.
Each port/baud combination will send a ping be pinged once every 5 seconds up to 4 times. If the 4th ping is not replied to, the next port/baud combination will be pingedscanned.
Use no parity, 8 data bits, and 1 stop bit for all discovery attempts.
On TTL RS-232 port send an OKM PING and look for a matching OKM PING using 9600, 19200, 38400, 57600, 115200, and 230400 baud rates.
On RS-485 port send an OKM PING and look for a matching OKM PING using 9600, 19200, 38400, 57600, 115200, and 230400 baud rates.
On USB port determine if device is connected using the CDC device class and send an OKM PING and look for a matching OKM PING.
When a matching OKM PING is received on any interface the discovery procedure will stop immediately.
If the discovery sequence fails to find the ConnectWare equipment, then the module will idle for 10 seconds, and retry the discovery sequence. The complete discovery sequence loop lasts takes about 6.3 8 minutes.
Note |
---|
The module must receive a link layer ping response and a network layer ping response to complete discovery. |
...