background image

Your Global Automation Partner

TBEN-S2-2COM-4DXP

 

Compact I/O Module for

 

Serial Data Transmission

Instructions for Use

Summary of Contents for TBEN-S2-2COM-4DXP

Page 1: ...Your Global Automation Partner TBEN S2 2COM 4DXP Compact I O Module for Serial Data Transmission Instructions for Use...

Page 2: ...2 Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com...

Page 3: ...y 5 3 1 Intended Use 5 3 2 General Safety Instructions 5 4 Product Description 7 4 1 Device Overview 7 4 2 Display Elements 7 4 3 Properties and Features 8 4 4 Functional Principle 8 4 5 Functions and...

Page 4: ...XP Slots and Sub slots Overview 24 7 2 5 PROFINET diagnostics 40 7 2 6 Description of the User Data for Acyclic Services 41 7 3 Connecting the device to a Siemens PLC in PROFINET 43 7 3 1 Used Hardwar...

Page 5: ...ia Web Server 109 7 7 7 Reading Process Data in CODESYS 113 7 7 8 Going online with the PLC 115 8 Configuring and Parameterizing 117 8 1 Setting Parameters 117 8 1 1 Setting Parameters COM0 COM1 117 8...

Page 6: ...ostics 145 10 Troubleshooting 147 11 Maintenance 149 11 1 Executing the firmware update 149 11 1 1 Example Update the firmware with the PACTware FDT frame application 149 12 Repair 153 12 1 Returning...

Page 7: ...The following symbols are used in these instructions CALL TO ACTION This symbol identifies steps that the user has to perform RESULTS OF ACTION This symbol identifies relevant results of steps 1 3 Add...

Page 8: ...urck com 2 1 4 Feedback about these instructions We make every effort to ensure that these instructions are as informative and as clear as possible If you have any suggestions for improving the design...

Page 9: ...Witzlebenstra e 7 45472 Muelheim an der Ruhr Germany Turck supports you with your projects from initial analysis to the commissioning of your applica tion The Turck product database contains software...

Page 10: ...Notes on the Product Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com 4...

Page 11: ...e device supports Modbus RTU 32 Modbus RTU server can be connected per port Additionally the module provides 4 universal digital channels The multiprotocol interfaces can be used as EtherNet IP Device...

Page 12: ...For Your Safety Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com 6...

Page 13: ...e used as inputs and outputs without configuration The terminals for serial devices and digital I Os are M12 sockets Two 4 pole M8 sock ets are provided for the Ethernet connection The supply voltage...

Page 14: ...r port Four universal digital channels as PNP inputs or outputs 0 5 A 192 byes per port per write or read operation Integrated web server LED displays and diagnostics Fibre glass reinforced housing Sh...

Page 15: ...listening the traffic If a protocol is detected the device is set automatically to the respective protocol After this an access to the device from other protocols is read only Manual Protocol Selectio...

Page 16: ...Depending on the connected devices applications with up to 64 RS485 devices are possible Standard mode s p 124 1 Modbus RTU Server per Server Configuration Block SCB max 8 Modbus RTU Servers per COM...

Page 17: ...sembly Unlock the cover flap with a flat tool e g screw driver 1 Open the flap completely 2 To join the TBEN S module and the spacer insert the key of the spacer into the slot of the TBEN S module 3 F...

Page 18: ...rail TS 35 using the spacers TBNN S0 DRS Mount spacers on the right and the left side of the device Place the device or the composite on the DIN rail so that the cut outs in the spacers enclose the D...

Page 19: ...nto a mounting plate through the mounting hole the module is con nected to the reference potential of the installation by a metal screw 3 The spacers TBNN S0 DRS for mounting the TBEN S modules onto a...

Page 20: ...ion If a common reference potential is not required remove the grounding clamp to disconnect the fieldbus shield or fix the module with a plastic screw Removing the Grounding Clamp Use a flat screwdri...

Page 21: ...QuickConnect page 51 PROFINET FSU Fast Start Up prioritized startup page 23 ATTENTION Interchanging of Ethernet and power cables Destruction of module electronic Observe using the correct M8 connector...

Page 22: ...and power cables Ethernet P1 and P2 power X1and X2 Fig 14 M8 connector for connecting the supply voltage Pin assignment X1 Power feed X2 Continuation of the power to the next node V1 Power supply 1 i...

