6 PROGRAMMING

MELSEC-Q

6.2Programming Example without Using the Utility Package

(1)Programming example using the FROM/TO commands

Set the A/D conversion enabled channel (initial setting) X0

0

Module

READY

Y9

X9

 

101

 

 

Operating Operating

 

condition

condition

 

setting

setting completed

request

 

 

Digital output value read processing

X11

X0

X0E

104

 

 

Read

Module

A/D

digital

READY

conversion

values

 

completed

 

 

flag

Error code display and reset processing

X10 X0F

T0

H0

K0

H8

K1

CH1 to CH3 are A/D conversion

 

 

 

 

 

enabled

T0

H0

K2

K50

K1

Set the average number of times

 

 

 

 

 

for CH2 to 50 times

T0

H0

K3

K1000

K1

Set the average time for CH3 to

 

 

 

 

 

1000 ms

T0

H0

K9

H604

K1

Specify averaging processing

 

 

 

SET

Y9

 

 

 

 

Operating

Set Y9 (operating condition

 

 

 

condition

 

 

 

setting request) from ON to OFF

 

 

 

setting request

 

 

 

and enable the initial setting

 

 

 

 

 

 

 

 

RST

Y9

 

 

 

 

Operating

 

 

 

 

condition

 

 

 

 

setting request

 

FROM

H0

K11

D11

K1

 

 

 

 

CH1

 

 

 

 

 

Digital

 

 

 

 

 

output

 

 

FROM

H0

K12

D12

K1

Read digital output values for

CH1 to 3

 

 

 

CH2

 

 

 

 

 

 

 

 

 

Digital

 

 

 

 

 

output

 

 

FROM

H0

K13

D13

K1

 

 

 

 

CH3

 

 

Digital output

139

Error Error

reset flag signal

Y0F X0F 167

Error Error

clear flag request

FROM H0

K19

D14

K1

 

 

Error code

 

BCD

D14

K3Y20

 

 

Error code

 

 

SET

Y0F

 

 

 

Error clear

 

 

 

request

 

 

RST

Y0F

 

 

 

Error clear

 

 

 

request

Output the error code to Y20 to Y2B by BCD code.

Clear the error code.

170

END

6 - 4

6 - 4

Page 82
Image 82
Mitsubishi Electronics Q68ADV, Q68ADI, Q64AD user manual Rst

Q68ADV, Q68ADI, Q64AD specifications

Mitsubishi Electronics, a renowned leader in automation technology, has developed advanced analog input modules that play a crucial role in numerous industrial applications. Among them, the Q64AD, Q68ADI, and Q68ADV models stand out with their impressive features and capabilities tailored for precise data acquisition and control.

The Q64AD module is designed for high-performance analog signal processing. It offers up to 16 channels of differential input, making it suitable for applications requiring multiple sensor readings simultaneously. The resolution of 16 bits enables accurate data capture, ensuring that subtle variations in process variables, such as temperature or pressure, are detectable. One of its key advantages is the high-speed sampling capability, allowing data collection at rates of up to 100 milliseconds per channel, essential for real-time monitoring in fast-paced environments.

In contrast, the Q68ADI model enhances the versatility of the analog input system. It includes built-in isolators, providing additional protection against noise and interference commonly found in industrial settings. This isolation feature improves the reliability of sensor readings, especially in harsh environments where electrical noise can impact performance. Furthermore, the Q68ADI supports both voltage and current input types, making it adaptable to various sensor configurations, such as thermocouples and RTDs, expanding its usability across different applications.

The Q68ADV module takes versatility a step further by integrating advanced diagnostic features. This model offers a range of additional functions, including built-in fault detection and self-diagnosis capabilities that identify issues before they escalate into significant problems. It also features temperature compensation and linearization algorithms, which enhance the accuracy of reading from thermocouples and other temperature sensors. The Q68ADV module is ideal for applications demanding high reliability and stringent performance standards, making it indispensable in industries like pharmaceuticals and food processing.

All three models are designed to seamlessly integrate with Mitsubishi's PLC systems, ensuring smooth communication and data exchange. They support various protocols, making them compatible with a wide range of devices and systems. Collectively, the Q64AD, Q68ADI, and Q68ADV modules exemplify Mitsubishi Electronics' commitment to delivering high-quality, reliable, and innovative solutions in industrial automation, empowering businesses to achieve greater efficiency and operational excellence.