Tag Archives: Mitsubishi PLC analog program example

How to input read analog quantity in Mitsubishi PLC ladder diagram

TO is the output mode (current or voltage) of the set module, and FROM is the output command of the analog module.

Mitsubishi plc ladder control

This is the control requirement I saw on the tutorial: I asked to press the start button X1, the red light Y1 lights up for 5 seconds, then the yellow light Y2 lights for 3 seconds, then the green light Y3 lights for 6 seconds, and finally returns to the red light, so Loop control. The ladder diagram is as follows, but the simulation results on the Mitsubishi plc simulation software are not the same as the control requirements in the title. Is the program wrong?


X0 is the manual automatic selection. When automatic is enabled, the X1 conveyor roller is automatically operated. When manual is enabled, the conveyor roller is manually operated after pressing X2. Y0 is the conveying roller operation.

How Mitsubishi plc recognizes 4 to 20MA current signals

4 ~ 20MA is generally the current signal of the transmitter, which can be converted into a voltage signal through the ad conversion module, Mitsubishi plc directly read the ad signal.

Mitsubishi plc analog input 4-20mA how to zero setting

First know the resolution of the ad module, such as 32768 or 16384, that is, the output of 4ma corresponds to 0, and the output of 20ma corresponds to 32768 or 16384, and then it is converted to your PT100 (-100– 100 degree)

Mitsubishi PLC analog program example

LD M0

TO K0 K17 H0 K1

TO K0 K17 H2 K1

FROM K0 K0 D0 K1

; select ad input channel 1

; start the input channel 1 ad conversion

; store the current value of channel 1 in register d0

LD M2

TO K0 K17 H1 K1

TO K0 K17 H3 K1

FROM K0 K0 D2 K1

; select ad input channel 2

; start the input channel 2 ad conversion

; store the current value of channel 2 in register d2

LD M4

TO K0 K16 D4 K1

TO K0 K17 H4 K1

TO K0 K17 H0 K1

;d4 is the value of the analog signal output, the value is between 0–255

; start the output channel da conversion processing

; in the edit command to make m0 m2 m4 cycle on and off

;d0 inputs the current value of 1 channel, d2 inputs the current value of 2 channels, and d4 outputs the current value of the channel.