5 - 58 5 - 58
5 MELSEC FUNCTIONS
5.13.5 Bit device batch reset BKRST_M
n points, starting at the specified bit device, are reset.
Function definition
BOOL BKRST_M (BOOL EN, BOOL S1, ANY16 n);
Argument Name
IN/OUT
Description
EN IN
Execution condition (Function is executed only when the
result is TRUE)
S1
IN
Head of data to be reset (bit data)
n
IN
Number of bits to be reset (BIN 16-bit data)
Return Value
Description
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)
For the usable data type, refer to "3.2.2 About
ANY type".
Summary of Contents for MELSEC L series
Page 1: ...Programming Manual Structured Text ...
Page 2: ......
Page 73: ...4 33 4 33 4 ST PROGRAM EXPRESSIONS MEMO ...
Page 297: ......