show the entry list
STEP 7 Micro/WIN -- Operation and maintenance -- Teleservicing
How should you parameterize a GSM modem to set up a connection from an analog modem for teleservicing an S7-200?
How do you establish a TeleService connection to an S7-200 via a TC65 terminal as remote modem with PIN transfer by PC/PPI cable?
S7-200 Cables / Memory Cards / Accessories -- Setting up and parameterizing hardware -- Initializing and parameterizing modules
How do you establish a TeleService connection to an S7-200 via a TC65 terminal as remote modem with PIN transfer by PC/PPI cable?
How should you parameterize a GSM modem to set up a connection from an analog modem for teleservicing an S7-200?
What is the function of the external memory module?
How do you set up a teleservice connection based on MAS 21 to an S7-200 with MD720-3 via STEP 7 Micro/WIN?
How do you implement time-controlled archiving of S7-200 data on a PC via modem connection?
How can you display S7-200 Datalog data recorded on a memory module properly in Microsoft Excel?
Error message "Fatal error or missing Hardware" when downloading STEP 7 Micro/WIN Projects with recipes onto a MMC
S7-200 CPUs -- Configuring and programming communication -- Configuring communication to PCs
What should you watch out for with the PPI/MPI/DP interfaces if you want to use the CP 5711 with a SIMATIC S7-200?
How do you establish a TeleService connection to an S7-200 via a TC65 terminal as remote modem with PIN transfer by PC/PPI cable?
How should you parameterize a GSM modem to set up a connection from an analog modem for teleservicing an S7-200?
How do you set up a teleservice connection based on MAS 21 to an S7-200 with MD720-3 via STEP 7 Micro/WIN?
How can you graphically display a variable of the PLC via EXCEL as OPC client with PC Access as OPC server?
What should you watch out for when setting up a connection between S7-200 and SIMATIC Panels or WinCC flexible PC Runtime and what are the options?
Communicating with an S7-200 PLC via PPI using a CP5611 Card with Protool/Pro version 5.10
PPI connection of ProTool/Pro and S7-200
Which settings do you need to make to access a panel and an S7-200 controller via TeleService?
ProTool/ProRT and S7-200 with PC/PPI-Cable
Why do you get an error message when program downloading in various S7-S7-21x CPUs via USB/PPI or RS-232/ PPI Multi Master cable?
How do you set the network-related parameters for multimaster mode in STEP 7 Micro/WIN?
Which network configuration is typical when implementing the multimaster function?
Which cables do you use for communication in multimaster mode via the COM interface on the PC side?
How can you clear faults in Multimaster mode by parameterizing the COM communications interface on the PC side?
What alternatives are there to connecting to the multimaster network on the PC side?
How do you establish a TeleService connection to an S7-200 via a TC65 terminal as remote modem with PIN transfer by PC/PPI cable?
Part number:

Instructions:
Before you can use the Teleservice you must configure the TC65T and the PC/PPI cable.
Among other things, the baud rates of the selected CPU port and those of the remote and local modems must be identical. The configurations are shown taking an example of a baud rate of 9.6 kbit/s. However, by making the relevant changes you can select a baud rate of 19.2 kbit/s.

1. Setting the modem baud rate
Connect the remote modem TC65T via a modem cable to the serial port of your computer. Start the Windows "HyperTerminal" component via "Start > All Programs > Accessories > Communications".
 
No. Remarks
1 Press "Cancel" to ignore the name assignment "Connection Description".
2 Navigate via "File -> Properties" to the Connection Properties. For "Connect using" you select the COM port that you have used to connect the modem. Open connection settings via "Configure...". For "Bits per second:" you select the connection speed currently set on your modem and then click "OK".

Note:
The default setting of the TC65T baud rate is 57600 bits per second.


Fig. 01

3 In the Connection Properties you select the "Settings" tab and open the "ASCII Setup". Activate the command output via the setting "Echo typed characters locally" and acknowledge with "OK". Then quit the Connection Properties dialog with "OK".


Fig. 02

4 Establish the connections to the modem via the "Call" button. You can check the correct setting for the baud rate with the "AT" command. If successful, the modem responds with "OK".

Note:
If not, terminate the connection via the "Disconnect" button, change the baud rate (see Step 2) and use the "AT" command to keep on checking until the modem responds with "OK".
To change the baud rate to 9.6 kbit/s you enter the command "AT+IPR=9600" and press "RETURN". The modem acknowledges the change with "OK".
For more communications with the modem via "HyperTerminal" you must now set the relevant baud rate again ("9600" -> see Step 2).

Terminate the connection via the "Disconnect" button.


Fig. 03

Table 01

2. Setting the baud rate of the CPU communication ports
Proceed as follows to change the CPU communications interface to the modem baud rate.
 
No. Remarks
1 Check the DIP switches of the PC/PPI cable. DIP switch 5 must be set to "1" (the cable is in the PPI Multi-master mode).