Page 23: ...connectors V2 supply of the respective connectors 6 3 Connecting Serial Devices The TBEN S2 module is provided with two 5 pin M12 connectors for connecting serial RS232 or RS485 device Connect the dev...

Page 24: ...ine When building up an RS485 line topology a terminating resistor e g RSE57 TR2 RFID has to be set at the other end of the RS485 line Accessories for mounting connecting and parameterizing can be fou...

Page 25: ...al outputs 1 digital input and 1 digital output Connect the sensors and actuators to the device according to the pin assignment shown below The channels are assigned to the connectors as follows Fig 2...

Page 26: ...Connecting Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com 20...

Page 27: ...e set via the Turck Service Tool the DTM the web server a DHCP server or PROFINET DCP In the following example the IP address is set by means of the Turck Service Tool The tool is available for free u...

Page 28: ...e or press F2 Change the IP address and the network mask if necessary Assume the changes by clicking Set in device Fig 25 Turck Service Tool select the device to be addressed NOTE Clicking the IP addr...

Page 29: ...to build up connections to PROFINET nodes in less than 500 ms after switching on the network power supply The fast start up is necessary for fast tool changing applications at robot arms for example...

Page 30: ...described as synonyms in the following Slot no Name Description Pluggable devices 0 TBEN S2 2COM 4DXP This slot represents the access to the device via PROFINET Device Access Point Device Access Poin...

Page 31: ...configure and to use the 4 digital in or output channels DXP DXP s p 37 23 DXP diagnostics Slot 22 is used to map the cyclic diagnostic data for the DXP channels DXP diagnostics s p 38 24 27 Ext DXP...

Page 32: ...ption Output behav at communic loss 00 set to 0 Depending on the parameterization the digital out puts switch to 0 or hold the current value if the PROFINET IO communication between the device and the...

Page 33: ...the duration of time within which another character must be received after receiving a character Exceeding this time is interpreted as the end of the data packet Character timeout 100 Character timeou...

Page 34: ...meters EOF detection character timeout 1st end delimiter 2nd end delimiter frame length response timeout Process input data s p 130 Process output data s p 138 Process value Offset Data type COM Statu...

Page 35: ...ation A pin 2 B pin 4 Termination active yes RS485 termination Biasing active yes Biasing activated EOF detection Character timeout The character timeout defines the duration of time within which anot...

Page 36: ...al parameters EOF detection character timeout 1st end delimiter 2nd end delimiter frame length Termination active Biasing active response timeout Process input data s p 130 Process value Offset Data t...

Page 37: ...e RS232 or RS485 interface Parameters This sub module requires no configuration and has thus no parameters Process input data s p 139 Process output data s p 131 Process value Offset Data type COM Con...

Page 38: ...Reg IN 1Reg OUT can be plugged into slots 2 9 COM 0 and slot 11 18 COM 1 This sub module is used to configure connected Modbus RTU Servers and to exchange data with the connected servers Eight Modbus...

Page 39: ...rt This sub module can only be used for COM ports which are used as Modbus RTU Clients Parameters s p 121 Process input data s p 135 Process output data s p 140 Process value Offset Data type Descript...

Page 40: ...n and has thus no parameters Process input data s p 145 Process value Offset Data type Diagnostics for COM 0 IB0 USINT Hardware error IX0 0 BOOL Parameterization error IX0 1 BOOL Overcurrent supply VA...

Page 41: ...error Ch0 IX0 4 BOOL Write error Ch0 IX0 5 BOOL Parity format error Ch0 IX0 6 BOOL MODBUS timeout Ch0 IX0 7 BOOL COM 0 MB Server Status IB1 USINT Valid read config K0 IX1 4 BOOL Valid write config Ch0...

Page 42: ...d write config Ch0 IX17 5 BOOL COM 1 MB Server Status IB30 USINT Error code Bit 0 Ch7 IX30 1 BOOL Error code Bit 1 Ch7 IX30 2 BOOL Error code Bit 2 Ch0 IX30 2 BOOL Error code Bit 3 Ch7 IX30 3 BOOL Rea...

Page 43: ...Ch7 of the module The DXP channels can be used as input or output without any configuration Parameters s p 127 Process input data s p 135 Process output data s p 140 Process value Offset Data type COM...

Page 44: ...as process data for the four digital channels Ch4 Ch7 of the module One slot is assigned to each digital channel Slot 24 is assigned to the digital channel 4 and slot 27 is assigned to the digital ch...

