<Toc> <Ind>
<4. Module Access >
4-5
IM 34M6H54-01E
Example: Writing the preset value, input function, output function, and input filter constant
Specify the data position number of the output data in the first data position number for
write data (n2).
Program example for writing setting data
When X00502 is on, it writes (outputs) the setting data to the pulse input module installed in
slot number 107. It assumes that the data to be written is stored in data registers D0017 to
D0033.
17
D0017
107
17
X00502
WRITE
F3XS04-
u
N
Data Register
Data position number 17
Data position number 18
Data position number 19
Data position number 20
Data position number 21
Data position number 22
Data position number 23
Data position number 24
Data position number 25
Data position number 26
Data position number 27
Data position number 28
Data position number 29
Data position number 30
Data position number 31
Data position number 32
Data position number 33
Preset value 1 of input channel 1
Preset value 2 of input channel 1
Input function of input channel 1
Output function of output terminal 1
Preset value 1 of input channel 2
Preset value 2 of input channel 2
Input function of input channel 2
Output function of output terminal 2
Preset value 1 of input channel 3
Preset value 2 of input channel 3
Input function of input channel 3
Output function of output terminal 3
Preset value 1 of input channel 4
Preset value 2 of input channel 4
Input function of input channel 4
Output function of output terminal 4
Input filter constant setting, common to all channels
D0017
D0018
D0019
D0020
D0021
D0022
D0023
D0024
D0025
D0026
D0027
D0028
D0029
D0030
D0031
D0032
D0033
D0034
D0035
D0036
16 bits
Write
F0402.EPS
Figure 4.2 Writing Preset Values, Input Function, Output Function, and Input Filter Constants
1st Edition : Feb.01,1999-00
Summary of Contents for F3XS04-3N
Page 2: ...Blank Page ...
Page 8: ...Blank Page ...
Page 10: ...Blank Page ...
Page 56: ...Blank Page ...
Page 66: ...Blank Page ...