Mitsubishi Electric MELSEC-Q64DA Reference Manual page 36

Digital-analog converter module
Table of Contents

Advertisement

Item
Number of steps
Function description
Compiling method
Restrictions and
precautions
FB operation type
Application example
Timing chart
Description
185 steps (for MELSEC-Q series universal model CPU)
* The number of steps of the FB in a program depends on the CPU model that is used and
input and output definition.
1) By turning ON FB_EN (Execution command), error information is read.
2) When the error reset request is ON, error clear is performed.
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) This FB uses index registers Z8 and Z9. Please do not use these index registers in an
interrupt program.
5) Every input must be provided with a value for proper FB operation.
6) When this FB is used in two or more places, a duplicated coil warning will occur during
compile operation due to the Y signal being operated by index modification. However
this is not a problem and the FB will operate without error.
7) 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).
Real-time execution
Refer to "Appendix 1. FB Library Application Examples".
FB_EN (Execution command)
FB_ENO (Execution status)
i_ErrorReset (Error clear request)
Error reset (Y signal)
Error (X signal)
o_UNIT_ERROR
(Module error)
o_UNIT_ERR_CODE
0
(Module error code)
FB_OK
(Completed without error)
FB_ERROR (Error flag)
ERROR_ID(Error code)
MELSEC-Q Digital-Analog Converter Module FB Library Reference Manual
0
Module error code
0
36/49
FBM-M042-B

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-q64dan

Table of Contents