![SIASUN GCR Series Скачать руководство пользователя страница 76](http://html.mh-extra.com/html/siasun/gcr-series/gcr-series_user-manual_1263477076.webp)
72
8.5.3 System Functions and Peripherals
sleep( int : time );
Function Description:
This command make the program pause for a certain time.
Parameters Description:
time : It represents the time to pause. Its unit is ms.
Return Value:
none
io_out( int : portnum, int : val );
Function Description:
This command controls the high and low levels of the IO output port on
the control box.
Parameters Description:
portnum : It represents the serial number of the IO output port on the
control box. Its range is from 1 to 8.
val : When the value is 1, the IO output port is at high level. When the
value is 0, the IO output port is at low level. Otherwise, this command
cannot change the level of the IO output port.
Return Value:
none
io_in( int : portnum );
Function Description:
This command reads the high and low levels of the user IO input port
on the control box. If the command returns 1, the user IO input port is at
high level. If the command returns 0, the user IO input port is at low level.
Parameters Description:
portnum : It represents the serial number of the IO input port on the
control box. Its range is from 1 to 8.
Return Value:
Return 1 when the IO input port is at high level.
Return 0 when the IO input port is at low level.
Return -1 when the serial number of the IO input port is wrong.
sys_io_in( int : portnum );
Function Description:
This command reads the high and low levels of the system IO input
port on the control box. If the command returns 1, the system IO input port
is at high level. If the command returns 0, the system IO input port is at low
level.
Parameters Description:
Содержание GCR Series
Страница 41: ...37 6 Robot Programming 6 1 Create program Click Create Program and enter a program name ...
Страница 47: ...43 The functions illustrate below are functions for IO The function illustrate below are logic function ...
Страница 51: ...47 6 6 Example Add a movej and movel node respectively Then add a MoveC node and set it s sub nodes position ...
Страница 53: ...49 ...
Страница 86: ...82 signal_name It represents the name of the modbus node Return Value none Example modbus_delete_signal mbus1 ...