Page 45: ...Parameters This sub module requires no configuration and has thus no parameters Process input data s p 136 Process value Offset Data type Module status byte 0 IB0 USINT Undervoltage V1 IX0 1 BOOL Int...

Page 46: ...nel slot Undervoltage V1 0 0 0x0002 0 0 V2 0 1 0x0002 1 0 DXP diagnostics channel Connector Error code Channel slot Overcurrent output DXP4 C2 0x0001 4 22 DXP5 C2 0x0001 5 22 DXP6 C3 0x0001 6 22 DXP7...

Page 47: ...0 3 0x03 Module revision STRING r Firmware revision of the module 4 0x04 Vendor ID WORD r Ident no Turck 5 0x05 Module name STRING r The device name assigned to the mod ule 6 0x06 Module type STRING...

Page 48: ...l Index Name Data type r w Comment Dec Hex 1 0x01 Module parameters specific r w Parameters of the module 2 0x02 Module type ENUM UINT8 r Contains the module type 3 0x03 Module version UINT8 r Firmwar...

Page 49: ...hardware components are used in this example Siemens PLC S7 1500 Block module TBEN S2 2COM 4DXP 8 Banner K50TGRYS1QP at COM 0 as Modbus server 7 3 2 Used Software The following software tools are use...

Page 50: ...ree from www turck com Verf gung Adding the GSDML file Click Options Manage general station description files GSD Installing the GSDML file Define the source path for the GSDML file Select the GSDML f...

Page 51: ...ending on the application Define the function of the two COM ports slot 1 and 10 and define the other slots by assigning the suitable sub modules NOTE The PROFINET device model the sub module function...

Page 52: ...rck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com 46 7 3 6 Connecting the device to the PLC Connect the device to the PLC in the Devices networks editor Fig 30 Connecting t...

Page 53: ...018 03 7 3 7 Assigning PROFINET device name Select Online access Online diagnostics Select Functions Assign name Enter the desired PROFINET device name for the device Fig 31 Assigning PROFINET device...

Page 54: ...208 4952 264 more turck com www turck com 48 7 3 8 Setting the IP address in TIA Portal Select the TBEN S2 2COM 4DXP in the Device view Select Ethernet addresses in the register tab Properties Assign...

Page 55: ...49 2018 03 7 3 9 Going online with the PLC Start the online mode Go online The device has been successfully connected to the PLC Fig 33 Starting the online mode...

Page 56: ...0 F 49 208 4952 264 more turck com www turck com 50 7 3 10 Setting Module Parameters Select Device view Device overview Select the slot to be parameterized Click Properties general Module parameters S...

Page 57: ...he automobile industry The modules TBEN S2 2COM 4DXP support QuickConnect but the function can only be guaran teed for the digital channels Features Description QuickConnect 500 ms Device Level Ring D...

Page 58: ...e web server EDS fileAssembly Class 0x04 Configuration Assembly 106 Bit 9 1 see s p 57 Class Instance Attribute in the TCP IP Interface Class Web server QuickConnect can also be activated or deactivat...

Page 59: ...status word contains the module status Evaluating Process Input Data Module Status page 136 or Gateway Class VSC 100 Object Instance 2 gateway Instance page 70 Control word In the default setting of t...

Page 60: ...TCP IP Interface Object 0xF5 246 0xF6 Ethernet Link Object 0xF6 Attr No Attribute name Get Set Type Value Dec Hex 1 0x01 REVISION G UINT 1 2 0x02 MAX OBJECT INSTANCE G UINT 1 6 0x06 MAX CLASS ATTRIBU...

Page 61: ...st one I O connection in RUN mode 0111 at least one I O connection established all in IDLE mode All other settings reserved 8 15 reserved default 0 Service code Class Instance Service name Dec Hex 01...

Page 62: ...he CIP specification Vol 2 Rev 2 1 by ODVA ControlNet International Ltd and adapted to the Turck products Class attributes Instance attributes Common services Attr No Attribute name Get Set Type Value...

Page 63: ...x0B Swap A B line 12 0x0C Data rate 13 0x0D Character format 14 0x0E Stop bits 15 0x0F EOF detection 16 0x10 Termination active 17 0x11 Biasing active 18 0x12 Power supply VAUX1 19 0x13 20 0x14 Charac...

Page 64: ...onfiguration Block SCB page 121 126 0x7E Server address 127 0x7F Number reg server write access 128 0x80 Number reg server read access 129 0x81 Read access 130 0x82 Write access 131 0x83 132 0x84 Star...

