Mitsubishi Electric MELSEC Q Series Programming Manual page 15

Motion controller
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

4.3.5 Shared device list for safety communication .................................................................................... 4-21
4.3.6 Detailed description of shared device for safety communication .................................................... 4-22
5.1 Description of the Device for the Sequence Program ............................................................................ 5- 1
5.1.1 Input/output (X, Y) ............................................................................................................................. 5- 1
5.1.2 Internal relays (M, F) ......................................................................................................................... 5- 2
5.1.3 Special relays (SM) ........................................................................................................................... 5- 3
5.1.4 Timer (T) ............................................................................................................................................ 5- 3
5.1.5 Counter (C) ........................................................................................................................................ 5- 5
5.1.6 Data register (D) ................................................................................................................................ 5- 5
5.1.7 Link register (W) ................................................................................................................................ 5- 6
5.1.8 Index registers (Z) ............................................................................................................................. 5- 6
5.1.9 Nesting (N) ........................................................................................................................................ 5- 7
5.1.10 Pointer (P) ....................................................................................................................................... 5- 8
5.1.11 Special register (SD) ....................................................................................................................... 5- 8
5.1.12 Decimal constant (K) ....................................................................................................................... 5- 9
5.1.13 Hexadecimal constant (H)............................................................................................................... 5- 9
5.2 Configuration of Instructions .................................................................................................................... 5-10
5.2.1 How to read the instruction table ...................................................................................................... 5-10
5.2.2 Number of steps ................................................................................................................................ 5-11
5.2.3 END instruction ................................................................................................................................. 5-12
5.2.4 Index ornament ................................................................................................................................. 5-12
5.2.5 Digit designation ................................................................................................................................ 5-13
5.3 Basic Instructions ..................................................................................................................................... 5-16
5.3.2 Ladder block series connection and parallel connection: ANB, ORB ............................................. 5-17
5.3.3 Out instruction: OUT (excluding timers, counters) ........................................................................... 5-18
5.3.4 Timers: OUT T ................................................................................................................................... 5-19
5.3.5 Counter: OUT C ................................................................................................................................ 5-21
5.3.6 Setting and resetting devices: SET, RST ......................................................................................... 5-22
5.3.7 Setting and resetting the master control: MC, MCR ........................................................................ 5-23
5.3.8 Leading edge and trailing edge outputs: PLS, PLF ......................................................................... 5-25
5.3.9 Bit device shifts: SFT ........................................................................................................................ 5-26
5.3.10 Operation results push, read, pop: MPS, MRD, MPP ................................................................... 5-27
5.4 Function Instructions ................................................................................................................................ 5-28
5.4.1 16-bit data comparisons: =, <, > ....................................................................................................... 5-28
5.4.3 BIN 16-bit addition and subtraction operations: +, - ......................................................................... 5-30
5.4.4 BIN 32-bit addition and subtraction operations: D+, D- ................................................................... 5-32
5.4.5 BIN 16-bit multiplication and division operations: *, / ....................................................................... 5-34
5.4.6 BIN 32-bit multiplication and division operations: D*, D/ .................................................................. 5-36
5.4.7 Incrementing and decrementing 16-bit BIN data: INC, DEC ........................................................... 5-38
5.4.8 Incrementing and decrementing 32-bit BIN data: DINC, DDEC ...................................................... 5-39
5.4.9 Conversion from BIN to BCD (16 bits, 32bits): BCD, DBCD ........................................................... 5-40
5.4.10 Conversion from BCD to BIN (16 bits, 32bits): BIN, DBIN ............................................................ 5-42
5.4.11 16-bit and 32-bit data transfers: MOV, DMOV ............................................................................... 5-44
5.4.12 16-bit and 32-bit data exchanges: XCH, DXCH ............................................................................. 5-45
A - 14
5- 1 to 5-78

Advertisement

Table of Contents
loading

Table of Contents