Skip to main content

S7 Server

S 7 ServerimplementTag pointS 7 service address , allowssupportsPLC S 7 clientthrough S 7 protocol(includes S 7-200,S 7-300,S 7-1200,S 7-1500 etc.)read/write Tag point. S 7 ServerThe parameters are as follows:
  • Port number: service Port number, is 102;
  • gatewaycommunication: Tag pointwhen, S 7 Serverpoint value .

gatewaycommunicationunder:

Default value: S 7 Server Address point valuetablein"Default value"column value aftervalue: S 7 Server Address point valueafter value
  • servicestarttime: S 7 Serverservicewhensecondsstart.

S7 ServerConfiguration

S 7 Serverservice, allowshost computerthroughPLC S 7 relatedprotocolEthernet portconnectiongateway. Port number: Settings S 7 Serverservice Port number, Default valueis 102.

Figure 1 S7 ServerConfigurationpage

S 7 Server Address

Tag pointS 7 Serveron, Configurationstepsas follows:
  1. Click the Add button.
  2. in openwindowinselectneed to point;
  3. selectread Typeanddata type;
  4. Click the "OK" buttoncompletepoint add.
oncanaddmore pointAddresslist.

Figure 2 S 7 Server Address

Figure 3 S 7 Serverservicepoint Double-click Tag pointcanmodifyS 7 Server , can Configuration:
  • read Type: according toneed to , selectneed to registerincludes I, Q, M, V, CT, TM, DB.
  • DB block: DB, beforesupports(DB 1~DB 5).
  • Address: cancustom, register Address.
  • data type: according toneed to , selectread data type. bit(bit), bool(bool), uchar(byte), short(INT), ushort(Word), int(DINT), uint(Double Word), float(real), double, stringn. withinis PLCType. instringnneed to usermanually enterstring .
  • Default value: is 9999, canmodify, in "gatewaycommunication"inselect"Default value", Tag pointwhen, S 7 Serverregister point valuethe Default value.

Tool Softwaretestgateway S 7 Serverservice

KEPServerread S 7-200 service Example, stepsas follows:
  1. S 7 Serverservice, Addressas follows:

Figure 4 S7Serverservicetest1
  1. the projectthroughtoolin "downloadproject"buttondownload LM Gatewayin.
  2. open KEPServertest S 7 Serverservice, Click" -->create", create KEPServerconnection Configuration.

Figure 73 KEPServerconnectionConfiguration
  1. addchannel, selectchannel typeisundersteps 2, Clickunder, afterstepscan.

Figure 74 addchannel
  1. Add device

Figure 75 Add device by yourselfselect PLCtype

Figure 76 select PLCtype fill in S 7 Serverservice address, afterstepscan.

Figure 77 fill inS7 service address
  1. adddata point, fill incorresponding Addressanddata type

Figure 78 fill inS7 service address
  1. view KEPServerdata point

Figure 79 view S 7 service S 7 Serverservice data pointandneed to point.

Figure 80 source ifwhenpageonunderin log, Descriptionconnectionon LM Gateway S 7 Serverservice, pleasecommunication Configuration.

Figure 81 S 7 connection