Decimal Constant K; Hexadecimal Constant H - Mitsubishi Electric M800VW Series Programming Manual

Plc programming
Hide thumbs Also See for M800VW Series:
Table of Contents

Advertisement

M800V/M80V Series PLC Programming Manual (1/2)
4 Explanation of Devices
4.4 Detailed Explanation of Devices
The following two methods of jumping to the end of each program are available.
 Sets the local pointer right before the END instruction and jumps to that position.
 Executes GOEND instruction.
[To jump to the end of the program]
X17
P100
X17
[Cautions for pointers in multi-program method]
(1) Each process (initialization, high-speed, main) is executed from the head of the program executed at the start of each
process.
Thus, the reserved labels for starting, used with the conventional models, cannot be used.
(2) The common pointer can be used only with the subroutine call instruction. This cannot be used with the jump instruction.
(3) The labels using the CJ instruction, JMP instruction or CALL instruction as a device must be programmed so that one of
the following exists.
 If the pointer is a local pointer, it must exist in the same program file as the used instruction.
 If the pointer is a common pointer, it must exist in one of the registered program files.
The PLC will not run properly if Cautions (1) through (3) are not observed.

4.4.15 Decimal Constant K

The decimal constant can be used in the following ways.
 Timer counter setting value: Designate in the range of 1 to 32767.
 Pointer No.: 0 to 159
 Bit device digit designation: 1 to 8
 Basic instruction, function instruction, exclusive instruction value setting
16-bit instruction: -32768 to 32767
32-bit instruction: -2147483648 to 2147483647
The decimal constant is stored by binary value in the PLC.

4.4.16 Hexadecimal Constant H

The hexadecimal constant is used to designate the basic instruction, function instruction and exclusive instruction values.
16-bit instruction: 0 to FFFF
32-bit instruction: 0 to FFFFFFFF
IB-1501667-B
CJ P100
Jump to pointer before
END when X17 turns
ON.
END
Jump to END with
G O E N D
GOEND instruction
when X17 turns ON.
54

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents