ProSoft Technology MVI46-DFCM User Manual
Page 89

Reference MVI46-DFCM
♦ SLC Platform
DF1 Communication Module
ProSoft Technology, Inc.
Page 89 of 103
October 20, 2008
Column
Parameter
Description
Parameter
8
File Type
SLC file type letter as used in file name string. Valid
values for the system are N, S, F, A, ….
P1
9
File Number
SLC file number to be associated with the command.
P2
10
Element Number
The parameter defines the element in the file where
write operation will start.
P3
11
Sub-Element Number
This parameter defines the sub-element to be used
with the command. Refer to the AB documentation for
a list of valid sub-element codes.
P4
This function writes one or more words of data from a PLC data table controlling
individual bits in the table. The bit mask used for the command is 0xFFFF. This
provides direct manipulation of the data in the device with the internal data of the
module. The function requires that all data associated with the command use the
same mask.
5.6.3 PLC-5 Processor Specifics
This section contains information specific to the PLC-5 processor with relation to
the DF1 command set. The commands specific to the PLC-5 processor contain a
sub-element code field. This field selects a sub-element field in a complex data
table. For example, to obtain the current accumulated value for a counter or
timer, the sub-element field should be set to 2. The tables below show the sub-
element codes for PLC-5 complex data tables.
PLC-5 Sub-Element Codes
Timer / Counter
Code Description
0 Control
1 Preset
2 Accumulated
Control
Code Description
0 Control
1 Length
2 Position
PD*
Code Description
0 Control
2 SP
4 Kp
6 Ki
8 Kd
26 PV
*All PD values are floating point values, so they are two words long.