Delta DVPSCM Series Скачать руководство пользователя страница 19

Communication Module DVPSCM12/52-SL

 

DVP-PLC Operation Manual

 

15

5. Rapid Start

 

This chapter introduces how to execute MODBUS RS-485/RS-422 communication through the 

communications ports on the SCM module. 

 

Communication setting

 

Open DCISoft, click “Tools” and choose “Communication Setting”. The user can choose the 

communication port, and set the information related to RS-232. If an Ethernet module (DVPEN01-SL) is 

used with the SCM module, the user can select “Ethernet” in “Communication Type” box to 

upload/download the program.   

   

 

 

Содержание DVPSCM Series

Страница 1: ...DVPSCM Series DVPSCM12 SL Serial Communication Module DVPSCM52 SL BACnet MS TP Slave Communication Module Operation Manual DVP 0186520 02...

Страница 2: ......

Страница 3: ...the power supply is on 3 Be sure to read this manual carefully and operate the module according to the instructions lest the product should be damaged or the staff should be hurt Contents 1 Introducti...

Страница 4: ...ation 31 7 1 MODBUS 31 7 1 1 Connection between the MODBUS Slave and the Delta Product 32 7 1 2 Connection between the MODBUS Master and the Delta Product 33 7 2 Connecting to WPLSoft 41 7 3 RS 485 42...

Страница 5: ...MSoft the setting software of DVPSCM52 SL is built in Delta communication software DCISoft Please download DCISoft_v1 08 from Delta website 1 1 Functions z It provides RS 422 and RS 485 communication...

Страница 6: ...00 VDC Weight Approximately 95 g BACnet Protocol Implementation Statement Introduction of the standard BACnet device Model Introduction DVPSCM52 SL BACnet Application Specific Controller B ASC BIBBs w...

Страница 7: ...odel name 8 Switch for terminal resistor 1 2 POWER RUN ERR LED indicators 9 Extension port for the MPU left side module 3 Extension port for the left side module 10 RS 485 RS 422 communication port 1...

Страница 8: ...re it to the factory default ERR Red light Off No error No action is required Flash Data is being transmitted through the RS 485 RS 422 port No action is required TX1 TX2 Orange light Off No data is b...

Страница 9: ...to the left side module on the MPU z Direct the I O module to the interface on the MPU and combine the I O module with the MPU as shown in the figure below z Tighten the clips connecting to the left s...

Страница 10: ...Communication Module DVPSCM12 52 SL DVP PLC Operation Manual 6 MEMO...

Страница 11: ...address of the data received through COM2 in UD Link It is used when COM2 UD Link chooses Base Offset Reference data register Offset defines the actual source device for the data receiving 10 R Modul...

Страница 12: ...rough COM2 Bit 1 Enabling the function of writing bits through COM2 49 50 R W Selecting the writing words through COM2 checkbox Bit 0 Disabling the function of writing words through COM2 Bit 1 Enablin...

Страница 13: ...he data sending If Base Offset is chosen in the packet editor Base Offset defines the actual source device for the data sending Example Enter 1 in CR 4 D1 Choose Base Offset in the packet editor and e...

Страница 14: ...er to chapter 8 CR 20 27 UD Link status Description The execution status of UD Link CR 30 Triggering the UD Link sequence Description High byte COM1 Low byte COM2 Enter directly the number of times th...

Страница 15: ...ts or words Description High byte COM2 Bit Low byte COM2 Word 0 Not triggered 1 Triggered once 2 Always triggered Please refer to the table in the description of CR 31 for hexadecimal values CR 35 36...

Страница 16: ...its through COM1 checkbox Description Select the writing bits through COM1 checkbox The SCM module can write at most 32 groups of data No 1 No 32 CR CR43 Bit b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4...

Страница 17: ...n 0 Not yet received 1 Processing 2 Received 3 Reception failure CR 118 Destination of the MODBUS command Description Designate the sending port of the SCM module 1 COM1 2 COM2 CR 119 Length of the MO...

Страница 18: ...d when the user writes the PLC program For the left side module the first I O module connecting to the left side of the MPU of the PLC is numbered K100 the second module is numbered K101 the third mod...

Страница 19: ...gh the communications ports on the SCM module Communication setting Open DCISoft click Tools and choose Communication Setting The user can choose the communication port and set the information related...

Страница 20: ...positions The settings will be downloaded to the SCM module through the communication port chosen by the user After the flag is enabled the designated reading and writing are complete The following ar...

Страница 21: ...Manual 17 3 MODBUS Advance Reading Writing Set Read Bit Read Word and Write Bit Write Word Press the right key of the mouse and click Add Item to increase bits and words The bits are listed in the upp...

