AH Motion Controller – Motion Control Instructions Manual the device number. For example, M10 and T30 (device number) the number before or after the decimal point. For example, X0.0, Y0.11, and D10.0 (device number). the constant K : It is used as the operand in the applied instruction. For example, MOV 123 D0 (constant K) . 3. Binary-coded decimal (BCD) A decimal value is represented by a nibble or four bits, and therefore sixteen consecutive bits can represent a four-digit decimal value. 4. Hexadecimal number (HEX) The hexadecimal number in the PLC is used as _2 the constant 16# : It is used as the operand in the applied instruction.
For example, MOV 16#1A2B D0 (hexadecimal constant). Refer to Chapter 5: Understanding Common Devices of AH Motion Controller - Operation Manual for more information. 2.1.16. Floating-point Numbers (F, DF) The floating-point numbers are represented by decimal points in ISPSoft. For example, the floating-point number of 500 is 500.0. Refer to Chapter 5: Understanding Common Devices of AH Motion Controller - Operation Manual for more information. 2.1.17. Strings (“$”) What strings can process are ASCII codes (*1). A complete string begins with a start character, and ends with an ending character (NULL code).
If what you enter is a string, you can enter 31 characters at most, and the ending character 16#00 will be added automatically in ISPSoft. Refer to Chapter 5: Understanding Common Devices of AH Motion Controller - Operation Manual for more information. 2.1.18. Pointers (PR) ISPSoft supports the function blocks. When the symbol declaration type is VAR_IN_OUT, and the data type is POINTER, the symbol will be assigned as pointer registers (PR). The value in the PR can refer directly to the value of device X, Y, D, or L, and the PR can also refer to the symbols with addresses which are automatically allocated by ISPSoft. You can declare 16 pointer registers in every function block:
PR0~PR15 or PR0.0~PR15.15. 2.1.18.1 Pointer Registers of Timers (T_Pointer) (TR) ISPSoft supports the function blocks. If you want to use the timer in the function block, you have to declare a pointer register of the timer (TR) in the function block. The address of the timer is transmitted to TR when the function block is called. When the symbol declaration type is VAR_IN_OUT, and the data type is T_POINTER, the symbol will be assigned as TR. The value in the TR can refer directly to the value of device T or the symbols which are assigned as timers by ISPSoft . You can declare 8 pointer registers of the timers in every function block: TR0~TR7. 2-10