Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Select [View보기] - [Tag Browser] to open the [Tag Browser] window.

...

For a more detailed view of the tags, the [Tag Browser] window can be undocked by dragging the header of the window. In this detailed view the [Tag Name], [Type], [Device], [Address], [Initial Value], [Persistence], and [Description] are all displayed.

...

Tag Browser Editor

...

Item

...

Description

...

New Tag

...

There are two methods to create a new tag:

  1. Click the (blue star) icon in the [Tag Browser] window.

  2. Right-click the tag list and select [New Tag] on the submenu.

...

Edit Tag

...

There are two methods to edit a tag:

  1. Click the (blue star) icon in the [Tag Browser] window.

  2. Double-click a tag in the tag list to edit it.

  3. Right-click the tag to edit and select [Edit Tag] on the submenu.

...

Delete Tag

...

There are two methods for deleting a tag:

  1. Select the tag to delete and press the ‘Delete’ key.

  2. Right-click the tag to delete and select [Delete] on the submenu.

...

Copy Tag

...

Select the tag to copy/cut from the tag list.

Copy or cut the tag with any of the methods shown below:
   1. Press the Ctrl + C or Ctrl + X keys.
   2. Right-click the tag and select [Copy] or [Cut] from the submenu.
After copying, move to the destination, right-click and select [Paste] from the submenu or press the Ctrl + V keys to paste.

Alternatively, users can select the desired tag to copy and click the (blue star) icon in the [Tag Browser] window. The copied tag can then be pasted by clicking the (blue star) icon.

...

(blue star)

...

When creating a tag, use a name that follows the criteria listed below:

1. No special characters (e.g. Space, Tab, @, *, /, +, -, etc.)

2. The first character of a tag name cannot be a number.
Ex: “DIG1” is valid, but “1DIG” is invalid

3. Tags are not case-sensitive. All tags will be stored as uppercase.

4. The user cannot use the same tag name more than once in the same tag group. However, tags may use the same name if they are in different groups.

Group Tag

If the user has too many tags in a single window, it may be difficult to find and manage individual tags. Group tags allow the user to organize tags based on category, with a tree structure for subordinate tags. The grouped tags are displayed and managed in the [Tag Browser] window.

To create a group tag, select the (blue star) icon in the [Tag Browser] window. After pressing the icon, a text field will open in the Tag Browser Window where a name for the Group Tag can be assigned.

Tag Editor

When creating a new tag or editing an existing tag, the [Tag Editor] will appear on the screen. This window has two main tabs: the [General] tab which contains pertinent data for all tag types, and the [Advanced] tab which contains type-specific data for the tag.

(1) General Options

...

Item

...

Description

...

Tag Name

...

Input the desired tag name

...

Path

...

Outlines the group path of the tag

...

Type

...

Allows the user to select from 12 possible data types. The available fields in the advanced options tab will change based on the selected data type.

...

I/O Device

...

For remote tags, select the external device to associate the tag with. The user can check the name of external devices using [Tools] – [I/O Device Editor].

For local tags, select [None] from the drop-down menu. Note that selecting this option will not allow the user to assign an I/O Address.

...

I/O Address

...

Enter the external device address to associate the tag with. The user must enter the address using the device’s addressing method. For example, for a CIMON PLC, valid bit addresses include “X00”, “Y1E”, etc. This field is enabled only when an I/O device is selected.

...

Persistent

...

When this option is true, the last state of the tag is stored when the project is closed. When the user executes the project again, the tag values will be reloaded.

...

Value Changed

...

With this option enabled, a user-defined script or action list will be performed when the tag value changes.

...

Quality Changed

...

With this option enabled, a user-defined script or action list will be performed when the quality of the tag changes. In this case, quality refers to the communications status of the tag.

BOOL Type

BOOL tags are used to represent ON/OFF status, zero or one, True or False, or other values with only two possible states. Within Canvas, binary values are stored and represented as either zero or one. If a boolean tag is tied to a device address with more than one bit, then any value other than one will be treated as a one. This type selection does not carry any additional options in the [Advanced] tab of the [Tag Editor].

Analog Type

Analog tags are used to represent 8, 16, 32, or 64-bit numeric values. It is important to choose the correct data type for interpreting the data (INT16, UINT32, Float, etc.). Note that within Canvas, ‘Analog’ refers to multi-bit numeric values, but not necessarily values with an analog input source.

...

Data Type

...

Description

...

Range

...

SINT(INT8)

...

Signed 8-bit integer. Enables the [Encoding], [Clamp Mode], [Deadband Type], and [Scale Mode] advanced options.

...

-128 ~ 127

...

INT(INT16)

...

