Embedded PLC
Instruction Manual
155
Instructions
Description
ASC
String Search
Use the ASC instruction to search an existing string for an occurrence of the source string.
Enter the following parameters when programming this instruction:
•
Source is the string you want to find when examining the search string.
•
Index is the starting position (from 1 to 82) of the source string. (An index of 1
indicates the left-most character of the string.)
•
Search is the string you want to examine.
•
Result is an integer where the processor stores the position of the search string where
the source string begins. If no match is found, result is set equal to zero.
ASR
ASCII String Compare
Use the ASR instruction to compare two ASCII strings. The system looks for a match in length
and upper/lower case characters. If two strings are identical, the rung is true; if there are any
differences, the rung is false.
AWT
ASCII Write
Writes a source string to the designated channel. Provides a Result integer for the status of the
write.
Channel 0 = Serial port
Channel 1 = Display
Channel 2 = Ethernet
The internal PLC supports reading from and writing to the Network Ethernet port on the Expert
controllers. Here are the rules:
If Channel ID is set to 2 then the virtual port 8786 will be used.
If a Channel ID >1024 is used then that number is the virtual port used.
Only one virtual port can be used and the first rung in the logic with an ARD or ARW command
with a Channel ID >1024 determines which virtual port will be used.
The Channel ID cannot be set to an address, it must be an integer.
BND
Branch End
Marks the end of a branch.
BST
Branch Start
Marks the beginning of a new branch on a rung.
CLR
Clear
Sets the value of a destination word to zero.
Summary of Contents for QB Expert
Page 8: ......
Page 23: ...Introduction Instruction Manual 15 ...
Page 24: ......
Page 36: ......
Page 37: ...3 QB Expert Alpha Controller Programming SETUP Area SERVICE Area ANALYZE Area ...
Page 94: ......
Page 109: ...Instruction Manual 101 ...
Page 110: ......
Page 123: ...Instruction Manual 115 Tool Operation ...
Page 124: ......
Page 132: ...Input and Output Connector QB Expert Alpha Controller 124 Inputs example ...
Page 133: ...Controller Connections Instruction Manual 125 Outputs Sourcing example ...
Page 157: ...Controller Connections Instruction Manual 149 ...
Page 158: ...MODBUS TCP QB Expert Alpha Controller 150 ...
Page 175: ...Embedded PLC Instruction Manual 167 ...
Page 176: ......
Page 183: ...Multiple Spindle Instruction Manual 175 ...
Page 184: ... QB Expert Alpha Controller 176 ...
Page 201: ...Instruction Manual 193 Maintenance ...
Page 202: ...QB Expert Alpha Controller 194 ...
Page 203: ...10 QB Expert Alpha Controller Appendix A Torsion Compensation Angle Validation ...
Page 206: ......
Page 207: ...11 QB Expert Alpha Controller Glossary ...
Page 210: ......