|
<< Click to Display Table of Contents >>
Preparing a Device |
For a perfect operation of this Driver, users must include some routines in Step-7, provided by Elipse Software, that determine a communication protocol between a device and an application. The file Comunica_v303.zip is distributed with this Driver to configure Step-7, for Microwin version 3.2 or later, containing the following ladder files:
•Comunica v303_19200_Porta0.mwp
•Comunica v303_19200_Porta1.mwp
•Comunica v303_9600_Porta0.mwp
•Comunica v303_9600_Porta1.mwp
NOTE |
Each ladder file in the file Comunica_v303.zip determines a communication protocol between a device and an application, using a port and a communication speed specified in the file name. Select one of the files, suitable for the project, and then program a device. Users must use Step-7 Microwin version 3.2 or later to open these projects.. The ladder program implemented in these projects is presented on topic Appendix: List of Ladder File. Use it for an older or incompatible version of Microwin. |
To use these files, follow these procedures:
1.Define a path for a project.
2.The main program, before the END command, must be at the beginning, before all other programs.
3.All routines after the END command must be at the end, after all other programs.
4.Baud rate is defined internally in the program with a value 9600 or 19200. Set the 232/485 converter to the corresponding speed.
5.The Stop/Run/Term switch of a device must be configured as RUN to communicate using Freeport protocol.
NOTE |
Do not use VW0 (VB0 and VB1), Timer 32, and Timer 37, because these ones are used internally, as well as the memory area between VW300 and VW600. |
After configuring Step-7, configure this Driver in an application according to the next topics.