Signed 16-bit integer. Enables the [Encoding], [Clamp Mode], [Deadband Type], and [Scale Mode] advanced options.

...

-32768 ~ 32767

...

DINT(INT32)

...

Signed 32-bit integer. Enables the [Encoding], [Clamp Mode], [Deadband Type], and [Scale Mode] advanced options.

...

-2147483648 ~ 2147483647

...

LINT(INT64)

...

Signed 64-bit integer. Enables the [Encoding], [Clamp Mode], [Deadband Type], and [Scale Mode] advanced options.

...

-9223372036854775808 ~ 9223372036854775807

...

USINT(UINT8)

...

Unsigned (non-negative) 8-bit integer. Enables the [Encoding], [Clamp Mode], [Deadband Type], and [Scale Mode] advanced options.

...

0 ~ 255

...

UINT(UINT16)

...

Unsigned (non-negative) 16-bit integer. Enables the [Encoding], [Clamp Mode], [Deadband Type], and [Scale Mode] advanced options.

...

0 ~ 65535

...

UDINT(UINT32)

...

Unsigned (non-negative) 32-bit integer. Enables the [Encoding], [Clamp Mode], [Deadband Type], and [Scale Mode] advanced options.

...

0 ~ 4294967295

...

ULINT(UINT64)

...

Unsigned (non-negative) 64-bit integer. Enables the [Encoding], [Clamp Mode], [Deadband Type], and [Scale Mode] advanced options.

...

0 ~ 18446744073709551615

...

REAL(FLOAT)

...

32-bit floating-point number. Enables the [Clamp Mode], [Deadband Type], and [Scale Mode] advanced options.

...

-3.40282346638529e+038 ~ 3.40282346638529e+038

...

LREAL(DOUBLE)

...

64-bit floating-point number. Enables the [Clamp Mode], [Deadband Type], and [Scale Mode] advanced options.

...

4.9 x 10-307 ~1.8 x 10+308

...

(blue star)

...

  • It is important to verify that the data type of every tag matches the data type used within the paired device. If there is a mismatch, data may be incorrectly represented or manipulated.

  • For data types that span multiple addresses (namely 32-bit double words), only the first address is needed. The address of the remaining words or bytes is implied. Note that Modbus devices typically only send and receive one 16-bit word per address. Therefore, Modbus double words may not be directly accessible via a single real tag.

(1) Advanced (Analog Type)

...

Item

...

Description

...

Clamp Mode

...

This option dictates how the tag will handle values outside of the specified Maximum/Minimum values. Note that this setting only applies to write requests, and will not change values read from the PLC.

...

Clamp High

...

To use this feature, select [Clamp High] from the drop-down menu. Next, enter the desired [Engineering Max] value. Any tag value greater than the assigned [Engineering Max] value will be overwritten to the [Engineering Max] value.

...

Clamp Low

...

To use this feature, select [Clamp Low] from the drop-down menu. Next, enter the desired [Engineering Min] value. Any tag value less than the assigned [Engineering Min] value will be overwritten to the [Engineering Min] value.

...

Clamp Both

...

To use this feature, select [Clamp Both] from the drop-down menu. Next, enter the desired [Engineering Max] and [Engineering Min] values. Any tag value greater than the assigned [Engineering Max] value will be overwritten to the [Engineering Max] value, and any tag value less than the assigned [Engineering Min] value will be overwritten to the Engineer Min value.

...

Reject High

...

To use this feature, select [Reject High] from the drop-down menu. Next, enter the desired [Engineering Max] value. Any tag value greater than the assigned [Engineering Max] value will be discarded, and the tag value will remain at the last recorded tag value.

...

Reject Low

...

To use this feature, select [Reject Low] from the drop-down menu. Next, enter the desired [Engineering Min] value. Any tag value less than the assigned [Engineering Min] value will be discarded, and the tag value will remain at the last recorded tag value.

...

Reject High

...

To use this feature, select [Reject Both] from the drop-down menu. Next, enter the desired [Engineering Max] and [Engineering Min] values. Any tag value greater than the assigned [Engineering Max] value will be discarded, and the tag value will remain at the last recorded tag value. Any tag value less than the assigned [Engineering Min] value will be discarded, and the tag value will remain at the last recorded tag value.

...

Scale Mode

...

Converts the original input data into a new value using one of four methods.

...

Linear Range

To use this feature, select [Linear Range] from the drop-down menu. Next, enter the desired [Raw Low], [Raw High], [Scaled Low], and [Scaled High] values. With this option, the tag value will be linearly scaled such that the [Raw Low] is converted to the [Scaled Low] and the [Raw High] is converted to the [Scaled High]. Intermediate values are scaled linearly. For a given input (raw) value, the exact output (tag) value can be calculated using the formula below:

