Internal SDO requests now synchronized with external requests.
Internal SDO requests are managed by master FSM and can conflict with
external requests managed by slave FSM. The internal SDO requests
includes SDO requests created by an application and external request are
typical created by EtherCAT Tool for SDO upload/download or a directory
fetch initiated with ethercat sdos command. The conflict will cause a
FPWR from an external request to be overwritten by a FPWR from an
internal SDO request (or oppersite) in the same "train" of datagrams.
#------------------------------------------------------------------------------
#
# LaTeX Makefile
#
# $Id$
#
#------------------------------------------------------------------------------
FILE := ethercat_doc
LATEX_OPTIONS := -file-line-error-style
COMMANDS := \
alias \
config \
cstruct \
data \
debug \
domains \
download \
eoe \
foe_read \
foe_write \
graph \
master \
pdos \
reg_read \
reg_write \
sdos \
sii_read \
sii_write \
slaves \
soe_read \
soe_write \
states \
upload \
version \
xml
EXT_PREFIX := external/ethercat_
EXT_FILES := $(addprefix $(EXT_PREFIX),$(COMMANDS))
ETHERCAT_CMD := ../tool/ethercat
ETHERCAT_HELP := $(ETHERCAT_CMD) -h
#------------------------------------------------------------------------------
all: pdf
$(EXT_FILES): $(ETHERCAT_CMD)
@mkdir -pv external
@echo Creating $@...
$(shell $(subst $(EXT_PREFIX),$(ETHERCAT_HELP) ,$@) > $@)
pdf: $(EXT_FILES)
$(MAKE) -C images
$(MAKE) -C graphs
pdflatex $(LATEX_OPTIONS) $(FILE)
index:
makeindex $(FILE)
makeindex $(FILE).nlo -s nomencl.ist -o $(FILE).nls
clean:
@rm -f \
$(FILE).aux \
$(FILE).dvi \
$(FILE).idx \
$(FILE).ilg \
$(FILE).ind \
$(FILE).lof \
$(FILE).log \
$(FILE).lol \
$(FILE).lot \
$(FILE).nlo \
$(FILE).nls \
$(FILE).out \
$(FILE).pdf \
$(FILE).toc \
*~ \
images/*.bak
#------------------------------------------------------------------------------