background image

MB-700- User’s Manual 
 

6.2 

Multiple Masters TCP/IP Communicating Directly with several LC700s and 
“Peer-to-peer” between LC700s within a same Modbus RTU Network 

  

         Figure 6.2 – MB-700 Application Example as MODBUS Gateway and Link of Point to Point Equipments (Serial Master) 

 
In this application, the MB-700 supports the following simultaneous functionality: 
 

9

  CONF700 downloads/uploads via TCP/IP including remotely 

9

  Supervision of the LC700 via OPC and/or driver Modbus TCP/IP 

9

  Firmware download of the LC700 via TCP/IP including remotely 

9

  “Peer-to-peer” communication between LC700s within a same Modbus RTU network, including 

remote units (From LC700 ID=2 to the LC700 ID= 5) 

 
This scenario is similar to the previous one, however the peer-to-peer function was implemented. 
There is peer-to-peer communication between LC700s of the same network, including remote units. 
For example, from LC700 (ID=2) to LC700 (ID=5). 
 
This functionality is added through the CCCM Block. In this block the parameter PORT_NUMBER is 
set. Communication between slaves is made through the serial ports EIA-232 and EIA-485 (port P1 
of the MB-700) 
 
Communication Peer-to-peer between LC700s with MODBUS IDs 2 and 5, respectively, requires a 
CCCM Block. This block will inform the MODBUS address of the variables that must be read and 
the addresses where these variables will be written. Communication is made within the MODBUS 
RTU network in an EIA-232 and EIA-485 (radio link) serial physical means. 
 
Thus, the slave devices may change data directly from each other, without the message passing 
through the TCP/IP masters. The MB-700 allows it connecting two points of the MODBUS network. 
Within each CCCM Block up to 8 peer-to-peer links may be established, because it has 4 digital 
inputs/outputs and 4 analog inputs/outputs. 

 

Summary of Contents for MB-700

Page 1: ...M B 7 0 0 M E...

Page 2: ...web www smar com contactus asp www smar com Specifications and information are subject to change without notice Up to date address information is available on our website smar...

Page 3: ...ple manufacturers due to use of open standards as OPC Server and Modbus TCP IP and RTU Totally integrated unit having the following functions interface gateway linking device bridge and MODBUS data co...

Page 4: ...MB 700 User s Manual IV...

Page 5: ...to the Subnet 2 5 Chapter 3 CONFIGURATION 3 1 Updating the Firmware 3 1 Setting the MB 700 through Software 3 6 Creating a New Plant 3 7 Chapter 4 MB 700 FUNCTION BLOCKS 4 1 Block CCCF Concentrate Con...

Page 6: ...ers TCP IP Communicating Directly with LC700s Peer to peer and Network Redundancy 6 4 MB 700 as a Concentrator and Supervision via DFI OPC Server 6 5 MB 700 working as a Concentrator and Supervision v...

Page 7: ...vailable for the Parameter DATATYPE C 2 Scale Conversion C 3 Data Structure for MB 700 C 4 Block Structure DS 64 C 4 Value Status Floating Point Structure DS 65 C 4 Valor Status Discrete Structure DS...

Page 8: ...MB 700 User s Manual VIII...

Page 9: ...oftware that controls and grants the communication formats the way of sending data defines the path the sending and the reception of data check for transmission errors Configuration Establishes the fu...

Page 10: ...N It is the local network installed within a company industry or institution where these workstations exchange information from each other Logic Controller Logical controller devices are microprocesso...

Page 11: ...allowing changes of information between devices in the same hierarchic level In applications using MB 700 peer to peer means change of information between devices Router Router is responsible for sen...

Page 12: ...Manual XII Transmission media It is the physical media where the port is sent Transmitter Device that includes both the electronic board and the transducer sensor that sends the field variable read fr...

Page 13: ...References XIII REFERENCES Function Blocks Instruction Manual Syscon Manual LC700 User s Guide LC700 LC700 Configuration Manual...

Page 14: ...MB 700 User s Manual XIV...

Page 15: ...of a CPU module plus this power supply module Hardware 9 Backplane R 700 4A Rack with 4 Slots 9 Processor Module MB 700 Processor 1x10 Mbps 1xSYNC Serial Ports EIA 232 EIA 485 9 Power Supply PS AC R...