Tag Value = (Input Value – Raw Low) / (Raw High – Raw Low) * (Scaled High– Scaled Low) + Scaled Low

Example: Select a [REAL] tag type. Set the [Raw Low] to zero and the [Raw High] to one. Set the [Scaled Low] to zero and the [Scaled High] to 100. Now, PLC values (on the left) will be converted to the following tag values (on the right):

-17.0 becomes 0
0.0 becomes 0
0.25 becomes 25
0.75 becomes 75
1.0 becomes 100
24.0 becomes 100

Any input value below the [Raw Low] will be converted to the [Scaled Low]. Any input above the [Raw High] will be converted to the [Scaled High].

For a given tag value, the corresponding input value can be calculated using the formula below:

Input Value = (Tag Value – Raw Low) / (Scaled High – Scaled Low) * ( Raw High– Raw Low) + Raw Low

...

Linear Slope

...

To use this feature, select [Linear Slope] from the drop-down menu. Next, enter the desired [Slope] and [Intercept] values in their respective fields. With this option, the tag value will be calculated using the formula below:

Tag Value = (Input Value * Slope) + Intercept

Example: Select an analog tag with data type [UINT]. For a [Slope] of 0.1 and an [Intercept] of 10:

Minimum value: (0 * 0.1) + 10 = 10,
Maximum value: (65535 * 0.1) + 10 = 6563.5

For a given tag value, the corresponding input value can be calculated using the formula below:

Input Value = (Tag Value – Intercept) / Slope

...

Square Root

...

To use this feature, select [Square Root] from the drop-down menu. Next, enter the desired [Raw Low], [Raw High], [Scaled Low], and [Scaled High] values. With this option, the tag value will be exponentially scaled, such that the [Raw Low] is converted to the [Scaled Low] and the [Raw High] is converted to the [Scaled High]. Intermediate values are scaled exponentially, with a fixed exponent of 1/2. For a given input (raw) value, the exact output (tag) value can be calculated using the formula below:

Tag Value = (Scaled High – Scaled Low) * sqrt((Input Value - Raw Low) /(Raw High– Raw Low)) + Scaled Low

Any input value below the [Raw Low] will be converted to the [Scaled Low]. Any input above the [Raw High] will be converted to the [Scaled High].

For a given tag value, the corresponding input value can be calculated using the formula below:

Input Value = ((Tag Value – Scaled Low) / (Scaled High – Scaled Low))^2 * ( Raw High– Raw Low) + Raw Low

...

Polynomial

...

To use this feature, select [Polynomial] from the drop-down menu. Next, enter the desired [Exponent], [Slope], and [Intercept] values. With this option, the tag value will be exponentially scaled. For this option, the tag value will be calculated using the formula below:

Tag Value = Slope * (Input Value)^Exponent + Intercept

For a given tag value, the corresponding input value can be calculated using the formula below:

Input Value = ((Tag Value - Intercept)/(Slope))^(1/Exponent)

...

Deadband Type

...

Filters the original input data and discards any new input data that falls within a specified range of the last recorded tag value.

...

Absolute

...

To use this feature, select [Absolute] from the [Deadband] drop down menu. Next, assign any numeric value in the [Deadband] field. If the absolute difference between the current tag value and the last recorded tag value is greater than the [Deadband] value, the current value of the tag is sent. If the absolute difference is less than the [Deadband] value, the current value is filtered.

Example: Select a [DINT] tag type and an [Absolute] Deadband type. For a [Deadband] of 10:

Last Recorded Tag Value: 40

Current Tag Value: 12

Absolute Difference = |Last Recorded Tag Value - Current Tag Value|

For this case, the absolute difference between the two tags is 28. The absolute difference is higher than the [Deadband], so the current tag value will be recorded. Next, say that the last recorded tag value remains at 40 with a new current tag value of 32. The absolute difference in this case would be less than the deadband, so the current tag value would be filtered and the tag value would remain as the last recorded tag value.

...

Percent

...

To use this feature, select [Percent] from the [Deadband] drop down menu. Next, assign a numeric value between 1 and 100 in the [Deadband] field. If the percent difference between the current tag value and the last recorded tag value is greater than the [Deadband] value, the current value of the tag is sent. If the percent difference is less than the [Deadband] value, the current value is filtered.

Example: Select a [DINT] tag type and a [Percent] Deadband type. For a [Deadband] of 10:

Last Recorded Tag Value: 40

Current Tag Value: 12

Percent Difference = |Last Recorded Tag Value - Current Tag Value| /(Last Recorded Tag Value) * 100

