28 pgmⅢ programmable ethernet control system – CREATOR CR-PGMIII User Manual

Page 35

Advertising
background image

CREATOR CHINA 2011-03

WWW.CREATOR1997.COM

28

PGMⅢ Programmable Ethernet Control System

Function : Similar to the SLEEP function:

delay the execution of the code block within the
WAIT to certain time (the minimum unit is
milliseconds)
The difference from the SLEEP function is: this
code block will not affect other operations on the
touch panel.

CANCEL_WAIT

Function:Cancel the WAIT with the name

of “name”

SLEEP

Function :Delay the execution for some time

BYTES_TO_STRING

Function :Convert bytes to string

STRING_TO_BYTES

Function :Convert string to bytes

STRING_EQ

Function :Compare two strings, case

sensitively

STRING_EQNOCASE

Function :Compare two strings, case

ignored

STRING_STARTWITH

Function:compare the head of the strings

STRING_ENDWITH

Function:Compare the ends of the strings

ATOI

Function:Convert character type to int type

ITOA

Function:Convert the int type to String

BYTES_ADD

Function:Add parameter 2 onto parameter

1’s end to form a new bytes and return the value

GET_BYTES_LENGTH

Function:get the length of the dynamic

character array

BYTES_TO_HEX

Function:convert the dynamic character

array to string of Hex format

HEX_TO_BYTES

Function: convert the Hex format string to

dynamic character array

GET_YEAR

Function:get the year value of the system

GET_MONTH

Function:get the month value of the current

system

GET_DATE

Function:get the day value of the current

system

GET_HOUR_OF_DAY

Function:get the hour value of the current

system

GET_MINUTE

Function:get the minute value of the current

system

GET_SECOND

Function:get the second value of the current

system

GET_DAY_OF_WEEK

Function:get which day is it today in a week

of the current system

INT_TO_DOUBLE

Advertising