Страница 22: ...th is 30 bytes Salve Slave ID The number of the salve device from which the data is read Device Type The user can choose the Delta PLC type If the PLC used is not a Delta PLC please leave the column b...

Страница 23: ...state The SCM module provides the communication state of MODBUS Advance There are four sections Read Bit Read Word Write Bit and Write Word The execution status in each line is stored in the bits in...

Страница 24: ...ugh COM1 to read bits or words High byte bit Low byte word 0 Not triggered 1 Triggered once 2 Always triggered 32 R W Triggering the data exchange through COM2 to read bits or words High byte bit Low...

Страница 25: ...ecuting the word reading the user can enter K2 into CR 31 If the user wants to execute the word reading once the user can enter K1 intro CR 31 After M0 is triggered COM1 on the SCM module will keep re...

Страница 26: ...Communication Module DVPSCM12 52 SL DVP PLC Operation Manual 22 MEMO...

Страница 27: ...ed the user can use this function Ch 6 4 COM port history The user can set whether to record the history of the communication port on the SCM module Ch 6 5 6 2 COM PORT Setting Setting the serial comm...

Страница 28: ...the communication formats The steps of establishing UD Link are as follows 1 Create a group Edit TX packets and RX packets Create commands Trigger and execute the instructions as a group 2 Create a g...

Страница 29: ...nt number The user can edit at most 64 segments in a packet Class The class of the segment includes the message the address the length and the checksum Format The format of the segment includes Hex AS...

Страница 30: ...e user can set the format of the data Null The user does not make any change to the format of the data Hex The ASCII data can be converted into the hexadecimal value The words which can not be convert...

Страница 31: ...Class The user can choose the class of the checksum segment Format The user can choose the format of the checksum segment Initial Value The user can set the initial value of the checksum Reverse Rever...

Страница 32: ...e sending fails Repeat It means the number of times the sending of a command has been repeated after the command has been executed successfully Send Wait The default time interval between the instruct...

Страница 33: ...a BACnet MPU the user has to set the BACnet parameters and the BACnet object for the SCM module 6 5 1 BACnet Parameters The BACnet parameters include the BACnet MAC address the baud rate and the physi...

Страница 34: ...e Delta PLC master connecting to the SCM module The lenghth of tha AV value corresponds to two data registers in the Delta PLC and the lenghth of the BV value corresponds to one coil in the Delta PLC...

Страница 35: ...the standard MODBUS The connection diagram is as below Product Station address Communication protocol Address from which the data is read Register in the MPU Address into which the data is written Re...

Страница 36: ...een the MODBUS Slave and the Delta Product 1 For SCM as the MODBUS slave the user only has to set the parameters such as the station address and the baudrate to allow the connection with the master Op...

Страница 37: ...communication parameters of COM1 station address 247 default Modbus RTU 9600 8 Even 1 7 1 2 Connection between the MODBUS Master and the Delta Product 1 Set the communication parameters of COM2 stati...

Страница 38: ...Module DVPSCM12 52 SL DVP PLC Operation Manual 34 3 Set the data exchange in the slave Add Item Click the added item twice to set the reading writing information in the slave VFD D100 2103H D150 D151...

Страница 39: ...Communication Module DVPSCM12 52 SL DVP PLC Operation Manual 35 ASDA D200 0101H D201 020AH...

Страница 40: ...Communication Module DVPSCM12 52 SL DVP PLC Operation Manual 36 D250 0101H D251 020AH PLC D300 D309 in the master D100 D109 in the slave D350 D354 in the master D150 D154 in the slave...

Страница 41: ...Communication Module DVPSCM12 52 SL DVP PLC Operation Manual 37 TC D400 1000H D451 1001H...

Страница 42: ...complete the user can designate the communication port using MODBUS Advance COM port 2 on the first left side module 4 Download the parameters The user can set the communication After the setting is...

Страница 43: ...Communication Module DVPSCM12 52 SL DVP PLC Operation Manual 39 Click Download choose the left side module which will be downloaded and click OK If only one device is connected click OK directly...

Страница 44: ...te bit Low byte word 0 Not triggered 1 Triggered once 2 Always triggered 34 R W Triggering the data exchange through COM2 to write bits or words High byte bit Low byte word 0 Not triggered 1 Triggered...

Страница 45: ...9600 7 Even 1 and the station address is 247 1 Set WPLSoft Open WPLSoft Click Options and choose Communication Setting 2 Choose RS 232 in Communication Setting designate COMP Port and enter the commun...

Страница 46: ...ndard MODBUS 7 3 1 Connecting to the Electricity Meter There are two common modes of connecting to the electricity meter One is through the standard MODBUS the other is through RS 485 This section int...

