设计一,Control of a Commercial Sign
A fictional company with the illusionary name “Schall and Rauch Metal Construction Ltd.” has planned - no matter what - to have a commercial sign installed on top of their office building and to illuminate it. However, the trick is that not all the letters should be illuminated continuously but every letter should flash up one after another, beginning from the left.
The flashing of the single words should occur in a well-readable frequency and the process should be the following:
• Schall and Rauch Metal Construction Ltd.
• Schall and Rauch Metal Construction Ltd.
• Schall and Rauch Metal Construction Ltd.
• Schall and Rauch Metal Construction Ltd.
• Schall and Rauch Metal Construction Ltd.
The commercial sign is to be turned on via a switch S1. Furthermore, a second switch should be integrated as an emergency switch, which could turn off the illumination of the commercial sign in case of emergency - or set it out of operation. The letters should flash one after another - one at a time. The control of the load circuit should be done via PLC.
任务二:Two components are to be bonded together with the help of a pneumatic cylinder 1A1. To do this, the bonding surfaces are pressed together with a defined force for 5 seconds. The time is commenced once the cylinder advances from its reacted end position (sensor 1B1=1). Once the 5 seconds have expired, the cylinder is to return to the initial position. The bonding process is started by a push button S1, see figure 2.2.
以上两个东西在step7我已经编写出来了,但是需要利用simulink建模(plclib中的模块)然后自动生成.SCL文件导入到西门子step7中生成Function Block,然后在s7-300中运行达到目的。
其实就是一个流水灯程序和一个保持5秒方波的程序,但是我发现利用simulink plclib下的模块生成有些复杂,而且导入到plc中不一定会执行,这个相关资料比较少,麻烦你们看看能不能做。
A fictional company with the illusionary name “Schall and Rauch Metal Construction Ltd.” has planned - no matter what - to have a commercial sign installed on top of their office building and to illuminate it. However, the trick is that not all the letters should be illuminated continuously but every letter should flash up one after another, beginning from the left.
The flashing of the single words should occur in a well-readable frequency and the process should be the following:
• Schall and Rauch Metal Construction Ltd.
• Schall and Rauch Metal Construction Ltd.
• Schall and Rauch Metal Construction Ltd.
• Schall and Rauch Metal Construction Ltd.
• Schall and Rauch Metal Construction Ltd.
The commercial sign is to be turned on via a switch S1. Furthermore, a second switch should be integrated as an emergency switch, which could turn off the illumination of the commercial sign in case of emergency - or set it out of operation. The letters should flash one after another - one at a time. The control of the load circuit should be done via PLC.
任务二:Two components are to be bonded together with the help of a pneumatic cylinder 1A1. To do this, the bonding surfaces are pressed together with a defined force for 5 seconds. The time is commenced once the cylinder advances from its reacted end position (sensor 1B1=1). Once the 5 seconds have expired, the cylinder is to return to the initial position. The bonding process is started by a push button S1, see figure 2.2.
以上两个东西在step7我已经编写出来了,但是需要利用simulink建模(plclib中的模块)然后自动生成.SCL文件导入到西门子step7中生成Function Block,然后在s7-300中运行达到目的。
其实就是一个流水灯程序和一个保持5秒方波的程序,但是我发现利用simulink plclib下的模块生成有些复杂,而且导入到plc中不一定会执行,这个相关资料比较少,麻烦你们看看能不能做。