[보기] - [태그 브라우저]를 클릭하여 태그 브라우저 화면을 표시합니다.
각 태그에 대한 보다 자세한 설정 내용을 보고 싶다면 [태그 브라우저] 창의 헤더를 클릭한 상태에서 드래그하여 창을 띄울 수 있습니다. 이 화면에서는 [태그 이름], [종류], [디바이스], [어드레스], [초기 값], [값 유지] 및 [주석] 내용을 확인할 수 있습니다.
태그 브라우저
항목 | 설명 |
새 태그 | 새 태그 등록 방법에는 두 가지가 있습니다:
|
태그 편집 | 태그 편집 방법에는 세 가지가 있습니다:
|
태그 삭제 | 태그 삭제 방법에는 세 가지가 있습니다:
|
태그 복사 및 붙여넣기 | 복사/잘라내기를 할 태그를 선택합니다. 다음 중 한 가지 방법을 선택하여 태그를 복사 또는 잘라내기 합니다: 또는, [태그 브라우저의] 아이콘을 선택하여 복사를 한 뒤 아이콘을 선택하여 붙여넣기를 할 수 있습니다. |
태그 생성 시 다음 사항에 유의하여 이름을 설정하여 주시기 바랍니다. 1. 공백으로 시작하거나 끝날 수 없습니다. 2. 태그는 영문의 대/소문자를 구분하지 않습니다. 3. 한 그룹 내에서 중복된 태그 이름을 사용할 수 없습니다. |
태그 그룹
태그 브라우저를 구성할 때 단일 화면에 많은 태그를 등록하였을 경우, 프로젝트 편집 시 비효율성이 있습니다. 이 때 태그 그룹을 이용하여, 서로 관련된 태그들을 한 군데 묶어 트리 구조로 관리할 수 있습니다.
태그 그룹을 생성하려면 [태그 브라우저]의 아이콘을 선택합니다. 아이콘을 클릭하면 [태그 브라우저]에 태그 그룹이 생성되며 즉시 태그 그룹의 이름을 지정할 수 있습니다.
태그 편집기
태그를 새로 생성하거나 편집을 할 때, [태그 편집기] 창이 표시됩니다. 해당 창은 모든 태그 종류가 공통으로 지닌 [일반] 탭과 태그 종류에 따라 설정 가능한 기능이 있는 [고급] 탭으로 나뉘어져 있습니다.
(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 |
|
(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 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, 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. |