
SDK Programming Guide Version 1.511
ABLELink
R
Ethernet-Serial Server MAXI Series
4 Advance Course
4.1 Simulation on PC
4.1.1 Simulation Introduction
It’s not necessary to download the target application programs to the Serial Server immediately after writing
the application programs & drivers, Instead, you can conduct a preliminary functional test on the PC to verify
their integrities with the system including program flow, RS-232/RS-485 communication handling, TCP/IP
connection handling with host computer, message handling between field equipment and host, and etc. Once
the simulation is done, you can download your application programs to the Serial Server.
4.1.2 Differences Between Serial Server and PC
The Serial Server is not fully compatible with the PC in terms of operational functionalities. The following
section describes these differences.
Direction control of RS-485 transceiver
PC
Use RTS/DTR signal.
Serial Server
Use EnableRS485rx() and EnableRS485tx() API.
Please note that if you are sending/receiving data through the API, the Serial Server kernel will resolve
the differences. If you are using the H/W interrupt technique to send/receive data, you will need to
resolve the differences by yourself.
RS-232 Registers
PC
Normal.
Serial Server
The ‘Out1’ bit of MCR (Modem Control Register) is used to control the COM
LED.
DOS-dependent functions
PC
Fully supported.
Serial Server
Only support following functions:
SetIntrVector( )
,
GetIntrVector( )
and
GetVersion( )
.
BIOS-dependent functions
Copyright © 2004 Atop Technologies, Inc.
All rights reserved. Designed in Taiwan.