Page 16: ...ese data directly from Field It is a multi function module mounted in a backplane connected in a DIN rail where it is also connected a PS AC R power supply module Modularity is the key for flexibility...

Page 17: ...tored in a Flash memory this module handles communication and control tasks 1 Ethernet Port 10Mbps 1 SYNC Port 31 25Kbps 1 EIA 232 EIA 485 Port 9 6 Kbps 115 2 Kbps CPU Clock 25MHz 2MB NVRAM Open Proto...

Page 18: ...MB 700 User s Manual 1 4...

Page 19: ...Module Figure 2 1 Module A Joining the Rack K Digital Ground J Flat Cable I Flat Cable Connector Inf H Clips G Rack Address Switch F Module Connector E Flat Cable connector Sup D DIN Rail C Module su...

Page 20: ...le Connector Inferior When existing more than one rack in the same DIN rail they must be hooked up by a flat cable J connected to the Flat Cable connectors J and E J Flat Cable Cable used for connecti...

Page 21: ...n the rack to be able to establish connection to the next module for the connector of flat cable Verify intently the address configuration addressing key as well as the Jumper W1 and the BUS cable Rem...

Page 22: ...if this server is not available it will initially have a fixed IP address this fixed IP may be changed through the FBTools see topic Connecting the MB 700 to the Subnet Using the Fault Indication The...

Page 23: ...he user receives a reply from Smar with the License Keys should type the codes in the blank fields see figure above Press the Grant License Keys button In case the codes are accepted a success confirm...

Page 24: ...nge the IP address of the Workstation it is recommendable to have network management knowledge Enter the Control Panel Windows Control Panel and choose the option Network NOTE In case the Network opti...

Page 25: ...Click the Connect button to see the available modules Figure 2 8 Dfi Download Connect 1 14 Select the target MB 700 module in the option Module using as reference the serial number refer to the extern...

Page 26: ...button 16 After executing the previous step the module will not running the firmware so it will stop all its activity Confirm the operation by clicking the Sim button Figure 2 10 Dfi Download Entry C...

Page 27: ...the serial number refer to the external identification label of the MB 700 19 The default option is attribution through DHCP Server Click the IP Properties option See the Figure 2 12 Figure 2 12 IP Ad...

Page 28: ...them to the serial numbers of each module This will help during identification and diagnose of the possible failures 21 Click OK to end this operation 22 Now return to the screen TCP IP properties of...

Page 29: ...tribution 26 In the DOS prompt type C arp d 192 168 164 100 enter see note below 27 End of connection procedure of the MB 700 in the subnet NOTE If it is necessary to set more than one MB 700 run the...

Page 30: ...MB 700 User s Manual 2 12...

Page 31: ...function is cyclic 4 Release the left push button and the system will execute the RESET Subsequently it will execute the firmware with the standard values for IP address and the Subnet Mask 5 If the n...

Page 32: ...tor NOTE Values must be of the type IP Address 192 168 164 XXX and subnet mask 255 255 255 0 Keep the value for Default Gateway ATTENTION Do not use the address 192 168 164 100 once it is the default...

Page 33: ...TENTION If the user does not follow this step this might imply in serious consequences Figure 3 4 Dfi Download Choose Device 15 To go ahead it is necessary to stop the firmware that is running in the...

Page 34: ...HOLD LED is ON After stopping the firmware execution in the module the window will appear again See Figure 3 6 Figure 3 6 Dfi Download Connect 2 18 Click the button and choose the firmware to download...

Page 35: ...0 To start the firmware again click the Sim Yes button 21 During the download it shows the progress indication bar See Figure 3 9 Figure 3 9 Dfi Download Progress Screen 22 When the download ends it s...

Page 36: ...dure Connecting the MB 700 to the Subnet was done properly The MB 700 is totally set through Function Blocks available in the Fieldbus Foundation standard Figure 3 12 Initial Configuration Syscon The...

Page 37: ...New Plant Certify to have installed the System302 package that contains the Syscon 1 Once the Syscon is installed run the application Figure 3 13 Software Syscon 2 In the main window choose Project F...

