User Tools

Site Tools



Interfacing with a CUBLOC MSB

The following demonstrates how to interface with a CUBLOC MSB using the following LD.

Connect the ComfilePi and MSB like this.

1. Add channels.

Please refer CUBLOC Modbus address.

2. Connect Direct Address.

Edit LD, build, Login(deploy), and start.

Download the Project

CUBLOC Source Code

#include "MSB6XX" 
Opencom 1,115200,3,200,200
Set Modbus 1,1,20
Usepin 8,In
Usepin 32,Out
Set Ladder On 

For the MSB's Ladder logic, only and END rung is needed.

CODESYS with the ComfilePi

comfilepi/codesys/codesys10.txt · Last modified: 2022/04/11 13:24 by COMFILE Technology