Yo loads setup data, Yt sets the ftp transfer timing, Yg sets whether to use the web server function – Yokogawa Data Acquisition with PID Control CX2000 User Manual

Page 175: Ym sets the command of the modbus master function

Advertising
background image

6-46

IM 04L31A01-17E

6.7 Basic Setting Commands (Measurement)

YO

Loads setup data

Syntax

YO p1<terminator>
p1: File name (up to 8 characters)

Example

Load the setup data of both setting and basic

setting commands from the setup file SETFILE1

(.pcl extension).

YOSETFILE1

Description • This command loads the setting data of both

setting and basic setting commands. To load

only the setting data of setting commands,

use the LO command.

• When this command is executed, the

communication is disconnected.

• This command cannot be specified on models

that do not have an external storage device or

when a medium is not inserted into the drive.

• This command cannot be used while the

setup data file is being output (specified using

the FE command).

• This command cannot be used while program

control is in execution.

YC

Clears the measured/computed
data, initializes setup data

Syntax

YC p1<terminator>
p1: Type of data to be cleared or initialized

0

Clear all measured/computed data

and initialize the setup data of the

setting mode and basic setting mode.

1

Clear all measured/computed data

and initialize the setup data of the

setting mode.

2

Clear all measured/computed data.

Example

Clear all measured/computed data.

YC2

Description • The measured/computed data indicates the

data residing in the internal memory of the CX.

• This command cannot be specified while the

external storage medium is being formatted.

YT

Sets the FTP transfer timing

Syntax

YT p1,p2<terminator>
p1: Auto transfer when display and event data

files are created (ON, OFF)

p2: Auto transfer when report data files are

created (ON, OFF)

Query

YT?

Example

Auto transfer the display and event data files.

Do not transfer the report data file.

YTON,OFF

Description When the method to save the data to the

external storage medium is set to “Auto,” the

data files are automatically transferred when they

are created. For details on how data is stored,

see the

user's manual IM 04L31A01-01E or IM

04L31A01-03E.

YG

Sets whether to use the Web
server function

Syntax

YG p1<terminator>
p1: Use/not use the Web server function (Use,

Not)

Query

YG?

Example

Use the Web server function.

YGUSE

Description • For details on the settings of the Ethernet, the

types of Web pages that can be displayed,

and access control, see sections 2.3 and 2.9.

• The settings specified by this command take

effect after the CX is power cycled.

YL

Sets the operation of the Modbus
master function

Syntax

YL p1,p2,p3<terminator>
p1: Read cycle (125MS, 250MS, 500MS, 1S,

2S, 5S, 10S, 15S, 20S, 30S)

p2: Timeout (125MS, 250MS, 500MS, 1S, 2S,

5S, 10S, 1MIN)

p3: Retrials (OFF, 1 to 5, 10, 20)

Query

YL?

Example

Set the read cycle to 500MS, timeout to 250MS,

and retrials to 2.

YL500MS,250MS,2

Description • This command is valid when the serial

interface protocol is set to “Master.” For a

description of setting the serial interface, see

section 4.2.

• The settings specified by this command take

effect after the CX is power cycled.

YM

Sets the command of the
Modbus master function

When not setting a command

Syntax

YM p1,p2<terminator>
p1: Registration number (1 to 8)

p2: Turn On/Off the command (OFF)

Query

YM[ p1]?

Example

Do not set a command to command registration

number 1.

YM1,OFF

When setting a command

Syntax

YM p1,p2,p3,p4,p5,p6,p7<terminator>
p1: Registration number (1 to 8)

p2: Turn On/Off the command (ON)

p3: Start channel number (C01 to C30) (C01 to

C12 on the CX1000)

p4: Last channel number (C01 to C30) (C01 to

C12 on the CX1000)

p5: Slave device address (1 to 247)

Advertising