Page 38: ...k the OK Button 3 16 Screen to Configure the Server 2 Syscon 7 Add the Fieldbus channel 8 In the MB 700 device add the CCCF Configuration and Resource Blocks 9 Do the Off Line configuration of the dev...

Page 39: ...one set in the parameter DEVICE_ADDRESS this command is transmitted in the serial ports EIA 232 EIA 485 If there is an answer from the addressed device this answer is sent in the TCP IP port Applicati...

Page 40: ...serial ports They may be set through the parameter BAUD_RATE It allows the selection among the following baud rates 9 0 100 bps 9 1 300 bps 9 2 600 bps 9 3 1200 bps 9 4 2400 bps 9 5 4800 bps 9 6 9600...

Page 41: ...0 as Slave Serial Configuring the TCP Media For the applications where MB 700 is used as Modbus TCP Master the following parameters must be set If there is a TCP slave with a unique Modbus address the...

Page 42: ...rval in seconds between each test 12 DEVICE_ADDRESS Unsigned8 1 247 247 E S Define the device address in the Modbus network when acting as a slave 13 SLAVE_ADDRESSES DS 263 S IP number and correspondi...

Page 43: ...9 30 IP_SLAVE_10 VisibleString 32 Spaces S Slave IP address 10 31 IP_SLAVE_11 VisibleString 32 Spaces S Slave IP address 11 32 IP_SLAVE_12 VisibleString 32 Spaces S Slave IP address 12 33 DEVICE_IDS_7...

Page 44: ...Parameters of block configuration like SLAVE_ADDRESS B_ADDRESS F_ADDRESS cannot be changed if the block is working in the automatic mode To change parameters user must change Target for OOS and only n...

Page 45: ...sses of the variable to be monitored IMPORTANT If are necessary integer 4 bytes data or float user will have only to set the first Modbus address of the variable 5 F_ADDRESS_i Parameter Float data Use...

Page 46: ...Description 1 ST_REV Unsigned16 0 None S 2 TAG_DESC OctString 32 Spaces Na S 3 STRATEGY Unsigned16 0 None S 4 ALERT_KEY Unsigned8 1 to 255 0 None S 5 MODE_BLK DS 69 O S Na S See Mode Parameter 6 BLOCK...

Page 47: ...ariable 192 UPDATE_EVT DS 73 Na D This alert is generated by any change to the static data 193 BLOCK_ALM DS 72 Na D The block alarm is used for all configuration hardware connection failure or system...

Page 48: ...The block has status to each point indicating if the communication is ok this status is provided in the OUT_xx Status and IN_xx Status parameter The COMM_STATUS parameter is a bitstring with a summar...

Page 49: ...meter ALERT_KEY 5 Any value in the ALERT_KEY parameter different of 5 disable the option By Link in the Strategy in this case a link must be made between the wished input and output The Figure 4 7 sho...

Page 50: ...he parameters that are showed below For further information about Scaling Conversion refer to the Appendix C 9 FROM_EU_100 9 FROM_EU_0 9 TO_EU_100 9 TO_EU_0 9 DATATYPE The format for the data among th...

Page 51: ...addresses and parameters of the slave that informs the value of the digital variable that is the variable to be read User will have to inform the following parameters 9 PORT_NUMBER User must inform t...

Page 52: ...lows the FOUNDATION TM Fieldbus standard See more details of how to set this status in the Function Blocks manual If the MODBUS_ADDRESS_OF STATUS parameter is not configured the CCCM Block automatical...

Page 53: ...ses in a slave device 30 OUT4 DS 65 N Man Analog output 4 31 EU_ADDRESS _OUT4 DS 266 S OOS Information to generate constants A and B em equation Y A X B plus the addresses in a slave device 32 OUT_D1...

Page 54: ...of the data logger block FIFO CTW The parameter NUM_REGISTER shows the amount of registers stored on the CCDL Block 1 Parameter TYPE_OF_LOG It sets the time_stamp of the data logger 2 Parameter P_EU_A...

Page 55: ...AT variable as well scaling conversion 15 LOGGER_ADDRESS Unsigned16 0 E S OOS Modbus address of data logger beginning 16 NUM_REGISTER Unsigned16 0 E D RO Number of logged FIFO registers 17 STOP_SCAN_A...

Page 56: ...MB 700 User s Manual 4 18...

