IFM efector 190 Programming Manual Supplement
IFM efector 190 Programming Manual Supplement

IFM efector 190 Programming Manual Supplement

Communication between multicode reader o2i1xx and siemens simatic s7

Advertisement

Quick Links

Programming manual
Supplement
UK
Communication between
multicode reader O2I1xx
and Siemens Simatic S7

Advertisement

Table of Contents
loading

Summary of Contents for IFM efector 190

  • Page 1 Programming manual Supplement Communication between multicode reader O2I1xx and Siemens Simatic S7...
  • Page 2: Table Of Contents

    Communication between multicode reader O2I1xx and Siemens Simatic S7 Contents 1 Preliminary note � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 3 1�1 Symbols used�...
  • Page 3: Preliminary Note

    Communication between multicode reader O2I1xx and Siemens Simatic S7 Preliminary note These instructions serve for the set-up and parameter setting of the communication between the multicode reader O2I1xx from ifm electronic and a Simatic S7 controller from Siemens� Symbols used ►...
  • Page 4: Ethernet Connection Via Tcp Protocol

    Communication between multicode reader O2I1xx and Siemens Simatic S7 Ethernet connection via TCP protocol Principles The data of the TCP connection is transmitted as a data flow, i�e� there is no defined start or end character on the protocol level� The returned data is received byte for byte and stored in the receive buffer�...
  • Page 5 Communication between multicode reader O2I1xx and Siemens Simatic S7 ► Select Global device settings → Network parameters → set IP address.
  • Page 6 Communication between multicode reader O2I1xx and Siemens Simatic S7 ► Select the trigger type "Serial" in the active configuration�...
  • Page 7: 3�3 Set-Up Of The Hardware Configuration / Netpro Step7

    Communication between multicode reader O2I1xx and Siemens Simatic S7 Set-up of the hardware configuration / NetPro Step7 ► Set up and link the multicode reader as "Andere Stationen" in NetPro�...
  • Page 8 Communication between multicode reader O2I1xx and Siemens Simatic S7 ► Create TCP connection with multicode reader� ► Note down the connection ID and CP address for the function block parameter setting�...
  • Page 9 Communication between multicode reader O2I1xx and Siemens Simatic S7 ► Set the port number as in the parameter setting software�...
  • Page 10: 3�4 Setting Parameters On Function Block Fb50

    Communication between multicode reader O2I1xx and Siemens Simatic S7 Setting parameters on function block FB50 ► Indicate ID and LADDR as set up in Net-Pro� (Are forwarded to the communication function blocks�) The parameter RECV_BUF must be declared as absolute, because with some controller types the width of access may not be transmitted correctly in case of symbolic declaration�...
  • Page 11 Communication between multicode reader O2I1xx and Siemens Simatic S7 The received data is read byte-by-byte from the data flow and then stored consecutively in the receive buffer� The length of the receive buffer is defined variably as ANY pointer and can be extended or reduced according to the respective requirements�...
  • Page 12: Serial Connection Via Ascii Driver

    Communication between multicode reader O2I1xx and Siemens Simatic S7 Serial connection via ASCII driver Principles The received data is received byte for byte and stored in the receive buffer� All PtP CPs with ASCII protocol driver can be used for serial communication� In that case, however, the transmitting and receiving function blocks used in FB49 have to be adapted accordingly�...
  • Page 13 Communication between multicode reader O2I1xx and Siemens Simatic S7 ► Select Global device settings → set transfer parameters (here 9600 8N1). ► Select the trigger type "Serial" in the active configuration�...
  • Page 14: 4�3 Set-Up In Step 7

    Communication between multicode reader O2I1xx and Siemens Simatic S7 Set-up in step 7 ► Set up an ASCII coupling for the corresponding CP and define the telegram length 1 byte� All other settings depend on the CP used� Below as an example the setting of a CP 440 with interface converter:...
  • Page 15 Communication between multicode reader O2I1xx and Siemens Simatic S7...
  • Page 16 Communication between multicode reader O2I1xx and Siemens Simatic S7...
  • Page 17: 4�4 Setting Parameters On Function Block Fb49

    Communication between multicode reader O2I1xx and Siemens Simatic S7 Setting parameters on function block FB49 ► Enter parameters for the CP address� (Are forwarded to the communication function blocks�) The parameters SEND_DB_BUF, SEND_DBB_NO, RECV_DB_BUF und RECF_DBB_NO are the start addresses for an intermediate buffer needed for this coupling�...
  • Page 18 Communication between multicode reader O2I1xx and Siemens Simatic S7 The "read_conf" and "read_stat" inputs send the corresponding status query to the multicode reader with each positive edge� In addition the receive buffer is deleted� The received data is read byte-by-byte from the CP and then stored consecutively in the receive buffer�...

Table of Contents