Driver Manual: (Supplement To The Fieldserver Instruction Manual)
Driver Manual: (Supplement To The Fieldserver Instruction Manual)
Driver Manual: (Supplement To The Fieldserver Instruction Manual)
Driver Manual
(Supplement to the FieldServer Instruction Manual)
TABLE OF CONTENTS
Appendix A.5.7. Map Descriptor Example 6 - Write all attributes for an Binary Input. ...................................21
Appendix A.5.8. Map Descriptor Example 7 - Write all attributes for an Analog Output. ...............................21
Appendix A.5.9. Map Descriptor Example 8 - Write all attributes for an Analog Input. ..................................22
Appendix A.6. Write Internal Parameters – N2 Open .............................................................................................22
Appendix A.7. ADI, ADF and BD types: using the “Driver” Data_Type and MN2_Type fields .................................23
Appendix A.8. Using Override and Release - VMA ..................................................................................................23
Appendix A.9. Setting up FS-B20 for RS-485............................................................................................................24
Appendix A.9.1. Jumper Settings: .....................................................................................................................24
Appendix A.9.2. Hardware connections ...........................................................................................................26
Appendix A.9.3. Configuration Settings............................................................................................................26
Appendix C. Reference......................................................................................................................................... 28
Appendix C.1. Error Messages .................................................................................................................................28
Appendix C.2. Listing of Supported Attributes – N2Open .......................................................................................28
Appendix C.3. Metasys® DX9100 Memory Map ......................................................................................................29
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com
Tel: (408) 262 2299 Fax: (408) 262 2269 Toll Free: (888) 509 1970 email: [email protected]
FS-8700-19 Metasys® N2 by JCI Driver Manual Page 4 of 34
At present the FieldServer Metasys® N2 driver will support communications with the following devices or classes of
devices when acting as a Client:
rd
N2Open-compliant devices. N2Open is a published N2-compatible protocol enabling 3 party device vendors
to integrate with N2.
VMA 1400 series (with restrictions)
DX9100 and XT9100
When acting as a Server the FieldServer Metasys® N2 driver can emulate an N2Open device only.
2.2.1 Hardware
PART # DESCRIPTION
Metasys® NCU or other device
1
Metasys® and N2OPEN as used in this document are a trademarks of Johnson Controls Inc
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com
Tel: (408) 262 2299 Fax: (408) 262 2269 Toll Free: (888) 509 1970 email: [email protected]
FS-8700-19 Metasys® N2 by JCI Driver Manual Page 5 of 34
3 HARDWARE CONNECTIONS
N2 bus
N2 bus NCM, N30 or
3rd Party other N2 client
FieldServer
System
3rd Party
FieldServer
System
N2 devices
N2 devices
When using the FS-X40 ensure that the FieldServer is connected to the network using one or both of the RS-
485 ports marked R1 and R2. If more ports are required, P1-P8 may be used in conjunction with an RS-232-to-
RS-485 converter.
When using the FS-X20, ensure that the serial port is configured as an RS-485 port. Refer to Appendix B.2 for
more information.
Only one N2 Client may be connected to a N2 network. If the FieldServer is to act as a Client, ensure that no
other Clients are connected to the same N2 network.
Note: Interceptor mode is no longer supported for this driver.
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com
Tel: (408) 262 2299 Fax: (408) 262 2269 Toll Free: (888) 509 1970 email: [email protected]
FS-8700-19 Metasys® N2 by JCI Driver Manual Page 6 of 34
Data Arrays are “protocol neutral” data buffers for storage of data to be passed between protocols. It is necessary
to declare the data format of each of the Data Arrays to facilitate correct storage of the relevant data.
Section Title
Data_Arrays
Column Title Function Legal Values
Up to 15
Data_Array_Name Provide name for Data Array alphanumeric
characters
Provide data format. Each Data Array can only take on one Float, Bit, UInt16,
Data_Array_Format
format. SInt16, Byte
Number of Data Objects. Must be larger than the data storage
Data_Array_Length area required by the Map Descriptors for the data being placed in 1-10, 000
this array.
Example
// Data Arrays
Data_Arrays
Data_Array_Name , Data_Array_Format , Data_Array_Length
DA_AI_01 , UInt16, , 200
DA_AO_01 , UInt16 , 200
DA_DI_01 , Bit , 200
DA_DO_01 , Bit , 200
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com
Tel: (408) 262 2299 Fax: (408) 262 2269 Toll Free: (888) 509 1970 email: [email protected]
FS-8700-19 Metasys® N2 by JCI Driver Manual Page 7 of 34
For a detailed discussion on FieldServer configuration, please refer to the FieldServer Configuration manual. The
information that follows describes how to expand upon the factory defaults provided in the configuration files
included with the FieldServer (See “.csv” sample files provided with the FieldServer).
This section documents and describes the parameters necessary for configuring the FieldServer to communicate
with a Metasys® N2 Server.
Section Title
Connections
Column Title Function Legal Values
2
Port Specify which port the device is connected to the FieldServer P1-P8, R1-R2
Protocol Specify protocol used Metasys_N2
Baud* Specify baud rate 9600 (Vendor Limitation)
Parity* Specify parity None (Vendor Limitation
Data_Bits* Specify data bits 8 (Vendor Limitation
Stop_Bits* Specify stop bits 1 (Vendor Limitation
Poll _Delay* Time between internal polls 0
Line_Drive_On* Duration of RTS assert before start of transmission 0.001s
Line_Drive_Off* Duration of RTS assert after end of transmission 0.000s
Example
Connections
Port , Protocol
R1 , Metasys_N2
2
Not all ports shown are necessarily supported by the hardware. Consult the appropriate Instruction manual for details of the ports available
on specific hardware.
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com
Tel: (408) 262 2299 Fax: (408) 262 2269 Toll Free: (888) 509 1970 email: [email protected]
FS-8700-19 Metasys® N2 by JCI Driver Manual Page 8 of 34
Section Title
Nodes
Column Title Function Legal Values
Node_Name Provide name for node Up to 32 alphanumeric characters
Node_ID Station address of physical Server node 1-255
Protocol Specify protocol used Metasys_N2
Specify which port the device is connected to the 1
Connection P1-P8, R1-R2
FieldServer
Identify type of device
Example
Nodes
Node_Name , Node_ID , Protocol , Connection , Node_Type
PLC 1 ,1 , Metasys_N2 , P8 , VMA
3
Applicable to COS function for N2Open – Refer to Appendix A.3
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com
Tel: (408) 262 2299 Fax: (408) 262 2269 Toll Free: (888) 509 1970 email: [email protected]
FS-8700-19 Metasys® N2 by JCI Driver Manual Page 9 of 34
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com
Tel: (408) 262 2299 Fax: (408) 262 2269 Toll Free: (888) 509 1970 email: [email protected]
FS-8700-19 Metasys® N2 by JCI Driver Manual Page 10 of 34
For DX9100 addresses please refer to the DX9100 user documentation. This lists the name, function (read/write)
and data format of all available points. Alternatively, obtain assistance from FieldServer Technical Support.
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com
Tel: (408) 262 2299 Fax: (408) 262 2269 Toll Free: (888) 509 1970 email: [email protected]
FS-8700-19 Metasys® N2 by JCI Driver Manual Page 11 of 34
Map_Descriptors
Map_Descriptor_Name , DA_Name , DA_Offset , Function , MN2_Function , Node_Name , Address , Data_Type , Scan_Interval
AI_READ , DA_AI3 ,0 , RDBC ,- , Node_A ,1 , Ana_Input , 5s
COS_POLLER , DA_COS ,0 , COS_Poller ,- , Node_A ,- ,- , 30s
AI_BY_COS , DA_AI3 ,1 , COS_Read ,- , Node_A ,1 , Ana_Input ,-
BI_BY_COS , DA_BI ,3 , COS_Read ,- , Node_A ,2 , Dig_Input , 10
AI_1_Release , DA_Release ,0 , Wrbx , Release , Node_A ,1 , Ana_Input ,-
Note: To get change of state (COS) reports from an analog port, the warning/alarm levels need to be configured. If the alarm/warning values are not known, then it
would be better to configure an Rdbc Map Descriptor which reads the analog input directly. Limits will then not be required.
5.3.5 Map Descriptor Example - Client Side COS_READ Map Descriptor for Analog Input point
Map_Descriptors
Map_Descriptor_Name , Data_Array_Name , Location , Function , Node_Name , Data_Type , Address , MN2_Normal , MN2_Lo_Alm_Limit , MN2_Lo_Wrn_Limit , MN2_Hi_Wrn_Limit , MN2_Hi_Alm_Limit , MN2_Differential
CMD_AI_01_COS , DA_AI_01 ,1 , COS_Read , MN2_11 , Ana_Input ,1 ,- ,1 ,2 ,3 ,4 ,1
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com
Tel: (408) 262 2299 Fax: (408) 262 2269 Toll Free: (888) 509 1970 email: [email protected]
FS-8700-19 Metasys® N2 by JCI Driver Manual Page 12 of 34
Map_Descriptors
Map_Descriptor_Name , DA_Name , DA_Offset , Function , MN2_Function , Node_Name , Address , Data_Type , MN2_Type , Scan_Interval
AI_READ , DA_AI3 ,0 , Rdbc ,- , Node_VMA ,1 , Ana_Input ,- , 5s
AO_WRITE , DA_AO ,0 , Wrbx ,- , Node_VMA ,3 , Ana_Output ,- , 30s
AO_Release , DA_AO ,0 , Wrbx , Release , Node_VMA ,3 , Ana_Output ,- ,-
Special_type , DA_DRV , 10 , Rdbc ,- , Node_VMA , 23 , Driver ,5 , 10s
Override release function configured as Wrbx. Driver type 5 (ADF) configured here.
Map_Descriptors
Map_Descriptor_Name , DA_Name , DA_Offset , Function , Node_Name , Address , Scan_Interval
D191_ZN1-T , DA_AI3 ,0 , Rdbc , Node_DX , 1223 , 5s
D191_ZN1-S , DA_AO3 ,0 , Wrbx , Node_DX , 1225 ,-
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com
Tel: (408) 262 2299 Fax: (408) 262 2269 Toll Free: (888) 509 1970 email: [email protected]
FS-8700-19 Metasys® N2 by JCI Driver Manual Page 13 of 34
For a detailed discussion on FieldServer configuration, please refer to the FieldServer Configuration Manual. The
information that follows describes how to expand upon the factory defaults provided in the configuration files
included with the FieldServer (See “.csv” files on the driver diskette).
This section documents and describes the parameters necessary for configuring the FieldServer to communicate
with a Metasys® N2Open Client. Note that only the N2Open variation of the N2 protocol may be used when
configuring the FieldServer as a Server.
The configuration file tells the FieldServer about its interfaces, and the routing of data required. In order to enable
the FieldServer for Metasys® N2 communications, the driver independent FieldServer buffers need to be declared
in the “Data Arrays” section, the FieldServer virtual node(s) needs to be declared in the “Server Side Nodes”
section, and the data to be provided to the Clients needs to be mapped in the “Server Side Map Descriptors”
section. Details on how to do this can be found below.
Note that in the tables, * indicates an optional parameter, with the bold legal value being the default.
Section Title
Connections
Column Title Function Legal Values
Specify which port the device is connected to the 4
Port P1-P8, R1-R2
FieldServer
Protocol Specify protocol used Metasys_N2
Baud* Specify baud rate 9600 (Vendor Limitation)
Parity* Specify parity None (Vendor Limitation
Data_Bits* Specify data bits 8 (Vendor Limitation
Stop_Bits* Specify stop bits 1 (Vendor Limitation
Poll _Delay* Time between internal polls 0
Line_Drive_On* Duration of RTS assert before start of transmission 0.001s
Line_Drive_Off* Duration of RTS assert after end of transmission 0.000s
Specifies time FieldServer will reserve Server side
5
Server_Hold_Timeout* connection while waiting for the Client side to update data < 0.175s
in Data_Array.
Example
Connections
Port , Protocol
P1 , Metasys_N2
4
Not all ports shown are necessarily supported by the hardware. Consult the appropriate Instruction manual for details of the ports available
on specific hardware.
5
Can be set to >0.175s if the Client has been set to timeout after >200ms. Refer to Appendix C for more information.
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com
Tel: (408) 262 2299 Fax: (408) 262 2269 Toll Free: (888) 509 1970 email: [email protected]
FS-8700-19 Metasys® N2 by JCI Driver Manual Page 14 of 34
Section Title
Nodes
Column Title Function Legal Values
Node_Name Provide name for node Up to 32 alphanumeric characters
Node_ID Station address of physical Server node 1-255
Protocol Specify protocol used Metasys_N2
Identify type of device.
This parameter need not be specified. The Server
Node_Type side of the driver can only operate as an N2 Server N2OpenServer, N2Open
and the option for setting it to N2Open is purely
for backward compatibility.
Example
Nodes
Node_Name , Node_ID , Protocol
PLC 1 ,1 , Metasys_N2
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com
Tel: (408) 262 2299 Fax: (408) 262 2269 Toll Free: (888) 509 1970 email: [email protected]
FS-8700-19 Metasys® N2 by JCI Driver Manual Page 15 of 34
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com
Tel: (408) 262 2299 Fax: (408) 262 2269 Toll Free: (888) 509 1970 email: [email protected]
FS-8700-19 Metasys® N2 by JCI Driver Manual Page 16 of 34
Map_Descriptors
Map_Descriptor_Name , Data_Array_Name , Data_Array_Offset , Data_Type , Function , Node_Name , Address , Length
A1 , DA_AI3 , 10 , Ana_Input , Passive , Node_A ,1 , 256
The Data_Array_Offset sets the The Passive function tells the Note that a single Server Map
start of the data range covered FieldServer that this Map Descriptor of length 256 can
by the Server Map Descriptor. Descriptor makes data represent all possible points of
The number of points included is available to a Client sending one type (e.g. AI).
determined by the Length field. polls to the FieldServer.
6.3.5 Map Descriptor Example – N2 Open Server Side Map Descriptor for Analog Input point
On the Server Side, the MN2 parameters are used to determine the status of the point. Specify these parameters to set initial limits. N2open client can update these
parameters at any time.
Map_Descriptors
Map_Descriptor_Name , Data_Array_Name , Location , Function , Node_Name , Data_Type , Address , MN2_Normal , MN2_Lo_Alm_Limit , MN2_Lo_Wrn_Limit , MN2_Hi_Wrn_Limit , MN2_Hi_Alm_Limit , MN2_Differential
SMD_AI_01 , DA_AI_01 ,1 , Passive , MN2_11 , Ana_Input ,1 ,- ,1 ,2 ,3 ,4 ,1
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com
Tel: (408) 262 2299 Fax: (408) 262 2269 Toll Free: (888) 509 1970 email: [email protected]
FS-8700-19 Metasys® N2 by JCI Driver Manual Page 17 of 34
When writing to DX9100 Binary Outputs, it is important to understand that each binary output has three bits associated with it as described in the table below:
6
Bit Description Address
Output status The status bit will indicate the actual status of the output in the field. This bit cannot be modified by the FieldServer as it is read
Address 5
bit only, and is meant for actual status display.
Output control The control bit will allow the FieldServer to write a command to the DX9100 for the associated output. This command will only Low byte of
bit execute if the override is enabled by the override bit. Address 1
The override bit must be set to enable an output to be written to by the FieldServer. If this is not set, then the control bit will be High byte of
Override bit
ignored. Address 1
The example below illustrates the mapping required for DX9100 Binary Outputs. Note that since all 6 outputs are packed into word format when transmitted, a
Packed_Bit Array is required to access the bits individually.
In this Example, the status for BO3-BO8 can be found in offsets 0-5 of DA_PO1_02, the control bits can be found in offsets 0-5 of DA_PO1_01, and the override bits can be
found in offsets 8-13 of DA_PO1_01.
Data_Arrays
Data_Array_Name , Data_Format , Data_Array_Length
DA_PO1_01 , Packed_Bit , 100
DA_PO1_02 , Packed_Bit , 100
Map_Descriptors
Map_Descriptor_Name , Data_Array_Name , Data_Array_Offset , Function , Node_Name , Address , Scan_Interval
CMD_DO1_05 , DA_PO1_01 ,0 , Rdbc , Dev_30 , 0001 , 1.0s // DO3 - DO8 Set and Enable
CMD_DO1_06 , DA_PO1_02 ,0 , Rdbc , Dev_30 , 0005 , 1.0s // DO3 - DO8 Status
6
Binary Outputs start at address 3, so the first bit of each of these addresses will represent B03
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com
Tel: (408) 262 2299 Fax: (408) 262 2269 Toll Free: (888) 509 1970 email: [email protected]
FS-8700-19 Metasys® N2 by JCI Driver Manual Page 18 of 34
It is not normally necessary to use the Override command explicitly as the FieldServer automatically uses this
command when the Current Value attribute of a point is written. For any other attribute it uses the Write
command. It will sometimes be necessary to send a Release command to an overridden point, however. To do
this, a Map Descriptor must be configured with Function set to Wrbx and MN2_Function set to Release. Then,
when any value is stored to the Map Descriptor data location, the Release command will be sent to the N2Open
point specified by the Map Descriptor.
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com
Tel: (408) 262 2299 Fax: (408) 262 2269 Toll Free: (888) 509 1970 email: [email protected]
FS-8700-19 Metasys® N2 by JCI Driver Manual Page 19 of 34
If a large number of points are to be monitored, optimal efficiency is achieved by using the COS mechanism instead of reading each individual point directly. A N2Open
device responds to a COS poll with a change record if a change has taken place. On startup the device will report the state of all its points when it receives a COS poll.
Two kinds of Map Descriptors are required for everyNode that is to be monitored using COS:
A COS_Read (i.e. Function set to COS_Read) Map Descriptor for every point on that node that is to be monitored. Any COS records received will be stored to the
matching Map Descriptor data location.
Note that the COS_Read Map Descriptor has an optional scan_interval. If a value is set the Map Descriptor will poll at that rate in addition to receiving COS data. This can
be used if the values are to be refreshed continually even if they don’t change. If the scan_interval is not configured (through omitting the column, or by setting the value
to ‘-‘) the COS_Read Map Descriptor will not cause active polls once the value has been initialized. See Section 5.3.4 for example.
Please be aware that N2Open devices will only report value changes under the following conditions:
This optional command allows the user to read all attributes rather than specifying the attribute number. (Note: It is possible that the N2Open Server will not support
these commands.
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com
Tel: (408) 262 2299 Fax: (408) 262 2269 Toll Free: (888) 509 1970 email: [email protected]
FS-8700-19 Metasys® N2 by JCI Driver Manual Page 20 of 34
Appendix A.5.1. Map Descriptor Example 1 - Read all attributes for an Analog Input.
All 14 attributes will be stored at sequential locations in the Data Array starting from the offset specified in the Map Descriptor.
Map_Descriptors
Map_Descriptor_Name , Data_Array_Name , Data_Array_Offset , Function , Node_Name , Address , Data_Type , Mn2_Function , Scan_Interval , Length
CMD_AI_01 , DA_AI_01 ,0 , Rdbc , MN2_01 , 03 , Ana_Input , Read_All_Attribs , 5.0s , 14
Appendix A.5.2. Map Descriptor Example 2 - Read all attributes for an Binary Input.
All 4 attributes will be stored at sequential locations in the Data Array starting from the offset specified in the Map Descriptor.
Map_Descriptors
Map_Descriptor_Name , Data_Array_Name , Data_Array_Offset , Function , Node_Name , Address , Data_Type , Mn2_Function , Scan_Interval , Length
CMD_DI_01 , DA_DI_01 ,0 , Rdbc , MN2_01 , 03 , Dig_Input , Read_All_Attribs , 5.0s ,4
Appendix A.5.3. Map Descriptor Example 3 - Read all attributes for an Analog Output.
All 4 attributes will be stored at sequential locations in the Data Array starting from the offset specified in the Map Descriptor.
Map_Descriptors
Map_Descriptor_Name , Data_Array_Name , Data_Array_Offset , Function , Node_Name , Address , Data_Type , Mn2_Function , Scan_Interval , Length
CMD_AO_01 , DA_AO_01 ,0 , Rdbc , MN2_01 , 04 , Ana_Output , Read_All_Attribs , 5.0s ,4
Appendix A.5.4. Map Descriptor Example 4 - Read all attributes for a Digital Output.
All 7 attributes will be stored at sequential locations in the Data Array starting from the offset specified in the Map Descriptor.
Map_Descriptors
Map_Descriptor_Name , Data_Array_Name , Data_Array_Offset , Function , Node_Name , Address , Data_Type , Mn2_Function , Scan_Interval , Length
CMD_DO_01 , DA_DO_01 ,0 , Rdbc , MN2_01 , 03 , Dig_Output , Read_All_Attribs , 5.0s ,7
Appendix A.5.5. Write All Attributes (Applicable only to Data_Type AI,DI. AO, DO).
This optional command allows the user to write all attributes (except status and current value) rather than specifying the attribute number. Note: It is possible that the
N2Open Server will not support these commands.
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com
Tel: (408) 262 2299 Fax: (408) 262 2269 Toll Free: (888) 509 1970 email: [email protected]
FS-8700-19 Metasys® N2 by JCI Driver Manual Page 21 of 34
Appendix A.5.6. Map Descriptor Example 5 - Write all attributes for an Analog Input.
This Map Descriptor will issue an optional command to write all the attributes for an Analog Input. The Driver will pick attribute values from the Data Array starting from
the specified offset in the following order. All reserved attributes will have the value 0.
attribute 1 (configuration)
attribute 8 (low alarm limit)
attribute 9 (low warning limit)
attribute 10 (hi warning limit)
attribute 11 (hi alarm limit)
attribute 12 (differential)
Map_Descriptors
Map_Descriptor_Name , Data_Array_Name , Data_Array_Offset , Function , Node_Name , Address , Data_Type , Mn2_Function , Scan_Interval , Length
CMD_AI_01 , DA_AI_01 ,0 , Wrbx , MN2_01 , 03 , Ana_Input , Write_Attribs , 1.0s ,6
Appendix A.5.7. Map Descriptor Example 6 - Write all attributes for an Binary Input.
This Map Descriptor will issue an optional command to write all the attributes for a Binary Input. The Driver will pick attribute values from the Data Array starting from
the specified offset.. All reserved attributes will have the value 0.
Map_Descriptors
Map_Descriptor_Name , Data_Array_Name , Data_Array_Offset , Function , Node_Name , Address , Data_Type , Mn2_Function , Scan_Interval , Length
CMD_DI_01 , DA_DI_01 ,0 , Wrbx , MN2_01 , 03 , Dig_Input , Write_Attribs , 1.0s ,1
Appendix A.5.8. Map Descriptor Example 7 - Write all attributes for an Analog Output .
This Map Descriptor will issue an optional command to write all the attributes for an Analog Output. The Driver will pick attribute values from the Data Array starting
from the specified offset.. All reserved attributes will have the value 0.
Map_Descriptors
Map_Descriptor_Name , Data_Array_Name , Data_Array_Offset , Function , Node_Name , Address , Data_Type , Mn2_Function , Scan_Interval , Length
CMD_AO_01 , DA_AO_01 ,0 , Wrbx , MN2_01 , 04 , Ana_Output , Write_Attribs , 1.0s ,1
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com
Tel: (408) 262 2299 Fax: (408) 262 2269 Toll Free: (888) 509 1970 email: [email protected]
FS-8700-19 Metasys® N2 by JCI Driver Manual Page 22 of 34
Appendix A.5.9. Map Descriptor Example 8 - Write all attributes for an Analog Input.
This Map Descriptor will issue an optional command to write all the attributes for a Binary Output. The Driver will pick attribute values from the Data Array starting from
the specified offset in the following order. All reserved attributes will have the value 0.
attribute 1 (configuration)
attribute 3 (minimum ontime)
attribute 4 (minimum offtime)
attribute 5 (max cycles/hr)
Map_Descriptors
Map_Descriptor_Name , Data_Array_Name , Data_Array_Offset , Function , Node_Name , Address , Data_Type , Mn2_Function , Scan_Interval , Length
CMD_DO_01 , DA_DO_01 ,0 , Wrbx , MN2_01 , 03 , Dig_Output , Write_Attribs , 1.0s ,4
This is applicable only for internal parameters i.e. if Data_Type is Float_Reg, Integer , Byte or Flag. The following Map Descriptor will read the internal Float every second
and whenever the specified offset is updated, the driver will issue a write command to N2Open Server. Note: It is possible that the N2Open Server will not support these
commands.
Map_Descriptors
Map_Descriptor_Name , Data_Array_Name , Data_Array_Offset , Function , Node_Name , Address , Data_Type , Mn2_Function , Scan_Interval
CMD_FREG_01 , DA_FREG_01 ,0 , Wrbc , MN2_01 ,5 , Float_Reg , Write_Attribs , 1.0s
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com
Tel: (408) 262 2299 Fax: (408) 262 2269 Toll Free: (888) 509 1970 email: [email protected]
FS-8700-19 Metasys® N2 by JCI Driver Manual Page 23 of 34
Appendix A.7. ADI, ADF and BD types: using the “Driver” Data_Type and MN2_Type fields
The VMA protocol uses a byte value to specify the data types. The standard types AI, AO, DI and DO correspond to
a byte value of 1 through 4 respectively. The types ADF, ADI and BD are believed to correspond to a byte value of
5 through 7 respectively. If the user wishes to use any other type value based on knowledge of a particular VMA
configuration, then that value may also be specified here. Refer to Section 5.3.6 for a specific example.
Driver Data_Type
MN2_Type values
7 8
Point Type Known Value Suggested Value
AI 1
AO 2
BI 3
BO 4
ADF 5
ADI 6
BD 7
If a large number of points are to be monitored, optimal efficiency is achieved by using the COS mechanism instead
of reading each individual point directly. An N2Open device responds to a COS poll with a change record if a
change has taken place. On startup the device will report the state of all its points when it receives a COS poll.
Three kinds of Map Descriptors are required for every node that is to be monitored using COS:
A COS initialization Map Descriptor with Function set to ARS and MN2_Function set to COS_Enable. This
Map Descriptor enables COS polling of those points on the VMA for which Passive Map Descriptors exist.
A COS polling Map Descriptor with Function set to rdbc and MN2_Function set to COS.
A Passive (i.e. Function set to Passive) Map Descriptor for every point on that node that is to be
monitored. Any COS records received will be stored to the matching Map Descriptor data location.
It is normally not necessary to use the Override command explicitly as the FieldServer automatically uses this
command when the Current Value attribute of a point is written. For any other attribute it uses the Write
command. It will sometimes be necessary to send a Release command to an overridden point, however. To do
this, a Map Descriptor must be configured with Function set to Wrbx and MN2_Function set to Release. Then,
when any value is stored to the Map Descriptor data location, the Release command will be sent to the VMA point
specified by the Map Descriptor.
Note: The VMA Release function only works for analog and binary inputs (AI and BI). Outputs may be restored to
their original value using an explicit write command.
7
For information only. Do not use Driver type for these, but specify AI, AO, BI or BO directly in the Data_Type field.
8
These values are believed to be correct for the corresponding point types, but no guarantee can be given at this time.
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com
Tel: (408) 262 2299 Fax: (408) 262 2269 Toll Free: (888) 509 1970 email: [email protected]
FS-8700-19 Metasys® N2 by JCI Driver Manual Page 24 of 34
Jumpers jp16, jp17, and jp18 need to be transferred from pins 1-2 to pins 2-3 in order to enable RS-485. These
jumpers can be found just behind the RJ45 ports inside the box
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com
Tel: (408) 262 2299 Fax: (408) 262 2269 Toll Free: (888) 509 1970 email: [email protected]
FS-8700-19 Metasys® N2 by JCI Driver Manual Page 25 of 34
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com
Tel: (408) 262 2299 Fax: (408) 262 2269 Toll Free: (888) 509 1970 email: [email protected]
FS-8700-19 Metasys® N2 by JCI Driver Manual Page 26 of 34
The FS-8917-16 pigtail cable is typically used for this port arrangement. Connection is depicted in the following
diagram.
SERIAL
FS-X20
ORANGE/WHITE
(RJ45-08)
BROWN
(RJ45-01)
FS-8917-16
+
-
G
BLUE/WHITE
(RJ45-04)
Line_Drive_On and Line_Drive_Off need to be defined in the connections section of the configuration file.
These need to be set to at least 0.001s. Refer to Sections 0 and 6.1 for more information.
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com
Tel: (408) 262 2299 Fax: (408) 262 2269 Toll Free: (888) 509 1970 email: [email protected]
FS-8700-19 Metasys® N2 by JCI Driver Manual Page 27 of 34
When the Client node on the FieldServer goes offline, the corresponding data objects on the FieldServer are also
marked offline. If a client polls a virtual FieldServer node for this particular data, therefore, an offline response will
be returned by the FieldServer. A request from a master device for a FieldServer to identify itself would be met by
a valid response, however. This could lead to confusion and status toggling. This can be addressed using
Responsible Map Descriptors and by configuring the virtual FieldServer using the Offline_Method option. Please
refer to the Configuration Manual for further information.
It is important that there be only one device (including the slave device itself) updating a point which is in
overridden mode. The reason for this is that the value of the point could be changed by an update from a non-
Metasys® Server before the override is released by the Metasys® Master. In this case, the FieldServer would
respond to a poll from the Master with this changed data.
The N2 server configuration should number all points of each point type (e.g. analog input) consecutively, starting
from 1. There should be no gaps in the configured address space.
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com
Tel: (408) 262 2299 Fax: (408) 262 2269 Toll Free: (888) 509 1970 email: [email protected]
FS-8700-19 Metasys® N2 by JCI Driver Manual Page 28 of 34
Appendix C. Reference
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com
Tel: (408) 262 2299 Fax: (408) 262 2269 Toll Free: (888) 509 1970 email: [email protected]
FS-8700-19 Metasys® N2 by JCI Driver Manual Page 29 of 34
Module Module Module Module Module Module Module Module Module Module Module Module
Programmable modules
1 2 3 4 5 6 7 8 9 10 11 12
64 160 256 352 448 544 640 736 832 928 1024 1120
0040H 00A0H 0100H 0160H 01C0H 0220H 0280H 02E0H 0340H 03A0H 0400H 0460H
Analog input modules
1 2 3 4 5 6 7 8
1216 1232 1248 1264 1280 1296 1312 1328
04C0H 04D0H 04E0H 04F0H 0500H 0510H 0520H 0530H
Analog output modules
1 2 2 9 10 11 12 13 14
or later (new
1344 1360 for version 2304 2320 2336 2352 2368 2384
6.0):
0540H 0550H 0900H 0910H 0920H 0930H 0940H 0950H
Digital output modules
3 4 5 6 7 8
1376 1392 1408 1424 1440 1456
0560H 0570H 0580H 0590H 05A0H 05B0H
Extension modules
1 2 3 4 5 6 7 8
1472 1552 1632 1712 1792 1872 1952 2032
05C0H 0610H 0660H 06B0H 0700H 0750H 07A0H 07F0H
Time schedule modules
1 2 3 4 5 6 7 8
2112 2128 2144 2160 2176 2192 2208 2224
0840H 0850H 0860H 0870H 0880H 0890H 08A0H 08B0H
Optimal start / stop module
1 2
2240 2272
08C0H 08E0H
Relative Item
Signal Condition Read/Write Johnson Tag Description
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com
Tel: (408) 262 2299 Fax: (408) 262 2269 Toll Free: (888) 509 1970 email: [email protected]
FS-8700-19 Metasys® N2 by JCI Driver Manual Page 30 of 34
Relative Item
Signal Condition Read/Write Johnson Tag Description
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com
Tel: (408) 262 2299 Fax: (408) 262 2269 Toll Free: (888) 509 1970 email: [email protected]
FS-8700-19 Metasys® N2 by JCI Driver Manual Page 31 of 34
Relative Item
Signal Condition Read/Write Johnson Tag Description
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com
Tel: (408) 262 2299 Fax: (408) 262 2269 Toll Free: (888) 509 1970 email: [email protected]
FS-8700-19 Metasys® N2 by JCI Driver Manual Page 32 of 34
Relative Item
Signal Condition Read/Write Johnson Tag Description
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com
Tel: (408) 262 2299 Fax: (408) 262 2269 Toll Free: (888) 509 1970 email: [email protected]
FS-8700-19 Metasys® N2 by JCI Driver Manual Page 33 of 34
Relative Item
Signal Condition Read/Write Johnson Tag Description
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com
Tel: (408) 262 2299 Fax: (408) 262 2269 Toll Free: (888) 509 1970 email: [email protected]
FS-8700-19 Metasys® N2 by JCI Driver Manual Page 34 of 34
Relative Item
Signal Condition Read/Write Johnson Tag Description
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com
Tel: (408) 262 2299 Fax: (408) 262 2269 Toll Free: (888) 509 1970 email: [email protected]