With Version 300+ the serial command structure has changed. The command and reply strings must be NULL terminated. 

The following ASCII protocol should be used for sending commands and receiving replies from the Commander core. For details on valid ASCII commands, refer to Section ASCII Language Specification or the Command Reference.

Sending Command

ASCII command string in the format of:

@[DeviceName][ASCII Command][null]        ‘the terminating character can be a “NULL”, or “\0”

Receiving Reply

The response will be in the format of:

[Response][null]                                ‘the terminating character will be a “NULL”

Example

For querying the polarity of the X-axis

Send:         @01POLX[null]

Reply:     7[null]

For reading the digital input status

Send:         @01DI[null]

Reply:     8[null]

For performing a store to flash memory

Send:         @01STORE[null]

Reply:     OK[null]

<  Previous Chapter | Topic Home | Home | Next Topic >