Page 57: ...to peer Two Modbus slaves change data between each other Peer to peer function allows it Slaves might be in different Modbus networks and even they can change data between each other The system above...

Page 58: ...In the above configuration the peer to peer may for example be easily implemented OFF LINE Configuration IMPORTANT Before the user starts configuring the MB 700 it is necessary read first Chapter 4 of...

Page 59: ...ARGET and put it in Auto Figure 5 2 Syscon Screens Figure 5 3 Adding Block CCCF Block Steps to configure the CCCF Block In the SYSCON find the MB 700 Right click VB_VFD icon A new window will appear S...

Page 60: ...he MODBUS network there is not any other address with the number shown for this parameter Default 247 9 ON_APPLY Set this parameter for Apply To have best visualization rename the blocks which have cr...

Page 61: ...e New Block option Next select CCSM block Right click the block just created and next select Off Line Characterization Set MODE_BLK TARGET Auto The parameter SLAVE_ADDR must have the address of the LC...

Page 62: ...nsmitter 1 Percentage 30001 30002 Transmitter 2 Percentage 30003 30004 Table 5 1 Modbus Points Configuration Example from Modbus Slave In the SYSCON right click the block just created named CCSM Selec...

Page 63: ...the parameter P_EU_VALUE_A 0 TO_EU_0 Inform the minimum value of the parameter P_EU_VALUE_A 0 DATATYPE Choose the format to the Modbus variable read from the slave device For further details about the...

Page 64: ...orks as Peer to peer between Modbus devices in the same serial network it is necessary to configure besides the Resource and CCCF Blocks the CCCM Block CCCM Block To configure the CCCM block follow th...

Page 65: ...Click this parameter and configure FROM_EU_100 Inform the maximum value of input variable read from the LC700 Function Block FROM_EU_0 Inform the minimum value of the Modbus variable read from the LC...

Page 66: ...ser wish the relation by link must proceed as Configure the CCCM in the logic diagram In the SYSCON right click Area1 icon Select New Process Cell option In Process Cell 1 right click the Expand optio...

Page 67: ...er must do the following procedure In the main window right click the first item of this window In the current example the project was called MB 700 Select Export tags A window will open like below as...

Page 68: ...TCP IP Master Description MB 700 functionality in this scenario Bypass Serial to TCP MB 700 works as protocol converter In this function it converts a serial MODBUS RTU message to TCP IP and TCP IP to...

Page 69: ...cture working as Serial Bypass for TCP Configuration The RESOURCE Block must have its parameter MODE_BLK put in auto The procedures to configure the CCCF Block are similar to the previous application...

Page 70: ...of the Modbus Slaves in the CCCF Block follows the steps below If the configuration has only one a Modbus slave for a determined IP address the parameter SLAVE_ADDRESSES must be used In this case for...

Page 71: ...is On Line 2 MB 700 working as Peer to peer For the MB 700 works as Peer to peer in the TCP IP the user must follow the defined steps for the Off Line Configuration in the item MB 700 working as Seri...

Page 72: ...ock and depends on the block instantiation it is indicated in the STRATEGY parameter To provide the redundancy the MB 700 Blocks must answer like Slave Modbus as Active and also as Standby Modbus Addr...

Page 73: ...76 42077 Offset_SM 42076 42077 42276 42277 42476 42477 14 28 P_EU_VALUE_B 28 Float 42128 42129 Offset_SM 42128 42129 42328 42329 42528 42529 15 1 FVALUE 1 Float 42130 42131 Offset_SM 42130 42131 42330...

Page 74: ...n blocks Thus there must be supervision blocks pointing to the same address of the slave so that the CCDL Block works properly An example of configuration is shown below Consider a configuration where...

Page 75: ...CDL blocks in cascade it is only necessary to repeat the same configuration to all the data logger blocks In this way the MB 700 will start to use blocks according to the order of instantiation indica...

Page 76: ...MB 700 User s Manual 5 20...

Page 77: ...remotely The MB 700 is connected to the corporate network through its Ethernet port In the network is connected the workstation to configure and monitor the slave devices Serial ports EIA 232 and EIA...

Page 78: ...communication between LC700s of the same network including remote units For example from LC700 ID 2 to LC700 ID 5 This functionality is added through the CCCM Block In this block the parameter PORT_NU...

