FieldServer FS-8704-13 用户手册

下载
页码 19
FS-8704-13 GE-SRTP  
 
Driver Manual 
 
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 (408) 262-2299 fax: (408) 262-9042 
Visit our website: www.fieldserver.com          E-mail:  support@fieldserver.com 
 
Page 7 
4.4.4  Map Descriptor Example 1 – Simple Read. 
This example provides a map descriptor to read 10 bytes of Discrete Input states, starting at the very first Discrete Input. The data is stored in a data array 
called DA_DI and the first input is stored at location 100 in the array (101
st
 element). The PLC is polled every 2 seconds 
 
Map_Descriptor_Name, Data_Array_Name, Data_Array_Offset, Function, Scan_Interval, node_name, Address, Length, Data_Type 
CMD_AI_01        ,  DA_AI_01                , 0                      , rdbc     , 1.0s             , Node_A      , 1         , 10      ,  %AI 
 
Data Type. Use the 
% symbol as you 
would if you were 
programming a GE 
PLC. 
The name of the 
data array in 
which the driver 
will store the data. 
The name must 
correspond to a 
data array defined 
in the data array 
section of the 
CSV file. 
Read will be 
performed 
every 2.0 
Seconds. 
RDBC = 
Read Block 
Continuous. 
 
The driver 
will read data 
from the PLC 
continuously. 
 
Map descriptor 
names may be 
used in driver 
error messages. It 
is not essential, 
but it is useful to 
use unique names. 
Location in the data 
array at which the first 
element of data will be 
stored. The arrays are 
zero referenced so an 
offset of 100 indicates 
the 101st element of 
the array. 
The node must have 
been defined 
previously in the 
Nodes section of the 
CSV file.  
 
The node name 
connects this map 
descriptor to a node 
which in turn 
connects the map 
descriptor to a port. 
The address and length 
specify the first 
element and the 
number of elements 
that must be read from 
the PLC’s data tables. 
 
GE PLC’s reference 
data tables starting at 
element 1. 
 
Unless otherwise 
specified the driver 
reads bytes and words. 
This map descriptor 
reads 10 bytes of data 
– covering %I1 to 
%I79.