Страница 47: ...h FFh Device address IA 6 Function code FF 7 Parameter index PI 8 Checksum CS Add from IA to PI 9 16h End marker 2 The usage There are nine types of usage in which the SCM module communicates with the...

Страница 48: ...Type 1 Only send the abbreviated record abbreviated record Start word device address IA Function code FF Checksum CS End marker 10h D0 09h IA FF 16h Start word 10h Read the device address from D0 IA...

Страница 49: ...12 52 SL DVP PLC Operation Manual 45 The editing is complete There is no response address for type 1 so the user does not need to edit the function code of the response Rx Edit the command Sending Tx...

Страница 50: ...Send the abbreviated record and respond with the abbreviated record The setting of the sending is as that in type 1 The user can copy the setting directly Notice that the function code is 29h Copy th...

Страница 51: ...Start word 10h Check whether the response address and the device address previously read from D0 IA are the same Ignore the function code FF of the response 1 Ignore the word whose length is 1 If the...

Страница 52: ...Communication Module DVPSCM12 52 SL DVP PLC Operation Manual 48 End word 16h The editing is complete Edit the command Sending Tx Packet1 and receiving Rx Packet1...

Страница 53: ...For the sending of the abbreviated record the user can copy or refer to those in type 1 and type 2 Notice that the function code FF is 89h Respond with the full record Start word Length Length repeat...

Страница 54: ...C Operation Manual 50 Start word 68h Length Length repeat Ignore these two words They can be ignored or stored Start word 68h Device address IA Check whether the response address and the device addres...

Страница 55: ...ored in the registers starting from D100 Note Note Some unimportant words can be ignored The user can just store the data which is needed in the registers Dx and the data whose length of the response...

Страница 56: ...iated record the user can copy or refer to those in type 1 and type 2 Notice that the function code FF is A9h Respond with the full record Start word Length Length repeat Start word Device address IA...

Страница 57: ...VPSCM12 52 SL DVP PLC Operation Manual 53 Star word Length Length Star word Check whether the response address and the device address previously read from D0 IA are the same FF Ignore the function cod...

Страница 58: ...Packet1 Type 5 Send the abbreviated record and respond with the full record When the control record is sent the function code FF is 89h Start word Length Length repeat Start word Device address IA Fun...

Страница 59: ...Communication Module DVPSCM12 52 SL DVP PLC Operation Manual 55 Start word Length Length Start word The device address is read from D0 Function code 89h The parameter index is read from D1...

Страница 60: ...the full record Start word Length Length repeat Start word Device address IA Function code FF Parameter index PI Data block DB Checksum CS End marker 68h Null Null 68h D0 Null D1 D100 the content got...

Страница 61: ...PLC Operation Manual 57 Start word 68h Check whether the response address and the device address previously read from D0 IA are the same Function code Check whether the parameter index of the receivi...

Страница 62: ...nual 58 Data block The response data is stored in the registers starting from D100 4 Download After setting all types the user can download the UD Link to the SCM module Open SCMSoft New Project COM P...

Страница 63: ...rs UD Link The group number set in each type is triggered by To instruction in WPLSoft which triggers the execution of UD Link K1 is written into CR3 if the group number is 1 and by analogy K2 is writ...

Страница 64: ...udes writing the station address of the electricity meter and the function code into D0 and D1 respectively When the data is written into the registers the higher bit precedes the lower bit For exampl...

Страница 65: ...SCM module and then download them to the SCM module to connect to the BACnet MS TP module BACnet parameters BACnet MAC address 1 247 Default 247 It can not be the same as the address of other device...

Страница 66: ...elta PLC master connecting to the SCM module The lenghth of tha AV value corresponds to two data registers in the Delta PLC and the lenghth of the BV value corresponds to one coil in the Delta PLC Obj...

Страница 67: ...on Module DVPSCM12 52 SL DVP PLC Operation Manual 63 Downloading the parameters Click Download choose the left side module which will be downloaded and click OK If only one device is connected click O...

Страница 68: ...ication Module DVPSCM12 52 SL DVP PLC Operation Manual 64 After the parameters are downloaded the AV and BV values in the software correspond to the registers and bit in the PLC connected to the SCM m...

Страница 69: ...tion There is a comparison error in the data received Packet editing error The command number is not found The group number is not found Bit 7 6 5 4 Description The data received is beyond expectation...

Страница 70: ...too late to receive the data Parity check error There is an error in the sending format Bit 7 6 5 4 Description Reserved Internal communication error Internal communication timeout Checksum error Bit...

Отзывы: