Difference between revisions of "K8055"
From Proview Wiki
Line 7: | Line 7: | ||
+ | sudo apt-get install libusb-1.0-0-dev <br \> | ||
+ | lsusb <br \> | ||
+ | sudo chmod a+rw /dev/bus/usb/00x/00x <br \><br \> | ||
+ | |||
+ | libusb-1.0 has to be linked to the plcprogram. This is done by creating the file $pwrp_exe/plc_'nodename'_'busnumber'_plc.opt, e.g. $pwrp_exe/plc_name_0999_plc.opt < br \> | ||
+ | $pwr_obj/rt_io_user.o -lpwr_rt -lusb-1.0 -lpwr_usbio_dummy -lpwr_pnak_dummy -lpwr_cifx_dummy -lpwr_nodave_dummy -lpwr_epl_dummy <br \> <br \> | ||
+ | |||
[http://vimeo.com/18586028 Video1] <br \> | [http://vimeo.com/18586028 Video1] <br \> | ||
[http://vimeo.com/18667348 Video2] <br \> | [http://vimeo.com/18667348 Video2] <br \> |
Latest revision as of 04:53, 1 February 2014
sudo apt-get install libusb-1.0-0-dev
lsusb
sudo chmod a+rw /dev/bus/usb/00x/00x
libusb-1.0 has to be linked to the plcprogram. This is done by creating the file $pwrp_exe/plc_'nodename'_'busnumber'_plc.opt, e.g. $pwrp_exe/plc_name_0999_plc.opt < br \>
$pwr_obj/rt_io_user.o -lpwr_rt -lusb-1.0 -lpwr_usbio_dummy -lpwr_pnak_dummy -lpwr_cifx_dummy -lpwr_nodave_dummy -lpwr_epl_dummy