User`s manual
5 - 1
MELSEC-
A
5 PROGRAMMING
5 PROGRAMMING
The programming procedure, basic read/write programs, and program examples for
the AJ65SBT-64AD are described.
When utilizing the program example introduced in this chapter for an actual system,
fully verify that there are no problems in controllability in the target system.
This chapter describes examples when a QCPU, QnACPU, or ACPU is used as a
CPU module and GX Developer is used as a programming tool. For the case when a
LCPU is used as a CPU module or GX Works2 is used as a programming tool, refer to
the user's manual for the master module used.
In addition, for details on a master module and dedicated instructions described in
each program example, refer to the user's manual for the master module used and
Type AnSHCPU/AnACPU/AnUCPU/QCPU-A (A Mode) Programming Manual
(Dedicated Instructions) respectively.
5.1 Programming Procedure
Create a program which executes the AJ65SBT-64AD analog/digital conversion by
following the procedure below:
START
Perform moving average processing?
END
No
Yes
A/D conversion enable/prohibit specification
Input range setting
Moving average processing count setting
Specify the channel for which moving average
processing will be performed.
Read digital output value
Initial settings*
* When using the QCPU (Q mode), you can use the remote device station initialization
procedure registration function to make settings. When using the ACPU, QCPU (A
mode) or QnACPU, use the sequence program to make settings.
5