[etherlab-users] ep6002 changing interface

andreas graeper agraeper at googlemail.com
Wed Jul 13 12:28:14 CEST 2011


i tried from user-space-client to change interfaces on Beckhoff-EP6002 slave
from 485 to 232.
first i wanted to read given settings :

sdo0 = scrt_slave_config_create_sdo_request( sc,0xF800,0x01,8 ); /* index
0xF800, subindex 0x01, bitsize 8 ??? (default is given as 0x00) */

switch( (sdo0state = scrt_sdo_request_state(sdo0)) ){
 case 0 /*UNUSED*/: scrt_sdo_request_read(sdo0);

but now state is 1:busy forever.

( i took source from examples user and tty, the address F800:01/:02 i found
in beckhoff-documentation .chm and .xml )

regards,
andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20110713/1f806b3a/attachment-0003.htm>


More information about the Etherlab-users mailing list