For this case, the percent difference between the two tags is 70%. The percent difference is higher than the [Deadband], so the current tag value will be recorded. Next, say that the last recorded tag value remains at 40 with a new current tag value of 37. The percent difference in this case would be less than the deadband, so the current tag value would be filtered and the tag value would remain as the last recorded tag value.

...

Encoding

...

Selecting the [BCD] option from the drop down menu enables binary-coded decimal encoding. With this mode enabled, the Analog tag’s value will be represented by a binary sequence. Note that Binary-coded decimal does not function the same as converting a decimal number to binary.

String Tag

This tag stores a string value composed of ASCII characters. For local tags, strings up to 22 characters long can be created. For remote tags, strings will use a contiguous block of data on the target device.

(1) Advanced (String Type)

...

Item

...

Description

...

Max Length

...

태그 브라우저]를 클릭하여 태그 브라우저 화면을 표시합니다.

...

각 태그에 대한 보다 자세한 설정 내용을 보고 싶다면 [태그 브라우저] 창의 헤더를 클릭한 상태에서 드래그하여 창을 띄울 수 있습니다. 이 화면에서는 [태그 이름], [종류], [디바이스], [어드레스], [초기 값], [값 유지] 및 [주석] 내용을 확인할 수 있습니다.

...

태그 브라우저

항목

설명

새 태그

새 태그 등록 방법에는 두 가지가 있습니다:

  1. [태그 브라우저] 창에 있는 (blue star) 아이콘을 클릭합니다.

  2. 태그 목록을 우클릭 하면 표시되는 서브메뉴에서 [새 태그]를 선택합니다.

태그 편집

태그 편집 방법에는 세 가지가 있습니다:

  1. [태그 브라우저] 창에 있는 (blue star) 아이콘을 클릭합니다.

  2. 태그 리스트에서 태그를 더블 클릭합니다.

  3. 태그를 우클릭 하면 표시되는 서브메뉴에서 [태그 편집]을 선택합니다.

태그 삭제

태그 삭제 방법에는 세 가지가 있습니다:

  1. [태그 브라우저] 창에 있는 :delete_tag: 아이콘을 클릭합니다.

  2. 삭제할 태그를 선택한 뒤 키보드의 [Delete] 키를 누릅니다.

  3. 삭제할 태그를 우클릭 하면 표시되는 서브메뉴에서 [삭제]를 선택합니다.

태그 복사 및 붙여넣기

복사/잘라내기를 할 태그를 선택합니다.

다음 중 한 가지 방법을 선택하여 태그를 복사 또는 잘라내기 합니다:
   1. Ctrl + C 또는 Ctrl + X 키를 누릅니다.
   2. 태그를 우클릭 하면 표시되는 서브메뉴에서 [복사] 또는 [잘라내기]를 선택합니다.
복사를 할 위치로 이동하여 우클릭 하면 표시되는 서브메뉴에서 [붙여넣기] 또는 Ctrl + V 키를 눌러 붙여넣기를 수행합니다.

또는, [태그 브라우저의] (blue star) 아이콘을 선택하여 복사를 한 뒤 (blue star) 아이콘을 선택하여 붙여넣기를 할 수 있습니다.

(blue star)

태그 생성 시 다음 사항에 유의하여 이름을 설정하여 주시기 바랍니다.

1. 공백으로 시작하거나 끝날 수 없습니다.

2. 태그는 영문의 대/소문자를 구분하지 않습니다.

3. 한 그룹 내에서 중복된 태그 이름을 사용할 수 없습니다.

태그 그룹

태그 브라우저를 구성할 때 단일 화면에 많은 태그를 등록하였을 경우, 프로젝트 편집 시 비효율성이 있습니다. 이 때 태그 그룹을 이용하여, 서로 관련된 태그들을 한 군데 묶어 트리 구조로 관리할 수 있습니다.

태그 그룹을 생성하려면 [태그 브라우저]의 (blue star) 아이콘을 선택합니다. 아이콘을 클릭하면 [태그 브라우저]에 태그 그룹이 생성되며 즉시 태그 그룹의 이름을 지정할 수 있습니다.

태그 편집기

태그를 새로 생성하거나 편집을 할 때, [태그 편집기] 창이 표시됩니다. 해당 창은 모든 태그 종류가 공통으로 지닌 [일반] 탭과 태그 종류에 따라 설정 가능한 기능이 있는 [고급] 탭으로 나뉘어져 있습니다.

(1) 일반

항목

설명

태그 이름

설정하고자 하는 태그의 이름을 입력합니다.

태그 경로

현재 설정 중인 태그의 위치를 표시합니다.

태그 종류

12가지의 데이터 타입 중에서 선택이 가능한 드롭다운 목록이 표시됩니다. 여기서 설정한 내용에 따라 [고급] 탭의 내용이 변경됩니다.

I/O 디바이스

