Y ( ) Or Yw (Contact Output); Set-Freq···································································································································5 - Hitachi SJ700-2 Series Instruction Manual

Easy-sequence programming software ezsq
Hide thumbs Also See for SJ700-2 Series:
Table of Contents

Advertisement

Chapter 5 Instruction Words

Y ( ) or Yw (contact output)

- Formats
Format
1
Y (ii)= <variable> or
<constant>
(ii = 00 to 07)
2
Yw= <variable> or <constant>
- Explanation
This instruction writes <variable> or <contact> to contact output terminals Y (00) to X (05) in units of bits
or words to output the data. You can write and read data to and from <variable> or <contact>. You can
also fetch and store the status data of contact output terminals Y (00) to Y (05) in <variable>. Details of
the formats are explained below.
Format 1: With this format, the instruction outputs <variable> to the ii'th bit of contact output terminal.
(0 = off, 1 = on, 2 or more = off)
(Examples)
To turn terminal Y (00) off: Y (00)= 0
To turn terminal Y (01) on: Y (01)= 1
Format 2: With this format, the instruction outputs <variable> as word data to contact output terminals.
(Examples)
To turn terminal Y (00) on and turn terminals Y (01) to Y (05) off: Yw= 1
To turn terminals Y (00) to Y (04) off and turn terminal Y (05) on: Yw= U (00) (U (00) = 32)
Note: The setting of terminal active state (C031 to C036) is reflected in the polarity (on or off) of contact
inputs Y (00) to Y (05) and Yw when the data is output to intelligent output terminals 11 to 15 and
the relay output terminal. When creating a user program, consider the on and off states of actual
intelligent output terminals.
- Sample programs
Sample 1: Program to turn terminals Y (00) to Y (05) on sequentially while the output frequency is
increased in 10-Hz steps. (The inverter operation is the same as that programmed in sample 2.)
(Code area [Code Window])
entry
SET-Freq=
ACCEL=
DECEL=
Yw=
FW=
LOOP
if
Hz,
Y(00)= 1
if
Hz,
Y(01)= 1
if
Hz,
Y(02)= 1
if
Hz,
Y(03)= 1
if
Hz,
Y(04)= 1
if
Hz,
Y(05)= 1
LBL1
goto
Instruction to access contact outputs
This instruction assigns <variable> or <constant> to the ii'th bit of
contact output data.
This instruction assigns <variable> or <constant> as word data to
contact outputs.
6000
3000
3000
0
1
FM
<
U(00)
FM
<
U(01)
FM
<
U(02)
FM
<
U(03)
FM
<
U(04)
FM
<
U(05)
LOOP
Description
: Set the output frequency to 60 Hz.
: Set the acceleration time to 30 seconds.
: Set the deceleration time to 30 seconds.
: Start forward rotation of the motor.
then
LBL1
: When the output frequency is less than 10
: turn Y (00) on.
then
LBL1
: When the output frequency is less than 20
: turn Y (01) on.
then
LBL1
: When the output frequency is less than 30
: turn Y (02) on.
then
LBL1
: When the output frequency is less than 40
: turn Y (03) on.
then
LBL1
: When the output frequency is less than 50
: turn Y (04) on.
then
LBL2
: When the output frequency is less than 60
: turn Y (05) on.
5 - 16

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sj700 series

Table of Contents