Page 79: ...two different MODBUS RTU networks two MB 700s are connected to these slaves to the Ethernet The MB 700 where it is connected the slave ID 2 has an IP address Similarly the second MB 700 also has an I...

Page 80: ...9 Peer to peer communication between LC700s From LC700 ID 2 to the LC700 ID 5 9 Communication network redundancy between multiple TCP IP masters and LC700s inclusively through different physical mean...

Page 81: ...om the LC700s 9 Possibility to have multiple DFI OPC Servers or working with only one OPC server accessed remotely Clients access parameters of the CCSM Block Configuring the CCSM Block allows Modbus...

Page 82: ...TCP IP including remotely 9 Firmware download for the LC700 via TCP IP including remotely 9 Supervision of the LC700 s indirectly through MB 700 i e via DFI OPC server monitoring parameters of the CCS...

Page 83: ...vision of the LC700 s indirectly through MB 700 that is via DFI OPC server monitoring parameters of the CCSM Block that are copies of the Modbus variables from the LC700s 9 Possibility to have multipl...

Page 84: ...B 700 performing bypass Serial to TCP 9 One MB 700 performing bypass TCP to serial In the above scenario MODBUS RTU masters CONF700 LC700Tools LC700 OPC Sever are connected each one to one MB 700 thro...

Page 85: ...ith one board or net cable or a supervision station switch it will stay in conditions to keep the supervision beyond to be available the other supervision station Redundant Source and Backplane Each M...

Page 86: ...ers can be monitored Remote Almost all MB 700 Active data base is transferred to the MB 700Standby but some information does not fit in this case for example the redundancy configuration Role and the...

Page 87: ...be connected to one of them in such a way that two LAN are assembled isolated from each other 6 That way each one of the MB 700 modules can be connected to one of the HUBs obeying the subnet ranges p...

Page 88: ...rough both the NIC adapters The last updated good data will be chosen by the DFI OLE Server to be forwarded to the client When the MB 700 is in Hot Standby mode the DFI OLE Server will preferably choo...

Page 89: ...e Active It is certain the recovery of one failure at a time That is once a fail has occurred a second fail will be recovered by redundancy just if the first fail has been fixed While the failure is n...

Page 90: ...s follows A Bad Condition failure for the Active module takes the system to a switch over In this case this parameter acts as record of the reason of the last switch over When a Bad Condition failure...

Page 91: ...ime to synchronize parameters RED_SYNC_STATUS L and R as Synchronizing This is the time necessary to the modules to check the configuration with each other Finally the modules will synchronize paramet...

Page 92: ...ncy via OPC The single module should use a redundant firmware that supports Hot Standby redundancy The Function_Ids parameter should be set as Sync_Main So the module can be configured and while there...

Page 93: ...ED_ROLE_R Unsigned8 7 Sync_Idle 8 Sync_Main 9 Sync_Backup 7 E D RO Redundancy Role for the remote device Idem FUNCTION_IDS description 173 RED_STATE_R Unsigned8 0 Not Ready 1 Standby 2 Active 0 E D RO...

Page 94: ...User s Manual 7 10 Description of meaning of RED_BAD_CONDITIONS_L R Bits Bit Variable 0 Modbus 1 H1 1 not used 2 H1 2 not used 3 H1 3 not used 4 LiveList 5 Res_1 6 Res_2 7 Res_3 Table 7 2 Description...

Page 95: ...B 3B 4B 5B 6B 7B Fct Init Reset ETH 10Mbps Fail V 232 RTS Tx NC Rx GND CTS 1 3 2 4 5 6 T R SYNC T R 485 NC GND 8B 9B 10B Factory Init Reset Figure A1 MB 700 Factory Init Keep the left Push Button pres...

Page 96: ...click the Finish button in the next window 3 FBTools Wizard does not get to put the MB 700 in HOLD how should I proceed Use the HOLD mode procedure After the MB 700 is put in HOLD run the update proc...

Page 97: ...SmarOLEPath In case there is not run interface Setupt of the Smar s working folder This will create the variable Use only characters that are numbers or lines DO NOT use spaces and symbol characters _...

Page 98: ...MB 700 User s Manual A 4...

