Mitsubishi Electronics AJ65SBT-64AD user manual Program Examples

Page 43

5PROGRAMMING

5.2 Program Examples

MELSEC-A

This section provides the program examples of the AJ65SBT-64AD.

5.2.1 Program examples for use of the ACPU/QCPU (A mode) (FROM/TO instructions)

The program examples in this section are created under the following conditions. A sequence program is used to set the network parameters.

[Relationships between PLC CPU, master module and AJ65SBT-64AD]

PLC CPU

Device X

X100 to X10F

X110 to X11F

Device Y

Y100 to Y10F

Y110 to Y11F

Device D

D200

D201

D202

D203

Device D

D300

D301

D302

D303

 

 

Master module

Address

 

Remote input (RX)

 

E0H

 

RX00 to RX0F

 

 

 

 

 

E1H

 

RX10 to RX1F

 

 

 

 

 

 

 

Remote output (RY)

 

160H

 

 

 

 

RY00 to RY0F

 

161H

 

 

 

 

RY10 to RY1F

 

 

 

 

 

 

 

Remote register (RWw)

 

1E0H

 

 

 

 

RWw0

 

1E1H

 

 

 

 

RWw1

 

1E2H

 

 

 

 

RWw2

 

1E3H

 

 

 

 

RWw3

 

 

 

 

 

 

 

Remote register (RWr)

 

2E0H

 

 

 

 

RWr0

 

2E1H

 

 

 

 

RWr1

 

2E2H

 

 

 

 

RWr2

 

2E3H

 

 

 

 

RWr3

 

 

 

 

AJ65SBT-64AD

(Station number 1) Remote input (RX)

RX00 to RX0F

RX10 to RX1F

Remote output (RY)

RY00 to RY0F

RY10 to RY1F

Remote register (RWw)

RWw (A/D conversion enable/prohibit specification)

RWw1 (Input range setting)

RWw2 (Moving average processing count setting)

RWw3 (Reserved)

Remote register (RWr)

RWr (CH.1 digital output value)

RWr1 (CH.2 digital output value)

RWr2 (CH.3 digital output value)

RWr3 (CH.4 digital output value)

[Initial settings]

 

A/D conversion enabled channels

Channels 1, 2

Moving average processing channel

Channel 2 count setting = 16 times

Input range setting

Channel 1: 0 to 5V

 

Channel 2: User range setting 1

5 - 2

Image 43
Contents User,s Manual Safety Precautions Installation Precautions Starting and Maintenance Precautions Manual number is given on the bottom left of the back cover RevisionsOverview Programming Procedure Program Examples Setup and Preparation Before OperationIB-66251 Model CodeIB-66721 13J872Gppw Product components This product consists of the following Memo Overview MELSEC-A Overall Configuration MELSEC-A System ConfigurationApplicable master modules Applicable SystemRestrictions on use of CC-Link dedicated instructions General Specification SpecificationPerformance Specification I/O Conversion Characteristics Voltage Input Characteristic Voltage input characteristics0mA Current input characteristics4mA Accuracy ResolutionCurrent Input Characteristic Accuracy Conversion speed AJ65SBT-64AD function list Function ListStored second time Stored third time Sampling processingMoving average processing Sampling time 4000 2000Remote I/O signal list Remote I/O SignalsRemote I/O Signals List Remote I/O Signal Details 1/2 Functions of the remote I/O signalsFlag RYn+1A Error reset request flag Remote I/O Signal Details 2/2Device No Signal Name RXn+1A Initial data setting requestRemote register allocation Remote Register2 A/D conversion enable/prohibit specification Address RWwm B15 B12 b11 B8 b7 B4 b3 CH.4 CH.3 CH.2 CH.1 Input range setting Address RWwm+1Times Moving average processing count setting Address RWwm+25 CH. Digital output value Address RWrn to RWrn+3 B15 B14 B13 B12 B11 B10 CH.4 CH.3 CH.2 CH.1Create a program When making offset/gain setting, set all MELSEC-A Setup and Preparation Before OperationPre-Operation Procedure Precautions When HandlingDIN rail DIN rail hook Name of Each Part Switches Setting switchesSet Value Setting Switches Transmission Speed Speed settingStart Offset/Gain SettingPoint Facing Direction of the Module Installation Station Number SettingInstructions for handling the CC-Link dedicated cables Data Link Cable WiringWiring Wiring precautionsFor current input Maintenance and InspectionModule connection example For voltage inputMemo MELSEC-A Programming Programming ProcedureProgram Examples Program example for power-on MELSEC-A Program example for initial data changing MELSEC-A Initial settings Program example for power-on Setting of automatic refresh parameters Checking Program example for initial data changing MELSEC-A Program examples for use of the QnACPU Automatic refresh parameter setting Program example for initial data changing Program examples for use of the Qcpu Q mode Program for power-on Setting results Setting results of 1 to 8 are shown below Program for initial data changing Error status flag TroubleshootingUsing the Remote Input Signals to Check Errors Error flag RXnC has turned onTo enter the test mode? Terminals across Using the LED Indications to Check ErrorsSet the voltage value to within the range 20.4 to Specified value? 26.4VOperation? Power on againIf the L ERR. LED has begun flickering though When the digital output value cannot be read Revise the parameter settings Is the L RUN LED lit? AJ65SBT-64AD AJ65BT-64AD AppendixMELSEC-A Appendix2 External dimension diagram Memo Ind ERR.LED of the master station flickers Memo Warranty User,s Manual

AJ65SBT-64AD specifications

The Mitsubishi Electronics AJ65SBT-64AD is a high-performance programmable controller designed to meet the demanding requirements of modern automation systems. This module is part of the Mitsubishi FX series of programmable logic controllers (PLCs), known for their reliability, flexibility, and advanced features.

One of the standout features of the AJ65SBT-64AD is its ability to handle 64 analog input channels, making it ideal for applications that require precise monitoring of multiple signals. The module provides a seamless interface for connecting various sensors and transducers, enabling accurate data acquisition in real time. This capability is crucial for industrial environments where monitoring temperature, pressure, flow, and various other parameters is essential for optimal operation.

The AJ65SBT-64AD incorporates advanced signal processing technologies, ensuring high resolution and fast response times. This is particularly important in dynamic applications where rapid changes in process conditions can occur. Additionally, the module supports a wide range of input signal types, including voltage and current, allowing significant versatility in its use across different industries.

Another critical characteristic of the AJ65SBT-64AD is its integration within the Mitsubishi Electric automation ecosystem. This allows for seamless communication and data exchange with other Mitsubishi devices, enhancing system coherence and simplifying configuration processes. By leveraging the integrated engineering tools provided by Mitsubishi, including GX Works2 and GX Developer, users can efficiently program and monitor their systems, reducing downtime and enhancing productivity.

The module is designed with robust construction to withstand harsh industrial environments. Its durability and resistance to dust, moisture, and electromagnetic interference make it suitable for use in a wide range of applications, from manufacturing to process control.

Moreover, the AJ65SBT-64AD employs advanced diagnostics and fault detection capabilities. This functionality aids in preventive maintenance by providing real-time feedback on system performance and potential issues, ensuring that operations run smoothly with minimal interruptions.

In summary, the Mitsubishi Electronics AJ65SBT-64AD is a versatile and high-performance analog input module that offers numerous features tailored for automation applications. Its 64-channel capability, advanced signal processing, robust construction, and integration with Mitsubishi's ecosystem make it a valuable component for any modern industrial automation setup.