0% found this document useful (0 votes)
28 views20 pages

SLC Modbus Config

Uploaded by

ahmeddoleh747
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views20 pages

SLC Modbus Config

Uploaded by

ahmeddoleh747
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 20

SLC MODBUS

COMMUNICATION
INTRODUCTION
There are below steps for SLC MODBUS configuration.

1. Insertion of SLC Module in Ovation Developer Studio.


2. To prepare configuration files, that is to be loaded in module.
3. Implementation of control sheets for mapping of Analog and Digital IOs.
4. Load Controller in which sheets have been implemented.
5. Load of configuration files in Module.
6. Run RLCFLASH.EXE
7. Remove and reinsert module. Wait for communication to establish.
Hardware and Software Requirements:
Hardware Requirements-

1. Serial cable – RS232/RS485


2. USB to Serial Converter – if no serial port in Laptop.

Software Requirements-

1. LC Loader 2.0
2. MODBUS.EXE
3. RLCFLASH.EXE
4. AUTOEXEC.BAT
5. Configuration File
Step 1: Creating a Module Point Name

Create New Module Point name.


Go to points tab of DROP where module to be inserted then Right
click on module points and Insert New.
Continued…..

Give point name as per standard format, also give description and
check for Admin rights
Step 2: Insertion of SLC Module

Now go to the location where Module to be inserted under I/O Interfaces tab and right click for
Insert New. Select the Module type from drop down list. Click Finish, give Module point name
which has been created in Step 1 and press OK.
STEPS FOR CONFIGURING POINTS
 There are 4 files (1 notepad file, 2 .exe files and 1 batch file) to be uploaded in SLC
Module via LC Loader software utility.
1. ABC.cfg (Where ABC is your file name, it can be any file name)
2. MODBUS.EXE
3. AUTOEXEC.BAT
4. RLCFLASH.EXE

MODBUS.EXE RLCFLASH.EXE ABC.CFG


AUTOEXEC.BAT

 Also Need to Implement control sheets for Mapping of IO points as per the
configuration file.
CREATION OF CONFIGURATION FILE:

Open any Notepad file (for fresh file) or make changes in any
sample config file.
CREATION OF CONFIGURATION FILE

Marked field is mandatory.


Platform : RLC/ Q Line/ Computer
Baud rate, databits, Parity, Stopbits, Link Type : Details will be provided by customer
Continued…
 Qlcstatusreg=2000 (It is standard for all)
 Control_reg=1000 (It is standard for all)

Under Group Section: Mention below details


Operation : Periodic/Gated/Trigger
Interval : Interval of point scan (here 100 msec)
Slave : No. will be provided by customer
Function : This is MODBUS command (identify as per below screenshot)
VARIOUS MODBUS COMMANDS:
Continued….

F0300 : This is address of register in LC module (Ovation side). Identify as per LC


Address standard. In our case data is Float. Hence Address started with F. Register address
can be from 0000 to 2046. Don’t use 1000 and 2000 as already used for Control register and
SLC register.
Continued….

0200 : Address of IO Point at third party side. To be provided by customer.


FLOAT : Data type (also to be provided by customer)
# : Data comment, it is not mandatory to write. This is just for understanding .
(Whatever is written after # is just a comment (not a command)

Similarly complete this file for all type of data IO points.

Note: 1. For 1 no. of group create max. of 50 points. If it is more than 50, please create one
more group
CONTROL SHEET IMPLEMENTATION

1. We need to implement control sheets for mapping of IOs as configured in


configuration file.
2. First sheet to be implemented is for SLC Card Status (Using SLC Status Algo,
explained in next slide). One sheet per SLC card.
3. Implement separate control sheets for Analog Inputs, Analog Outputs, Digital
Inputs and Digital Outputs (explained in next slides).

SLCAIN For Analog Inputs


SLCAOUT For Analog Outputs
SLCDIN For Digital Inputs
SLCDOUT For Digital Outputs
Implementation of SLC Status Control Sheet

SLC Status Algo :


First QLC/RLC Data Register : 2000 (Fixed)
Available Flags : 2/3
2 – If SLC Module is non- redundant
3 - If SLC Module is redundant
Continued…

 Primary QLC/RLC Address : Find Module hardware address from utility


tool (This address will be in Binary, convert the same to Hex and add 4800,
If card is located in local and PCI 1; 4C00 for card in PCI 2; No need to
add anything if card is in Remote). This will be the address for Primary
RLC.

HW_address_Utilit
y_Tool

 Similarly find Secondary RLC address. If module is non redundant,


Mention 0 in Secondary RLC address field.
 Rest of the control sheet will be same as shown in example sheet in
previous slide.

Note: There will be one SLC Status control sheet for one SLC Module.
Control Sheets Implementation for Analog Input Points

RLC Data Format : Real/Integer (This is the type of Data, in this case it is Float).
First RLC Data Register : This is the address of IO point given in Ovation side (In this case We
gave F300, hence First RLC data register address will be 300).
Note: 16 points for One SLCAIN Algo. For more points use another SLCAIN Algo.
UPLOAD OF FILES IN LC MODULES :

1. Install LC Loader software.


2. After successful installation, a new virtual drive with name “LCNameSpace” will
create under “My Computer”
3. All 4 files (RLCFLACH.EXE, AUTOEXEC.BAT, MODBUS.EXE,
ABC.CONFIG) to be copied in above virtual drive.
4. Open Terminal under Start-> All programs -> LC Loader for Windows->Terminal
5. Use default profile and make the desired changes under “Device Settings” tab and
click OK.
6. Copy above files in LC module using DOS commands:

Virtual drive is “Drive C” and LC module is “Drive A”

To be continued...
UPLOAD OF FILES IN LC MODULES (Continued…) :

DOS command:
1. CD A:
2. A:\COPY C:RLCFLASH.EXE
3. A:\ COPY C:AUTOEXEC.BAT
4. A:\ COPY C:MODBUS.EXE
5. A:\ COPY C:ABC.CFG

Now, Run RLCFLASH.EXE, this will replace the old files with the new one
created.

Now, Remove the module and again insert, Wait for communication to establish.

Check the value in point information or Signal Diagram.


Thank You…..

You might also like