20: P
ULSE
I
NSTRUCTIONS
20-2
« FC4A M
ICRO
S
MART
U
SER
’
S
M
ANUAL
»
Valid Operands
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.
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.
Operand
Function
I
Q
M
R
T
C
D
Constant
Repeat
S1 (Source 1)
Control register
—
—
—
—
—
—
X
—
—
D1 (Destination 1)
Status relay
—
—
X
—
—
—
—
—
—
Operand
Function
Description
R/W
S1+0
Operation mode
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)
R/W
S1+1
Output pulse frequency
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)
R/W
S1+2
Pulse counting
0: Disable pulse counting
1: Enable pulse counting (PULS1 only)
R/W
S1+3
Preset value (high word)
1 to 100,000,000 (05F5 E100h) (PULS1 only)
R/W
S1+4
Preset value (low word)
S1+5
Current value (high word)
1 to 100,000,000 (05F5 E100h) (PULS1 only)
R
S1+6
Current value (low word)
S1+7
Error status
0 to 5
R
Operation Mode
Output Pulse Frequency (Hz)
0 or 1
Maximum frequency (Hz) selected by S1+0
×
S1+1 value (%)
2
Maximum frequency (Hz) selected by S1+0
×
S1+1 value (
×
5%)
3
Output pulse frequency (Hz) selected by S1+1
Summary of Contents for FC4A-C10R2
Page 1: ...FC4A SERIES Micro Programmable Logic Controller User s Manual FC9Y B812 ...
Page 6: ...PREFACE 4 FC4A MICROSMART USER S MANUAL ...
Page 94: ...2 MODULE SPECIFICATIONS 2 74 FC4A MICROSMART USER S MANUAL ...
Page 184: ...6 ALLOCATION NUMBERS 6 20 FC4A MICROSMART USER S MANUAL ...
Page 218: ...8 ADVANCED INSTRUCTIONS 8 8 FC4A MICROSMART USER S MANUAL ...
Page 240: ...11 BINARY ARITHMETIC INSTRUCTIONS 11 8 FC4A MICROSMART USER S MANUAL ...
Page 244: ...12 BOOLEAN COMPUTATION INSTRUCTIONS 12 4 FC4A MICROSMART USER S MANUAL ...
Page 252: ...13 SHIFT ROTATE INSTRUCTIONS 13 8 FC4A MICROSMART USER S MANUAL ...
Page 274: ...15 WEEK PROGRAMMER INSTRUCTIONS 15 8 FC4A MICROSMART USER S MANUAL ...
Page 378: ...22 DUAL TEACHING TIMER INSTRUCTIONS 22 4 FC4A MICROSMART USER S MANUAL ...
Page 386: ...23 INTELLIGENT MODULE ACCESS INSTRUCTIONS 23 8 FC4A MICROSMART USER S MANUAL ...
Page 408: ...24 ANALOG I O CONTROL 24 22 FC4A MICROSMART USER S MANUAL ...
Page 426: ...26 COMPUTER LINK COMMUNICATION 26 6 FC4A MICROSMART USER S MANUAL ...