Page 99: ...ED WITH 2 PAIRS OPTION 1 OR 4 PAIRS OPTION 2 CONNECTOR RJ 45 SHIELDED MALE Pin 1 Pin 1 1 2 3 6 1 2 3 6 Brown White Orange Brown Orange White DF54 DF55 Cross 1 2 3 6 3 6 1 2 Brown White Orange Brown Or...

Page 100: ...1 FC302 or other MB 700 it should be made a cable with the RJ12 connectors following the next picture CABLE CONNECTION DIAGRAM PIN1 PIN1 CONNECTOR RJ 12 SHIELDED MALE CONNECTOR RJ 12 SHIELDED MALE TAG...

Page 101: ...ng B 3 DB9 FEMALE 1 2 3 4 5 6 7 8 9 RX TX GND CTS CABLE CONNECTION DIAGRAM RJ12 1 2 3 4 5 6 RTS TX RX GND RTS PIN 1 CABLE ASSEMBLING PIN 1 TERMINAL 1 FRONT Figure B 4 Connecting the MB 700 to the Comp...

Page 102: ...able EIA 232 to connect CPU 700 X3 and MB 700 Part number C232 3 700 cable to connect CPU 700 and MB 700 CABLE CONNECTION DIAGRAM DB MALE CPU_LC700 CABLE ASSEMBLING PIN 1 ID LABEL C232 3 700 or DF68 C...

Page 103: ...t CPU 700 R and MB 700 CABLE CONNECTION DIAGRAM DB MALE CPU DB MALE CPU CABLE ASSEMBLY PIN 1 PIN 1 LABEL ID THERMINAL 1 ADHESIVE PROTECTION FIAT CABLE 26 AWG 4 VIAS SHIELDED CABLE 26 AWG 2 PAIRS FRONT...

Page 104: ...long distances from the 485 cable it recommends to use terminators resistors 120ohms in both network ends The MB 700 does not have this internal terminator 1B 2B 3B 4B 5B 6B 7B FUSE 1 25A 90 264VAC M...

Page 105: ...Cabling B 7 Dimensions Figure B 8 Dimensions...

Page 106: ...MB 700 User s Manual B 8...

Page 107: ...ion 4 75 W STATUS INDICATION 5VDC Green LED indicating Module Powering Fail Red LED indicating processor failure Run Green LED indicating program running Hold Yellow LED indicating program in FORCE Fo...

Page 108: ...4 Unsigned8 Integer signed 1 Byte 5 Unsigned16 Integer signed 2 Bytes 6 Unsigned32 Integer signed 4 Bytes big endian 7 FloatingPoint Float point big endian 8 Swapped Integer8 Integer signed 1 Byte 9...

Page 109: ...l value of block in Engineering Units The scale parameters are composed by the following items FROM_EU_100 it defines the high value of the input unit actual data unit FROM_EU_0 it defines the low val...

Page 110: ...12 NumberofVIEW_3 Unsigned8 1 13 NumberofVIEW_4 Unsigned8 1 Value Status Floating Point Structure DS 65 This data structure consists of the value and status of floating point parameters that are Inpu...

Page 111: ...1 2 Update State Unsigned8 1 3 Time Stamp Time Value 8 4 Static Revision Unsigned16 2 5 Relative Index Unsigned16 2 Slave Address Structure DS 263 This data structure consists of data informing the IP...

Page 112: ...bus Address of Value Unsigned16 2 Address Structure DS 266 E Element Name Data Type Size 1 From EU 100 Float 4 2 From EU 0 Float 4 3 To EU 100 Float 4 4 To EU 0 Float 4 5 Data Type Unsigned8 1 6 Port...

Page 113: ...________________________________________________________________________________________ FAILURE DESCRIPTION Please describe the observed behavior if it is repetitive how it reproduces etc ___________...

Page 114: ...MB 700 User s Manual D 2...

Page 115: ...operational limits temperature humidity etc according to the instructions manual In addition this Warranty Certificate excludes expenses with transportation freight insurance all of which are the cust...

Page 116: ...and its dealer reserve themselves the right to refuse the service in cases not compliant to those conditions It is the customer s responsibility to tell SMAR and its dealer when the product was utiliz...

Reviews: