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.
Be sure to not use D-Scripts/Global D-Scripts to control systems that can cause life-threatening or serious injury.
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, regardless of the current screen.
Extended Scripts should be used for high-level communication programs.
In addition to scripts, you can use logic programs for control applications.28.1 Settings Menu
Conditional Operations Overview |
---|
Create a script which automatically changes screens to screen number 7 after 3 seconds. |
Copying Data in Blocks Overview |
---|
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 Steps |
---|
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 Steps |
---|
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 |
---|
On the [D-Script] dialog box, split the screen into two screens horizontally or vertically. |