SICKAG / sick_scan

sick_scan is an open-source project to support the laser scanner of the company SICK using the ROS-framework
Apache License 2.0
130 stars 104 forks source link

ERROR with MRS1XXXX #1

Closed iljastas closed 6 years ago

iljastas commented 6 years ago

Hi guys,

I have this error if I start the launch file:

[ INFO] [1515076997.947821166]: sick_generic_caller V. 001.000.000 [ INFO] [1515076997.947862275]: Program arguments: /home/ilja/017_sick_ws/devel/lib/sick_scan/sick_generic_caller [ INFO] [1515076997.947875709]: Program arguments: name:=sick_mrs_1xxx [ INFO] [1515076997.947885039]: Program arguments: log:=/home/ilja/.ros/log/a046d38e-f159-11e7-a1a3-00055d09d397/sick_mrs_1xxx-1.log [ INFO] [1515076997.971388806]: Waiting 5 seconds for device to connect. [ INFO] [1515076997.971730968]: Succesfully connected to 192.168.1.55:2111 [ INFO] [1515076997.972407794]: Parameter setting for <active_echo: 0> [ INFO] [1515076997.972534838]: Sending : sMN SetAccessMode 3 F4724744 [ INFO] [1515076997.975378463]: Receiving: sAN SetAccessMode 1 [ INFO] [1515076997.975438278]: Sending : sMN LMCstopmeas [ INFO] [1515076997.999387585]: Receiving: sAN LMCstopmeas 0 [ INFO] [1515076997.999464507]: Sending : sWN SetActiveApplications 1 FEVL 0 [ INFO] [1515076998.000134267]: Receiving: sWA SetActiveApplications [ INFO] [1515076998.000197227]: Sending : sWN SetActiveApplications 1 RANG 1 [ INFO] [1515076998.001052662]: Receiving: sWA SetActiveApplications [ INFO] [1515076998.001113753]: Sending : sRI 0 [ INFO] [1515076998.002140249]: Receiving: sRA DeviceIdent 8 MRS1xxxx 8 1.3.0.0R [ INFO] [1515076998.002200203]: Sending : sRN SerialNumber [ INFO] [1515076998.003320055]: Receiving: sRA SerialNumber 8 17470011 [ INFO] [1515076998.003374157]: Deviceinfo sRA DeviceIdent 8 MRS1xxxx 8 1.3.0.0R found and supported by this driver. [ INFO] [1515076998.003416951]: Sending : sRN FirmwareVersion [ INFO] [1515076998.004436720]: Receiving: sRA FirmwareVersion 9 V 1.3.0.0 [ INFO] [1515076998.004501858]: Sending : sRN SCdevicestate [ INFO] [1515076998.005580743]: Receiving: sRA SCdevicestate 2 [ERROR] [1515076998.005639405]: Laser reports error state : sRA SCdevicestate 2 [ERROR] [1515076999.006802088]: sendSOPASCommand: failed attempt to read from socket: 125: Operation canceled [ERROR] [1515076999.006855579]: sendSOPASCommand: no full reply available for read after 1s [ERROR] [1515076999.006890173]: SOPAS - Error rebooting scanner [ INFO] [1515076999.006966029]: Sending : sRN ODoprh [ERROR] [1515076999.006984847]: sendSOPASCommand: socket not open [ INFO] [1515076999.007028953]: Receiving: [ERROR] [1515076999.007052371]: SOPAS Communication -Error unexpected Sopas Answer for request sRN ODoprh

[ERROR] [1515076999.007076984]: Error reading operation hours [ INFO] [1515076999.007131312]: Sending : sRN ODpwrc [ERROR] [1515076999.007152344]: sendSOPASCommand: socket not open [ INFO] [1515076999.007183658]: Receiving: [ERROR] [1515076999.007204944]: SOPAS Communication -Error unexpected Sopas Answer for request sRN ODpwrc

[ERROR] [1515076999.007234094]: Error reading operation power on counter [ INFO] [1515076999.007287398]: Sending : sRN LocationName [ERROR] [1515076999.007307739]: sendSOPASCommand: socket not open [ INFO] [1515076999.007339295]: Receiving: [ERROR] [1515076999.007359976]: SOPAS Communication -Error unexpected Sopas Answer for request sRN LocationName

[ERROR] [1515076999.007387786]: Error reading Locationname [ WARN] [1515076999.007421179]: Location command not supported.

[ INFO] [1515076999.008342175]: Sending : sRN LMPoutputRange [ERROR] [1515076999.008366846]: sendSOPASCommand: socket not open [ INFO] [1515076999.008402680]: Receiving: [ERROR] [1515076999.008425305]: SOPAS Communication -Error unexpected Sopas Answer for request sRN LMPoutputRange

[ INFO] [1515076999.008464262]: MIN_ANG: -2.400 [rad] -137.500 [deg] [ INFO] [1515076999.008488861]: MAX_ANG: 2.400 [rad] 137.500 [deg] [ INFO] [1515076999.008542727]: Sending : sWN LMPoutputRange 1 9C4 FFF8C088 22B6B8 [ERROR] [1515076999.008563299]: sendSOPASCommand: socket not open [ INFO] [1515076999.008602658]: Receiving: [ERROR] [1515076999.008624005]: SOPAS Communication -Error unexpected Sopas Answer for request sWN LMPoutputRange 1 9C4 FFF8C088 22B6B8

[ INFO] [1515076999.008677604]: Sending : sRN LMPoutputRange [ERROR] [1515076999.008698474]: sendSOPASCommand: socket not open [ INFO] [1515076999.008736688]: Receiving: [ERROR] [1515076999.008757165]: SOPAS Communication -Error unexpected Sopas Answer for request sRN LMPoutputRange

[ INFO] [1515076999.008814783]: Sending : sWN LMDscandatacfg 07 00 1 0 0 00 00 0 0 0 0 1 [ERROR] [1515076999.008835590]: sendSOPASCommand: socket not open [ INFO] [1515076999.008868760]: Receiving: [ERROR] [1515076999.008889595]: SOPAS Communication -Error unexpected Sopas Answer for request sWN LMDscandatacfg 07 00 1 0 0 00 00 0 0 0 0 1

[ INFO] [1515076999.009476326]: Sending : sWN FREchoFilter 1 [ERROR] [1515076999.009500138]: sendSOPASCommand: socket not open [ INFO] [1515076999.009534967]: Receiving: [ERROR] [1515076999.009557541]: SOPAS Communication -Error unexpected Sopas Answer for request sWN FREchoFilter 1

[ INFO] [1515076999.009620557]: Sending : sMN LMCstartmeas [ERROR] [1515076999.009641957]: sendSOPASCommand: socket not open [ INFO] [1515076999.009676373]: Receiving: [ERROR] [1515076999.009696971]: SOPAS Communication -Error unexpected Sopas Answer for request sMN LMCstartmeas

[ INFO] [1515076999.009748052]: Sending : sMN Run [ERROR] [1515076999.009768864]: sendSOPASCommand: socket not open [ INFO] [1515076999.009800831]: Receiving: [ERROR] [1515076999.009818613]: SOPAS Communication -Error unexpected Sopas Answer for request sMN Run

[ INFO] [1515076999.009868467]: Sending : sRN SCdevicestate [ERROR] [1515076999.009884193]: sendSOPASCommand: socket not open [ INFO] [1515076999.009903973]: Receiving: [ERROR] [1515076999.009916288]: SOPAS Communication -Error unexpected Sopas Answer for request sRN SCdevicestate

[ INFO] [1515076999.009967064]: Waiting for scanner ready state since 0 secs [ INFO] [1515077000.010123397]: Sending : sRN SCdevicestate [ERROR] [1515077000.010148778]: sendSOPASCommand: socket not open [ INFO] [1515077000.010189941]: Receiving: [ERROR] [1515077000.010200525]: SOPAS Communication -Error unexpected Sopas Answer for request sRN SCdevicestate

Does anybody have an idea?

Best regards, Ilja

iljastas commented 6 years ago

Hi guys,

I fixed it. The SOPAS-Tool showed an errror (also the Scanner was blinking red instead of lighting green). I switched als I/O-Pins to Input and the error was gone and the ros package was working fine.

Best regards, Ilja

omerdurmus61 commented 1 year ago

Hi guys,

I fixed it. The SOPAS-Tool showed an errror (also the Scanner was blinking red instead of lighting green). I switched als I/O-Pins to Input and the error was gone and the ros package was working fine.

Best regards, Ilja

Hi, can you give more information? Where did you get this error on SOPAS and how did you switched pins.

iljastas commented 1 year ago

maybe this will help you: https://cdn.sick.com/media/docs/2/52/552/quickstart_mrs1000_en_im0073552.pdf

7.7 Configuring interfaces Settings for using the multifunctional I/Os can be made in the Interfaces area. In addition, the current status and saved function of the input/output are displayed. The multifunctional I/Os are switchable and can therefore each be used as either a digital input or output. The factory settings are as follows: multifunctional I/Os 1-4 preset as inputs and multifunctional I/Os 5-8 preset as outputs. The inputs may switch on, switch off, and switch over analysis cases, for example. The inputs can also be used to activate other functions, such as EasyTeach or measurement data output triggering. The outputs can be used as digital switching outputs, for example to ground (PNP) (depending on the device type). For each output, it is necessary to define whether it is to be switched by the field evaluation application or by means of SOPAS ET telegrams, or whether it is being used to signal device readiness. If the field evaluation application is being used to switch an output, the sensor may signal evaluation field breaches or contour breaches. In SOPAS ET, you can configure which evaluation affects which output.