How to copy string variables using the KUKA robot system function StrCopy()

Publisher:Yuexiang888Latest update time:2023-07-21 Source: 机器人及PLC自动化应用Author: Lemontree Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

The StrCopy() function can be used to copy the contents of a string variable to another string variable.

Copy = StrCopy( StrDest[], Source[] )

element illustrate
Copy Type: BOOL
Return value of the variable. Return value:
n Successfully copied the string variable: TRUE
n Failed to copy the string variable: FALSE
StrDest[] Type: CHAR box
Copies the string to this string variable.
Because StrDest[ ] is an array of type CHAR, single characters and constants are illegal.
StrSource[] Type: CHAR Box
Copies the contents of this string variable.

example:

1 DECL CHAR A[25], B[25]

2 DECL BOOL C

3 A[] = ""

4 B[] = "Example"

5 C = StrCopy(A[], B[])

OK illustrate
5 A[ ] = "Example"
C = TRUE






Review editor: Liu Qing

Reference address:How to copy string variables using the KUKA robot system function StrCopy()

Previous article:Logical operators of KUKA robots
Next article:The relationship between machine vision and robots Combined application of machine vision + robots

Latest robot Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号