10.4.3.7. SREQ
10.4.3.7. SREQ
This function requests the shift amount measured from the external device and saves the shift data to the online shift register after receiving the data.
Explanation | Shift amount request | ||
Grammar | SREQ R=< register num.>,PT=<Port num.> [,<Standby time>,<Exit address>] | ||
Parameter | Register num. | Register in which transmitted shift amount is stored. | 1~8 |
Port num. | RS232C port number to be used for shift amount request and transmission | 1~2 | |
Standby time | Standby time until the shift is received | 0.0~60.0(sec) | |
Exit address | Address to exit when the standby time is exceeded |
| |
Example | SREQ R=1,PT=1 SREQ R=1,PT=1,3,999 |
l The received shift amount is saved as the data in online shift register number designated in 『[F1]: Service』 → 『2: Register』 → 『3: Online shift register』.
l When this function is executed, SHIFT ※1 CR LF (※1: register number) is outputted through RS232C port, and SHIFT X, Y, Z, θX, θY, θZ, CR is inputted from an outside device through RS232C port. Inputted data is stored in ※1 register. Transmitted/received data is ASCII code.