22.1 Settings Menu

UNINTENDED EQUIPMENT OPERATION

  • Do not use D-Scripts/Global D-Scripts to control systems that can cause life-threatening or serious injury.

Failure to follow these instructions can result in death, serious injury, or equipment damage.

You can use D-Scripts to create simple programs. Using this feature, you can perform operations on the display unit or communicate between the display unit and unsupported peripheral devices.

D-Scripts are set up on a Base Screen. The Base Screen examines script conditions and executes scripts while the screen is displayed.

When the display unit is running, a Global D-Script runs based on a trigger condition, regardless of the current screen.

Extended Scripts should be used for high-level communication programs.

Conditional Operations

Overview 22.2 Conditional Operations

Steps 22.2.1 Procedure - Conditional Operations

Create a script which automatically changes screens to screen number 7 after 3 seconds.

 

Copying Data in Blocks

Overview 22.3 Copying Data in Blocks

Steps 22.3.1 Procedure - Copying Data in Blocks

Create a script that detects the rising edge (0 to 1) of bit address M0100 and copies data stored in the connected device (PLC1) to another connected device (PLC2).

 

Displaying an Alarm When an Error Occurs

Overview 22.4 Displaying an Alarm When an Error Occurs

Steps 22.4.1 Procedure - Displaying an Alarm When an Error Occurs

The temperature management system detects an error bit from the connected device and displays alarm messages when the temperature information storage address (D200) rises to 70 degrees C or higher, or falls to 30 degrees C or lower. Also, this script counts the number of detected errors.

 

Communicating with Unsupported Peripheral Devices

Overview 22.5 Communicating with Unsupported Peripheral Devices

Steps 22.5.1 Procedure - Communicating with Unsupported Peripheral Devices

Create an extended script to output data read from a barcode connected to the USB to a serial printer connected to COM1.

 

Referencing Other Scripts

Overview 22.6 Referencing Other Scripts

Steps 22.6.1 Procedure - Referencing Other Scripts

On the [D-Script] dialog box, split the screen into two screens horizontally or vertically.