Mitsubishi Electric GOT2000 Series Connection Manual page 233

Graphic operation terminal
Hide thumbs Also See for GOT2000 Series:
Table of Contents

Advertisement

■2. Defining Logic POU
Define Logic POU using Logic Designer (peripheral software), and download the project to STARDOM.
Step 1.
Start Logic Designer and create a new project using a template.
Use [STARDOM Serial Communication] template.
Step 2.
Insert FA-M3 Emulator Firmware Library to the new project.
• Right-click [Library] under the project tree in Logic Designer.
• Right-click [Insert] and select [Firmware Library].
• Double-click the [SD_FCXPLCR_LIB] folder and double-click [SD_FCXPLCR_LIB.fwl] to select it.
• The library path inserted in the procedures above is as follows.
{Install Folder}\LogicDesigner\Mwt\Plc\Fw_lib\
SD_FCXPLCR_LIB\SD_FCXPLCR_LIB.fwl
Step 3.
Insert FA-M3 Emulator User Library to the new project.
• Right-click [Library] under the project tree in Logic Designer.
• Right-click [Insert] and select [User Library].
• Double-click [SD_CFAM3R_PF.mwt] to select it.
• The library path inserted in the procedures above is as follows.
{Install Folder}\LogicDesigner\Libraries\
SD_CFAM3R_PF.mwt
Step 4.
Copy a sample project POU to the new project.
• Open C{Install Folder}\LogicDesigner\Projects\
EXAMPLE_J.mwt.
• Right-click [FAM3_Emulator] in the Logic POU under the project tree in the Example_J project, and select
[Copy].
• Right-click the [Logic POU] under the project tree in the created new project, and select [Paste].
• Double-click the [FAM3_Emulator*] file in the [FAM3_Emulator*] folder.
• For the following terminals, set as shown below.
REQ terminal: TRUE
TERMCHAR terminal: FALSE
PORT terminal: COM1
STATION terminal: STATION1
Step 5.
Defining the instance
Instantiate Logic POU. Define an already defined instance to Task0.
• Right-click the [Physical hardware] [Configuration:IPC_33/FCX01:FCX/Tasks/Task0:CYCLIC] and select
[Insert] - [Program instance].
• Define the program instance name and select FAM3_Emulator for the program type.
Step 6.
Defining Target Setting
Define the IP address or host name of STARDOM for which the communication settings are made.
Double-click [Physical hardware] [Configuration:IPC_33/FCX01:FCX/Target Setting] and input the IP
address or the host name.
SD_CFAM3R_OPEN_COM1
SD_CFAM3R_OPEN
(*VALID*)
TRUE
REQ
VALID
(*COM1*)
COM1
PORT
ERROR
TERMCHAR
FALSE
STATUS
FALSE
CHECKSUM
STATION
STATION1
I
I
D
D
B
B
COMERR1
COMERR
COMERR
(Definition example of Logic POU)
VALID1
ERROR1
STATUS1
I
I
D
D
B
B
COMERR1
7.2 Serial Connection
7
7 - 21

Advertisement

Table of Contents
loading

Table of Contents