원격 태그로 설정하려면 통신하고자 하는 대상 장비를 선택합니다. [도구] - [I/O 디바이스 편집기]에서 장비의 이름을 확인할 수 있습니다.

현장 태그로 설정하려면 목록에서 [None]을 클릭합니다. 해당 옵션을 선택하면 I/O 어드레스를 입력할 수 없습니다.

I/O 어드레스

태그가 통신하고자 하는 대상 장비 내 I/O 디바이스 어드레스를 입력합니다. 해당 장비의 유효한 어드레스 입력 방법을 따라야 합니다. 예를 들어 CIMON PLC의 경우 유효한 BIT 어드레스로는 “X00”, “Y1E” 등이 있습니다. I/O 디바이스가 선택되었을 때만 활성화됩니다.

값 유지

해당 옵션이 활성화 (True (참)인 상태) 되면 프로젝트가 종료되어도 현장 태그의 값이 유지됩니다. 동일한 프로젝트를 재실행 하면 저장된 현장 태그의 값이 로드됩니다.

값 변경 시 실행 스크립트

해당 옵션에 스크립트 또는 동작 리스트를 설정하면 해당 태그의 값이 바뀔 때마다 설정된 스크립트 또는 동작 리스트가 실행됩니다.

통신 상태 변경 시 실행 스크립트

해당 옵션에 스크립트 또는 동작 리스트를 설정하면 해당 태그의 통신 상태 (이상 없음, 타임아웃, 끊어짐 등)가 바뀔 때마다 설정된 스크립트 또는 동작 리스트가 실행됩니다.

BOOL 태그

BOOL 태그는 ON/OFF, 0 또는 1, True (참) 또는 False (거짓) 등 2개의 상태만 지닐 수 있습니다. CIMON Canvas는 BOOL 태그를 사용하면 0 또는 1로 상태를 표시합니다. 만약 BOOL 태그가 BIT 디바이스 어드레스가 아닌 영역에 연결되면 1보다 큰 모든 값이 1로 인식됩니다. 해당 데이터 타입은 [고급] 설정이 별도로 존재하지 않습니다.

아날로그 태그

아날로그 태그는 8, 16, 32 또는 64-bit 길이의 수를 표시하고자 할 때 사용됩니다. INT16, UINT32와 같은 값을 처리해야 하므로 올바른 데이터 타입을 선택하도록 합니다. CIMON Canvas에서 ‘아날로그’란 여러 BIT를 사용하는 숫자 값에 대한 명칭이며, 아날로그 입력을 의미하지 않습니다.

데이터 종류

설명

범위

SINT(INT8)

8 BIT로 표시될 수 있는 부호가 있는 정수입니다. 고급 설정으로 [인코딩], [클램핑 모드], [Deadband 종류], [Scale] 옵션이 제공됩니다.

-128 ~ 127

INT(INT16)

16 BIT로 표시될 수 있는 부호가 있는 정수입니다. 고급 설정으로 [인코딩], [클램핑 모드], [Deadband 종류], [Scale] 옵션이 제공됩니다.

-32768 ~ 32767

DINT(INT32)

32 BIT로 표시될 수 있는 부호가 있는 정수입니다. 고급 설정으로 [인코딩], [클램핑 모드], [Deadband 종류], [Scale] 옵션이 제공됩니다.

-2147483648 ~ 2147483647

LINT(INT64)

64 BIT로 표시될 수 있는 부호가 있는 정수입니다. 고급 설정으로 [인코딩], [클램핑 모드], [Deadband 종류], [Scale] 옵션이 제공됩니다.

-9223372036854775808 ~ 9223372036854775807

USINT(UINT8)

8 BIT로 표시될 수 있는 양의 정수입니다. 고급 설정으로 [인코딩], [클램핑 모드], [Deadband 종류], [Scale] 옵션이 제공됩니다.

0 ~ 255

UINT(UINT16)

16 BIT로 표시될 수 있는 양의 정수입니다. 고급 설정으로 [인코딩], [클램핑 모드], [Deadband 종류], [Scale] 옵션이 제공됩니다.

0 ~ 65535

UDINT(UINT32)

32 BIT로 표시될 수 있는 양의 정수입니다. 고급 설정으로 [인코딩], [클램핑 모드], [Deadband 종류], [Scale] 옵션이 제공됩니다.

0 ~ 4294967295

ULINT(UINT64)

64 BIT로 표시될 수 있는 양의 정수입니다. 고급 설정으로 [인코딩], [클램핑 모드], [Deadband 종류], [Scale] 옵션이 제공됩니다.

0 ~ 18446744073709551615

REAL(FLOAT)

