Prosoft-technology MVI71-MCM Manual de usuario Pagina 30

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 111
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 29
MVI71-MCM PLC Platform Installing and Configuring the Module
Modbus Communication Module
Page 30 of 111 ProSoft Technology, Inc.
December 28, 2007
The program will build the SC_DATA.TXT on the Compact Flash Disk (C: drive in
the root directory).
The next step in module setup is to define the data files to be used with the
application. If the block transfer interface is used, define the data files to hold the
configuration, status, and user data. Enter the module's configuration in the user
data files. Enter the ladder logic to handle the blocks transferred between the
module and the PLC. Download the program to the PLC and test the program
with the module.
If the side-connect interface is used, no ladder logic is required for data transfer.
The user data files to interface with the module must reside in contiguous order
in the processor. The first file to be used by the interface is the configuration file.
This is the file number set in the SC_DATA.TXT file using the SETDNPSC.EXE
program. The following table lists the files used by the side-connect interface:
File Number Example Size Description
Cfg File N10 300 Configuration/Control/Status File
Cfg File+1 N11 to 1000 Port 1 commands 0 to 99
Cfg File+2 N12 to 1000 Port 2 commands 0 to 99
Cfg File+5 N15 to 1000 Data transferred from the module to the processor.
Other files for read data.
Cfg File+5+n N16 to 1000 Data transferred from the processor to the module.
Cfg File +5+n+m Other files for write data.
n is the number of read data files minus one. Each file contains up to 1000 words.
m is the number of write data files minus one. Each file contains up to 1000 words.
Even if both files are not required for a port's commands, they are still reserved
and should only be used for that purpose. The read and write data contained in
the last set of files possess the data transferred between the module and the
processor. The number of files required for each is dependent on the number of
registers configured for each operation. Two examples follow:
Example of 240 words of read and write data (cfg file=10)
Data Files Description
N15:0 to 239 Read Data
N16:0 to 239 Write Data
Example of 2700 read and 3500 write data registers (cfg file=10)
Data Files Description
N15:0 to 999 Read data words 0 to 999
N16:0 to 999 Read data words 1000 to 1999
N17:0 to 299 Read data words 2000 to 2299
N18:0 to 999 Write data words 2300 to 3299
N19:0 to 999 Write data words 3300 to 4299
N20:0 to 999 Write data words 4300 to 4999
Vista de pagina 29
1 2 ... 25 26 27 28 29 30 31 32 33 34 35 ... 110 111

Comentarios a estos manuales

Sin comentarios