Note:
Switches 1 to 3 are only relevant in Freeport mode (switch 5 = "0").

1 2 3 4 5 6 7 8
x x x 0 1 0 0 0

Now connect the cable to the relevant communications port of the CPU and to the computer.

2 Start STEP 7-Micro/WIN and switch to the "Set PG/PC Interface" view. For "Interface Parameter Assignment Used:" you select "PC/PPI cable (PPI)" and click on "Properties...". In the "Local Connection" tab you select the COM port used on your computer. Switch to the "PPI" tab, check the "Advanced PPI" check box and acknowledge twice with "OK".


Fig. 04

3 Switch to the "Communications" view. Check the "Search all baud rates" check box and select "Double-click to Refresh". Then the baud rates are searched for the CPU and when found, the CPU is displayed with address and the actual baud rate of the connected port. Mark the CPU and acknowledge with "OK" to transfer the baud rate found as baud rate to the "Properties - PC/PPI cable(PPI)" and complete communications setup with the CPU. If the baud rate found corresponds to the modem baud rate (9.6 kbit/s), communication is enabled between modem and CPU with regard to the baud rate.


Fig. 05

4 If the baud rate found does not correspond to the modem baud rate (9.6 kbit/s -> see Table 01), you switch to the "System Block" view. Select the "Communication Ports" tab and set the port used to the baud rate of 9.6 kbit/s and acknowledge with "OK".


Fig. 06

5 Now download the changes to the CPU via the relevant button. Now the CPU port used and the baud rate in "Properties - PC/PPI cable(PPI)" (see Fig. 04) are set to the modem transmission rate of 9.6 kbit/s. Now, if you repeat Step 3, the baud rate found is specified as 9.6 kbit/s.


Fig. 07

Table 02

3. Setting and programming the PC/PPI cable for the remote modem:
Proceed as follows to transfer the PIN code of your SIM card in the remote modem using the "PC/PPI Multi-master cable".
 
No. Remarks
1 Check the DIP switches of the PC/PPI cable (see Table 02, Step 1).
2 Start STEP 7-Micro/WIN and switch to the "Set PG/PC Interface" view. For "Interface Parameter Assignment Used:" you select "PC/PPI cable (PPI)" and click on "Properties...". In the "Local Connection" tab you check the "Modem connection" check box and select the relevant COM port of your computer. Switch to the "PPI" tab, set transmission rate to "9.6 kbit/s" and acknowledge twice with "OK".


Fig. 08

3 Open the "Modem Expansion Wizard" via the "Tools" menu item. Then select "Configure an analog modem, cellular modem, or PPI Multi-master cable" and click on "Next".


Fig. 09

4 Under "Modem Configurations" you select "PPI Multi-master Cable" and click on "Modem Commands...". In the new window that opens you select "Multi-master" as "Mode" and under "Cell Phone Authorization" you enter the command "AT+CPIN=1234" ("1234" stands for the PIN code of your SIM card). Acknowledge the entry with "OK".


Fig. 10

5 Now click on "Program/Test" to send the programming to the PC/PPI cable. After successful programming you see the message "Successfully configured in Multi-Master mode on COM1." displayed in the "Port Status" field ("COM1" stands for the PC COM port used).
Complete the "Modem Expansion Wizard" with "Finish" and acknowledge this with "Yes".


Fig. 11

6 In order to be able to use the PC/PPI cable as connection between the S7-200 and the remote modem TC65T you must set the DIP switch 6 to "1=Remote / DTE".

Note:
Switches 1 to 3 are only relevant in Freeport mode (switch 5 = "0").

1 2 3 4 5 6 7 8
x x x 0 1 1 0 0

Now connect the PC/PPI cable on the "PC - RS232" side to the TC65T.

Note:
Since both connections are female, you need an appropriate RS232 male double adapter.

7 If the TC65T is switched on, then, after applying power to the PC/PPI cable (by reconnecting the PC/PPI cable to the CPU) and an initialization time of approx. 30 seconds, the PIN code is transferred to the TC65T.

Note:
Once the PIN has been transferred successfully, the TC65T LED changes from symmetrical flashing to the "short on - long off" flashing phase.
The modem is now logged into the cell phone network and the remote side is completely configured.

Table 03

4. Setting Up Teleservice

4.1 Teleservice via analog landline connection to the TC65T

Warning:
For establishing communications with Teleservice from the analog landline network to a GSM modem (e.g.: TC65T) the SIM card used must be enabled for GSM data communication. Usually your provider will assign you a separate number (data number) for this.

Now connect the PC/laptop COM port to the telephone network via an external analog modem.
 
No. Remarks
1 In Windows you open the "Phone and modem options" dialog via "Start > Settings > Control Panel". In the "Modem" tab you select your analog modem and click on "Properties".
In the "Modem" tab you set the speaker volume for listening in. Set the "Maximum Port Speed" to "9600" and decide whether or not a dial tone has to be waited for before dialing.

