# PLC Control User Manual

Document Version ontent Revision Revised By Revision Date
V1.0 Draft Shao Shouchun 2024-03-19

# Table of Contents

# I. PLC Application Scenarios

  1. Source of Demand

Some small projects require only independent control of the PLC's power on and off functions without needing to control sending boxes or other screen-related devices. In such cases, installing a v3pro is too resource-intensive. Therefore, a small program is needed to solely control the PLC switch functionality.

  1. Supported Functions
  • Independently control each channel in the PLC.
  • Control multiple PLCs simultaneously.
  • Schedule timed on/off operations.
  1. Notices
  • This program cannot be used simultaneously with v3pro, as they utilize similar methods for controlling the PLC, which may result in channel occupation conflicts.

# II. PLC Management

  1. Enter the PLC management section, which displays a list of all PLCs by default.

image-20240319105831786.png

  1. Each PLC has a checkbox in the upper right corner for selecting PLCs, allowing for multiple selections.

image-20240319110546132.png

  1. Once PLCs are selected, you can perform PLC operations (start, stop, delete) or click the "Select All" option in the upper right corner for mass selection.

image-20240319123414759.png

  1. Clicking on a channel allows for single-channel operations (on/off).

image-20240612151720189.png

image-20240612151811464.png

  1. To add a PLC, click the plus icon in the upper right corner.

image-20240319123756280.png

The information required includes PLC name, communication method (TCP or serial), IP address (for serial, use the port number), and port number (baud rate). Channel information should include the channel name.

image-20240319124346556.png

  1. Edit PLC Details

Clicking on the details takes you to the PLC's detail interface.

image-20240319133216748.png

image-20240319124044168.png

After modifying the information, click save to apply changes.

# III. Schedule Management

  1. Enter the plan management interface.

image-20240319133641857.png

  1. Click to add a new schedule.

image-20240319125105184.png

Define the name of the schedule.

Note: The schedule must be enabled to be effective

image-20240319131626092.png

  1. Click to add a schedule item.

image-20240319133842165.png

Add tasks based on the scheduled time; tasks can include closing or opening the PLC. You can select the PLC name and PLC channel.

image-20240319125511472.png

  1. Edit Schedule Item

To edit a schedule item, redefine the time and tasks according to your modifications. Finally, click save to apply the configuration.

image-20240319130434556.png

# Four: how to use PLC plug-ins

  1. Click on the plug-in, and the plug-in repository searches for PLC plug-ins or cloud-updated plug-ins

line1.png

line2.png

  1. In the upper right corner, configure the project information and enter the server address

line3.png

  1. Drag in the component and run

line4.png

  1. Drag in the electrical status component

img1.png

  1. Select the electrical type

img2.png

  1. Bind the PLC

img3.png

  1. Set the status polling time, default 3000 (in milliseconds)

img4.png

  1. Drag in the electrical state (single) component

img5.png

  1. Bind the PLC

img6.png

  1. Set the status polling time, default 3000 (in milliseconds)

img7.png

  1. Drag in the electrical cabinet assembly

img8.png

  1. Bind the PLC

img9png

  1. Drag in the PLC control component

Improve the appearance of the component according to the design draft

Select the bound channel

Select the On/Off command

img10png

  1. Set a group name for the component to be used to mutually exclusive states when clicked

Set the component status picture

img11png