Bootstrak Skip to main content

Appendix B: CME 2 ASCII Command Line Tool

Streszczenie: Narzędzie ASCII Command Line w programie CME 2 do ręcznego wysyłania komend ASCII do napędu: otwarcie okna, przykład odczytu zmiennej (g r0x32) i przykład błędu składni (e 33).
EN: Using the ASCII Command Line tool in CME 2 to send ASCII commands manually.

Dotyczy: serwonapędy Copley Controls z interfejsem ASCII (RS-232, sieć multi-drop CAN), program CME 2
Źródło: dokumentacja producenta (Copley Controls ASCII Interface Programmer’s Guide); tabele przepisane z obrazów na tekst – opracowanie Multiprojekt

The CME 2 ASCII Command Line tool lets users send individual ASCII commands to amplifiers.

From the CME 2 Main screen, choose Tools->ASCII Command Line to open the ASCII Command Line tool:

Screenshot: CME 2 ASCII Command Line window with empty Command and Response fields

Enter an ASCII command in the Command field.

Press the Enter key to send the command to the amplifier. Observe the response in the Response field.

If a value is returned, it is preceded by the letter “v.” In the following example, the get command was used to retrieve the RAM value of variable 0x32 (actual position). 

Screenshot: CME 2 ASCII Command Line – Command "g r0x32", Response "v 39" (actual position read from RAM)

An error code is preceded by the letter “e.” In the following example, the get command

was entered without the required memory bank designation, resulting in an ASCII

command parsing error (error code 33). See Error Codes

Screenshot: CME 2 ASCII Command Line – Command "g 0x32", Response "e 33" (ASCII command parsing error)

TIP: To view an error definition, hold the mouse pointer over the error number

Słowa kluczowe

CME 2, ASCII Command Line, wiersz poleceń, test komend, g r0x32, błąd 33, Tools