The Safetran-SCS-128 driver allows the transfer of data to and from devices over RS-232 SCS128 protocol. Vital Harmon Logic Controller (VHLC) supports SCS-128 protocol. SCS-128
80938-098 Rev A04 is the basis of the Safetran-SCS-128 driver. The FieldServer can act as a
Client or a Server.
Max Nodes Supported
FieldServer Mode Nodes Comments
Client 1
Server 127 This is a protocol limit, maximum devices can be polled by Client
Only 1 virtual client per port allowed on multidrop systems, which
can poll 127 Server devices
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.FieldServer.com
4. Configuring the FieldServer as a Safetran-SCS-128 Client
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 Safetran-SCS-128 Server.
4.1. Data Arrays/Descriptors
The configuration file tells the FieldServer about its interfaces, and the routing of data
required. In order to enable the FieldServer for Safetran-SCS-128 communications, the
driver independent FieldServer buffers need to be declared in the “Data Arrays” section, the
destination device addresses need to be declared in the “Client Side Nodes” section, and
the data required from the Servers needs to be mapped in the “Client 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
Data_Arrays
Column Title Function Legal Values
Data_Array_Name Provide name for Data Array
Data_Array_Format
Data_Array_Length
Provide data format. Each Data Array
can only take on one format.
Number of Data Objects. Must be
larger than the data storage area
required by the Map Descriptors for the
data being placed in this array.
4.4.1. FieldServer Related Map Descriptor Parameters
Column Title Function Legal Values
Map_Descriptor_Name Name of this Map Descriptor
Data_Array_Name
Data_Array_Offset Starting location in Data Array
Function Function of Client Map Descriptor Rdbc, Wrbc, Wrbx
Name of Data Array where data
is to be stored in the FieldServer
Up to 32 alphanumeric
characters
One of the Data Array names
from “Data Array” section above
0 to maximum specified in “Data
Array” section above
4.4.2. Driver Related Map Descriptor Parameters
Column Title Function Legal Values
One of the Node
Node_Name Name of Node to fetch data from
Specify Poll_type
‘Recall’ or 2 always poll for current indications
SCS128_Poll_Type*
Data_Type*
Length*
‘Poll’ or 1 request for indications if changed
‘Controls’ or 3 writes controls to target device
‘Cutoff’ or 5 or 6 send ‘cutoff’ command to
target device
‘Flag’ - each byte of Indication statuses will be
stored in 8 consecutive locations in the Data
Array. On write; one Control byte will be
composed from 8 consecutive locations.
‘Byte’- each byte of Indication statuses will be
stored as an 8 Bit Integer at the specified
location. On Write; one Control byte will be
composed from a single location.
‘Register’ - two bytes of Indication statuses will
be stored as a 16 Bit integer at the specified
location. On Write; two Control bytes will be
composed from a single location.
’32-Bit_Reg’ four bytes of Indication statuses
will be stored as 32 Bit integers at the
specified location. On Write, four Control bytes
will be composed from a single location.
Refer to Appendix A
Length of Map Descriptor
Number of indications to store or number of
controls to write as per Data_Type.
names specified in
“Client Node
Descriptor” above
For Read Map
Descriptors :
Recall, 2, Poll, 1,
For Write Map
Descriptors :
5. Configuring the FieldServer as a Safetran-SCS-128 Server
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 Safetran-SCS-128 Client. When configured as a Server, the FieldServer
is unable to keep synchronism with other Servers and Clients on the network if it is being polled
using ‘Poll’ Function (i.e. single byte message). Therefore the FieldServer must be polled with
‘Recall’ request for indication statuses. The FieldServer will always respond with the current
statuses.
The configuration file tells the FieldServer about its interfaces, and the routing of data required.
In order to enable the FieldServer for Safetran-SCS-128 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.
5.1. Server Side Connection Descriptors
Section Title
Connections
Column Title Function Legal Values
Port
Protocol
Baud* Specify baud rate
Parity* Specify parity
Data_Bits*
Stop_Bits*
Handshaking* Specify hardware handshaking
Server_Hold_Timeout
Specify which port the device is connected to the
FieldServer
Specify protocol used
Specify data bits
Specify stop bits
Specifies time FieldServer will reserve Server
side connection while waiting for the Client side to
update data in Data_Array (if necessary)
5.3.1. FieldServer Specific Map Descriptor Parameters
Column Title Function Legal Values
Map_Descriptor_Name Name of this Map Descriptor
Data_Array_Name
Data_Array_Offset Starting location in Data Array
Function Function of Server Map Descriptor Server
Server_Hold_Timeout
Name of Data Array where data is to be
stored in the FieldServer
Specifies time FieldServer will reserve
Server side connection while waiting for
the Client side to update data in
Data_Array (if necessary)
Up to 32 alphanumeric
characters
One of the Data Array
names from “Data Array”
section above
0 to maximum specified
in “Data Array” section
above
>1.0s
5.3.2. Driver Specific Map Descriptor Parameters
Column Title Function Legal Values
One of the Node
Node_Name Name of Node to fetch data from
Specify type of requests to handle from client.
SCS128_Poll_Type
Data_Type
Length
Address Irrelevant parameter for this driver
‘Indications’ Handle all read requests from client.
‘Controls’ Handle all write requests from client
‘Flag’ each byte of Controls will be stored in 8
consecutive locations in the Data Array.
Similarly while responding Indications; status
byte will be composed with data from 8
consecutive locations.
‘Byte’ each byte of Controls will be stored as 8
Bit Integer at specified location. Similarly while
responding Indications; status byte will be
composed with data from single location.
‘Register’ every two bytes of Controls will be
stored as 16 Bit integer at specified location.
Similarly while responding indications; two
Control bytes will be composed with data from
single location.
’32-Bit_Reg’ every four Control bytes will be
stored as 32 Bit integer at specified location.
Similarly while responding indications; four
Control bytes will be composed with data from
single location.
Refer to Appendix A
Length of Map Descriptor
Number of indications to serve or number of
controls to store as per Data_Type.
• Suppose Data_Type is ‘Byte’ and only the 1st and 2nd indication status values are 1 (out
of 8 statuses), all others being zero, Driver will store a numeric value of 3 in Data Array.
•Suppose Data_Type is ‘Register’ and only the 1st and 9th indication statuses values are 1
(out of 16 statuses), all others being zero, Driver will store numeric value of 257 in the
Data Array.
•Suppose Data_Type is ’32-Bit_Reg’ and only the 1st 9
values are 1 (out of 32 statuses), all others being zero, Driver will store the numeric
value 65793 in the Data Array.
st
status/control value
th
and 17th indication statuses
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.FieldServer.com