Operation & Software Manual
32
Direct Drives & Systems
Chapter A: Internal functioning & architecture ETEL Doc. - Operation & Software Manual # DSC2P 903 / Ver. F / 3/6/05
6.4 Register value reading
Example of registers reading:
K1:1.2 ;Read a register (parameter K1, depth 1), from axis n
o
2.
Syntax:
The command syntax which allows the reading of a value inserted in a register is as follows:
Fields put in 'square brackets' (like: [:<depth1>]) are optional. They are not always used.
<register1> and 2 Defines the register used; is made up of the register's type and number:
Type possible values:
• K, X, M, R, E, S, T, L, F
Number possible values:
• Integer from 0 to 510 if the register type is K or X
Integer from 0 to 255 if the register type is M
Integer from 0 to 7 if the register type is R
Integer from 0 to 191 if the register type is E
Integer from 0 to 8190 if the register type is S
Integer from 0 to 999 if the register type is T
Integer from 0 to 1999 if the register type is L
Integer from 0 to 255 if the register type is F
[:<depth1>] and 2 If no depth is defined, depth 0 is automatically programmed by default. K parameters
may contain up to 4 different values simultaneously. Each value is stored at a
different depth numbered 0, 1, 2 and 3. If no depth is defined, depth 0 is
automatically programmed by default.
For R and E, [:<depth>] is another RTI priority (R) or another trigger line (E).
Possible values:
• Integer from 0 to 3 if the register type is K or E
• Integer from 0 to 11 if the register type is R
• Integer from 0 to 1 if the register type is T
• Integer from 0 to 7 if the register type is L
.<axis> Number of the axis whose register value may be read, whatever the register type.
Possible values:
• Integer from 0 to 30 according to the number of axis if the command refers to
one single axis.
• Some selected axes numbers between commas (refer to §14.4.2
).
•Symbol % and the axes mask total number, to select some axes (refer to
§14.4.2
).
Note: Reading simultaneously two registers is possible if both commands are separated by a coma
but it only works with two registers belonging to the same axis.
Example: M6.1, M7.1
<register1> [:<depth1>].<axis> [, <register2> [:<depth2>].<axis>]