USA57 Revision
1.2
76
Example #3 (Program Storage and Recall)
This example stores a command string to storage location #2 for later execution:
/1s2gA10000M500A0M500G10R<CR>
This breaks down to:
“/”
Is the start character. Lets Accuriss know that a command string will follow.
“1”
Is the device address, (this is preset at the factory).
“s2”
Tells Accuriss to store the command string that follows to storage locations #2
“g”
Indicates the start of a loop block
“A1000” Causes the motor move to the Absolute position of 1000 steps
“M500”
Causes the Accuriss to wait for 500 Milliseconds.
“A0”
Makes the motor turn to Absolute position 0.
“M500”
Is another wait command of 500 Milliseconds.
“G10”
Will make all commands between here and starting location of the small “g”
repeat 10 times
“R”
Instructs Accuriss to run the command(s) that are in the communication buffer.
“<CR>” Tells Accuriss that the command string is complete and causes the command to
be executed since an R is included in the command string.
(Note: program 0 is always executed on power up, if we had used storage location 0 instead of
storage location 2 in the above example, then this program would execute automatically on
power up).
This example executes the command string stored in the above example.
/1e2R<CR>
This breaks down to:
“/”
Is the start character. Lets Accuriss know that a command string will follow.
“1”
Is the device address, (this is preset at the factory).
“e2”
Instructs the Accuriss to execute the command string in storage location #2.
“R”
Instructs Accuriss to run the command(s) that are in the communication buffer.
“<CR>” Tells Accuriss that the command string is complete and causes the command to
be executed since an R is included in the command string.
Содержание Accuriss 57 Series
Страница 1: ... USA57 Revision 1 2 Accuriss 57 Series Integrated Motor Drive Control System USA57 USER S MANUAL ...
Страница 4: ...USA57 Revision 1 2 4 Appendix I 101 Appendix J 103 ...
Страница 11: ...USA57 Revision 1 2 11 ...
Страница 102: ...USA57 Revision 1 2 102 Encoders must have 0 2V Low to 4V High swing at the input of the connector ...