Appendix BCommand SetCommand Set B-1MN1276Flex -- ASCII -- Command -- SetGeneralFlex controls use the RS232 communication port (optional RS485) as theInterface. This document describes existing FlexDrive/Flex+Drive ASCII terminalcommands for setup and control of the servo drive.There are three types of ASCII commands:1. Parameters. Without parameters, these commands are handled asqueries. To modify the value of a parameter, the value to be set is addedto the command. Some parameters may only be modified under specialdrive conditions. Query is not restricted to special drive conditions.2. Variables or system constants. System variables are internally updatedin the control, and can not be changed by the user. System constantsare fixed (e.g. by hardware) system properties. Query of variables orconstants is not restricted to special drive conditions.3. Methods support control of the system. Methods may or may not requirea parameter. Commanding a method to be executed is in some casesalso restricted to special drive conditions. Each command is defined asa special mnemonic, which is used for query of parameters, variablesand constants as well as for parameter less methods. Modifying aparameter respectively commanding a parameterized method is done bysimply adding the parameter value to the mnemonic.SyntaxGeneral structure of the ASCII commandEach ASCII command is structured in principle according to “Mnemonic”“Delimiter” “Parameter List”. Syntax allows multiple commands in the same stringseparated by blank space delimiter. Each command string is terminated by acarriage return. i.e. generally, a command string looks like:“Mnemonic1” “Delimiter” “Parameter List1”... “MnemonicN” “Delimiter” “Parameter ListN” [CR]Up to 80 characters are allowed at the command prompt.For each correct command the control returns a “>” sign (ASCII 3E hex) as anacknowledge. If a command is not accepted, the reason for the command revisionis sent instead of the acknowledge.MnemonicsThe mnemonics are not case sensitive. Most of the ASCII commands are groupedinto functional groups. The Mnemonics of the commands of parameters, variablesand methods of these function groups have a prefix, which indicate the functionand, separated by the dot, the command identifier. The general structure ofFunction Group Commands is as follows:“Functional Group”.“Command Identifier” “Delimiter”“Parameter list” [CR].e.g.SYS.MOD 1All prefixed commands are drive parameters. The delimiter between mnemonicand parameter of these commands is either blank space or equal sign (one of bothis mandatory). To query all parameters and variables of a function group, thefunction group prefix followed by dot and asterisk can be used:“Functional Group”.*e.g.SYS.*