Download "user manual"
Transcript
15: THE PULSE FB 3. INI: Initialization Input INI specifies the initialization input. When the initialization input is on, the initial values configured in the Settings tab of the editing dialog box in WindLDR are stored in the control registers. The bit device such as an external input (I0 to I155) or an internal relay (M0 to M1277) can be specified. When the initialization input is on, the initial values are written to the data registers with each scan. To initialize the values only one time, use the initialization input in combination with the SOTU (Shot up) FB or the SOTD (Shot down) FB. 4. D1: Operation Status D1 specifies the starting number of the internal relays to use with the PWM FB. Starting from the specified internal relay, 3 consecutive internal relays are used. The range of available internal relay numbers is M0 to M1270. The first digit of the internal relay number must be set to 0. Storage destination Function Setting details Pulse output ON 0: Pulse output OFF 1: Pulse output ON This relay turns on during pulse outputting. This relay turns off when pulse output stops. This relay turns off when the specified number of pulses are output and output completes. Starting number+1 Pulse output complete*1 0: Pulse output not complete 1: Pulse output complete This relay turns on when pulse output has completed. This relay turns off during pulse outputting. Starting number+2 Overflow 0: None 1: An overflow has occurred When pulse counting is enabled, this relay turns on in case a pulse is output that exceeds the preset value. Starting number+0 *1 The pulse output complete on/off state is reflected in the PWM FB output (OUT). However, when the execution input is off, the PWM FB output (OUT) is off. ■Parameter tab 5. 6. 7. 8. 9. 10. 5. Output pulse frequency Set the frequency for the output pulse from 1 Hz to 1,000 Hz in 1 Hz increments. The output frequency error is within ±5%. 6. Pulse width ratio Specify the ON ratio (duty cycle) for the output pulse. The duty cycle can be set for the output frequency in 1% increments. The duty cycle can be set for the output frequency in 1% increments from 1 Hz to 50 Hz, but from 51 Hz to 1,000 Hz, the increments for the duty cycle that can be specified change depending on the output frequency. The increment becomes (pulse frequency/50)%. For example, when 51 Hz is specified for the pulse frequency, 51/50 = 2 (rounded up), so the increment is 2%. When 1,000 Hz is specified for the pulse frequency, 1000/50 = 20, so the increment is 20 %. For 2% increments, a value from 1 to 2 set for Pulse width ratio is handled as 2%, a value from 3 to 4 is handled as 4%. For 20% increments a value from, 1 to 20 is handled as 20%, a value from 21 to 40 is handled as 40%. 7. Pulse counting Specify enabling or disabling pulse counting. Operation mode 15-8 Supported PULS FB PULS2 PULS3 PULS4 0: Disable pulse counting Pulses are continuously output while the execution input is on. X X X X 1: Enable pulse counting The number of pulses specified by the preset value are output. X X SMARTAXIS FBD PROGRAMMING MANUAL FT9Y-B1386 PULS1