Page 65: ...ld Parameter name Value Meaning QuickConnect 0 deactivated 1 activated QuickConnect is activated ETH x Port Setup 0 Autonegotiation The port is set to autonegotiation 1 100BT FD Defined setting of com...

Page 66: ...data mapping described in chapter Operating But in EtherNet IP the status and the control word are mapped before the process data The mapping of the status and the control word can be deactivated via...

Page 67: ...ts The following description of the Ethernet Link Object is taken from the CIP specification Vol 2 Rev 2 1 by ODVA ControlNet International Ltd and adapted to the Turck products Common services Servic...

Page 68: ...WORD Interface status s p 63 Interface Sta tus 2 0x02 CONFIGURATION CAPABILITY G DWORD Interface Capability Flag s p 63 Config uration Capability 3 0x03 CONFIGURATION CONTROL G S DWORD Interface Contr...

Page 69: ...ttribute_All 02 0x02 no no Set_Attribute_All 14 0x0E yes yes Get_Attribute_Single 16 0x10 no yes Set_Attribute_Single Bit Name Definition 0 3 Interface Configuration Sta tus Indicates the status of th...

Page 70: ...ed tonon volatile memory An attempt to set any of the components of the Interface Configuration attribute to invalid values results in an error status code 0x09 returned from the Set service If initia...

Page 71: ...1 Non existent Obtaining initial configuration Waiting for configuration Applying configuration TCP IP network interface configured Status 0 00000001 Powerup Reset BOOTP DHCP response received BOOTP...

Page 72: ...UINT 6 Attr No Attribute name Get Set Type Description Dec Hex 1 0x01 INTERFACE SPEED G UDINT Speed in megabit per second e g 10 100 1000 etc 2 0x02 INTERFACE FLAGS G DWORD see Interface flags s p 66...

Page 73: ...orced speed and duplex Depends on applica tion 5 Manual Setting Requires Reset 0 interface can activate changes to link param eters auto negotiate duplex mode interface speed automatically 1 device re...

Page 74: ...ers 141 0x8D MB Server Timing Timing data for connected Modbus servers 142 0x8E DXP Class DataandparametersfortheDXPchannelsofthe device 164 0xA4 Ext DXP Functions Class Parameters for the extended di...

Page 75: ...emented 101 0x65 Hardware revision G STRUCT Contains the hardware revision number of the module USINT Maj USINT Min 102 0x66 Firmware revision G STRUCT Contains the revision number of the boot firmwar...

Page 76: ...tics pending DIAG At least 1 channel sends diagnos tics 115 0x73 ON IO CONNECTION TIMEOUT G S ENUM USINT Reaction to the I O connection exceeding the time limit SWITCH IO FAULTED 0 The channels are sw...

Page 77: ...on Dec Hex 104 0x68 COS data mapping G S ENUM USINT The actual data are loaded to the non volatile memory of the device Changes become valid after a start up 0 standard Data of COS message input data...

Page 78: ...e G S USINT Operation mode of the COM0 or COM1 channel 0 RS485 1 RS232 2 MB Client RS485 3 MB Client RS232 2 0x02 Swap A B line tauschen G S USINT Changes the outputs polarity of the A B lines and swi...

Page 79: ...er G S USINT 14 0x0E MB Server cycle time 1 ms G S INT default 0 best update time possible Diagnostics 15 0x0F Hardware error G USINT 1 error 16 0x10 Parameterization error G USINT 17 0x11 Overcurrent...

Page 80: ...id RX length G USINT 1 error 34 0x22 Received frame length G USINT This byte contains the length of the last message received 35 0x23 MB Server cycle time 1 ms G UINT Update time ms with which the Mod...

Page 81: ...registers to be written or Number of servers to which data have to be writ ten 4 0x04 Read access G S USINT 0 deactivated 3 read holding registers FC3 4 read input registers FC4 23 read write multipl...

Page 82: ...register FC 23 176 Multi server mode write 2 registers FC16 183 Multi server mode read write 2 register FC 23 208 Multi server mode write 3 registers FC16 215 Multi server mode read write 3 register...

Page 83: ...tregister 7 16 0x10 Inputregister 8 17 0x11 Inputregister 9 18 0x12 Inputregister 10 19 0x13 Inputregister 11 20 0x14 Output regis ter 0 G UINT Output data of the connected serial device s p 139 or th...