Note:
Do not select this option if you are dialing into the landline network via a telephone system.

Acknowledge the settings twice with "OK".


Fig. 12

2 Transfer the PG/PC interface settings from Step 2 of Table 03.
Under "Local Connection" you select the COM port to which your analog modem is connected.
3 Open the "Communications" view and double-click on the yellow lightning symbol to set the connection data. Click on "Settings..." in the "Modem Connection" window.


Fig. 13

4 In the "Modem Connection Settings" dialog you click on "Add..." to open the "Add Modem Connection Wizard". Enter a name for this connection, select your local modem and then click on "Next >".


Fig. 14

5 In the "Phone Number to Dial" window you enter the data number (telephone number) of the remote modem.

Note:
If you have a telephone system you might have to specify a zero in addition.

Click on "Next >" In the "Transmission Settings" window you set the timeout values for the local modem. Here, just leave the default values. Then click on "Next >" to have an overview of the settings displayed. Click on "Finish" to close the window.


Fig. 15

6 Click on "Close" to return to the "Modem Connection" dialog. Set the connection timeout time to at least 90 seconds and click on "Connect" to start Teleservice.


Fig. 16

7 The window closes automatically if the connection is established successfully. Switch back to the "Communications" view. The "Double-Click to Refresh" displays the PLC on the remote side. Mark the controller and click on "OK". Now the CPU is ready for Teleservice.

Note:
The LED of the TC65T lights permanently when the connection is established.


Fig. 17

8 To clear down the Teleservice connection you open the "Communications" view again. Double-click on the yellow lightning symbol and the "Modem Connection" window opens. Click on "Disconnect" to clear down the Teleservice connection.


Fig. 18

Table 04

Note (re 4.1 Teleservice via analog landline connection to the TC65T):
Information on how you should parameterize a GSM remote modem to establish a connection from an analog local modem for S7-200 teleservicing is available in Entry ID 29975541.

4.2 Teleservice via radio network connection to the TC65T
If you want to use a wireless modem, e.g. TC65T Terminal, as local modem, you must connect the modem to the PC/laptop with a modem cable. Proceed as in Table 01 "Setting the modem baud rate" to set the same transmission rate. Then proceed as follows.
 
No. Remarks
1 In order to be able to use the TC65T as modem for the PC/laptop you must first install the drivers for the modem. If you don't have any special drivers for the modem, take the driver "Standard 9600 bps Modem" or "Standard 19200 bps Modem".
2 Navigate to "Phone and modem options" via "Start > Settings > Control Panel". Select the "Modem" tab and click on "Add...". Now check the "Don't detect my modem; I will select it from a list." check box and click on the "Next >" button.


Fig. 19

3 Under "Manufacturer" select "(Standard Modem Types)" and mark "Standard 9600 bps Modem" or "Standard 19200 bps Modem". Click on "Next" and a menu opens in which you must mark the COM connection to which you have connected your modem. After this selection you click on "Next >" The PC now installs the modem drivers. Once this process has been completed you close the menu by selecting "Finish".


Fig. 20

4 In "Phone and Modem Options" you mark the modem and click on "Properties". In the "Modem" tab you set the "Maximum Port Speed" to "9600 bps" and acknowledge the setting twice with "OK".


Fig. 21

5 Proceed as in Table 04, Step 2 but with the following differences to establish the Teleservice connection:
6 In the "Add Modem Connection Wizard" you enter an appropriate name for this GSM-GSM connection, select "Standard 9600 bps Modem". Check the "Use this local modem as a cell phone modem." check box click on "Next >".


Fig. 22

7 Once you have entered the telephone number of the SIM card in the remote modem TC65T in the "Phone Number to Dial" window, you press "Next >" to open the "Special Configuration Settings" dialog. Here you enter the PIN number of the SIM card in the local modem TC65T and click on "Next >".


Fig. 23

8 With "Next >" and "Finish" you end and close the "Add Modem Connection Wizard".
Establishment of the Teleservice connection then proceeds as in Table 04, Step 6 onwards.
It might be necessary to set up the connection several times to transfer the PIN.

Note:
Once the PIN has been transferred successfully, the TC65T LED changes from symmetrical flashing to the "short on - long off" flashing phase.
The LED of the TC65T lights permanently when the connection is established.

Table 05

Note (re 4.2 Teleservice via radio network connection to the TC65T):
In order to use SINAUT MD720-3 as local modem, you should use the same set of commands as for the TC 65 terminal. In this case, make sure that it is in Terminal mode.

Keywords:
Teleservice

 Entry ID:26955813   Date:2009-05-13 
I regard this article....as helpfulas not helpful                                 
mySupport
My Documentation Manager 
Newsletter 
CAx-Download-Manager 
Support Request
To this entry
Print
Create PDF 
Send to a friend
QuickLinks
Compatibility tool 
Topics
Help
Online Help
Guided Tour