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?
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
- 2. Setting the baud rate of the CPU communication ports
- 3. Setting and programming the PC/PPI cable for the remote modem
- 4.1 Teleservice via analog landline connection to the TC65T
- 4.2 Teleservice via radio network connection to the TC65T
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".
|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".
|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".|
|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".
Terminate the connection via the "Disconnect" button.
|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).
1 2 3 4 5 6 7 8
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".|
|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.|
|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".|
|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.|
|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".|
|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".|
|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".|
|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".
|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".
1 2 3 4 5 6 7 8
Now connect the PC/PPI cable on the "PC - RS232" side to the TC65T.
|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.
4. Setting Up Teleservice
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.
|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.
Acknowledge the settings twice with "OK".
|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.|
|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 >".|
|5||In the "Phone Number to Dial" window you enter the data number (telephone number) of the remote modem.
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.
|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.|
|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.
|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.|
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.
|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.|
|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".|
|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".|
|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 >".|
|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 >".|
|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 (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.