The company's serial to Ethernet [ZP-8621/8111] and serial to WIFI network server [ZP-8811] SIDirect DAServer through TCP / IP and S7 PLC communication
Summary
Without the help of Siemens Simaticnet software, the SIDirect DAS Server can access the S7 200, S7 300, S7 400 family PLCs via standard Ethernet cards. SIDirect DAServer can connect Windows client software, such as Wonderware InTouch, via DDE, FastDDE, SuiteLink, OPC protocol.
This Tech Note details how to configure and use the Wonderware SIDirect DA Server to connect / access the S7 PLC (here we take the S7-400 PLC as an example) and how to access the DA Server with the DDE / SuiteLink protocol.
Before you begin, make sure that the following conditions are met: Use serial to Ethernet and PLC to configure the product as follows:
1. Read and follow SIDirect DAServer's Readme file and related documentation to get the system requirements, the correct installation process, and the operating system for SIDirect DAServer.
2. Install SIDirect DAServer. If you have already installed a previous version of SIDirect DAServer, use the "Add / Remove Programs" uninstall in the "Control Panel". This Tech Note uses SIDirect DAServer version 1.1.
3. Install and configure the Ethernet card and TCP / IP protocol.
4. Make sure you can "ping" the PLC you want to connect to.
Note: Please read the online documentation of SIDirect DAServer. For supported hardware and software sections, SIDirect DAServer only supports TCP / IP communication and does not support other non-Ethernet modes such as MPI and Profibus.
This Tech Note assumes that the user has and understands the basics of Ethernet, Siemens S7 PLC hardware / software, Windows operating system, Wonderware FactorySuite component, WWClinet, SIDirect DAServer.
Configure SIDirect DAServer
1. Select Start / Programs on any of the columns to start SIDirect DAServer.
2. Locate the Wonderware folder that contains the System Management Console program and click Start the System Management Console program.
3. Locate the SIDirect DAServer under the DAServer Manager tree in the ArchestrA System Management Console (SMC). Under the Local node, the DAServer name is "ArchestrA.DASSIDirect.1". See below Figure 1:
4. Expand ArchestrA.DASSIDirect.1 and select "Configuration". The following "Global Parameters" dialog box appears (Figure 2)
2. DASSIDirect - Global Parameters
Device Group Update Interval: Defines the default update interval for Device Group
! Slow Poll Interval: Defines the time interval when DAServer queries the device when a problem occurs when the connection goes to "Slow Poll" mode. When the communication returns to normal, the DAServer query interval is adjusted to the Device Group query interval.
! "Transaction to Subscription Ratio:" Transaction "is a read / write message from the DDE / SL / OPC client," Subscription "is generated by the data point in the" need to acquire "state," Subscription "by" Update Interval " Interval is sent periodically. "Transaction to Subscription Ratio" defines the maximum number of Transactions that DAServer can send before sending a Subscription. It is when there are multiple waiting Transactions, Transaction and Subscription ratio, the proportion of the latter is always 1. Therefore, the default setting of 2 means that the ratio of Transaction and Subscription is 2: 1. This ratio ensures that when Transaction is very busy, there is a certain amount of Subscription action. For example, the ratio is set to 2, and there are 3 Transactions. 2 Subsystems are ready. The Toolkit will send 2 Transactions, 1 Subscription, 1 Transaction, 1 Subscription.
! Transaction Message Timeout: The timeout setting for each Transaction (read / write / refresh, etc.) message. This timeout setting causes the client to not be suspended for some reason when Transactions are never sent. This is the maximum allowable time for a message to be updated in a Transaction. This number should be set to a separate data update that should not exceed this time setting.
Server Protocal Timer: This option is not valid because SIDirect DAServer uses an event-driven protocol engine.
! Diagnostic Backlog Size: Defines the maximum number of transactions that can be displayed on the "Transaction Diagnostic" root.
! Poke Mode: has the following valid modes:
- Control keeps the order of the write data unchanged and does not merge Transactions.
- Transaction keeps the order of the write data using the combination of the first, second, and last data to be written.
- Optimization does not keep the order of writing data, and merge write data Transaction, only write the last one to write the data.
Case Sensitive: Controls DAServer to smoothly scan data items and Device Group in capitalization.
Device Group Cache: This parameter is reserved for future use.
! Simulation Mode: This setting is not valid in this SIDirect DAServer.
System Items: This parameter controls whether the system data points appear in the browser window and are valid data items for the DAServer data acquisition interface.
! Unique Device Groups: This parameter controls whether or not to check the uniqueness of Device Group throughout DAServer.
5. Right-click the "Configuration" icon.
6. Select "Add PortCpS7 Object" from the menu.
7. Right-click "New_PortCp_000" and select "Add S7Cp Object". The following S7 parameter setting dialog box appears (Figure 3):
Figure 3. S7 CP communication parameters
Network Address: Enter the IP address of the PLC. In this example, the IP address of the PLC is 192.168.10.41
Local TSAP: Defines the transport service access point for the local station, the first is the digital definition device, the first digit is 0, the recommended setting is 01.00
Remote TSAP: Defines the transfer service access point for the PLC.
Remote Rack No .: Enter the decimal rack number.
Remote Slot No .: Enter the decimal CPU slot number. In this Tech Note, the rack number is set to 0 and the CPU slot number is set to 3 (the power module is 2 slots, so the CPU slot number is 3).
Connection Resource: Select the hexadecimal connection resource from the drop-down box.
8. Select the "Device Group" property page.
9. Right-click a blank place in the "Device Group" dialog box and add a new Device Group (similar to the subject name) to the Device Group dialog box
Previous Article:Fiber server
Next Article:ZXTC - Technical support