- Beiträge
- 15.556
- Reaktionspunkte
- 4.182
-> Hier kostenlos registrieren
Ein Beitrag von JesperMP!
PS: Bei Gelegenheit versuche ich das mal etwas zu formatieren, aber leider ist das mit der Forensoftware megalästig und aufwändig! Falls jemand das übernehmen will, bitte eine PN an mich.
HOW TO connect and configure a WinCC Flex panel to an S5 PLC via the PG port.
This guide describes the details that are necessary for making a HMI (PC RT or panel) for an S5
PLC.
A typical application is to make a replacement for an old Siemens operator panel, OP393, OP20,
OP25 etc. These panels are not possible to purchase any longer.
1. The hardware connection.
1a. Case “a” is that a PC RT or a panel in the x70 series is to be used, i.e. an OP170B or OP270.
Important is that there is a serial RS232C port available.
The RS232/TTY adapter cable 6ES5 734-1BD20 must be used. This adapter has a 25-pin Dsub
connector on the RS232 side, and since both PC and panel have 9-pin D-sub ports, a 25-
pin/9-pin D-sub adapter must be installed between serial port and the adapter.
The adapter has a 15-pin PG port connector on the TTY end of the cable. This goes directly
onto the PG port on the S5 PLC.
1b. Case “b” is that a panel in the series x77 is to be used, i.e. an OP177B or OP277 etc.
Important is that these panels do not have RS232C ports only RS422/RS485 ports.
The RS422/TTY adapter 6AV6671-8XJ00-0XA0 must be used. This adapter has a 9-pin Dsub
connector on the RS422 side, and a 15-pin PG port connector on the TTY side. The 9-pin
connector goes directly onto the RS422/RS485 port on the panel (typically IF1B).
Between the TTY side of the adapter and the PG port of the S5 PLC, the cable
6XV1440-2Ann must be used (“nn” in the type number depends on the length).
Notice: There are dip-switches on the rear of the panel for setting either MPI/DP mode or
RS422/RS485 mode for the port IF1B. Set the dip switches for RS422/RS485 mode.
Notice: The cable 6XV1440-2Ann has markings on its two connectors for specifying which end
connects to the panel, and which end connects to the S5 PLC, “TD/OP” and “AG (PG/S5)”
respectively. The cable must be connected in reverse to these markings !
“TD/OP” must be connected to the S5 PLCs PG port.
“AG (PG/S5)” must be connected to the panels IF1B port via the RS422/TTY adapter.
(see picture)
Notice: On some panels, the adapter plus cable connector may not have space enough to get
past the casing of the panel. To allow the RS422/TTY adapter to connect to the IF1B port,
either cut the plastic casing (as in the picture), or use a short straight serial cable with 9-pin Dsub
connectors at both ends.
2. Convert old project, or write new.
Very old panels, like OP393 and OP20 cannot be converted automatically.
The only way is to write a new application, possibly assisted by text lists and tag lists from the old
COM TEXT configuration.
If the application has to be written completely new, then follow the advice in the next chapters.
The configuration of panels like OP15 and OP25 may possibly be converted, but only if these were
programmed with Protool.
To convert the Protool project, the Protool programming software is needed.
Load the Protool project into the Protool programming software, and use the “convert” function to
change the device type to a similar matching Windows CE based panel, i.e from OP25 to OP270.
Line-based panels like OP15 must be converted to a graphical Windows CE panel.
After the conversion is done, it is necessary to check everything carefully and manually correct if
necessary. The automatic conversion will not be 100% successful.
The conversion of line-based panels to graphical panels will require significantly more checking
and manually correcting.
The converted Protool project can now be loaded into the WinCC Flexible programming software
by using the “migration” function.
If the final application must be a x77 panel, this can be done by performing another device
conversion, this time inside the WinCC Flexible project.
Carefully check as much as possible, preferably by connecting the panel to a real S5 PLC.
Be sure to check the points mentioned in the next chapters.
3. Setup of the connection in WinCC Flexible.
Select the “SIMATIC AS 511” driver in the connection setup dialog.
For a panel, the port IF1B will typically be selected automatically.
For a PC RT, the COM port number, i.e. “COM1”, “COM2”, .. must be selected manually.
As the communication partner, select the intended CPU type, i.e. “S5 95U”, “S5 115U CPU944” …
etc.
PS: Bei Gelegenheit versuche ich das mal etwas zu formatieren, aber leider ist das mit der Forensoftware megalästig und aufwändig! Falls jemand das übernehmen will, bitte eine PN an mich.
HOW TO connect and configure a WinCC Flex panel to an S5 PLC via the PG port.
This guide describes the details that are necessary for making a HMI (PC RT or panel) for an S5
PLC.
A typical application is to make a replacement for an old Siemens operator panel, OP393, OP20,
OP25 etc. These panels are not possible to purchase any longer.
1. The hardware connection.
1a. Case “a” is that a PC RT or a panel in the x70 series is to be used, i.e. an OP170B or OP270.
Important is that there is a serial RS232C port available.
The RS232/TTY adapter cable 6ES5 734-1BD20 must be used. This adapter has a 25-pin Dsub
connector on the RS232 side, and since both PC and panel have 9-pin D-sub ports, a 25-
pin/9-pin D-sub adapter must be installed between serial port and the adapter.
The adapter has a 15-pin PG port connector on the TTY end of the cable. This goes directly
onto the PG port on the S5 PLC.
1b. Case “b” is that a panel in the series x77 is to be used, i.e. an OP177B or OP277 etc.
Important is that these panels do not have RS232C ports only RS422/RS485 ports.
The RS422/TTY adapter 6AV6671-8XJ00-0XA0 must be used. This adapter has a 9-pin Dsub
connector on the RS422 side, and a 15-pin PG port connector on the TTY side. The 9-pin
connector goes directly onto the RS422/RS485 port on the panel (typically IF1B).
Between the TTY side of the adapter and the PG port of the S5 PLC, the cable
6XV1440-2Ann must be used (“nn” in the type number depends on the length).
Notice: There are dip-switches on the rear of the panel for setting either MPI/DP mode or
RS422/RS485 mode for the port IF1B. Set the dip switches for RS422/RS485 mode.
Notice: The cable 6XV1440-2Ann has markings on its two connectors for specifying which end
connects to the panel, and which end connects to the S5 PLC, “TD/OP” and “AG (PG/S5)”
respectively. The cable must be connected in reverse to these markings !
“TD/OP” must be connected to the S5 PLCs PG port.
“AG (PG/S5)” must be connected to the panels IF1B port via the RS422/TTY adapter.
(see picture)
Notice: On some panels, the adapter plus cable connector may not have space enough to get
past the casing of the panel. To allow the RS422/TTY adapter to connect to the IF1B port,
either cut the plastic casing (as in the picture), or use a short straight serial cable with 9-pin Dsub
connectors at both ends.
2. Convert old project, or write new.
Very old panels, like OP393 and OP20 cannot be converted automatically.
The only way is to write a new application, possibly assisted by text lists and tag lists from the old
COM TEXT configuration.
If the application has to be written completely new, then follow the advice in the next chapters.
The configuration of panels like OP15 and OP25 may possibly be converted, but only if these were
programmed with Protool.
To convert the Protool project, the Protool programming software is needed.
Load the Protool project into the Protool programming software, and use the “convert” function to
change the device type to a similar matching Windows CE based panel, i.e from OP25 to OP270.
Line-based panels like OP15 must be converted to a graphical Windows CE panel.
After the conversion is done, it is necessary to check everything carefully and manually correct if
necessary. The automatic conversion will not be 100% successful.
The conversion of line-based panels to graphical panels will require significantly more checking
and manually correcting.
The converted Protool project can now be loaded into the WinCC Flexible programming software
by using the “migration” function.
If the final application must be a x77 panel, this can be done by performing another device
conversion, this time inside the WinCC Flexible project.
Carefully check as much as possible, preferably by connecting the panel to a real S5 PLC.
Be sure to check the points mentioned in the next chapters.
3. Setup of the connection in WinCC Flexible.
Select the “SIMATIC AS 511” driver in the connection setup dialog.
For a panel, the port IF1B will typically be selected automatically.
For a PC RT, the COM port number, i.e. “COM1”, “COM2”, .. must be selected manually.
As the communication partner, select the intended CPU type, i.e. “S5 95U”, “S5 115U CPU944” …
etc.
Anhänge
Zuletzt bearbeitet: