Contents Up Previous Next

GET PHRASES (0xC2)

Code: 0xC2
Description: Reads the entire program from the module.
Parameters (master -> slave): none
Response (slave -> master): First data frame contains the number of phrases of the program (UInt16). Subsequently, the content of the program is transferred phrase by phrase.
Example:

D-Len Cmd Param
M->S 0x01 0xC2
S->M 0x03 0xC2 0x05 0x00 Program contains 5 phrases
S->M 0x05 0xB1 0x00 0x00 0x60 0x40 Phrase 0 contains a ,,move to position 3.5 [mm]'' command
S->M 0x05 0xB1 0x00 .. . Phrases to program memory end

Note: As soon as the command is initiated once, the program is transferred line by line. For the administration of the programs, we recommend using the supplied Software.

In this case, fragmentation protocol must be used (not with RS232).