Program write: No. 808 parameter of channel 0 (that is, the first module connected to plc), write the contents of D88, and write a total of one parameter.
K1Y000 means Y000~Y003 (4), if it is K2Y000, it means Y000~Y007 (8) and so on. The command means: k2 becomes 0010 and then puts Y003~Y000, ie Y003=Y002=Y000=0, Y001=1
Give you a simple example, such as The first line: X0 turns on C0 K5, The second line: C0 turns on Y0. C is the counter, K is a constant, and 5 is the corresponding data (here 5 times). This means that when you press X0 once, C0 will increase by 1. When you press […]
Mitsubishi is PLC input and output is octal, no X8, X9, X18, X19, X28, X29……… Octal is equal to X0-X7, a total of 8 points
Mitsubishi PLC—MOV instruction Instruction format: MOV S D S Transfer data or data storage word device address D The address of the word software of the data transfer destination Instruction interpretation: When the driving condition is established, the binary data of the original address S is transmitted to the final address D. Instruction function: an […]
The eighth on the left is added, the deletion is the 10th The vertical line below can be deleted as shown in the box position.
Data comparison, conditions meet the input and output
This is a limitation of GX software. For FX software, there is no such restriction. You are not limited to this with the IL command language.
K2 means two 4 bits, K2X000 is X0~X7, MOV K2X000 D101, it sends X0~X7 to the lower 8 bits of D101, and the high position is “0”. If it is K1X000, it means X0, X1, X2, X3 4bits, K2X000 means X0, X1, X2, X3, X4, X5, X6, X7 8bits, and so on.
Mitsubishi PLC program [D> S1 S2] is the contact comparison output command, and the instruction itself is equivalent to one contact. D indicates 32-bit data, [D> S1 S2] indicates that two 32-bit operands are compared. When S1>S2, the contact represented by the command is turned on.