32 BIT로 표시될 수 있는 부동 소수점 값입니다. 고급 설정으로 [인코딩], [클램핑 모드], [Deadband 종류], [Scale] 옵션이 제공됩니다.

-3.40282346638529e+038 ~ 3.40282346638529e+038

LREAL(DOUBLE)

64 BIT로 표시될 수 있는 부동 소수점 값입니다. 고급 설정으로 [인코딩], [클램핑 모드], [Deadband 종류], [Scale] 옵션이 제공됩니다.

4.9 x 10-307 ~1.8 x 10+308

(blue star)

  • 통신 대상 장비에서 사용하는 데이터 타입과 원격 태그에 설정된 데이터 타입이 일치하는지 확인하여 주시기 바랍니다. 장비가 지원하지 않는 데이터 타입을 사용하거나 표시하고자 하는 값과 다른 데이터 타입을 설정한 경우 잘못된 값을 입력하거나 불러올 수 있습니다.

  • 32 BIT 데이터 등 여러 어드레스를 사용하는 데이터 타입의 경우 첫 어드레스만 입력합니다. 나머지 어드레스는 자동으로 계산됩니다. MODBUS 장비의 경우 각 어드레스마다 16 BIT 데이터만 송신 및 수신합니다. 1개의 원격 태그로 32 BIT 데이터와 같은 데이터 타입을 확인하지 못할 수 있으므로 유의하여 주시기 바랍니다.

(1) 고급 옵션 (아날로그 타입)

항목

설명

클램핑 모드

이 옵션은 사용자가 지정한 태그의 최소/최대 값 범위 밖의 값에 대한 태그의 처리 방식을 설정합니다. 사용자가 대상 장비에 쓰기를 시도하는 값에만 적용되며, 통신 대상 장비에서 불러들인 값은 클램핑 모드에 상관없이 표시되는 점 유의하여 주시기 바랍니다.

클램핑 모드-High

해당 기능을 사용하려면 [클램핑 모드-High]를 드롭다운 목록에서 선택합니다. 그 다음, 하단에 표시되는 [내부 데이터 최대값] 항목에 최대치로 설정하고자 하는 값을 입력합니다. 입력한 값보다 큰 값이 해당 태그에 입력되면 모두 [내부 데이터 최대값]으로 인식됩니다.

클램핑 모드-Low

해당 기능을 사용하려면 [클램핑 모드-Low]를 드롭다운 목록에서 선택합니다. 그 다음, 하단에 표시되는 [내부 데이터 최솟값] 항목에 최소치로 설정하고자 하는 값을 입력합니다. 입력한 값보다 작은 값이 해당 태그에 입력되면 모두 [내부 데이터 최솟값]으로 인식됩니다.

클램핑 모드-Both

해당 기능을 사용하려면 [클램핑 모드-Both]를 드롭다운 목록에서 선택합니다. 그 다음, 하단에 표시되는 [내부 데이터 최대값] 항목에 최대치로 설정하고자 하는 값을, [내부 데이터 최솟값] 항목에 최소치로 설정하고자 하는 값을 입력합니다. 입력한 값보다 큰 값이 해당 태그에 입력되면 모두 [내부 데이터 최대값]으로 인식되고, 입력한 값보다 작은 값이 해당 태그에 입력되면 모두 [내부 데이터 최솟값]으로 인식됩니다.

Reject 모드-High

해당 기능을 사용하려면 [Reject 모드-High]를 드롭다운 목록에서 선택합니다. 그 다음, 하단에 표시되는 [내부 데이터 최대값] 항목에 최대치로 설정하고자 하는 값을 입력합니다. 입력한 값보다 큰 값이 해당 태그에 입력되면 모두 무시되며 이전에 기록된 값이 유지됩니다.

Reject 모드-Low

해당 기능을 사용하려면 [Reject 모드-Low]를 드롭다운 목록에서 선택합니다. 그 다음, 하단에 표시되는 [내부 데이터 최솟값] 항목에 최소치로 설정하고자 하는 값을 입력합니다. 입력한 값보다 작은 값이 해당 태그에 입력되면 모두 무시되며 이전에 기록된 값이 유지됩니다.

Reject 모드-High

해당 기능을 사용하려면 [Reject 모드-Both]를 드롭다운 목록에서 선택합니다. 그 다음, 하단에 표시되는 [내부 데이터 최대값] 항목에 최대치로 설정하고자 하는 값을, [내부 데이터 최솟값] 항목에 최소치로 설정하고자 하는 값을 입력합니다. 내부 데이터 최소/최대값을 벗어나는 값이 입력되면 모두 무시되며 이전에 기록된 값이 유지됩니다.

Scale

입력한 값을 4가지 방법 중 하나를 사용해 전환하여 새로운 값으로 변경합니다.

선형 (범위) 스케일

해당 기능은 드롭다운 목록에서 [선형 (범위)]를 선택하여 사용합니다. 하단에 표시된 [실 데이터-Low], [실 데이터-High], [내부 데이터-Low], [내부 데이터-High]에 값을 입력합니다. 선형 (범위) 스케일을 사용하면 [실 데이터-Low]는 [내부 데이터-High]에, [실 데이터-High]는 [내부 데이터-High]에 비례하여 값이 계산됩니다. 사용자가 데이터를 입력하거나 통신 대상 장비에서 값이 바뀌면 (실 데이터) 해당 값을 이용해 계산이 완료된 값이 태그의 값으로 표시됩니다. 이 때 사용되는 계산식은 다음과 같습니다.

태그 값 (HMI에 표시되는 값) = (입력 값 – 실 데이터-Low) / (실 데이터-High – 실 데이터-Low) * (내부 데이터-High – 내부 데이터-Low) + 내부 데이터-Low

예시: 데이터 타입 [REAL]을 선택합니다. [실 데이터-Low]를 0으로, [실 데이터-High]를 1로 설정합니다. [내부 데이터-Low]를 0으로, [내부 데이터-High]를 100으로 설정합니다.

다음은 좌측 (PLC의 값 또는 사용자가 직접 입력한 값)이 우측의 값 (HMI에 표시되는 태그 값)으로 변환되는 예시입니다.

-17.0 입력 시 0 표시
0.0 입력 시 0 표시
0.25 입력 시 25 표시
0.75 입력 시 75 표시
1.0 입력 시 100 표시
24.0 입력 시 100 표시

[실 데이터-Low] 에 설정된 값보다 작은 값이 입력되면 모두 [내부 데이터-Low]에 설정된 값으로 변환됩니다. [실 데이터-High]에 설정된 값보다 큰 값이 입력되면 모두 [내부 데이터-High]에 설정된 값으로 변환됩니다.

해당 Scale 방식의 계산식은 다음과도 같이 쓰일 수 있습니다.

입력 값 = (태그 값 – 실 데이터-Low) / (내부 데이터-High – 내부 데이터-Low) * (실 데이터-High – 실 데이터-Low) + 실 데이터-Low

선형 (기울기)
스케일

해당 기능은 드롭다운 목록에서 [선형 (기울기)]를 선택하여 사용합니다. 하단에 표시된 [기울기], [절편]에 값을 입력합니다. 사용자가 데이터를 입력하거나 통신 대상 장비에서 값이 바뀌면 (실 데이터) 해당 값을 이용해 계산이 완료된 값이 태그의 값으로 표시됩니다. 이 때 사용되는 계산식은 다음과 같습니다.

태그 값 (HMI에 표시되는 값) = (입력 값 * 기울기) + 절편

예시: 데이터 타입 [UINT]를 선택합니다. [기울기]는 0.1로, [절편]은 10으로 설정합니다. 이 경우 해당 태그의 화면 표시 값은 다음 범위 내에서 이루어집니다.

최솟값: (0 * 0.1) + 10 = 10,
최댓값: (65535 * 0.1) + 10 = 6563.5

해당 Scale 방식의 계산식은 다음과도 같이 쓰일 수 있습니다.

입력 값 = (태그 값 – 절편) / 기울기

제곱근 스케일

해당 기능은 드롭다운 목록에서 [제곱근]을 선택하여 사용합니다. 하단에 표시된 [실 데이터-Low], [실 데이터-High], [내부 데이터-Low], [내부 데이터-High]에 값을 입력합니다. 이 옵션을 사용하면 태그 값은 기하급수적으로 Scale 되며, [실 데이터-Low]는 [내부 데이터-Low]로, [실 데이터-High]는 [내부 데이터-High]로 전환됩니다. 중간 값은 지수가 2분의 1로 설정되었을 때의 값입니다. 주어진 입력 값 (실 데이터)에 따른 결과 값 (태그 값)은 다음 계산식을 통해 연산됩니다.

태그 값 (HMI에 표시되는 값) = (내부 데이터-High – 내부 데이터-Low) * sqrt((입력 값 - 실 데이터-Low) /(실 데이터-High – 실 데이터-Low)) + 내부 데이터-Low

[실 데이터-Low] 에 설정된 값보다 작은 값이 입력되면 모두 [내부 데이터-Low]에 설정된 값으로 변환됩니다. [실 데이터-High]에 설정된 값보다 큰 값이 입력되면 모두 [내부 데이터-High]에 설정된 값으로 변환됩니다.

해당 Scale 방식의 계산식은 다음과도 같이 쓰일 수 있습니다.

입력 값 = ((태그 값 – 내부 데이터-Low) / (내부 데이터-High – 내부 데이터-Low))^2 * (실 데이터-High – 실 데이터-Low) + 실 데이터-Low

다항식

해당 기능은 드롭다운 목록에서 [다항식]을 선택하여 사용합니다. 하단에 표시된 [지수], [기울기], [절편]에 값을 입력합니다. 이 옵션을 사용하면 태그 값은 기하급수적으로 Scale 됩니다. 이 때 사용되는 계산식은 다음과 같습니다.

태그 값 (HMI에 표시되는 값) = 기울기 * (입력 값)^지수 + 절편

해당 Scale 방식의 계산식은 다음과도 같이 쓰일 수 있습니다.

입력 값 = ((태그 값 - 절편)/(기울기))^(1/지수)

Deadband 종류

입력 값을 필터링 하여 새로 입력된 값이 지정된 값 범위 내에 포함된다면 새 값을 버리고 기존 태그 값을 유지하는 기능입니다.

절댓값

이 기능을 쓰려면 [Deadband] 드롭다운 메뉴에서 [절댓값]을 선택합니다. 그 다음, [Deadband] 영역에 값을 입력합니다. 만약 입력한 새 태그 값과 기존의 태그 값 사이의 절댓값이 설정된 절댓값보다 크다면 새 태그 값이 쓰입니다. 만약 절댓값이 [Deadband]에 입력한 값보다 작다면 새 태그 값을 무시하고 기존 태그 값을 사용합니다.

예시: [DINT] 데이터 타입을 선택하고 [절댓값] Deadband 값을 10으로 설정합니다.

기존 태그 값: 40

새 태그 입력 값: 12

절댓값 차이 = |기존 태그 값 - 새 태그 입력 값|

위 예시의 경우 절댓값이 28입니다. 그러므로 새 태그 입력 값이 입력됩니다. 만약 새 태그 입력 값이 32라면 절댓값이 10 미만이므로 태그는 기존 태그 값을 유지합니다.

백분율

이 기능을 쓰려면 [Deadband] 드롭다운 메뉴에서 [백분율]을 선택합니다. 그 다음, [Deadband] 영역에 0에서 100 사이의 값을 입력합니다. 만약 입력한 새 태그 값과 기존의 태그 값 사이의 백분율 편차가 설정된 백분율보다 크다면 새 태그 값이 쓰입니다. 만약 백분율 편차가 [Deadband]에 입력한 값 만큼의 백분율보다 작다면 새 태그 값을 무시하고 기존 태그 값을 사용합니다.T

예시: [DINT] 데이터 타입을 선택하고 [백분율] Deadband 값을 10으로 설정합니다.

기존 태그 값: 40

새 태그 입력 값: 12

백분율 차이 = |기존 태그 값 - 새 태그 입력 값| /(기존 태그 값) * 100

위 예시의 경우 두 태그 간의 백분율 값 차이는 70%입니다. Deadband에 설정한 값 (10%)보다 크므로 새 태그 입력 값이 입력됩니다. 만약 새 태그 입력 값이 37이라면 백분율 차이 값은 입력한 Deadband값보다 작으므로 기존 태그 값이 유지됩니다.

인코딩

드롭다운 메뉴에서 [BCD]를 선택하면 2진화 10진법을 사용합니다. 이 옵션이 활성화 되어 있다면 아날로그 태그의 값은 BCD로 표시됩니다. 이 상태의 태그 값은 일반 10진수를 바로 2진수로 변환하는 것과는 다르게 동작한다는 것을 유의하여 주시기 바랍니다.

문자열 태그

문자열 태그는 ASCII 문자로 이루어진 문자열 값을 보관합니다. 현장 태그는 최대 22자까지 사용 가능합니다. 원격 태그의 경우 문자열은 대상 장비에 연속적인 블록 단위의 데이터를 사용합니다.

(1) 고급 (문자열 태그)

항목

설명

최대 길이

태그에 쓸 수 있는 최대 문자열 길이를 설정합니다.
현장 태그에는 1에서 22까지의 값만 설정이 가능합니다. 원격 태그는 디바이스 메모리의 범위 내라면 제한 없이 설정할 수 있습니다. 예를 들어 “STR1”이라는 문자열 태그가 CIMON PLC 장비의 D0에서 시작하고, 다른 “STR2”라는 문자열이 D7에서 시작하는 경우, “STR1”의 최대 문자열 길이는 14자를 초과할 수 없습니다. (7 words * (16 bits/word) / (8 bits/character) = 14 characters). Otherwise, editing one string may affect the other자)

이를 초과하는 값을 쓰면 “STR1”에 입력한 값이 “STR2”의 값에 영향을 미칠 수 있습니다.