5 script command, 1 how the script command is used, Script command -32 – IDEC High Performance Series User Manual

Page 768: How the script command is used -32, 5script command

Advertising
background image

5 Script Command

12-32

WindO/I-NV2 User’s Manual

5.1 How the Script Command is Used

Executes a script when certain conditions are satisfied.

5

Script Command

HG3G

HG2G-5F

HG2G-5S

HG2G-S

HG4G HG1F HG2F HG2S HG3F HG4F

MICRO/I

// Script A

[D 100] = [D 100] + 1;

if ([D 100] >= 50)

{

[D 100] = 0;

}

Executes Script

Start Condition

Satisfied

Satisfied

Satisfied

Complex processes such as conditional branching, logical operation, arithmetic operation, function, etc., can
be programmed in a text format using Scripts. For details, refer to Chapter 20 “Script” on page 20-1.

Advertising
This manual is related to the following products: