Connection with Application Programs
7-2 Connection with Application Programs
7-2-1 Connection Methods
7-2-2 Coexist in the Same Computer
There are two methods for connecting the CX-Simulator with application pro-
grams as follows:
Coexist in the same com-
•
puter
Connection via network
•
Note
1.
Always install FinsGateway separately when connecting to applications.
2.
All of the above methods assume the connection by polling from an
application program (An application program sends a FINS command
and the Ladder Engine returns a FINS response.). Connection via net-
work is not available for "slave initiation" from the Ladder Engine
(Communications using SEND from a sequence program to an applica-
tion program.).
The following shows a connection method where the CX-Simulator, the
CX-Programmer, and an application program coexist in the same computer.
CX-Programmer
1,2,3...
1. Start the CX-Simulator and select a PLC data folder required in debugging
an application program to display the windows of [CX-Simulator Debug
Console], [System Status], and [Work CX-Simulator].
2. Click the [Connect] button in the [Work CX-Simulator] window.
3. Register the FINS address displayed in the [Guide to Connect] window to
the FINS communications address settings.
An application program using FinsGateway
for communications.
An application program sending/receiving
FINS commands via Ethernet from a real-
time OS, UNIX, or another computer.
Computer
Debugger
FinsGateway
Virtual Communications Unit
CPU
Simulator
Unit
Communi-
cations Unit
Section 7-2
Application
151