Mitsubishi Electronics AJ65SBT-64AD user manual Program for initial data changing

Page 59

5PROGRAMMING

(2)Program for initial data changing

MELSEC-A

Checking of AJ65SBT -64AD status

Initial settings

Read of digital values

Processing at error occurrence

Masks disabled devices.

When any initial data (conversion processing system, input range, A/D conversion enable/disable channel) is changed, the remote device station initialization procedure registration function is unusable.

Using a sequence program, change the initial data.

The program example for initial data changing is shown below.

 

 

Reads data link status.

 

 

AJ65SBT-64AD data

 

 

link normal

 

 

AJ65SBT-64AD data

 

Error LED

link abnormal

 

 

User designation

 

CH.1, CH.2: A/D

 

 

conversion enabled

 

 

CH.1: 0 to 5V

 

 

CH.2: User range

 

 

setting 1

 

 

CH.2 moving average

 

 

processing count:

 

 

16 times

 

 

Turns on CH.2 moving

 

 

average processing

 

 

specifying flag.

 

 

Turns on initial data

 

 

setting request flag.

 

 

Turns off initial data

 

 

setting request flag.

 

 

Reads CH.1 digital

 

 

value.

 

 

Reads CH.2 digital

 

 

value.

 

 

Reads error.

User designation

 

Turns on error reset

 

 

 

 

request flag.

 

 

Turns off error reset

 

 

request flag.

 

 

Masks RY100 to

 

 

RY10F disabled

 

 

devices.

 

 

Masks RY110 to

 

 

RY11F disabled

 

 

devices.

5 - 18

Image 59
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 ConfigurationRestrictions on use of CC-Link dedicated instructions Applicable SystemApplicable master modules General Specification SpecificationPerformance Specification I/O Conversion Characteristics Voltage Input Characteristic Voltage input characteristics4mA Current input characteristics0mA 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 Signals List Remote I/O SignalsRemote I/O signal 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.4VIf the L ERR. LED has begun flickering though Power on againOperation? 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