ISPSoft User Manual In an AH/AS series CPU module, an index register can be used with the manipulation of the bits in a device. If an index register is used with the manipulation of the bits in a device, the mark @ has high priority. Please refer to the following example. The data type of VB is WORD. Example 1: VB.1@E0 (VB represents D100. The value in E0 is 3.) 1@E0 is interpreted first. As a result, VB.1@E0 is equivalent to VB.4. The bit which is actually manipulated is bit 4 in D100. The following modifying ways are also available for AH Series CPU modules. Example 1: VB@E0.1 (VB represents D100. The value in E0 is 3.) VB@E0 is interpreted first. As a result, VB@E0.1 represents D103.1.
The bit which is actually manipulated is bit 1 in D103. Example 2: VB@E0.1@E1 (VB represents D100. The value in E0 is 3, and the value in E1 is 2.) VB@E0 and 1@E1 are interpreted separately. As a result, VB@E0 represents D103, and 1@E1 represents 3. VB@E0.1@E1 represents D103.3. The bit which is actually manipulated is bit 3 in D103. *1. If a bit in a device is manipulated, the system will faithfully get the state of the bit. Users have to judge whether the state of the bit is significant by themselves. *2. In the present version of ISPSoft, a bit number must be within the range between 0 and 15.
However, in the future version of ISPSoft, the data length of a symbol will allow the bit number to be within the range between 0 and 31, or between 0 and 63. 6-20