Set_output – Yaskawa FSP Amplifier FlexWorks User Manual

Page 169

Advertising
background image

Command Reference

169

SET_OUTPUT

G

ROUP

Output

S

YNTAX

SET_OUTPUT <n> <switch>

OP

. C

ODE

79

M

ODES

Program, Immediate, Sequential

D

ESCRIPTION

Sets a digital output pin to ON or OFF.

There are three logical outputs that can be set
corresponding to the three output pins on the FSP
Amplifier.

n

Digital output number, set according to the
table below.

Output
number

Digital Output

1 Out_1

(CN1-25,26)

2 Out_2

(CN1-27,28)

3 Out_3

(CN1-29,30)

Serial 2 U V

S

YNTAX

A

RGUMENTS

switch

Specifies the required output state:

State Code

Off 0

On 1

Serial 1 U

E

XAMPLE

LABEL 1

SET_ZERO_POSITION demand_position
SLIDE 200
WAIT_VAR Position_actual_value >= 10000

SLIDE 0
SET_OUTPUT 2 ON
END

Advertising
This manual is related to the following products: