Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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

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

태그 브라우저

항목

설명

새 태그

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

  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

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.

클램핑 모드-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.

클램핑 모드-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

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 종류

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.

인코딩

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

Assign the maximum string length that can be written to the tag.
For local tags, the user can choose a value between 1 and 22. For remote tags, the maximum length is only limited by the device memory. Note: Be careful to avoid overlapping device addresses. For example, if one string tag “STR1” begins at address D0 on a CIMON PLC, and another string tag begins at address D7, then STR1 should be no longer than 14 characters (7 words * (16 bits/word) / (8 bits/character) = 14 characters). Otherwise, editing one string may affect the other.

  • No labels