Page 84: ...information concerning the process data Attr no dec hex Attribute name Get Set Type Description 1 0x01 COM0 MB Server Timing server 0 G UINT Update time ms of the connected Modbus RTU Servers at COM0...

Page 85: ...tput G S USINT 0 no 1 yes 6 0x06 DXP5 Activate output G S USINT 0 no 1 yes 7 0x07 DXP6 Activate output G S USINT 0 no 1 yes 8 0x08 DXP7 Activate output G S USINT 0 no 1 yes Status 9 0x09 Overcurrent V...

Page 86: ...tances one per DXP channel NOTE The chapter Configuring and Parameterizing contains more detailed information con cerning the parameters Attr no Attribute name Get Set Type Description Dec Hex 1 0x01...

Page 87: ...e TBEN S2 2COM 4DXP 8 Banner K50TGRYS1QP at COM 0 as Modbus server 7 5 2 Used Software The following software tools are used in this example Rockwell RS Logix EDS file for TBEN S2 2COM 4DXP can be dow...

Page 88: ...w turck com 82 7 5 4 Installing the EDS file The EDS file can be downloaded for free from www turck com Adding the EDS file Click Tools EDS Hardware Installation Tool The installation assistant guides...

Page 89: ...3 2018 03 7 5 5 Connecting the device to the PLC Right click I O Configuration Ethernet Select New Module Select Turck under Module Type Vendor Files Select TBEN S2 2COM 4DXP Fig 38 Adding a new modul...

Page 90: ...08 4952 0 F 49 208 4952 264 more turck com www turck com 84 Confirm the selection with Create Assign a module name Set the IP address of the device example 192 168 1 10 Fig 39 Select TBEN S2 2COM 4DXP...

Page 91: ...85 2018 03 Set the Integer data format for in and output data Click Change in the following dialog box select INT Fig 41 Setting the Integer data format for in and output data...

Page 92: ...urck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com 86 Optional Setting the connection and the port configuration Fig 42 Setting the connection parameters Fig 43 Setting the...

Page 93: ...87 2018 03 The device is added to the project tree Fig 44 TBEN S2 2COM 4DXP in the project tree...

Page 94: ...208 4952 264 more turck com www turck com 88 7 5 6 Going online with the PLC Scan the network via the who active button select the PLC and set the communication path via Set Project Path The communic...

Page 95: ...89 2018 03 Select the PLC Click Go online Click Download In the following dialog Connect To Go Online Confirm all following messages Fig 46 Going online with the device Fig 47 Clicking Download...

Page 96: ...s Data Open the Controller Tags in the project tree by double clicking the entry The access to the parameter data TBEN_S2_2COM_4DXP C input data TBEN_S2_2COM_4DXP I1 and output data TBEN_S2_2COM_4DXP...

Page 97: ...91 2018 03 In the following example an input signal at Modbus Server 1 COM0 is pending The process data can be interpreted by means of the mapping s p 60 Fig 49 Process input data example...

Page 98: ...8 Parameterizing Devices via Class Instance Attribute Prerequisites the software tool RS_NetWorks for Ethernet IP runs Scanning the Network and Setting the Communication Path Scan the network using th...

Page 99: ...ndor specific classes can be found in chapter 7 4 9 VSC Vendor Specific Classes Parameters for the example parameterization Class COM Class 139 0x8B Instance 1 for COM0 Attribute 0x01 Operation mode V...

Page 100: ...e device and confirm the setting with Execute The COM port COM0 is now set to MB Client 485 Fig 53 RS NetWorks parameterization via Class Instance Editor NOTE Besides the parameterization using vendor...

Page 101: ...egisters writing multiple output registers 23 Read Write Multiple Registers reading abnd writing multiple registers Address Access ro read only rw read write Description Hex 0x0000 0x01FF ro Process d...

Page 102: ...1 deactivate Modbus TCP Bit 2 deactivate PROFINET Bit 15 deactivate web server 0x1141 ro Active protocol Bit 0 EtherNet IP active Bit 1 Modbus TCP active Bit 2 PROFINET active Bit 15 Web server active...

Page 103: ...4384 44385 404385 Modbus connection mode register 0x1130 4400 44401 404401 Modbus connection timeout in sec 0x1131 4401 44402 404402 Modbus parameter restore 0x113C 0x113D 4412 4413 44413 44414 404413...

Page 104: ...ion codes FC16 and FC23 The service resets the parameters without saving them This can be achieved by using a following save service Bit Name Description 0 MB_OnlyOneWritePermission 0 all Modbus conne...

