MITSUBISHI PLC’s timer to the time contact action Is it immediately reset or maintained

In MITSUBISHI PLC, timers can be divided into retention type and non maintenance type (taking FX series as an example). If T0–T199 is not maintained, T200–T250 is maintained.

For your problem, it should be answered: if you use any of the T0–T199 in the program, the contact will act when the timer goes to the time. As long as the condition of the timer coil is true, the contact is kept, and the contact will be reset immediately as long as the condition of the timer coil is driven.

If you use any of the T200–T250 in the program, the contact will act when the timer goes to the time. If the condition of driving the timer coil is true, the contact is kept, even if the condition of the driver timer coil is false, the contact is still kept, you need to reset the RST instruction, or MOV K0 T2XX. Reposition.

mitsubishi plc timers

The manual says, using a special timer in T192 ~ subroutine and interrupt subroutine in T199, I now subroutine timer is not enough, can I use the general timer in the subroutine, in addition, for the 192~199 general and special Godson program timer in the end what is the difference´╝č

Timer: T0~T199 (200 point) is the timer of 100ms (set value: 0.1~3276.7 S); T200~T245 (46 point) is the timer of 10ms (set value: 0.01~327.67 S); T246~T149 (4 points) is a 1mS cumulative timer (set value: 0.001~32.767 S, power loss retention, that is, interrupt action); 6 Cumulative timer (set value: 0.1~3276.7 S, power loss maintenance, that is, interrupt action).
If T192 to T199 and T246 to T249 are used in subroutines or interrupt programs, the current value of the timer is modified when END instructions are executed. When the current value of the timer is equal to the set value, its output contacts act when executing the timer coil instruction or the END instruction. If the timer is not used, the work of the timer may not be normal under special circumstances.
If the 1ms timer is used to interrupt the program and the subroutine, after its current value has reached the set value, its contacts act when the first coil instruction of the timer is executed.

All special auxiliary relays of FX series PLC

The MITSUBISHI PLC special auxiliary relay has 256 points, which are used to represent some of the states of the PLC, providing clock pulses and signs (such as the carry, the bit of the bit), setting the running mode of the PLC, or for the step control, the prohibition of interruption, the setting counter is counting or subtracting count. Special auxiliary relays are divided into two types:
(1) contact use type
The system program of PLC drives the coils of the contact use special auxiliary relay to use the contacts directly in the user program, but not their coils. Here are several examples:
M8000 (operation monitoring): when PLC executes user programs, M8000 is ON; when execution stops, M8000 is OFF.
M8002 (initialization pulse):M8002 is only ON (see Figure 3-8) in a scanning period of the M8000 changing from OFF to ON state (see Figure 3-8), which can be used to initialize or give initial values to the components with a power failure retention function with the constant open contacts of the M8002.
M8011 ~ M8014 are 10ms, 100ms, 1s and 1min clock pulses respectively.
M8005 (lithium battery voltage reduction): the battery voltage drops to the specified value to ON, which can be used to drive the output relay and the external indicator to remind the staff to replace the lithium battery.
(2) coil drive
The coils are driven by user programs to enable PLC to perform specific operations, and users do not use their contacts. For example:
After the M8030 coil is energized, the “battery voltage is lowered” and the LED is extinguished.
When the coil of M8033 is energized, the state of all output relay remains unchanged when PLC enters STOP state.
When the coil of M8034 is energized, all outputs are prohibited.
When the coil of M8039 is energized, the PLC operates in the scan time specified in D8039.

How to use counter C and auxiliary relay M in MITSUBISHI PLC programming

1. internal counter C
The internal counter counts the internal signals (such as X, Y, M, S, T, etc.) when performing the scan operation. The connection and disconnection time of internal input signal should be longer than that of PLC.
(1) the 16 bit increase counter (C0 ~ C199) is 200 points, of which C0 ~ C99 is a general type, and 100 points of C100 to C199 are a power break retention type. This kind of counter is an added count. It sets a set value before application. When the number of input signals (rising edge) is added to the set value, the counter action is often closed and often closed. The setting value of the counter is 1~32767 (16 bit binary), and the setting value can be set indirectly through the specified data register in addition to the constant K setting.
The following example illustrates the working principle of a universal 16 bit increment counter. As shown in Figure 1, X10 is the reset signal and C0 is reset when X10 is ON. X11 is counting input. Whenever X11 is connected to a counter, the current value is increased by 1 (note that X10 is disconnected, and the counter will not reset). When the counter counts the current value to 10, the output contact action of the counter C0 is Y0 connected. After that, even if the input X11 is connected again, the current value of the counter remains unchanged. When the reset input X10 is connected, the RST reset command is executed, the counter is reset, the output contact is reset, and the Y0 is disconnected.
2. General auxiliary relay (M0 ~ M499)
The FX2N series has a total of 500 points with auxiliary relay. When the general auxiliary relay is running at PLC, if the power suddenly goes off, all the coils are OFF. When the power is switched on again, except for the external input signal, the remaining ON will remain OFF, and they will have no power failure protection function. General auxiliary relay is often used as auxiliary operation, temporary storage and shift in logic operation.
According to needs, the M0 to M499 can be changed to power failure to maintain auxiliary relay by program setting.
Power interruption relay (M500 ~ M3071)
The FX2N series has 2572 M500 to M3071 power cuts to maintain auxiliary relay. Unlike ordinary auxiliary relay, it has the function of power failure protection, that is, it can remember the instantaneous state of power interruption and reappear its state after re energizing. It can maintain its original state when the power supply is cut off, because the lithium battery in PLC keeps the contents of their image registers when the power is interrupted. Among them, M500 ~ M1023 can be set as universal auxiliary relay by software.

How to use the C counter in MITSUBISHI PLC

A cylinder pushes the cylinder two times. How do we use the counter C to complete it?

 

First choose the condition, that is to say which input signal to count, I see the cylinder limit position sensor on the line, the cylinder is in place after the sensor bright, that is, the input signal, and then count the counter once,
LD x1
Set C1 K2

How to count the MITSUBISHI PLC counter

Parallel the Y0 and C0 at the output end. When the Y0 triggers the output once, the C0 will count once.
The counter must have a reset instruction. Technology completion triggers RST C1 reset
If you want to display the count times on the touchscreen, use the MOV command to send the C1 count to register D.
The display component of the touchscreen should select the display address, and the address is the D register you sent. For example, D1 D2 and so on. The display screen can display the data of the register.
The CD port of touch screen is the power supply interface, usually 24V DC. The communication port is the COM port. And that is to download the USB port. There is no technical port. Counting, timing and so on in PLC, all kinds of data are communicated through COM port.

What does M8147 mean in MITSUBISHI PLC, under what circumstances is 1, and under what circumstances is 0?

MITSUBISHI PLC special relay M8147 monitors Y0 pulse output, and M8148 monitors Y1 pulse output.
The role of special relay M8147 and M8148 is that when Y0 and Y1 have pulse output, M8147 and M8148 are set at 1 and no pulse output is set at 0.