[Instruction] Contents
[Instruction] Contents [Instruction] Contents
Basic Function InstructionFUN 0MCSymbolMATER CONTROL LOOP STARTFUN 0MCOperandN: Master Control Loop number (N=0~127)the number N cannot be used repeatedly.Description●●●There are a total of 128 MC loops (N=0~127). Every Master Control Start instruction, MC N, mustcorrespond to a Master Control End instruction, MCE N, which has the same loop number as MC N.They must always be used in pairs and you should also make sure that the MCE N instruction is after theMC N instruction.When the Master Control input "EN/" is 1, then this MC N instruction will not be executed, as it does notexist.When the Master Control input "EN/" is 0, the master control loop is active, the area between the MC Nand MCE N is called the Master Control active loop area. All the status of OUT coils or Timers withinMaster Control active loop area will be cleared to 0. Other instructions will not be executed.ExampleLadder Diagram Key Operations Mnemonic CodesX0X1EN0.MC 1Y0ORGORGFUNN:X010X21ST201 10ORGOUTORGOUTXY10T201Y1ORGORGX2X11.MCE 1Y2ORGOUTT201 PV:ORGOUTTY102011FUN1N:1ORGOUTORGOUTXY126-12
Basic Function InstructionFUN 0MCMATER CONTROL LOOP STARTFUN 0MCX0X1X210T2010Y0Y110SY2Remark1:MC/MCE instructions can be used in nesting orinterleaving as shown to the right:Remark2:•When M1918=0 and the master input changes from0→1, and if pulse type function instructions exist inthe master control loop, then these instructions willhave a chance to be executed only once (when thefirst time the master control input changes from 0→1).Afterwards, no matter how many times the mastercontrol input changes from 0→1, the pulse typefunction instructions will not be executed again.• When M1918=1 and the master control inputchanges from 0 → 1, and if pulse type functioninstructions exist in the master control loop, theneach time the master control input changes from 0→1 the pulse type function instructions in the mastercontrol loop will be executed as long as the actionconditions are satisfied.•When a counting instruction exists in the mastercontrol loop, set M1918 to 0 can avoid counting error.•When the pulse type function instructions in themaster control loop must act upon the 0→1 inputchange by the master control, the flag M1918 shouldbe set to 1.X0X1X2MCMCMCMCMCMC0.MC 10.MC 20.MC 31.MC 21.MC 11.MC 36-13
- Page 30 and 31: Register No. Function DescriptionR4
- Page 32 and 33: Register No. Function DescriptionR4
- Page 34 and 35: Register No. Function DescriptionR4
- Page 36 and 37: Register No. Function DescriptionR4
- Page 38 and 39: Register No. Function DescriptionD4
- Page 40 and 41: Instruction Operand Symbol Function
- Page 42 and 43: FUNNo.NameOperandDerivativeInstruct
- Page 44 and 45: FUNNo.NameOperandDerivativeinstruct
- Page 46 and 47: • Ramp Function InstructionsFUNNo
- Page 48 and 49: MEMO
- Page 50 and 51: ※For the relays marked with a ‘
- Page 52 and 53: FUN7 is the UDCTR function. While r
- Page 54 and 55: X0X1Node ANode BIncerseInversediffe
- Page 56 and 57: All input controls of the function
- Page 58 and 59: • The names and functions of the
- Page 60 and 61: 5.1.4 Functions Output (FO)The “F
- Page 62 and 63: Indirect addressing program example
- Page 64 and 65: 5.3.2 The Coding of Numeric Numbers
- Page 66 and 67: (2). 0.5 = (-1) 0 * 2 ( 01111110 )
- Page 68 and 69: While all FBs-PLC numerical operati
- Page 70 and 71: Basic Function InstructionT TIMER T
- Page 72 and 73: Basic Function InstructionT TIMER T
- Page 74 and 75: Basic Function InstructionCCOUNTER(
- Page 76 and 77: Basic Function InstructionSET D PSy
- Page 78 and 79: Basic Function InstructionRST D PSy
- Page 82 and 83: Basic Function InstructionFUN 1MCES
- Page 84 and 85: Basic Function InstructionFUN 2SKPS
- Page 86 and 87: Basic Function InstructionFUN 4DIFU
- Page 88 and 89: Basic Function InstructionFUN 6 D P
- Page 90 and 91: Basic Function InstructionFUN 7 DUD
- Page 92 and 93: Basic Function InstructionFUN 9 D P
- Page 94 and 95: Basic Function InstructionFUN 11 D
- Page 96 and 97: Basic Function InstructionFUN 13 D
- Page 98 and 99: Basic Function InstructionFUN 14 D
- Page 100 and 101: Basic Function InstructionFUN 15 D
- Page 102 and 103: Basic Function InstructionFUN 17 D
- Page 104 and 105: Basic Function InstructionFUN 19 D
- Page 106 and 107: Basic Function InstructionFUN 21 D
- Page 108 and 109: Advanced Function InstructionFUN22
- Page 110 and 111: Advanced Function InstructionFUN 24
- Page 112 and 113: Advanced Function InstructionFUN 26
- Page 114 and 115: Advanced Function InstructionFUN 28
- Page 116 and 117: Advanced Function InstructionFUN 30
- Page 118 and 119: Advanced Function InstructionFUN32A
- Page 120 and 121: Advanced Function InstructionFUN 36
- Page 122 and 123: Advanced Function InstructionFUN 40
- Page 124 and 125: Advanced Function InstructionFUN 42
- Page 126 and 127: Advanced Function InstructionFUN 44
- Page 128 and 129: Advanced Function InstructionFUN 46
Basic Function <strong>Instruction</strong>FUN 0MCSymbolMATER CONTROL LOOP STARTFUN 0MCOperandN: Master Control Loop number (N=0~127)the number N cannot be used repeatedly.Description●●●There are a total of 128 MC loops (N=0~127). Every Master Control Start instruction, MC N, mustcorrespond to a Master Control End instruction, MCE N, which has the same loop number as MC N.They must always be used in pairs and you should also make sure that the MCE N instruction is after theMC N instruction.When the Master Control input "EN/" is 1, then this MC N instruction will not be executed, as it does notexist.When the Master Control input "EN/" is 0, the master control loop is active, the area between the MC Nand MCE N is called the Master Control active loop area. All the status of OUT coils or Timers withinMaster Control active loop area will be cleared to 0. Other instructions will not be executed.ExampleLadder Diagram Key Operations Mnemonic CodesX0X1EN0.MC 1Y0ORGORGFUNN:X010X21ST201 10ORGOUTORGOUTXY10T201Y1ORGORGX2X11.MCE 1Y2ORGOUTT201 PV:ORGOUTTY102011FUN1N:1ORGOUTORGOUTXY126-12