Program Example (When The Initial Setting Is Configured Only On A Program) - Mitsubishi Electric MELSEC-Q Series User Manual

Cc-link system master/local module
Hide thumbs Also See for MELSEC-Q Series:
Table of Contents

Advertisement

10.2.6
Program example (when the initial setting is configured only
on a program)
This section provides an example of when the initial setting is configured only on a program, not on a
programming tool.
(1) Devices to be used
Devices are the same as those when the initial setting is configured on a programming tool. (
Section 10.2.5 (1))
(2) Program example
1.
Create the following program on a programming tool.
Confirmation of the data link status
AJ65VBTCU-68ADVN: Initial setting
AJ65VBTCU-68ADVN: Initial setting change
AJ65VBTCU-68ADVN: Process of completing the initial setting
AJ65VBTCU-68DAVN: Initial setting
252
Page 248,
Data link is normal.
(AJ65VBTCU-68ADVN,
AJ65VBTCU-68DAVN)
Data link error
(AJ65VBTCU-68ADVN)
Data link error
(AJ65VBTCU-68DAVN)
A/D conversion enable/prohibit
specification (RWw0)
CH.1 to 4 input range setting
(RWw1)
Averaging process specification
(RWw3)
CH.2 average time, number of
times setting (RWw5)
Turn on Initial data processing
completion flag (RY18).
Turn on Initial data setting
request flag (RY19).
A/D conversion enable/prohibit
specification (RWw0)
CH.1 to 4 input range setting
(RWw1)
Averaging process specification
(RWw3)
CH.2 average time, number of
times setting (RWw5)
Turn on Initial data setting
request flag (RY19).
Turn off Initial data processing
completion flag (RY18).
Turn off Initial data setting
request flag (RY19).
Analog output enable/disable
setting (RWw8)
CH.1 to 4 output range setting
(RWw9)
HOLD/CLEAR setting (RWwB)
Turn on Initial data processing
complete flag (RY18).
Turn on Initial data setting
request flag (RY19).
(To the next page)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents