#linuxcnc-devel Logs

Jan 27 2018

#linuxcnc-devel Calendar

12:32 AM linuxcnc-build: build #410 of 4025.deb-jessie-armhf is complete: Failure [4failed shell_3] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/4025.deb-jessie-armhf/builds/410 blamelist: Chris Morley <chrisinnanaimo@hotmail.com>
02:11 PM seb_kuzminsky: skunkworks: i wonder if the 'lowpass' comp would work for you instead of your new component
02:11 PM seb_kuzminsky: http://linuxcnc.org/docs/devel/html/man/man9/lowpass.9.html
02:14 PM pcw_home: a running average is a bit different than low-pass ( low pass's output is influenced by all past inputs, a running average has a absolute cutoff )
02:16 PM pcw_home: ( not sure if running average is the correct term, I'm assuming Sams component averages the last N samples )
02:22 PM Roguish_shop: question on base_thread and servo_thread. in the MPG example (in the docs) the encoder.capture-position is at servo_thread, and the encoder.update-counters is at base_thread. on my servo system, when I try to set the counters to base_thread I get error, even with a base_thread defined in the EMCMOT ini section. what's up? why error?
02:25 PM pcw_home: what error?
02:26 PM Roguish_shop: knew you were going to ask that. let me restart the program
02:28 PM seb_kuzminsky: pcw_home: you're right
02:29 PM Roguish_shop: hal error, base-thread not found
02:32 PM Roguish_shop: running hostmod
02:32 PM Roguish_shop: 5i22, 3 motors
02:33 PM pcw_home: hal file issue? ( ini file data not referenced in hal file? )
02:36 PM Roguish_shop: the base_period is right next to the servo_period in [EMCMOT]
02:37 PM Roguish_shop: the addf hal lines are in seperate .hal file, in the middle of several other .hal files called.
02:42 PM seb_kuzminsky: Roguish_shop: halcmd show thread
02:42 PM seb_kuzminsky: i bet there's a typo or something
02:44 PM pcw_home: what does the "loadrt [EMCMOT] ...." line look like in your hal file?
02:46 PM pcw_home: if it doesn't include "base_period_nsec=[EMCMOT]BASE_PERIOD" token, nothing you do in the INI file will matter
02:49 PM Roguish_shop: ok , per the doc. it has "BASE_PERIOD = 100000" where is that 'base_period_nsec=....' referred to? where should it go?
02:50 PM Roguish_shop: ok, got it
02:51 PM Roguish_shop: thank you gentlemen.
02:55 PM Roguish_shop: all better now. both threads show.
05:35 PM seb_kuzminsky: pcw_home: would a 7i64 be suitable for testing the sserial interface on the 7i96?
05:47 PM pcw_home: sure (any sserial device should do)
05:47 PM pcw_home: you have a 7I64?
05:53 PM pcw_home: The 7I64 is convenient because it gets its power from the cable
05:54 PM seb_kuzminsky: i have a 7i64
05:55 PM TurBoss: pcw_home: I want to buy some of your hardware soon(tm)
05:55 PM seb_kuzminsky: will the 7i96 autodetect that baud rate?
05:55 PM seb_kuzminsky: i see how to set the rate on the 7i64 but not on the 7i96
05:56 PM pcw_home: all sserial devices are 2.5 MB (so the 7I64 needs to be jumpered for that)
05:57 PM pcw_home: at some point we may have autobaud in the SSLBP code (to allow 5,10,20 MBaud)
05:58 PM pcw_home: but its fixed at 2.5 MB now ( you _can_ change it with setsserial but thats really only for firmware updating )
05:59 PM pcw_home: bbl
06:00 PM seb_kuzminsky: brb cutting up an ethernet cable
06:19 PM seb_kuzminsky: pcw_home: v1.2 of the 7i96 manual, p11 (rs-422 operation section) has the wrong connector & pins for the sserial connection, i think
08:15 PM pcw_home: pretty sure its correct ( taken from 7I76 manual which has the same pinout )
08:16 PM pcw_home: it does assume EIA/TIA 568B colors
08:17 PM pcw_home: ( which are the most common but not universal )
08:17 PM seb_kuzminsky: in the table on page 9 it's correct, but the table on page 11 says TB3, should be TB2
08:28 PM pcw_home: OK I'll fix ( probably copy paste from 7I76man error )