beautypg.com

10 set bit (s{ }) – Yaskawa MP900 Series Motion Programming Manual User Manual

Page 169

background image

Sequence Commands

4.6.10 SET BIT (S{ })

4 -36

4.6.10 SET BIT (S{ })

J

Overview

This command turns ON the specified bit if the logical operation result is true. It does not turn
OFF the specified bit, even if the logical operation result is false.

J

Description

Designation Method

S{MB001000}=MB001010&MB001011;

A

B

A: Specified bit
B: Logic expression

Data Types

Bit (B)

Integer

(W)

Double

Integer (L)

Real

Number (F)

Constant

Specified Bit

Yes

No

No

No

No

Logic Expression Yes

No

No

No

Yes

J

Programming Examples

Type

Motion Program

Ladder Logic Program

B

S{MB001000}=MB001010&MB001011;

W

L

F

4

A

EXAMPLE

"

This manual is related to the following products: