Skip to content

Commit

Permalink
EtherCAT firmware update
Browse files Browse the repository at this point in the history
  • Loading branch information
hilschernetpi committed May 28, 2020
1 parent 10b8c1f commit e7152f8
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
org.label-schema.vcs-ref=$VCS_REF

#version
ENV HILSCHERNETPI_NETX_PROGRAMMING_EXAMPLES_VERSION 1.1.1
ENV HILSCHERNETPI_NETX_PROGRAMMING_EXAMPLES_VERSION 1.1.2

#labeling
LABEL maintainer="[email protected]" \
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ To install a firmware package move to the folder `firmwares` and call

* `dpkg -i netx-docker-pi-pns-3.14.0.5.deb` for PROFINET IO device firmware or
* `dpkg -i netx-docker-pi-eis-2.14.0.2.deb` for EtherNet/IP adapter firmware or
* `dpkg -i netx-docker-pi-ecs-4.7.0.2.deb` for EtherCAT slave firmware or
* `dpkg -i netx-docker-pi-ecs-4.8.0.3.deb` for EtherCAT slave firmware or
* `dpkg -i netx-docker-pi-pls-3.3.0.0.deb` for POWERLINK slave firmware or
* `dpkg -i netx-docker-pi-omb-2.6.0.6.deb` for Modbus/TCP server firmware

Expand Down Expand Up @@ -212,7 +212,7 @@ The protocol specific dependencies are described in the manuals

* `PROFINET IO-Device V3.14 Protocol API 19 EN.pdf` for PROFINET IO device
* `EtherNetIP_Adapter_Protocol_API_20_EN.pdf` for EtherNet/IP adapter
* `EtherCAT Slave V4 Protocol API 09 EN.pdf` for EtherCAT slave
* `EtherCAT Slave V4 Protocol API 11 EN.pdf` for EtherCAT slave
* `POWERLINK Slave V4 Protocol API 09 EN.pdf` for POWERLINK slave
* `OpenModbusTCP Protocol API 10 EN.pdf` for Modbus TCP server

Expand Down
5 changes: 3 additions & 2 deletions examples/sources/ECS_simpleConfig.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
Version Date Author Description
-------------------------------------------------------------------------------------
12 28.05.2020 AB - changed to latest firmware
11 28.05.2020 AB - changed to latest driver
10 08.04.2019 PST - example simplified
9 22.06.2018 AB - add function prototypes to prevent compiler warnings
Expand Down Expand Up @@ -512,8 +513,8 @@ int main(int argc, char* argv[])
while( (lRet = stat("/opt/cifx/deviceconfig/FW/channel0/R160F000.nxf",&buffer)) != 0) {
printf("\nThe EtherCAT slave firmware has not been found installed.\n");
printf("Installing the firmware now.\n");
if( system("dpkg -i ./firmwares/netx-docker-pi-ecs-4.7.0.2.deb") == -1) {
printf("Installing the firmware failed. Check if firmware 'netx-docker-pi-ecs-4.7.0.2.deb' package is located in folder './firmwares'(relative path to demo app).\n");
if( system("dpkg -i ./firmwares/netx-docker-pi-ecs-4.8.0.3.deb") == -1) {
printf("Installing the firmware failed. Check if firmware 'netx-docker-pi-ecs-4.8.0.3.deb' package is located in folder './firmwares'(relative path to demo app).\n");
return 0;
}
}
Expand Down
Binary file not shown.
Binary file removed manuals/EtherCAT Slave V4 Protocol API 09 EN.pdf
Binary file not shown.
Binary file added manuals/EtherCAT Slave V4 Protocol API 11 EN.pdf
Binary file not shown.

0 comments on commit e7152f8

Please sign in to comment.