21.1 Settings Menu

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.

Conditional Operations

Overview 21.2 Conditional Operations

Steps 21.2.1 Procedure - Conditional Operations

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

 

Copying Data in Blocks

Overview 21.3 Copying Data in Blocks

Steps 21.3.1 Procedure - Copying Data in Blocks

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

 

Displaying an Alarm When an Error Occurs

Overview 21.4 Displaying an Alarm When an Error Occurs

Steps 21.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 21.5 Communicating with Unsupported Peripheral Devices

Steps 21.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 21.6 Referencing Other Scripts

Steps 21.6.1 Procedure - Referencing Other Scripts

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