Page 105: ...codes FC16 and FC23 Error behavior watchdog Behavior of outputs In case of a failure of the Modbus communication the outputs behavior is as follows depending on the defined time for the Watchdog regis...

Page 106: ...ss Output Data page 137 Diagnostics see Evaluating Diagnostic Data page 145 0xA000 COM channel diagnostics COM0 0xA001 COM channel diagnostics COM1 0xA002 DXP diagnostics Parameters see Setting Parame...

Page 107: ...oftware The following software tools are used in this example CODESYS 3 5 8 1 can be downloaded for free under www turck com 7 7 3 Prerequisites The programming software has been started A new project...

Page 108: ...ns Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com 102 Adding the Ethernet Adapter Right click the Device TX507 P3CV01 Select Add Device Select the Ethernet Adapter Fig...

Page 109: ...103 2018 03 Click Add Device The Ethernet Adapter is added to the project tree as Ethernet Ethernet Fig 55 Adding the Ethernet Adapter...

Page 110: ...64 more turck com www turck com 104 Adding the Modbus Master Right click the Ethernet Ethernet in the project tree Select Add Device Double click the Modbus TCP Master The Modbus Master is added to th...

Page 111: ...Modbus Slave Right click the Modbus TCP Master in the project tree Select Add Device Double click the Modbus TCP Slave The Modbus Slave is added to the project tree as Modbus_TCP_Slave Fig 57 Adding...

Page 112: ...GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com 106 If necessary adapt the slave name in the project tree to the application here TBEN_S2_2COM_4DXP Fig 58 Adapting the slave...

Page 113: ...nfiguring the Network Interfaces Double click the Device TX507 P3CV01 Click Scan Network Select Device TCP Master here TX507 P3CV01 and confirm with OK Fig 59 Configuring the Network Interface to the...

Page 114: ...box Network Adapters by clicking the button in the register tab General Select the IP address of the Modbus TCP Master here 192 168 1 15 Double click the Modbus TCP Slave Enter the slave s IP address...

Page 115: ...cessed via the device IP address in the web browser If the IP address is not known then the device can also be searched using the Turck Service Tool see also Setting the IP address page 21 The device...

Page 116: ...0 F 49 208 4952 264 more turck com www turck com 110 Set the following parameters for COM0 Click submit and send the parameters to the device COM0 is set up as MB Client RS485 with the behavior menti...

Page 117: ...RS Data SCB0 0 is completed Configure other connections respectively Fig 64 Parameterizing the Modbus Server Example at RS Data SCB0 0 NOTE The number of the registers to be read written Number reg r...

Page 118: ...4952 0 F 49 208 4952 264 more turck com www turck com 112 The process data of the connected Modbus Servers can be read or set in the respective entry under RS Data SCB0 x Fig 65 Modbus Server input s...

Page 119: ...lowing values Name Access Type Read Holding Registers Offset 0x0003 Length 2 registers 4 bytes max 12 registers Confirm with OK NOTE The table under Register mapping TBEN S2 2COM 4DXP page 100 shows t...

Page 120: ...nel Input Data COM0 Modbus Server 2 Double click the Modbus TCP Slave In the register tab Modbus Slave Channel select Add Channel Enter the following values Name Access Type Read Holding Registers Off...

Page 121: ...a The process data can be interpreted by means of the mapping s p 100 if the device is connected to the PLC Double click the Modbus TCP Slave Click onto register tab ModbusTCP Slave I O Mapping The pr...

Page 122: ...Commissioning Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com 116...

Page 123: ...07 8 0x0008 1st end delimiter 9 0x0009 2nd end delimiter 10 0x000A MB Server cycle time 1ms 11 0x000B SCB Server Configuration Block COM0 s p 121 12 19 0x000C 0x0013 SCB0 68 75 0x0044 0x004B SCB7 COM1...

Page 124: ...witches the bias level 0 0x00 no Standard configuration A pin 2 B pin 4 1 0x01 yes A pin 4 B pin 2 Data rate 0 3 0x0 0x3 reserved Data rate of the serial interface 4 0x4 2400 5 0x5 4800 bps 6 0x6 9600...

Page 125: ...ates the biasing resistor Power supply VAUX1 00 0x00 0 V High Z Defines the voltage level at pin 1 referred to GND at pin 3 01 0x01 V1 24 VDC 10 0x02 5 VDC Character timeout 0 65535 0x0000 0xFFF defau...

