477
7
7 Motion Control 7.7 Format and Use of MC Subprograms
The following table lists the types of elements of operands used for the above instructions.
Element
Supported
Floating-point
Number
Integer HEX D SD R M SM
Bit element - - - - - - Mxxxx SMxxxx
16-bit
parameter
- Kxxxx Hxxxx Dxxxx SDxxxx Rxxxxx - -
32-bit
parameter
- KKxxxx HHxxxx DDxxxx SDDxxxx RRxxxxx - -
Floating-
point
number
xxxx.xx - - DExxxx SDExxxx RExxxxx - -
Displayed
value
Actual value
Actual
value
Actual
value
Element
number
Element
number
Element
number
Element
number
Element
number
For example, D100 is used for a 16-bit integer, DD100 is used for a 32-bit integer, and DE100 is used for a
32-bit oating-point number. This is also the same for other word elements.
Taking the immediate operand 100 for example, if the 16-bit integer of the immediate operand is in decimal,
K100 is used; if the 32-bit integer is in decimal, KK100 is used. If the 16-bit integer of the immediate
operand is in hexadecimal, H64 is used; if the 32-bit integer is in hexadecimal, HH64 is used. Floating-point
numbers support 32-bit single precision; that is, 100 can be entered directly to indicate 100.000.
Motion control instructions support 16-bit and 32-bit hybrid programming. The following table lists function
words supported.