5 - 5 5 - 5
MELSEC-A
5 PROGRAMMING
(2) Initial setting by remote device station initialization procedure
registration
(a)
Setting the target station number
Set the station number to which initial setting will be made.
Set the target station number to "1".
(b)
Setting the procedure registration
When the initial data processing request flag (RX18) turns on and the
remote device station initialization procedure registration (SB0D) is set, the
following data are registered to the AJ65VBTCU-68ADVN/ADIN.
Procedure Execution Condition
Execution
A/D conversion enable/prohibit specification: channenls 1, 2: enable
(RWw0 :0003
H
)
CH.1 to CH.4 input range setting : channel 1: 0 to 5V
: channel 2: user range setting 1
(RWw1: 31
H
)
Average processing setting : channel 1: sampling processing
: channel 2: average processing, average number of
times
(RWw3: 200
H
)
CH.2 average time, number of times setting: channel 2: 16 times (RWw5: 10
H
)
Initial data processing completion flag (RY18) is turned on.
Initial data processing request flag (RX18) turns on
Initial data setting request flag (RY19) is turned on.
Initial data processing request flag (RX18) turns off
Initial data processing completion flag (RY18) is turned off.
Initial data setting completion flag (RX19) turns on
Initial data setting request flag (RY19) is turned off.
(c) Setting
results
The setting results are shown below.
POINT
For the case where the remote device station initialization procedure registration
function is not used but a sequence program is used to make setting, refer to the
user's manual of the used master module.