Page 126: ...me between frames 0 65535 0x0000 0xFFF default 0 bestupdatetime possible Time between Modbus client requests to the Modbus server ms In exceptional cases Modbus servers can not process requests that a...

Page 127: ...0x0 0xC Standard mode Number of registers to be read Multi Server Mode Number of servers from which data have to be read Number reg server Write access 0 12 0x0 0xC Standard mode Number of registers t...

Page 128: ...mode read 2 input register FC 4 183 0xB7 Multi server mode read write 2 register FC 23 195 0xC3 Multi server mode read 3 hold ing registers FC3 196 0xC4 Multi server mode read 3 input register FC 4 21...

Page 129: ...44 0x90 Multi server mode write 1 regis ters FC16 151 0x97 Multi server mode read write 1 register FC 23 176 0xB0 Multi server mode write 2 regis ters FC16 183 0xB7 Multi server mode read write 2 regi...

Page 130: ...umber reg read access 3 Reading of 3 registers of the addressed Modbus RTU Server Number reg write access 0 Not defined as the write access is deactivated in the example Read access Read one holding r...

Page 131: ...e Multi Server Mode Parameters Value Meaning Server address 1 Address of the 1st Modbus RTU Server in the RS485 line Number server read access 0 Not defined as the read access is deactivated in the ex...

Page 132: ...aning Server address 1 Address of the Modbus RTU Server from which data have to be read Number reg read access 12 Number of registers to be read Read access readinputregisters FC 4 Start address for r...

Page 133: ...ex Manual reset after overcurr chx SRO 0 0x00 no Defines if a manual reset is necessary after an overcurrent occurred at the channel 1 0x01 yes Activate output Chx EN_DO 0 0x00 yes Activates or deacti...

Page 134: ...Configuring and Parameterizing Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com 128...

Page 135: ...S232 RS485 Mode s p 130 Modbus Client Mode s p 132 203 0x00CB 204 0x00CC Process input data 192 bytes depending on the configuration of COM1 s p 131 395 0x018B 396 0x018C COM channel diagnostics s p 1...

Page 136: ...length 201 0x00C9 Receive data COM1 maximum Length 8 x 24 bytes 203 0x00CB Process value Value Description Transmitter ready 0 The transmitter is ready 1 The bit is set to TRUE after a message was sen...

Page 137: ...h permissible length 1 to 192 bytes Invalid RX length 0 No error 1 Invalid receive length permissible length 1 to 192 bytes Received frame length 0 192 This byte contains the length of the last messag...

Page 138: ...rs COM1 maximum Length 8 x 12 registers s p 134 395 0x018B Modbus Server Status s p 134 Server 0 COM0 400 0x0190 MODBUS timeout Ch0 Parity format error Ch0 Write error Ch0 Read error Ch0 Error code Ch...

Page 139: ...1 Modbus read error Write error Chx 0 No error 1 Modbus write error Parity format error Chx 0 No error 1 Modbus parity or format error MODBUS timeout Chx 0 No error 1 The Modbus Server did not respon...

Page 140: ...n 0x0B Input register 11 of the 1st Modbus Server n 12 n 0x0C Input register 0 of the 2nd Modbus Server n 23 n 0x17 Input register 11 of the 2nd Modbus Server n 84 n 0x54 Input register 0 of the 8th...

Page 141: ...ion Module diagnostics pending 0 No error 1 Diagnostic message active ARGEE program active 0 No error 1 The device contains an active ARGEE program s p 163 Undervoltage V2 0 No error 1 System power su...

Page 142: ...dbus Client Mode s p 138 5 6 Process output data 192 bytes depending on the configuration of COM0 RS232 RS485 Mode s p 138 Modbus Client Mode s p 138 197 COM1 198 Control data RS232 RS485 Mode s p 137...

Page 143: ...reserved 204 Transmit data COM1 maximum Length 8 x 24 bytes s p 138 395 Process value Value Description Transmit 0 New transmit sequence possible 1 The bit is set to TRUE to start the transmission Rec...

Page 144: ...buffer block n 23 Byte 23 of the 1st transmit buffer block n 24 Byte 0 of the 2nd transmit buffer block n 47 Byte 23 of the 2nd transmit buffer block n 167 Byte 0 of the 8th transmit buffer block n 19...

Page 145: ...t Modbus Server n 11 Output register 11 of the 1st Modbus Server n 12 Output register 0 of the 2nd Modbus Server n 23 Output register 11 of the 2nd Modbus Server n 84 Output register 0 of the 8th Modb...

