Start–up with Terminal Communication and Command Examples

1.Select the correct COM port NR. and set the following at your PC:

Baud Rate: 9600

Protocol (Hardware, Xon/Xoff, None): OFF

Data Length: 8 Bit

–Stop Bit: 1

–Parity: NONE

2.Set the control address. The address is set by switch AS1-1 to AS1-4. To locate a control, type “A” then the control address, e.g. A3 (searches for a control with address 3). If a drive with address “3” is running and connected to the PC COM, this drive answers with the prompt sign “>” to indicate that communication to the drive is established. Additional command may be sent to the A3 control.

Entering an address command with another address number, will terminate communication with control A3. If more than one drive is connected to the PC COM port, typing the address of another drive connected, will change communication path to this one.

3.Communication is now established and the ASCII commands may be used.

Note: If more than one drive is connected to the PC port, correct communication can only be established if all drives have different addresses.

4.Error messages (from the control)

If the syntax and the values of the ASCII command string are correct, the control accepts the command and answers by sending “<” as acknowledge. If any error within the transferred command was found, the control rejects the command by sending a correlated error string. There are following terminal–reported errors :

SYNTAX ERROR: invalid character;

EXECUTION ERROR: invalid command;

RANGE ERROR: invalid parameter value;

INVALID EXE CONTEXT: invalid command or operation mode;

control DESIGN FAILURE: invalid control design;

INPUT BUFFER OVERFLOW: command line exceeded 80 char.;

TOO MANY PARAMETERS: too many parameters;

REQ. PARAMETER MISSED: not enough parameters;

In case of an error, the event protocol will return a NAK ( negative acknowledge ) to a user. The error check can only provide a syntax and range check for each command. Error checking will not check a wrong parameter value that may degrade system performance.

MN1851

Command Set B-3

Page 80
Image 80
Baldor MN1851 manual Start-up with Terminal Communication and Command Examples, Execution Error invalid command