IDEC FC4A-C10R2 User Manual page 330

Fc4a series microsmart micro programmable logic controller
Table of Contents

Advertisement

20: P
I
ULSE
NSTRUCTIONS
Valid Operands
Operand
S1 (Source 1)
D1 (Destination 1)
Source operand S1 (control register) uses 8 data registers starting with the operand designated as S1. Data registers D0
through D1292 and D2000 through D7992 can be designated as S1. For details, see the following pages.
Destination operand D1 (status relay) uses 3 internal relays starting with the operand designated as D1. Internal relays M0
through M1270 can be designated as D1. The least significant digit of the internal relay number designated as D1 must be
0. Special internal relays cannot be designated as D1. For details, see page 6-2.
Source Operand S1 (Control Register)
Store appropriate values to data registers starting with the operand designated by S1 before executing the PULS instruction
as required, and make sure that the values are within the valid range. Operands S1+5 through S1+7 are for read only.
Operand
S1+0
Operation mode
S1+1
Output pulse frequency
S1+2
Pulse counting
S1+3
Preset value (high word)
S1+4
Preset value (low word)
S1+5
Current value (high word)
S1+6
Current value (low word)
S1+7
Error status
S1+0 Operation Mode
The value stored in the data register designated by operand S1+0 determines the frequency range of the pulse output.
0: 10 to 1,000 Hz
1: 100 to 10,000 Hz
2: 1,000 to 20,000 Hz
3: 10 to 20,000 Hz (upgraded CPU only)
S1+1 Output Pulse Frequency
When S1+0 is set to 0 through 2, the value stored in the data register designated by operand S1+1 specifies the frequency
of the pulse output in percent of the maximum of the frequency range selected by S1+0. When S1+0 is set to 0 (10 to 1,000
Hz) or 1 (100 to 10,000 Hz), valid values for operand S1+1 are 1 through 100, thus the output pulse frequency can be 10 to
1,000 Hz or 100 to 10,000 Hz, respectively. When S1+0 is set to 2 (1,000 to 20,000 Hz), valid values for operand S1+1 are
1 through 20 and the S1+1 value multiplied by 5 determines the output pulse frequency, thus the output pulse frequency
can be 1,000 to 20,000 Hz.
When S1+0 is set to 3, the value stored in the data register designated by operand S1+1 determines the frequency of the
pulse output directly. Valid values are 10 through 20,000.
Operation Mode
0 or 1
2
3
20-2
Function
Control register
Status relay
Function
0: 10 to 1,000 Hz
1: 100 to 10,000 Hz
2: 1,000 to 20,000 Hz
3: 10 to 20,000 Hz (upgraded CPU only)
When S1+0 (operation mode) = 0 or 1: 1 to 100 (%)
(1% to 100% of the maximum frequency of selected mode S1+0)
When S1+0 (operation mode) = 2: 1 to 20 (×5%)
(5% to 100% of the maximum frequency of selected mode S1+0)
When S1+0 (operation mode) = 3: 10 to 20,000 (Hz)
0: Disable pulse counting
1: Enable pulse counting (PULS1 only)
1 to 100,000,000 (05F5 E100h) (PULS1 only)
1 to 100,000,000 (05F5 E100h) (PULS1 only)
0 to 5
Maximum frequency (Hz) selected by S1+0 × S1+1 value (%)
Maximum frequency (Hz) selected by S1+0 × S1+1 value (×5%)
Output pulse frequency (Hz) selected by S1+1
« FC4A M
I
Q
— — — — — —
— —
Description
Output Pulse Frequency (Hz)
S
U
'
M
ICRO
MART
SER
S
ANUAL
M
R
T
C
D
Constant
X
X
— — — —
»
Repeat
R/W
R/W
R/W
R/W
R/W
R
R

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents