6 BASIC INSTRUCTIONS
6.4 Bit Processing Instructions
239
6
Batch-resetting bit devices
BKRST(P)
These instructions reset (n) point(s) bit devices from the bit device specified by (d).
■Descriptions, ranges, and data types
■Applicable devices
• These instructions reset (n) point(s) bit devices from the bit device specified by (d).
• Reset status of bit device is as follows.
• If specified devices are OFF, device status remains unchanged.
Ladder diagram Structured text
ENO:=BKRST(EN,n,d);
ENO:=BKRSTP(EN,n,d);
Operand Description Range Data type Data type (label)
(d) Head device to be reset Bit ANY_BOOL
(n) Number of devices to be reset 16-bit unsigned binary ANY16
Operand Bit Word Double word Indirect
specification
Constant Others
X, Y, M, L,
SM, F, B, SB
U\G T, ST,
C, LC
T, ST, C, D,
W, SD, SW, R
U\G Z LC LZ K, H E $
(d)
(n)
Device Status
Annunciator (F) • (n) point(s) from annunciator (F) number specified by (d) are turned OFF.
• Annunciator numbers from SD64 to SD79 that were turned OFF are deleted and the subsequent numbers are
shifted forward.
• The number of annunciators stored in SD64 to SD79 is stored in SD67.
Timer (T), Counter (C) • Current value of (n) point(s) from timer (T) or counter (C) number specified by (d) is set to 0, and coil contact is
turned OFF.
Bit devices other than given above • Coils and contacts of (n) point(s) from the device specified by (d) are turned OFF.
Error code
(SD0/SD8067)
Description
2820 (n) point(s) of data starting from the device specified by (d) exceed the corresponding device range.