Mitsubishi Electric MELSEC-Q64DA Reference Manual page 14

Digital-analog converter module
Table of Contents

Advertisement

Item
Function description
Compiling method
Restrictions and
precautions
FB operation type
Application example
Description
1) By turning ON FB_EN (Execution command), the DA conversion enable/disable setting
of the specified channel is set.
2) FB operation is one-shot only, triggered by the FB_EN signal.
3) The setting value is enabled by turning ON the operating condition setting request signal
(Y9) or by executing the operating condition setting request FB
(M+Q64DA_RequestSetting).
4) When the input value is invalid, the FB_ERROR output turns ON, processing is
interrupted, and the error code is stored in ERROR_ID (Error code).
Refer to the error code explanation section for details.
Macro type
1) The FB does not include error recovery processing. Program the error recovery
processing separately in accordance with the required system operation.
2) The FB cannot be used in an interrupt program.
3) Please ensure that the FB_EN signal is capable of being turned OFF by the program. Do
not use this FB in programs that are only executed once such as a subroutine,
FOR-NEXT loop, etc. because it is impossible to turn OFF.
4) When two or more of these FBs are used, precaution must be taken to avoid repetition of
the target channel.
5) This FB uses index registers Z7, Z8 and Z9. Please do not use these index registers in
an interrupt program.
6) Every input must be provided with a value for proper FB operation.
7) If the auto refresh is set using GX Configurator-DA or the configuration function of GX
Works 2, using this FB is unnecessary.
8) The output range, synchronous output mode, resolution mode, and operation mode must
be configured to match devices and systems connected to the Q64DA module.
Configure these settings by making the GX Works2 switch setting according to the
application.
For details on how to use the intelligent function module switch setting, refer to GX
Works2 Operating Manual (Common).
Pulsed execution (1 scan execution type)
Refer to "Appendix 1. FB Library Application Examples".
MELSEC-Q Digital-Analog Converter Module FB Library Reference Manual
14/49
FBM-M042-B

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-q64dan

Table of Contents