Vermutung:
Ein
liest über die TCP-Verbindung 1 (die noch irgendwo konfiguriert und geöffnet wird) in die Variable N.Code:Input IP1,N
Der Computer schickt z.B.
und N hat danach den Wert 42. (<CR> für das Steuerzeichen 13)42<CR>
Vermutung:
Ein
liest über die TCP-Verbindung 1 (die noch irgendwo konfiguriert und geöffnet wird) in die Variable N.Code:Input IP1,N
Der Computer schickt z.B.
und N hat danach den Wert 42. (<CR> für das Steuerzeichen 13)42<CR>
Scheint so als sei INPUT nur für die COM Schnittstellen und das Teach panel.
The INPUT command reads in data from a specified communications channel.
INPUT[{COM0 | COM1 | TP},] <variable> [, <variable>]…
INPUT K1, K2, K3
INPUT COM1, K
The INPUT command is used to read in data from a communication channel. This data may be either real or integer numbers.
Specify one (1) communication channel from COM0, COM1, and TP. COM0 and TP are channels used solely for the teach pendant. COM1 corresponds to controller COM1 communication channel.
If you do not specify a communication channel in your INPUT statement, data will be read in from the teach pendant communication channel.
When an INPUT command is executed, the program will wait until the data is read in from the communication channel.
Data which has been read in will be placed in the assigned variable(s). If there is more data than there are variables,
excess data will be ignored. If there is less data than there are variables, the program will wait until the remaining data comes in.
When inputting data from the teach pendant, keep real numbers separate with commas. When you are done entering the numbers, push the EXE key.
Lesezeichen