You are on page 1of 22

Connection to devices compatible with CODESYS V3

This manual describes the procedures for connecting CODESYS V3-compatible devices with the V9 series units as a master.
CODESYS is a software platform for industrial automation technology, which is developed by 3S-Smart Solutions GmbH.
The V9 series supports the Ethernet connection for CODESYS version3.

1 PLC Models
1.1 CODESYS V3 (Ethernet) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Page 2
1.1.1 Communication Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Page 2
1.1.2 Available Device Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Page 4
2 Screen Creation Procedure
2.1 Importing Tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Page 7
2.1.1 Registering and Exporting Variables (with CODESYS V3.5) . . . . . . . . . . . . . . . . . . . . . . . . . . . .Page 7
2.1.2 Importing Tags (to V-SFT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Page 9
2.1.3 [Tag Edit] Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Page 11
2.1.4 Editing Registered Tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Page 12
2.1.5 Adding Tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Page 13
2.1.6 Deleting Tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Page 13
2.2 Setting Device Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Page 14
2.3 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Page 16
2.3.1 Structures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Page 16
2.3.2 Multi-copy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Page 17
2.3.3 List of Used Device Memory Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Page 17
2.3.4 Batch Changing Device Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Page 18
2.3.5 Copying From File to File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Page 19
2.3.6 Others . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Page 19
1 PLC Models 1

1 PLC Models

Ethernet Connection

Ladder
PLC Selection on V-SFT CPU Unit/Port Port No. Keep Alive*1
Transfer *2
Default: 11740
Devices compliant
CODESYS V3(Ethernet) Ethernet port (Set the desired number using the
with CODESYS V3
application software.)

*1 For details of the KeepAlive function, refer to the V9 Series Connection Manual.
*2 For details of the ladder transfer function, refer to V9 Series Reference Manual 2.
2 Connection to devices compatible with CODESYS V3

1.1 CODESYS V3 (Ethernet)

• Connection is possible only by the built-in LAN port of the V9 series. The “CUR-03” communication unit cannot be
used.
• Only the logical port PLC1 can be selected because the tag table is used.

1.1.1 Communication Settings

V-SFT Editor
Make the following settings on the editor. For details, refer to the V9 Series Connection Manual.
• IP address for the V9 series unit
- When specified on the screen program:
[System Setting]  [Hardware Setting]  [Local Port IP Address]
- When specified on the V9 unit:
Local mode  [LAN Setting]/[LAN2 Setting]
• Port number for the V9 series unit (for communication with PLC)
[System Setting]  [Hardware Setting]  [PLC Properties]  [Communication Setting]
• Registration of devices to connect
Register on the [PLC Table] in [System Setting]  [Hardware Setting]  [PLC Properties]  [Target Settings].

Up to 16 units in 1 : n communication

Valid only for 1:1 connection


Select the PLC for connection from those
registered on the PLC table.

Register PLCs to connect.

Item Description Remarks


Port Name Set the port name of the device to connect
Select this option to establish connection by specifying the IP
IP Address TCP/IP
address.
Select this option to establish connection by specifying the
Identify By Device Name
device name. Without gateway:UDP/IP
Select this option to establish connection by specifying the node With gateway:TCP/IP
Node Address Name
name.
Set the IP address of the device to connect.
IP Address
* Valid when [IP Address] is selected at [Identify By].
Set the port number of the device to connect.
Port No.
* Valid when [IP Address] is selected at [Identify By].
Set the device name or node address name of the device to
connect.
Device Name/Node Address Name
* Valid when [Device Name] or [Node Address Name] is
selected at [Identify By].
1 PLC Models 3

Item Description Remarks


GW Address Set the IP address of the gateway. If a gateway is not used,
GW Port No. Set the port number of the gateway. leave this field blank.

• Others
[System Setting]  [Hardware Setting]  [PLC Properties]  [Communication Setting]

Item Description Remarks


Select [Yes] in the case where a monitor registration command is
Monitor Registration
used for communication with the PLC.
Monitoring Interval (msec) Set the interval of monitoring.

PLC
This section describes the connection settings for the software PLC of CODESYS V3.5.
For details on the actual settings for the device to use, refer to the instruction manual of the relevant device.

Device → Communication Settings

Software PLC

Item Description Remarks


Registered at [GW Address] in the [PLC Table] of V-SFT.
IP-Address Displays the IP address of the gateway. When “localhost” is displayed, the IP address of the
Gateway computer is set as the gateway.
Port Displays the port number of the gateway. Registered at [GW Port No.] in the [PLC Table] of V-SFT
Device Name Set a device name. Registered at [Device Name] in the [PLC Table] of V-SFT
Software PLC Registered at [Node Address Name] in the [PLC Table] of
Device Address Displays the device memory address.
V-SFT
4 Connection to devices compatible with CODESYS V3

1.1.2 Available Device Memory


Set the PLC device memory by importing variables created using CODESYS V3.5 into V-SFT.
For details on how to import variables, refer to “2.1.2 Importing Tags (to V-SFT)”.

Range of Number of Elements for Arrays *1


Data Type Remarks
Index1 Index2 Index3
BOOL (1-bit integer) 0 to 65535 0 to 32767 0 to 16383 *2, *3
SINT (1-byte integer with a sign) 0 to 65535 0 to 32767 0 to 16383 *2, *3, *4
INT (2-byte integer with a sign) 0 to 65535 0 to 32767 0 to 16383
DINT (4-byte integer with a sign) 0 to 65535 0 to 32767 0 to 16383
REAL (4-byte floating-point) 0 to 65535 0 to 32767 0 to 16383
STRING (character string) 0 to 511 0 to 255 0 to 127 *3, *5, *6, *7
USINT (1-byte integer without a sign) 0 to 65535 0 to 32767 0 to 16383 *2, *3, *4
UINT (2-byte integer without a sign) 0 to 65535 0 to 32767 0 to 16383
UDINT (4-byte integer without a sign) 0 to 65535 0 to 32767 0 to 16383
BYTE (1-byte integer) 0 to 65535 0 to 32767 0 to 16383 *2, *3, *4
WORD (2-byte integer) 0 to 65535 0 to 32767 0 to 16383
DWORD (4-byte integer) 0 to 65535 0 to 32767 0 to 16383

*1 The ranges given are based on when a maximum value is specified. The maximum setting is 65335, which is the total number of elements
(Index1  Index2  Index3).
Ranges differ according to the created tag.
*2 With multi-dimensional arrays, PLC device memory is allocated from lower bits.
For access in units of words, such as for numerical data display parts, access is done in accordance with the allocation of PLC device
memory.
• BOOL type
When the variable registration on the PLC is “FLAG[4][8]”

FLAG (32 bits)


3 2 1 0
7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0

When “FLAG[0][0]” is specified for a numerical display part (1 word) on V-SFT, the 16 bits from “FLAG [0] [0]” to “FLAG [1] [7]” are read.

• SINT type
When the variable registration on the PLC is “DATA[2][4]”

DATA (8 bytes)
1 0
3 2 1 0 3 2 1 0

When “DATA [0] [0]” is specified for a numerical display part (1 word) on V-SFT, the 2 bytes from “DATA [0] [0]” to “DATA [0] [1]” are
read.

*3 Only existing data is accessed if the size of the accessed variable is smaller than 2 bytes (1 word) for access in units of words such as for
numerical data display parts.

Example: SINT type


When the variable registration on the PLC is “DATA [3] [3]”

- DATA (9 bytes)
- 2 1 0
- 2 1 0 2 1 0 2 1 0

When “DATA [2] [2]” is specified for a numerical display part (1 word) on V-SFT, only the single byte of “DATA [2] [2]” is accessed.

*4 For access in units of words, bits 8 to 15 correspond to the next byte device memory.
*5 When the STRING type is used in arrays, the top element of the address for parts, macro commands, etc. becomes “0”.
Any number other than “0” cannot be specified for the top element.
*6 The number of bytes per address for the STRING type data can be set at [Data Length] in the data type setting window.

Setting range: 1 to 255 bytes (default: 80)


When a value other than the default value (80 bytes) is specified, the specified number
of bytes is displayed after the tag name in parentheses.

80 bytes

255 bytes
*7 Set to use STRING type.
e.g.: [Character Display] part
Check the [Use STRING Type] checkbox in the [Detail] menu.
1 PLC Models 5

Indirect Device Memory Designation


Not available

PLC_CTL

Macro Command [PLC_CTL F0 F1 F2]

Contents F0 F1 (=$u n) F2
n Target Port No
Acquisition of the ratio of
cycle update list update 1 n+1 Command: 0000H
rate to actual operating 2
(PLC1) n+2 Ratio (%)
time *1 (Time required for update / specified update rate)  100
n+3
n Target Port No
Update rate setting of 1
n+1 Command: 0001H 3
cycle update list *1 *2 (PLC1)
n+2 1 to 65535: Update rate (msec)
n Target Port No
Acquisition of cycle update 1
n+1 Command: 0002H 2
list update rate *1 (PLC1)
n+2 1 to 65535: Update rate (msec)
n Target Port No
n+1 Command: 0003H
n+2 0 to 63: Number of bytes for the application name *3
n+3
PLC status acquisition by 1 Application name *4
: 3+m
the specified application (PLC1)
Status
0: RUN
n+3+m 1: STOP
2: STOP (break point)
255: Status acquisition failure
n Target Port No
n+1 Command: 0004H
Status
n+2 0: RUN
PLC status setting by the 1 1: STOP
4+m
specified application (PLC1)
n+3 0 to 63: Number of bytes for application name *3
n+4
: Application name *4
n+4+(m-1)
n Target Port No
n+1 Command: 0005H
Reset type *5
n+2 0: WARM Reset
1: COLD Reset
PLC reset by the specified 1
2: ORIGIN Reset 4+m
application (PLC1)
n+3 0 to 63: Number of bytes for the application name *3
n+4
: Application name *4
n+4+(m-1)

Return data: Data stored from PLC to V series unit

*1 Can be executed only on the screen program for which [Yes] is selected for [Monitor Registration] in the [Hardware Setting]  [PLC
Properties] window.
*2 After the macro command is executed, the cycle update list is updated at the specified rate even after the screen is switched over.
*3 When “0” is specified, all applications are targeted.
*4 When the number of bytes for the application name is set to “0”, the setting is not required.
*5 Reset type details

WARM Reset Stops the project/application and initializes data other than remnant variables and persistent variables.
COLD Reset Stops the project/application and initializes data including remnant variables.
ORIGIN Reset Stops the project/application, initializes all variables and deletes the application from the PLC.
6 Connection to devices compatible with CODESYS V3

2 Screen Creation Procedure

Import variables created using CODESYS V3.5 into V-SFT and then specify PLC device memory using the imported variables.

Imported variables are referred to as “tags” in explanations regarding V-SFT. This manual describes variables in explanations
regarding CODESYS V3.5 as “variables” and those regarding V-SFT as “tags”.

Starting up V-SFT

Hardware settings

Exporting variables
created with
PLC properties Page 2
CODESYS V3.5.
Page 7

Importing tags Page 9

Editing Page 12 and Adding* Page 13 tags

* The tags can not be exported


from V-SFT.
Manual registration of the
same variables to CODESYS
V3.5 is necessary.

Specifying PLC device memory using tags Page 14


2 Screen Creation Procedure 7

2.1 Importing Tags

The tags can be used in V-SFT by importing the data of variables created using CODESYS V3.5.
When connecting multiple devices, variables of each device can be imported.

2.1.1 Registering and Exporting Variables (with CODESYS V3.5)


Export variables created with CODESYS V3.5.
Only exported file from the Symbol configuration can be imported to V-SFT.
* For details on how to register variables on CODESYS V3.5, refer to the manual of CODESYS.

1. Register variables with CODESYS V3.5.


Define variables at [PLC_PRG(PRG)].

2. Right-click [Application] and then select [Add object]  [Symbol Configuration] to add it.

Right-click
8 Connection to devices compatible with CODESYS V3

3. Execute the [Build] command in the Symbol Configuration window.

4. When the build is complete, check the variables you want to export and click [Build] → [Generate code].

5. The XML file is created into the same directory as the project.

Filename format: Project name.Device.Application name.xml

The export procedure is completed. Import the tags into V-SFT.

Data types available in V-SFT


BOOL, BYTE, WORD, DWORD, SINT, USINT, INT, UINT, DINT, UDINT, REAL, STRING, REFFERENCE, ARRAY, STRUCT

* Function Block is not supported.


2 Screen Creation Procedure 9

2.1.2 Importing Tags (to V-SFT)


Import data of variables created with CODESYS V3.5.
When connecting multiple CODESYS devices, variables data file(.xml) of each device can be imported.
* A “.xml” file containing information of variables registered on CODESYS V3.5 must be output in advance.
For details on exporting variables from CODESYS V3.5, refer to “Registering and Exporting Variables (with CODESYS V3.5)”
Page 11.

1. Display the [Tag Edit] window from the [CODESYS V3] menu.
Set the PLC number and its port number if using a 1 : n connection.

2. The following confirmation dialog is displayed upon clicking [Import].


Clicking [Create new] or [Add] will display a file open dialog.

[Create new]: Imports tags after clearing all registered tags from the screen program.
[Add]: Adds tags to the tags that are already registered in the screen program.
(If a tag with a same name already exists, that tag is not added.)
10 Connection to devices compatible with CODESYS V3

3. Click [Open] after selecting the .xml file exported from CODESYS V3.5.
The import results are displayed and tag information is reflected on the [Tag Edit] window.

• Tag name format


Tags are named as follows using the settings of CODESYS V3.5.
Application name.POU name.variable

When import of tags fails


All tags are imported except for those with which import failed.
Tags which could not be imported are displayed in the import result window.

• Displayed messages

Message Description
Check if the format of the XML file is correct.
The format of the XML file does not
Only Symbol configuration export file can be
match.
imported into V-SFT.
Failed to import the tag(s) below. The displayed tag information is invalid.
Failed to import n tag(s) due to
n tags' information is incorrect.
unreadable tag name(s).
2 Screen Creation Procedure 11

2.1.3 [Tag Edit] Window


Display the [Tag Edit] window from the [CODESYS V3] menu.
The [Tag Edit] window is used to import tags and also edit, add, and delete tags.

2.

1.
3.

4. 5.

6.

7. 8. 9. 10. 11. 12.

Item Description Reference


1. PLC No. Select the PLC number for editing/registering tags.
2.1.2 Importing
Select the port number of the PLC for editing/registering tags.
2. Port No. Tags (to V-SFT)
* Valid only for 1 : n connection
Tags that include the text specified for the selected checkbox items are displayed in the 2.1.4 Editing
3. Filter settings
tag list. Registered Tags
Up to 1024 tags can be registered on one tab.
4. Tabs -
Tags exceeding the 1024th one will be registered on a new tab.
The display order can be changed.
No Designation / Tag Name (Ascending Order) / Tag Name (Descending Order) /
Data Type (Ascending Order) / Data Type (Descending Order) / Comment
5. Display Order (Ascending Order) / Comment (Descending Order) -
* The display order can also be changed by clicking the header row of the tag
list.
Registered tags are displayed.
2.1.4 Editing
6. Tag list Tag names, data types, and comments can be edited.
Registered Tags
The display order can be changed by clicking the header row of the tag list.
2.1.2 Importing
7. Import Imports data of variables exported from CODESYS V3.5.
Tags (to V-SFT)
8. Add Adds a tag. 2.1.5 Adding Tags
9. Delete Deletes the selected tag. 2.1.6 Deleting Tags
2.1.4 Editing
10. Replace Replaces tags including the specified text.
Registered Tags
11. OK Completes editing of tags. -
12. Cancel Cancels editing of tags. -
12 Connection to devices compatible with CODESYS V3

2.1.4 Editing Registered Tags


Tags imported into V-SFT can be edited.

When any tags are edited on V-SFT, the same modifications must be made to the variables registered on the
ladder tool.
The recommended procedure is to import edited data from the ladder tool.

1. Display the [Tag Edit] window from the [CODESYS V3] menu.

2. A list of tags is displayed. Select the tag to edit and change the “Tag Name”, “Data Type”, and “Comment” settings as
necessary. Also, click [Replace] to replace tags including the specified text.

Select the checkbox of items to search and input the


text to search for.
Then click [Search].
Tags that include the specified text are displayed in
the tag list.

Edit “Tag Name” and “Comment” settings by


directly inputting modifications into the cells.

Edit “Data Type” settings by double-clicking


the cell to display the following window.

Replace tags including the specified text.

• Set a tag name within 100 bytes using UTF-8 encoding.


• Set a comment within 1023 characters.
• Input is not case-sensitive. Make sure that tag names are not duplicated.
• Tag names can be duplicated if the PLC number, port number, or ADS port number differ.
• An underscore ( _ ) cannot be used consecutively.
• The following symbols and characters cannot be used.
. , ” $ % ^ & * ( ) - + = { } [ ] / \ ? # @ ~ ’ ‘ | ; : < > space
• A maximum of 100,000 tags can be registered.
When connecting multiple CODESYS devices, be sure that the total number of tags for all station numbers does not exceed
100,000.
2 Screen Creation Procedure 13

2.1.5 Adding Tags


Tags can be newly registered using V-SFT.

When any tags are edited on V-SFT, the same modifications must be made to the variables registered on the
ladder tool.
The recommended procedure is to import edited data from the ladder tool.

1. Display the [Tag Edit] window from the [CODESYS V3] menu.
2. Click [Add]. A row is added to the [Tag Edit] window.
Register the “Tag Name” and then the “Data Type” and “Comment” settings.

• Set a tag name within 100 bytes using UTF-8 encoding.


• Set a comment within 1023 characters.
• Input is not case-sensitive. Make sure that tag names are not duplicated.
• Tag names can be duplicated if the PLC number, port number, or ADS port number differ.
• An underscore ( _ ) cannot be used consecutively.
• The following symbols and characters cannot be used.
. , ” $ % ^ & * ( ) - + = { } [ ] / \ ? # @ ~ ’ ‘ | ; : < > space
• A maximum of 100,000 tags can be registered.
When connecting multiple CODESYS devices, be sure that the total number of tags for all station numbers does not exceed
100,000.

3. When the settings are complete, click [OK]. The registered tag can now be used for device memory settings.

2.1.6 Deleting Tags


Unnecessary tags can be deleted.
1. Display the [Tag Edit] window from the [CODESYS V3] menu.
2. Select the tag to delete from the list and click [Delete].
14 Connection to devices compatible with CODESYS V3

2.2 Setting Device Memory

This section describes the procedure for setting device memory when creating a screen program.

1. Display the [Device Input] window. Select the PLC number from [Type] and the port number if using a 1 : n connection.
Then click [Tag].

The [Tag Setting] window is displayed.

[Tree View] selected [Tree View] deselected

5.
1. 7.
2. 6. 8.
9.
3.
10.
4.

Structure data
type tag

Item Description
1. Data type Select the data type.
Perform prefix searches on tags by inputting text in this field.
2. Tag name search field
* Select the [Partial match] checkbox to find partial matches.
Number of elements in an
3. Specify the number of elements in an array when selecting tags defined in arrays.
array
4. Tag list Tags that match with the conditions specified for 1. and 2. are displayed.
Specify the bit number.
5. Bit number specification
* Displayed only for bit device designation.
Select this checkbox to find tag names that partially match with the content of the tag name
6. Partial match
search field.
7. OK Concludes the tag selection.
8. Cancel Quits settings and hides the [Tag Setting] window.
Displays the [Tag Edit] window.

9. Tag Edit

* For details, see “2.1.3 [Tag Edit] Window” (Page 11).


Select this checkbox to enable tree view. The POU and application name are indicated as a folder.
10 Tree View
Structure data type tags are easier to see in tree view.
2 Screen Creation Procedure 15

2. Select the tag to use from the tag list.


- Word device memory
If tags are defined in arrays, also set the number of elements of the arrays to [Index1 to 3].
• INT • INT (array)

Number of elements

- Bit device memory


If tags are defined in arrays, also set the number of elements of the arrays to [Index1 to 3].
When selecting an INT type tag, set the bit number.

• BOOL • BOOL (array)

Number of elements

• INT

Bit No.

3. Click [OK] to close the window. The selected tag is displayed.

Port No.
(for 1 : n connection only) Tag name
16 Connection to devices compatible with CODESYS V3

2.3 Notes

2.3.1 Structures
Variables of structured data types registered on the ladder tool can be used as tags in V-SFT by delimiting each member of
the structure and the variable name with a period.
Since structures cannot be defined with V-SFT, if any variables of structure data types are imported, all members will be
registered as individual tags.

• Example settings on CODESYS V3.5


- Defining of a structure data type (example: Member) in a POU.

- Registration of a structure data type and members in a DUT

When imported, all members are registered as follows.

- On V-SFT

When specifying device memory, switch to


tree view to facilitate viewing of structure
data type tags.
2 Screen Creation Procedure 17

2.3.2 Multi-copy
The device memory of tags in arrays can be incremented using the [Multi-copy] function.
If the upper limit of the array is exceeded when incrementing, the tag registered next in the tag table is allocated.

Tag table
Data [0] 1234
Data [0] 1234
Data [1] 1234
Data [2] 1234
A 1234
B [0] 1234
Quantity Y: 5
Device INC
Numerical Data Device: Application.PLC_PRG.Data [0]
Step: 1

2.3.3 List of Used Device Memory Addresses


Device memory addresses used in the screen program can be displayed in a list. This is available only when the cross
reference function is selected.

1. Click [Tool]  [Search]  [Device]. The [Device Address Use] window is displayed.

2. Select [Cross-reference] and [Device Designation], and specify the range of device memory addresses to search.
To search all of the device memory addresses used in the screen program, deselect [Device Designation].
3. Click [OK] to display a tab window that shows the usage status of device memory addresses in the specified range.

4. To continue searching other ranges, select the [Display] menu of the [Device Address Use] tab window and click [Search
Range Setting] to repeat steps 2 and 3.

* Device memory can be searched not only in the [Device Address Use] window, but also in [Tool]  [Search] 
[Tag and Device Use]  [Device Address Use].
18 Connection to devices compatible with CODESYS V3

2.3.4 Batch Changing Device Memory


Tags used in the screen program can be changed in a batch.

1. Click [Tool]  [Device]  [Batch Change] or [Selected Item].


The [Batch Change Device] window is displayed.
2. Select a [No.] checkbox. The [Detail Setting] button becomes valid.

3. Click [Detail Setting]. The [Device Setting] window appears.


4. Specify the range of device memory addresses to change and click [OK].
5. Click the [Change] button to batch change all of the selected device memory addresses.
* If a tag defined in an array is specified at [Before Change Start Device] but the tag specified at [After Change Start Device]
is not defined in an array, the tag registered next in the tag table is allocated.
Example: Changing an “Application.PLC_PRG.D [3]” tag to an “Application.PLC_PRG.A” tag

Tag table

Device Count Designation


Before Change Start Device: Application.PLC_PRG.D [0]
Number of device memory: 3
After Change Start Device: Application.PLC_PRG.A
Word

* If the tag specified for [After Change Start Device] has less elements in the array than the tag before change, the tag
registered next in the tag table is allocated after the last element.
Example: Changing an “Application.PLC_PRG.D [3]” tag to an “Application.PLC_PRG.B [2]” tag

Tag table

Device Count Designation


Before Change Start Device: Application.PLC_PRG.D [0]
Number of device memory: 3
After Change Start Device: Application.PLC_PRG.B [0]
Word
2 Screen Creation Procedure 19

2.3.5 Copying From File to File


When a part is copied from a screen program to another screen program with a different tag table, the tag name is copied if
the same tag exists in the tag table of the destination screen program.
If the same tag does not exist, it turns blank. Reconfigure the device memory address.
Tag table of file 1 Tag table of file 2
Application.PLC_PRG.D [5] Application.PLC_PRG.B [5]
Application.PLC_PRG.B [5] Application.PLC_PRG.C [10]

Copying a numerical character display


set as “Application.PLC_PRG.B [0]”

Blank

Copying a numerical character display


set as “Application.PLC_PRG.C [0]”

When the connected device set for screen programs differs between the copy source and destination, device memory
addresses will be displayed as “???”. Be sure to reconfigure device memory addresses.

2.3.6 Others
The following functions are not available.
• V-Link connection
• Ethernet function (HKEtn20.dll)
• Indirect device memory designation for macros
• Modbus slave communication (Modbus device memory table)
www.monitouch.com

Sales 890-1, Kamikashiwano-machi, Hakusan-shi, Ishikawa,


924-0035 Japan
TEL +81-76-274-2144 FAX +81-76-274-5136

1( 

You might also like