Bit Device Batch Reset - Mitsubishi MELSEC-q Programming Manual

Melsec q series; melsec l series
Hide thumbs Also See for MELSEC-q:
Table of Contents

Advertisement

5 MELSEC FUNCTIONS

5.13.5 Bit device batch reset

n points, starting at the specified bit device, are reset.
Function definition
5 - 58
BKRST_M
BOOL BKRST_M (BOOL EN, BOOL S1, ANY16 n);
Argument Name
EN
S1
n
Return Value
BOOL
Execution condition
Example of use
(* When execution condition X0 turns ON, the number of points stored in D100, *)
(* starting at M10, are reset.
BKRST_M (X0, M10, D100);
Corresponding MELSEC command
BKRST (Batch reset of bit devices)
IN/OUT
Execution condition (Function is executed only when the
IN
result is TRUE)
IN
Head of data to be reset (bit data)
IN
Number of bits to be reset (BIN 16-bit data)
For the usable data type, refer to "3.2.2 About
ANY type".
Description
Description
*)
5 - 58

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-l

Table of Contents