Home

RcWare SoftPLC Modbus server mapping editor User manual

image

Contents

1. Hi Lo parameters data types answer lengths etc One of them should fit then Example Modbus Mapping Editor Analogue value address 3 Holding register Transformation None RcWare Vision Modbus parameter settings RcWare SoftPLC Modbus mapping editor 11 MODICON parametrs set x Station number E Channel fi Base telegram address 1 E Address offset item addr base addr o Answer length number words i Type of value integer Type of READ E Read Holding Registers Type of WRITE E Preset Single Registers Order bytes HiLo wf OF gt Stormo NB the Base telegram address parameter is 4 and not 3 as the RcWare Vision decreases the address by one RcWare SoftPLC Modbus mapping editor 12
2. hand Icon Ha Modbus Mapping Editor x E Modb d O File Help ef beror Bools Shorts Channels General Settings vee brelaye AZ breset Address Variable VaribleT ype ny z ofset 1 man BA SW povolreg aolil ee r movolredg P E Reemeytu a Ey O Urus E 4 2 SpotrebaElektro E SpotrebaPlynu Heic Snntrehainadu 4 RcWare SoftPLC Modbus mapping editor 8 Then drag and drop the variable to the desired line in the Bools definition table Its address appears in the Variable column NB the connection has been renamed from DefaultConnection to BA Select the requested variable type Coil or Input In this version there is no difference between a value defined as coil or as input both of them are accessible with the same functions F01 F02 F05 F15 The choice is for future extensions It is recommend to select Coil here as coils can be written too The Address column gives the Modbus register address to read from Together with the variable name and type it will be part of the documentation you will provide to the 3 party developer There are up to 65535 addresses 2 bytes in the Modbus definition however only 1 to 2048 address fields can be mapped in the Modbus Mapping Editor Example of the Modbus table Digital variables ROO Alarm status 0 OK 1 Alarm Night Mode 0 Day 1 Night 4 3 2 Analogue variables The analogue variables are communicated as s
3. G SoftPLC ModbusMappingEditor Install msi installer file ix SoftPLC ModbusMappingEditor Welcome to the SoftPLC ModbusMappingEditor Setup Wizard The installer will guide you through the steps required to install SoffPLC Modbus appingE ditor on Your Computer WARNING This computer program i protected by copyright law and international treaties Unauthorized duplication or distribution of this program or any portion of it may result in severe civil or criminal penalties and will be prosecuted to the masimum extent possible under the law Click Next RcWare SoftPLC Modbus mapping editor ji SoftPLC ModbusMappingEditor Select Installation Folder The installer will install SoftfPLC ModbusM appingE ditor to the following folder To install in this folder click Next To install to a different folder enter it below or click Browse Folder C Program Files A cw are S offPLC Modbus appingE ditor Browse Disk Cost Install SoftPLC Modbus appingE ditor for yourself or for anyone who uses this computer f Evenone Just me fe SoftPLC ModbusMappingEditor Contirm Installation The installer is ready to install SoftPLC ModbusM appingE ditor on Your computer Click Next to start the installation Cancel lt Back Click Next to start the installation fe SoftPLC ModbusMappingEditor Installation Complete SofPLe ModbusM appinge ditor has been successt
4. delete the variable from the Modbus table focus the row and click the Detach variables button 4 4 Saving the project To save the project to the mmc file select File Save or Ctrl S and enter the name of your project a Modbus Mapping Editor J New Ctrl M E Open Chrl 0 yy Save Ctrl 5 Exit 4 5 Opening a saved project A saved project can be opened for further processing in the File Open menu or by pressing the Ctrl O keys Remember that if the Save retrieved values option in the General settings menu has been unchecked before saving it is necessary to re import the variables to be able to add some 4 6 Loading the configuration file into the runtime 4 6 1 SoftPLC Windows runtime Copy the mmc file to the folder where Modbus server is installed 4 6 2 MiniPLC In the Platform config dialogue define the path and file name in the Modbus server settings item RcWare SoftPLC Modbus mapping editor 10 MiniPLC Configuration 5 xj Serial number _ Device name DHCP _IP Address l Gateway BT version M Settings of the selected MiniPLC A Bes Project not compiled E3 Compile e Set IP Address and other network properties 22 Upload LCD menu definition to the device x a Set device name language and LCD decay time 22 Upload web interface files to the device x o Set user name password and TCP access port amp Upload messaging definition Email BETA x o Set web user name and passwo
5. domat control system RcWare SoftPLC Modbus server mapping editor User manual 1 Contents 4 1 4 2 4 3 4 4 4 5 4 6 COMMS INS e532 ate aa aN as aah nah hs E a ate ae 2 Why SoftPLC as a Modbus SEPVel ccccseeeeeceeeeeeaeeeeeeesaeeeeeseeeesaeeeessaeeeeeeeas 3 Installation and setup of the Modbus mapping editor cccecccceeeeeeeeeeeeee ees 4 Creating and editing the Project 2 0 00 cecccccccccseeccesseeeeeeeeseeeeceaeesseeeeseeeessaeeeesaes 6 importon the va arnableS eSa aa aaa a aai 6 OO MINS crenn eee E R 7 Defining VANADICS 2052 62 suiceceteacchdavebeeeivetsi ake AE T EE 8 Savino the ProClean eee ee 10 Opening a saved project nannnennnenneennnrnnnnnersrinsnrrnrrrnnrrrnrrnrronrnrrsrrrenrrnne 10 Loading the configuration file into the runtime a0nannnnannnannannnnnannnnnnnennnn 10 Testing and troubleshooting 5225 ices tees dvecdat erase nteas eect hest fave cvecgatl za uatecseentueada 11 RcWare SoftPLC Modbus mapping editor 2 2 Why SoftPLC as a Modbus server Topology of the Modbus communication Modbus is an old yet widely used industrial serial communication standard created by Modicon in 1979 see e g http www modbus org specs php Although SoftPLC runtimes usually communicate as Modbus masters i e read data from the slave I O modules sometimes it might be useful to share the process data to a 3 party PLC or SCADA using the Modbus protocol The SoftPLC runtim
6. e then acts as a Modbus server slave waiting for requests from a client master The standard used is Modbus RTU binary data Communication parameters are 1200 38400 bit s configurable N 8 1 Modbus functions used to access and write data Analog values Read F03 Read holding register or F04 Read input registers Write F06 Preset single register or F16 Preset multiple registers Digital values Read F01 Read coil status or FO2 Read input status Write F05 Force single coil or F15 Force multiple coil The data are sent in Hi Lo order e g 0x1234 first byte sent is 0x12 second byte is 0x34 3rd party PLC 3rd party SCADA IPLC301 coma Both IPCT or another PC based hardware and MiniPLC can be used as a Modbus server Check if you have correct port types enough to fit your application e g more IPCT Modbus servers at one bus need a RS485 bus and therefore a M011 converter to each IPCT RcWare SoftPLC Modbus mapping editor 3 3rd party RAS COM4 RS465 COM4 RS465 Addr n COM JR S465 Addr n 1 COM S T E a a M Bus j Cas E or a en s Jit m D a ae Ft i a Se a ae Another possible topology with more Modbus servers at one bus 3 Installation and setup of the Modbus mapping editor Install the Modbus mapping editor using the Common SoftPLC installer For older installations the following procedure applies Run the ES
7. hort integers 16 bit Double type variables are converted into integers automatically Bools shorts Channels General Settings Address Bs Vanable VarbleT ype Transformation ie BAS HoldingA 10 gia Click a variable you want to map to the Modbus table The variable is marked by a hand icon Then drag and drop it to the desired Modbus address row Select variable type Input register Holding register In this version there is no difference between a value defined as holding register or as input register both of them are accessible with the same functions F03 F04 F06 F16 The choice is for future extensions It is recommend to select Holding register here as holding registers can be written too To increase resolution for analogue variables they may be transformed before conversion For example temperatures are usually multiplied by ten 21 5 C giving an RcWare SoftPLC Modbus mapping editor 9 integer of 215 also called HVAC integer Select the appropriate transformation factor in the Transformation column if necessary If the Transformation factor is set to None the decimal part of the double type variable is rounded 163 5 gt 164 Example of the Modbus table Analogue variables R W Temp setpoint x10 e g 216 is 21 6 C 4 3 3 Changing and deleting variables To change the variable in the table simply drag and drop another variable to the Modbus table row To
8. ialogue in Touchscreen Editor Yariables retrieve summary x Variables added 633 J Duplicated names 0 i variables updated 0 Invalid vaiables 633 The variables also appear in the variable tree at the left pane of the program window Fe Modbus Mapping Editor File Help E 8k GEER ee Ao Alar BS Hat AS Coram ror GHD kk H E Serial channel H HWBlock nS MediaCenter aE Regulace BS sw a A0 signal 2 ba Rename the DefaultConnection to any suitable name if necessary by right clicking on the connection name and selecting Rename Connection in the context menu 4 2 Settings 4 2 1 Devices Devices General settings Add New Device Remove Selected Device Auto assign registers noname Channel 1 j Serer address Sewername noname Export hwvar Update period e fio Hement count Coil 32 HementCount Regs 32 Bools Shorts Channel See the General settings tab where channels are defined Select a channel defining COM port parameters where this device or Modbus node should be active Server address set the Modbus server slave address here in range of 1 to 256 Typically it is 1 if there are more Modbus servers at one bus each of them must have different server address Server name A readable name used for your reference Not mandatory Update period How often the Modbus server should refresh valuesfrom the SoftPLC runtime Element count How many registe
9. rd 22 Upload modbus server definition BETA x RT Reboot amp Advanced servicing Platform specific settings V Generate only used variables LCD menu definition file DAprotestUCMestUCMestUCIcdmenu De Web interface files location D protestUCMestUCWweb Messaging definition PT ye Modbus server settings D proMtestUCMestUC modbussvnmme 0000 i Detect devices Then focus the MiniPLC concerned and click Upload modbus server definition Remember to reboot the device to start the Modbus server 5 Testing and troubleshooting For testing use a Modbus client you are familiar with on the other end of the line e g Modbus tester at www modbus pl or RcWare Vision No data are send or received Check cabling and port health e g using two Hyperterminals against each other Check if comm speed and other physical parameters are set at both ends Some characters are received but they are not interpreted as valid Modbus responses Check if comm speed and other physical parameters are set at both ends Check Modbus client settings define more datapoint in the RcWare Vision with different Hi Lo parameters data types answer lengths etc One of them should fit then Data are interpreted as valid Modbus telegrams but values are not correct Check the Modbus listing against the Modbus protocol description Check Modbus client settings define more datapoint in the RcWare Vision with different
10. rs are processed at once Leave default values here RcWare SoftPLC Modbus mapping editor 7 4 2 2 Channels See the General settings tab This can increase size of configuration file to megabytes 10 000 retieved variables 1 MB On the other hand you dont have to retieve vanables every time you are opening project Communication speed Data bits Parity Stop bits Handshake Set the COM port of the target device which should act as a Modbus server It must be different from any of the ports used for I O communication M Bus integration etc For IPCT it will typically be COM2 for IPLC301 it will be COM1 RS232 or COM2 RS232 RS485 Set the communication speed 1200 38400 bps as agreed with the 3 party device supplier The other communication parameters are No parity 8 bits 1 stop bit by default Save retrieved variables as well if checked the imported variables are also stored as part of the mmc file This increases the size of the file but the variables do not have to be imported each time the project is open Uncheck for larger MiniPLC projects as MiniPLC has limited storage space 4 3 Defining variables 4 3 1 Digital variables The first tab is a table for editing digital boolean variables Bools Shorts Channels General Settings Address Varable VaribleT ype empty Unused EN EN EN EN ENEN EN Select a boolean variable in the left pane and click it The variable is marked by a
11. ully installed Click Close to exit Please use Windows Update to check for any critical updates to the NET Framework Eancel Back Close the installer RcWare SoftPLC Modbus mapping editor 4 4 1 Creating and editing the project Import of the variables As a prerequisite a SoftPLC project must be engineered Its variables will be shared over the Modbus server which runs as part of the SoftPLC runtime Then run Programs RcWare SoftPLC Modbus Server Mapping Editor The program window opens Modbus Mapping Editor 0 x File Help Bools Shorts Channels General Settings Address Variable Varible ype empty Unused 1 Unused Update fonnection o 8 emy o o ANUEN Pa e e Delete Lonnectton E Hide advanced options Detach wanables Connections Retrieved Variables EN EN EN EA EN EN EN ET 4 4 First the SoftPLC project variables must be read select Connection Add connection Obtain data from SoftPLC project SoftPLC project Connect And Retreive Yariables x Connection String DefaultConnection Obtain Data From Remote Connection SoftPLC Project SoftPLC Project file Setlect File ana A RcWare SoftPLC Modbus mapping editor 6 Click Select file and select your splcproj file Then click Retrieve A window indicates how many variables have been added updated to the project similar to the d

Download Pdf Manuals

image

Related Search

Related Contents

EUROSTER 2510TXRX – USER MANUAL 1 EUROSTER  sic1_ piano di sicurezza e di coordinamento  The Time is Ripe for Paying Attention to Clothes Drying Technology  Malachie et sa "prophetie" des papes 2  Branch User Manual - Society of Recorder Players  Whirlpool JMC2127 User's Manual    Caderno de Contratadas  CubiScan 125 User Manual  Shure VP83F microphone  

Copyright © All rights reserved.
Failed to retrieve file