AH500 Programming Manual 
6-432 
 
Additional remark:   
1.  The instruction counts by the scan cycle. Therefore, the maximum error is one scan cycle. 
Besides, S
1
, S
2
, and (S
2
-S
1
) should be larger than the scan cycle. Otherwise, an error occurs 
when the instruction GPWM is executed. 
2.  If the instruction is used in the function block or the interrupt task, the inaccurate pulse output 
will occur. 
3.  If users declare the operand S
2
 in ISPSoft, the data type will be ARRAY [3] of WORD/INT.