Skip to main content

iRidi for Velocio

A toolkit for creating interfaces to control Velocio equipment.

iRidi for Velocio is a toolkit for creating an interface to control a home or office based on Velocio equipment. Velocio Ace PLC equipment works with iRidi Studio over Modbus. Detailed Modbus setup instructions for iRidi are available here.

Tip

Example: Velocio Ace 11

The equipment was tested using a Velocio PLC Ace 11 with a Modbus TCP Gateway.

Setting Up Velocio PLC Ace​

To configure the Velocio PLC, download the vBuilder programming environment. During installation, confirm installation of the COM port driver required to connect the PLC to the computer.

  1. Connect Velocio PLC Ace to the computer.

Launch vBuilder and create a new project. Select the Flow Chart project type.

Velocio_p1.png

  1. Click "Setup Hardware" in the upper-left corner.

Velocio_p2.png

  1. Select the setup type.
  • Auto Setup - automatically detect the PLC type.
  • Manual Setup - manually select the PLC version.
  1. Set any additional high-speed step counter and step output parameters, if required, then click "Done".

Velocio_p3.png

  1. Click "Mod". Configure the PLC to work with iRidi over Modbus.

5.1. Assign the Modbus PLC ID.

Modbus PLC ID is the device ID used by the Modbus driver in iRidi.

Velocio_p11.png

5.2. Assign the Modbus Address. The Modbus PLC ID range is 0-255.

Velocio_p5.png

  1. Click "Tag" and allow output tags on the PLC to be written remotely.

Velocio_p6.png

  1. Create the logic flowchart for the Velocio PLC.

Velocio_p7.png

  1. Write the logic flowchart to the Velocio PLC by clicking the program button (F6).

Velocio_p8.png

  1. After writing the logic, you must run the program you wrote. Click the run button (F5).

Velocio_p9.png

  1. After starting the program, disconnect the device from USB and connect it to the control circuit.

Working in iRidi Studio​

Velocio Ace PLC equipment works with iRidi Studio over Modbus.

  1. Create a Panel Project.

  2. Add the Modbus TCP driver.

Velocio_ir1.png

  1. Enter the driver settings. In this example:
  • Host - the gateway IP address;
  • Port - connection port;
  • Update Time - polling interval.

Velocio_ir2.png

  1. Create Commands and Feedbacks to match the number of addresses configured on the PLC. Right-click the driver and select Add Feedback or Add Command.

Velocio_ir3.png

  1. Fill in the following parameters:
  • Device ID - PLC ID set in step 5.1 of PLC setup;
  • Type - register type (Coil in this example);
  • Address - address set in step 5.2 of PLC setup.

Velocio_ir4.png

  1. Drag and drop the tags you created onto graphic items in the project. Specify the value to send to the channel.

Tips&Tricks​

Tip
  • If communication with the equipment is delayed, check whether unnecessary registers are used in the Modbus driver. Registers that do not exist can significantly reduce the performance of communication between iRidi and the PLC over Modbus.

  • After programming the controller (step 8 of PLC setup), you must run the program you wrote (step 9 of PLC setup).