W6100 데이타 수신시 -119
Ethernet Chips
No replies yet. Be the first to reply.
Join the discussion.
Ethernet Chips
No replies yet. Be the first to reply.
Join the discussion.
Share projects and connect with makers.
Joined before the site update? first.
New to WIZnet Makers?
We sent a verification link to your address. Open it to activate your account, then log in.
Accounts from this email provider are reviewed by an administrator after verification. Approval usually takes one business day.
Already have an account?
Enter your email address. If it belongs to an account, we'll send a link to set a new password. Members who joined before the site update use this to set their password.
If an account uses that address, we sent a link to set a new password. The link works once and expires in 30 minutes.
Know your password?
Need an account?
RE: W6100 데이타 수신시 -119
by jisoon jung ·
안녕하세요,
통신은 Siemens PLC S7-1500(6ES7513-1AL02) 와 Modbus TCP로 교신 중인데 읽기에서 60개워드부터 문제가 발생합니다.
읽기개수(워드): 64 => get_rx_packet_size = -119 리턴이 됩니다.
읽기개수(워드): 60 => get_rx_packet_size = -127 리턴이 됩니다.
읽기개수(워드):59 : 정상 작동
실험 결과를 추가하였습니다.
RE: W6100 데이타 수신시 -119
by austin ·
getsockopt() 함수 내에서
로 되어 있기 때문에 get_rx_packet_size 값을 datasize_t로 type casting 후에 사용 바랍니다.
해당 문의는 kakaotalk channel로 답변 드렸습니다.