Page 146: ...value Transmit to TRUE 3 Wait until the process input value Transmitter ready TRUE 4 Set the process output value Transmit to FALSE 5 Go back to 1 for the next transmit sequence Fig 72 Transmit seque...

Page 147: ...bserved for receiving data The receiver temporarily has to be deactivated between two transmit sequences refer to steps 5 8 The duration for the deactivation depends on the update time set and the PLC...

Page 148: ...ED green LED red Meaning off off No voltage connected on off Connection to a Master Controller established flashing 1 Hz off Device ready for operation off on IP address conflict or Modbus Connection...

Page 149: ...ashing off Device sends serial data LED RX green LED RX red Meaning off off No serial communication flashing off Device receives serial data off flashing Device receives serial data parity or format e...

Page 150: ...erver 2 Error MB server 1 Error MB server 0 COM1 2 Overcur rentsupply VAUX1 reserved Parameter ization error Hardware error 3 Error MB server 7 Error MB server 6 Error MB server 5 Error MB server 4 Er...

Page 151: ...nt VAUX2 Ch4 Ch5 reserved 1 Overcur rent output Ch7 Overcur rent output Ch6 Overcur rent output Ch5 Overcur rent output Ch4 reserved Process value Value Description Overcurrent VAUX2 Chx Chy 0 No erro...

Page 152: ...Operating Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com 146...

Page 153: ...t check whether ambient interference is present If there is no ambient interference present check the connections of the device for faults If there are no faults there is a device malfunction In this...

Page 154: ...Troubleshooting Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com 148...

Page 155: ...ble as downloads free of charge from www turck com 11 1 1 Example Update the firmware with the PACTware FDT frame application Launch PACTware Right click Host PC Add device Select BL Service Ethernet...

Page 156: ...F 49 208 4952 264 more turck com www turck com 150 PACTware opens the bus address management Search for connected Ethernet devices Click the Search icon Select the required device Fig 76 Opening the b...

Page 157: ...151 2018 03 Click Firmware Download to start the firmware update Fig 78 Starting the firmware update...

Page 158: ...208 4952 0 F 49 208 4952 264 more turck com www turck com 152 Select the storage location and confirm with OK PACTware show the progress of the firmware update with a green bar at the bottom of the sc...

Page 159: ...the device to Turck 12 1 Returning devices If a device has to be returned bear in mind that only devices with a decontamination declaration will be accepted This is available for download at http www...

Page 160: ...Repair Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com 154...

Page 161: ...155 2018 03 13 Disposal The devices must be disposed of correctly and must not be included in normal house hold garbage...

Page 162: ...Disposal Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com 156...

Page 163: ...groups voltage proof up to 500 VDC System data Transmission Ethernet 10 Mbps 100 Mbps Connection to Ethernet 2 x M8 4 pin D coded Protocol detection automatic Web server default 192 168 1 254 Service...

Page 164: ...300 230400 bps Transmission type Full duplex Cable length 15 m at 19200 baud max line capacity 2000 pF Operation mode RS485 Transmission signals TX RX TX RX Transmission rate 300 230400 bps Transmissi...

Page 165: ...directive conformity Vibration test according to EN 60068 2 6 acceleration up to 20 g Shock test according to EN 60068 2 27 Drop and topple according to IEC 60068 2 31 IEC 60068 2 32 Electro magnetic...

Page 166: ...Technical Data Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com 160...

Page 167: ...wer 10 100 Act Link Uplink Port 1 2 3 N C 4 5 N C Voltage Voltage N C 10 100 Act Link Act Link Act Link 10 100 1 2 3 4 5 Power Port 10 30 VDC OFF LED 10 Mbits 10 100 Act Link No Link ON 100 Mbits Link...

Page 168: ...et Switch Power 10 100 Act Link Uplink Port 1 2 3 N C 4 5 N C Voltage Voltage N C 10 100 Act Link Act Link Act Link 10 100 1 2 3 4 5 Power Port 10 30 VDC OFF LED 10 Mbits 10 100 Act Link No Link ON 10...

Page 169: ...ARGEE FLC programming software can be downloaded from the download area at the Turck homepage The Zip archive SW_ARGEE_Environment_Vx x zip contains the software and the respective soft ware document...

Page 170: ...Appendix Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com 164...

Page 171: ...30 subsidiaries and over 60 representations worldwide www turck com D301439 2018 03 D301439...

Reviews: