PWM Output Function9-69.1.4 [F173 PWMH] PWM Output Instruction (Control Code Specification)The PWM output is performed according to the set parameters. Instruction formatR0SF173 PWMH n OperandOperand SettingsSStarting address the memory area storing the parameters of the PWM output.S Specify the control code. K0 to K30S+1Duty ratio (Resolution of 1000 or 100)For the control codes K0 to K27, Setting range: K0 to K1000 (0.0% to 100.0%)For the control codes K28 to K30, Setting range: K0 to K1000 (0% to 100%)nChannel nos. used for PWM output:FP0H mode: 0 (CH0: Y0), 1 (CH1: Y3), 2 (CH2: Y8), 3 (CH3: YB)FPΣ mode: 0 (CH0: Y0), 2 (CH2: Y3) Memory area type that can be specifiedOperand WX WY WR WL SV EV DT LD I Constant IndexmodifierK HS - - - - - - A - - - - An - - - - - - - - - A A - Outline of operation• The PWM output is performed form a specified output. The output is performed when thetrigger (execution condition) is on.• The output frequency and cycle are determined by a specified control code. The duty ratio isspecified in the operand [S1+1]. Precautions during programming• This instruction cannot be executed when a control flag corresponding to each channel is on.• The duty may be different from the set ratio according to the load voltage and load currentespecially in the vicinity of minimum and maximum values. The duty can be changed foreach scan. However, the control code cannot be changed during the execution of aninstruction.• When rewriting during RUN is performed during the operation, the PWM output stops while aprogram is being rewritten.