beautypg.com

ProSoft Technology 5202-DFNT-DFCM4 User Manual

Page 18

background image

DFCM Slave Driver Operation

DFCM ♦ ProLinx Gateway

Driver Manual

DF1 Master/Slave

Page 18 of 88

ProSoft Technology, Inc.

October 15, 2010

3.1

File Simulation

The PLC5 and SLC command sets require the use of data files. These entities

are simulated in the module and are configured by the user. Data in these

processors are stored in files such as N10:, F20: and A25:. Each file has a

defined element size and length. The module simulates these files by assigning

each element to a word-size (two bytes) register in the module’s database, and

each file is set to a fixed, user-defined length. These files are mapped to the

database under user control. A discussion of each parameter related to the file

simulation is given below along with an example.

[SECTION]/Item

Range

Description

[DF1 PORT 0]
[DF1 PORT 1]
[DF1 PORT 2]
[DF1 PORT 3]

Configuration Header for Port 0
Configuration Header for Port 1
Configuration Header for Port 2
Configuration Header for Port 3

First File:

This parameter defines the first file number recognized by
the module. If the value is set to 7, all requests for files

less than 7 will be returned as an error message. Files

greater than or equal to 7 will be processed as long as

the elements referenced are valid for the database. If a

request is received for an element beyond the last
register in the database, the module will return an error

message.

File Size:

This parameter defines a constant size for all files
simulated by the module. If the parameter is set to 100,

all files will contain 100 elements. If the First File

parameter is set to 7 and the File Size parameter is set to

100, all files (N7:, N8:, N9...) will contain 100 elements.

File Offset:

This parameter defines the starting address in the
module’s internal database to be associated with the first

element in the first file to be simulated. For example, if the

First File parameter is set to 7 and the File Offset

parameter is set to 1000, file element N7:0 will
correspond to database register 1000 and N7:100 will

correspond to register 1100.