How do you connect the SIRIUS 3RW44 soft starter as DP slave to an S7-1200 with CM 1243-5?
This entry shows how to connect a SIRIUS 3RW44 soft starter as DP slave to an S7-1200 with CM 1243-5 and how to use the S7-1200 to read out the data records of the SIRIUS 3RW44 soft starter.
You use the GSD file to connect the SIRIUS 3RW44 soft starter. This is available for downloading in Entry ID 113630.
Follow the instructions below to integrate the GSD file of the SIRIUS 3RW44 soft starter in STEP 7 V12 (TIA Portal).
|1||In STEP 7 V12 (TIA Portal) you select the menu "Options > Install general station description file (GSD)". The "Install general station description file" dialog opens.
|2||As source path you specify the storage path of the directory in which you have stored the GSD file of the SIRIUS 3RW44 soft starter.|
Select the GSD file of the SIRIUS 3RW44 soft starter and click the "Install" button to install the selected GSD file.
|3||After successful installation of the GSD file the SIRIUS 3RW44 soft starter is located in the hardware catalog under "Other field devices > PROFIBUS DP > Switching devices > Siemens AG > Motor starter > Direct soft starter > SIRIUS 3RW44".
|4||Drag-and-drop the SIRIUS 3RW44 soft starter into the Network view. Use drag-and-drop to establish a connection between the PROFIBUS interface of the CM1243-5 and the SIRIUS 3RW44 soft starter. The SIRIUS 3RW44 soft starter is now connected as DP slave to the DP master system of the CM1243-5.
In the user program of the S7-1200, in OB1, for example, you call the "RDREC" instruction to read out data records of the SIRIUS 3RW44 soft starter.
Table 02 shows the inputs of the "RDREC" instruction.
|REQ||BOOL||REQ=1: perform data record transfer|
|ID||HW_IO||Hardware ID of the hardware component (DP / PROFINET IO)|
The number is assigned automatically and stored in the properties of the component or of the interface in the hardware configuration (see Fig. 07).
INT, SINT, UINT, USINT, WORD
|Data record number|
|MLEN||BYTE, UINT, USINT||Maximum length in bytes of the data record data to be read.|
|RECORD||VARIANT||Target area for the data record read|
Table 03 shows the output parameters of the "RDREC" instruction.
|VALID||BOOL||New data record has been received and is valid.|
|BUSY||BOOL||BUSY=1: The read procedure has not yet finished.|
|ERROR||BOOL||ERROR=1: An error has occurred in the read procedure.|
|STATUS||DWORD||Block status and error information.|
|LEN||UINT||Length of data record data read.|
At the input parameter ID of the "RDREC" instruction you specify the hardware ID of the SIRIUS 3RW44 soft starter (DP slave). Open the device view of the SIRIUS 3RW44 soft starter (DP slave). Mark the SIRIUS 3RW44 soft starter (DP slave). The properties of the SIRIUS 3RW44 soft starter (DP slave) are displayed in the inspector window. There you will find the hardware ID.
The hardware ID of the SIRIUS 3RW44 soft starter (DP slave) is stored in the standard tag table as system constant. You can specify the system constant at the input parameter ID of the "RDREC" statement. The HW_IO data type of the input parameter ID includes the data type Hw_Interface.
- The "RDREC" instruction works asynchronously, which means that processing is done across multiple calls. The BUSY output parameter and the middle two bytes of the STATUS output parameter are used to display the job status. The data record transmission is completed when the BUSY output parameter has the value FALSE.
More information about the S7-1200, the CM1243-5, the SIRIUS 3RW44 soft starter and the STEP 7 V12 (TIA Portal) is available in the manuals listed below.
|Manual||Entry ID / Link|
|SIRIUS 3RW44 soft starter||21772518|
|STEP 7 V12 (TIA Portal)||77991795|
The pictures and downloads in this FAQ response were created with STEP 7 V12 (TIA Portal).
- You have a technical question / problem: Ask the Technical Support
- You want to discuss in our forum and exchange experiences with other users
- You want to create CAx data for one or more products
- You would like to send us feedback on this Entry