[Instruction] Contents
[Instruction] Contents [Instruction] Contents
2.2 Digital and Register Allocations〝*〞is default, user configurableTypee Symbol Item Range RemarksX Digital Input (DI) X0~X255 (256)Mapping to external digital I/OY Digital Output (DO) Y0~Y255 (256)Digital 《 Bit Status 》TR Temporary Relay TR0~TR39 (40) For branched pointsMSInternalRelaysNon-RetentiveM0~M799 (800)*M1400~M1911 (512)Retentive M800~M1399 (600)*Special Relay M1912~M2001 (90)M0~M1399 configurable asNon-retentive or Retentive, M1400~M1911 are fixed to Non-retentiveStep Non-Retentive S0~S499 (500)* S20~ S499 configurable as RetentiveRelays Retentive S500~S999 (500)* S500~S999 configurable as Non-retentiveT Timer contact status T0~T255 (256)C Counter contact status C0~C255 (256)TMRCV ofTimerRegister0.01STime Base T0~T49 (50)*0.1S Time Base T50~T199 (150)*1S Time Base T200~T255 (56)*The quantity ofeach time base can be configuredCTRCV ofCounterRegister16-bit32-bitRetentive C0~C139 (140)* Configurable as Non-retentiveNon-Retentivee C140~C199 (60)* Configurable as RetentiveRetentive C200~C239 (40)* Configurable as Non-retentiveNon-Retentive C240~C255 (16) Configurable as RetentiveRegister 《 Word Data 》DRorHRDataRegistersRetentiveR0~R2999 (3000)*D0~D3999 (4000)Non-Retentive R3000~R3839 (840)*R0~R3839 configurable asNon-retentive or Retentive,D0~D3999 are fixed to RetentiveIR Input Registers R3840~R3903 (64) Map to external AI Register inputOR Output Registers R3904~R3967 (64) Map to external AO /Register outputSpecial RegisterSystem Special RegistersR3968~R4167 (200)D4000~D4095 (96)High-Spped Timer Register R4152~R4154 (3)HSC Hardware (4sets) DR4096~DR4110Registers Software(4sets) DR4112~DR4126CalendarRegistersMinute Second R4129 R4128Day Hour R4131 R4130Year Month R4133 R4132WeekR4134DR Data RegistersR5000~R8071(3072)*orROR Read Only Registers R5000~R8071(0)*As general purpose registers if ROR notbeen configured.Configurable as ROR for recipe likeapplicationFR File Registers F0~F8191(8192) Need dedicated instruction to accessXR Index Registers V,Z (2)、P0~P9 (10)2-2
Remark: During power up or changing operation mode from STOP→RUN, all contents in non-retentive relays orregisters will be cleared to 0; the retentive relays or registers will remain the same state as before.2.3 Special Relay DetailsRelay No. Function Description1. Stop, Prohibited ControlM1912 Emergency Stop control • If ON, PLC will be stopped (but not enter STOP mode) and alloutputs OFF.This bit will be cleared when power up or changing operationmode from STOP→RUN.M1913 Disable external outputs control • All external outputs are turn off but thestatus of Y0~Y255 inside the PLC will not be affected.M2001 Disable/Enable status retentive control •If M2001 is 0 or enabled, the Disable/Enable status of allcontacts will be reset to enable during power up or changingoperation mode from STOP→RUN.•If M2001 is disabled and force ON, the Disable/Enable status &ON/OFF state of all contacts will remain as before during powerup or changing operation mode from STOP→RUN.While testing, it may disable and force ON M2001 to keep theON/OFF state of disabled contacts, but don’t forget to enablethe M2001 after testing.2. CLEAR ControlM1914 Clear Non-Retentive Relays • Cleared When at 1M1915 Clear Retentive Relays • Cleared When at 1M1916 Clear Non-Retentive Registers • Cleared When at 1M1917 Clear Retentive Registers • Cleared When at 1M1918 Master Control (MC) Selection • If 0, the pulse activated functions within the master control loopwill only be executed once at first 0→1 of master control loop.If 1, the pulse activated functions within the master control loopwill be executed every time while changing 0→1 of mastercontrol loop.M1919 Function output control •If 0, the functional outputs of some function instructions willmemory the output state, even these instructions not beenexecuted.If 1, the functional output of some function instructions withoutthe memory ability.※ M1918/M1919 can be set to 0 or 1 at will around the whole program to meet the control requirements.2-3
- Page 6 and 7: Conventional Ladder DiagramPLC Ladd
- Page 8 and 9: Input processing (Reading thestatus
- Page 10 and 11: We must energize the coil of relay
- Page 12 and 13: Network: Network is a circuit repre
- Page 15 and 16: 1.5 The De-Composition of a Network
- Page 18 and 19: • When a single element or a seri
- Page 20 and 21: MEMO
- Page 24 and 25: Relay No. Function Description3. Pu
- Page 26 and 27: Relay No. Function DescriptionM1965
- Page 28 and 29: 2.4 Special Registers DetailsRegist
- 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
Remark: During power up or changing operation mode from STOP→RUN, all contents in non-retentive relays orregisters will be cleared to 0; the retentive relays or registers will remain the same state as before.2.3 Special Relay DetailsRelay No. Function Description1. Stop, Prohibited ControlM1912 Emergency Stop control • If ON, PLC will be stopped (but not enter STOP mode) and alloutputs OFF.This bit will be cleared when power up or changing operationmode from STOP→RUN.M1913 Disable external outputs control • All external outputs are turn off but thestatus of Y0~Y255 inside the PLC will not be affected.M2001 Disable/Enable status retentive control •If M2001 is 0 or enabled, the Disable/Enable status of allcontacts will be reset to enable during power up or changingoperation mode from STOP→RUN.•If M2001 is disabled and force ON, the Disable/Enable status &ON/OFF state of all contacts will remain as before during powerup or changing operation mode from STOP→RUN.While testing, it may disable and force ON M2001 to keep theON/OFF state of disabled contacts, but don’t forget to enablethe M2001 after testing.2. CLEAR ControlM1914 Clear Non-Retentive Relays • Cleared When at 1M1915 Clear Retentive Relays • Cleared When at 1M1916 Clear Non-Retentive Registers • Cleared When at 1M1917 Clear Retentive Registers • Cleared When at 1M1918 Master Control (MC) Selection • If 0, the pulse activated functions within the master control loopwill only be executed once at first 0→1 of master control loop.If 1, the pulse activated functions within the master control loopwill be executed every time while changing 0→1 of mastercontrol loop.M1919 Function output control •If 0, the functional outputs of some function instructions willmemory the output state, even these instructions not beenexecuted.If 1, the functional output of some function instructions withoutthe memory ability.※ M1918/M1919 can be set to 0 or 1 at will around the whole program to meet the control requirements.2-3