This chapter explains how to configure and use the PWM (Pulse Width Modulated) outputs for
the TRPHIO0808N and TRPHIO0808P clip on I/O modules. These modules have 1 PWM
output. The PWM out can be setup for different modes of operation.
This function is used to output a variable duty cycle pulse. The controllable duty cycle is 10 to 100 % (1
% units). The PWM output is enabled when the pulse enable flag is ON. While the pulse enable flag is
ON, the duty cycle (ON duty) can be changed by changing the duty setting value (10 to 100). The
frequency setting is available in the range of 1 to 10000 Hz (1Hz units) before turning ON the pulse enable
flag. Changing frequency is not allowed while the pulse enable is ON. Note that the minimum ON/OFF
pulse duration is 100 ms. Therefore; the controllable ON duty range is limited depending on the frequency
setting. If the ON duty setting value is not available (within 10 to 100), the pulse width error flag comes ON.
PWM output operation is continued but the duty cycle is not guaranteed.
5.1 Normal Mode PWM Output
For example, to configure high speed output in normal mode follow the steps given below:
1) Create a new application.
2) Add clip-on module in slot1
3) Set 'PWM configuration register' on screen
4) Put value of 1 in 'PWM configuration register'
5) Set 'frequency setting register' on screen and put its value in '5000' (5KHz).
Buy: www.ValinOnline.com | Phone 844-385-3099 | Email: [email protected]
Summary of Contents for OIS PLUS Series
Page 100: ...Buy www ValinOnline com Phone 844 385 3099 Email CustomerService valin com ...
Page 102: ...Timing Diagram Buy www ValinOnline com Phone 844 385 3099 Email CustomerService valin com ...
Page 104: ...Buy www ValinOnline com Phone 844 385 3099 Email CustomerService valin com ...
Page 131: ...Buy www ValinOnline com Phone 844 385 3099 Email CustomerService valin com ...