Chapter 2 Devices, Symbols and Instructions If you want to use an instruction in the function block, and the timer is supported among the operands, you have to use the pointer register of the timer. 2.1.18.2 Pointer Registers of 16-bit Counters (C_Pointer) (CR) ISPSoft supports the function blocks. If you want to use the 16-bit counter in the function block, you have to declare a pointer register of the 16-bit counter (CR) in the function block. The address of the 16-bit counter is transmitted to the CR when the function block is called. When the symbol declaration type is VAR_IN_OUT, and the data type is C_POINTER, the symbol will be assigned as counters by ISPSoft . CR.
The value in the CR can refer directly to the value of device C or the symbols which are assigned as 16-bit You can declare 8 pointer registers of the 16-bit counters in every function block: CR0~CR7. 2_ If you want to use an instruction in the function block, and the counter is supported among the operands, you have to use the pointer register of the 16-bit counter. 2.1.18.3 Pointer Registers of 32-bit Counters (HC_Pointer) (HCR) ISPSoft supports the function blocks. If you want to use the 32-bit counter in the function block, you have to declare a HCR when the function block is called. pointer register of the 32-bit counter (HCR) in the function block.
The address of the 32-bit counter is transmitted to the When the symbol declaration type is VAR_IN_OUT, and the data type is HC_POINTER, the symbol will be assigned as HCR. The value in the HCR can refer directly to the value of device HC or the symbols which are assigned as 32-bit counters by ISPSoft. You can declare 8 pointer registers of the 32-bit counters in every function block: HCR0~HCR7. If you want to use an instruction in the function block, and the 32-bit counter is supported among the operands, you have to use the pointer register of the 32-bit counter. Refer to Chapter 5: Understanding Common Devices of AH Motion Controller - Operation Manual for more information. 2-11