GE P485 instruction manual Select ‘Add Command’ as described earlier, Query Column

Page 45

FRAME AND COMMAND EDITORS

SPECIFYING A NEW COMMAND

Select ‘Add Command’ as described earlier.

This example is taken from a Modbus RTU implementation, which means that the frame will always consist of one byte for slave address, one byte for function code and two bytes for CRC. Furthermore, each command always consists of a query and a response.

The Modbus RTU specific frame objects are already in place and a data object is inserted between the function code and the CRC. These objects cannot be moved or deleted, however it is possible to add objects between the function code and the CRC.

 

 

Figure 6-4: Specifying a new command

 

 

First, enter a name for the command in the Command Name field (A) and an identifier in

 

the Command ID field (B). If the command is allowed to be broadcast on the sub-network,

 

check the Allow Broadcasting check box (C).

 

 

 

The Query (D) field has the following characteristics:

 

 

 

 

 

 

 

Query

 

Column

 

 

 

 

 

 

 

 

 

1: Slave Address.

2: Modbus Function Code

 

3: See below

4: Error Check field.

 

 

 

 

 

 

 

 

 

 

 

 

DisplayName

Slave Address

Function

 

Data

Checksum

 

 

 

 

 

 

 

Protocol specific; cannot be altered.

 

(See below)

 

 

 

 

 

 

 

Object Type

Byte

Byte

 

Data

Checksum

 

 

 

 

 

 

 

Modbus defines this object as a byte.

 

(See below)

 

 

 

 

 

 

 

Value

[SlaveAddress]

ID

 

User

User

 

 

 

 

 

 

 

Linked to the actual ‘Slave

This value is linked to the

 

(See below)

Linked to “User”.

 

Address’ parameter in the

Command ID field.

 

 

Determined by user at

 

parameter window.

 

 

 

configuration by selecting

 

 

 

 

 

the Error Check object in

 

 

 

 

 

the parameter window.

 

 

 

 

 

 

P485 MODBUS TO PROFIBUS CONVERTER – USER GUIDE

6–3

Image 45
Contents GE Multilin P485 Modbus to Profibus ConverterPage P485 Modbus to Profibus Converter Table of contentsSoftware Frame Miscellaneous Getting started IntroductionInput and output definition Document conventionsFeatures FeaturesAbout the P485 Modbus to Profibus Converter Mechanical Housing SpecificationsOrdering CommunicationsInstallation Quick installElectrical installation Pin Signal Description Profibus connector pin assignmentsPin Description Configuration cable pin assignments P485 endConfiguration cable PC end Indicators and switches Mechanical installationNumber Description State Status P485 status indicatorsInput/output bytes required Modules Profibus installation procedurePoor performance TroubleshootingOverview Data exchangeMemory Map Address Contents AccessBlocks Protocol configurationData Exchange Installation procedure Software overviewIntroduction Select Configuration Wizard and click on OK Using the EnerVista P485/D485 Setup softwareTypical network arrangement Sub-network data flow Address Command Software Overview P485 Modbus to Profibus Converter User Guide Software Overview Configurator main window Configuration main windowInformation window Function Description Fieldbus configurationP485/D485 configuration P485/D485 configurationParameter Description Range Modbus network configurationSoftware Overview PLC Communication modelP485 scan list Basic settingsMenu NodesCommunication Model P485 Modbus to Profibus Converter User Guide Communication Model Frame editor Frame and command editorsSelect command window Command editorQuery Column Select ‘Add Command’ as described earlierMain window Modbus network monitor Modbus network and node monitorsStart / Stop sub network scanning Node monitor Update OFF Update onCommand Area Control and status registers Advanced functionsCode Name Description Bits Name DescriptionHandshake bits themselves bits 14 Code Error DescriptionFieldbus control system Input/output data during startupMailbox command Advanced fieldbus configurationAdvanced Functions Overview Application exampleType Parameter Address Format Read/write For the MM2, we haveParameter User map data Address Modbus user map setupMM2 meter user map setting System configuration System configurationDB9 pin Description Setup Software Starting Configuration WizardModbus network properties Selecting the SUB-NETWORK PropertiesParameters configured for Pqmii 11 Connect devices to sub-network Connect Devices to the SUB- Network14 Select parameter window Select Parameters for Each Node17 Configuration report Queries 20 Save device file21 Expanding the tree 23 Changing configuration parameters for a query 25 Opening a saved configuration file Profibus network setup Miscellaneous WarrantyRevision history Release Dates10-2 6-3 P485 Modbus to Profibus Converter IndexPower Supply