Commit Graph

342 Commits

Author SHA1 Message Date
Kristina Jurisic
0644a7013f Add ERROR state machine
Added state machine for different errors that can occur during pneumatic
cylinder work:
the cylinder didn't reach the position in allowed time
cylinder didn't move after the move command
no permit to move
2021-05-27 10:30:24 +02:00
Kristina Jurisic
84cf7da942 Add timing of the move command
If the cylinder doesn't start moving from one of the end positions after
certain time, this means that the cylinder is in error state.
2021-05-25 12:09:18 +02:00
Kristina Jurisic
d880757c7d Add timing variables
User can define allowed time in seconds for the extraction and retraction of the
pneumatic cylinder.
2021-05-24 13:14:59 +02:00
Kristina Jurisic
7bc5d39db3 Modified program Pneumatic_Axis
Removed setting Permit parameter from the program Pneumatic_Axis.
2021-05-21 12:55:11 +02:00
Kristina Jurisic
709e9d062d Add Pneumatic Axis struct
Added struct of structs Pneumatic Axis in the FB_PNEUMATIC_AXIS.
It includes all the inputs, control, status and errors for the pneumatic axis.
2021-05-21 12:52:47 +02:00
Kristina Jurisic
b935535e71 Add actions in FB Pneumatic Axis
Added actions for single solenoid state machine.
2021-05-19 13:37:57 +02:00
Kristina Jurisic
0e81f9b28c Change TwinCAT version
Changed version from 3.1.4024.6 to 3.1.4024.5
2021-05-18 13:11:51 +02:00
Kristina Jurisic
6fa5106669 Program to call Pneumatic Axis FB
Call pneumatic axis FB
2021-05-18 12:59:14 +02:00
Kristina Jurisic
f30542ed8e Add call for a pneumatic FB from Main
Added program call for the pneumatic axis FB from Main PROG().
2021-05-04 13:05:44 +02:00
Kristina Jurisic
330fc0c878 Add changes for the pneumatic axis
Added FB and a program for the pneumatic axis.
2021-05-04 13:00:29 +02:00
Kristina Jurisic
7421924815 Add pneumatic axis to the solution
Added pnuematic acutator FB, programs and DUTs.
2021-05-04 12:57:14 +02:00
Kristina Jurisic
2ee6e1376d Add program to call FB_PNEUMATIC_AXIS
Program Pneumatic_Axis used to call for the pneumatic actuator axis FB.
2021-05-04 12:52:47 +02:00
Kristina Jurisic
9f2f07b960 Add FB_PNEUMATIC_AXIS
FB to control pneumatic actuator.
Currently implemented: single solenoid valve control, from PLC and manually.
2021-05-04 12:42:37 +02:00
Federico Rojas
8ad900e534 Add tc_project_app as an independent project file and activate auto priroty manager for tasks 2021-02-19 12:05:24 +01:00
Federico Rojas
9d760988a0 Delete all files related to the Test unit folder and library 2021-02-19 12:04:06 +01:00
Federico Rojas
440717aadc Update Tc2_Mc2 library to version 3.3.41.0 2021-02-19 11:34:19 +01:00
Federico Rojas
f620652a84 Update tc_mca_std_lib to latest version 2021-02-19 11:33:55 +01:00
Federico Rojas
4bdb673424 Fix white space damage and update std_lib pointer 2021-01-25 13:45:36 +01:00
Federico Rojas
d7060a75e0 Update tc_mca_std_lib's pointer to match MBP-169 2021-01-25 13:40:54 +01:00
Federico Rojas
5394cec66b Add the folder strucutre, templates and necessary variables for the Application Specific section 2021-01-25 13:39:54 +01:00
Federico Rojas
b7388e21c6 Delete the program prog from the solution and just leave the action from MAIN 2020-12-09 15:59:35 +01:00
Federico Rojas
393d1282ab Merge branch 'MBP-169-pou-for-application-specific-code' of https://bitbucket.org/europeanspallationsource/tc_generic_structure into MBP-169-pou-for-application-specific-code 2020-12-09 15:56:26 +01:00
Federico Rojas
6cdfc7a0f3 Create EXAMPLE() program and call it to show the intended use 2020-12-09 15:50:58 +01:00
Federico Rojas
7a92737f10 create folder for Application Specific programs 2020-12-09 15:50:17 +01:00
Federico Rojas
91efd95975 Add POU PROG to the solution and call it from MAIN 2020-12-09 15:25:02 +01:00
Federico Rojas
cf3c760290 Delete the action PROG() from the solution 2020-12-09 15:18:00 +01:00
Torsten Bögershausen
5c07bb2db3 Update solution/tc_project_app/tc_mca_std_lib to master branch
Update tc_mca_std_lib to
Merged in MBP-163-update-and-test-twincat-version- (pull request #36)
MBP-163 update and test twincat version
Approved-by: Federico Rojas
2020-12-04 12:35:31 +01:00
Torsten Bögershausen
1f619fefe4 Change to TwinCAT 4024.12 2020-11-16 09:19:28 +01:00
Torsten Bögershausen
cfe52c143d solution/tc_project_app/tc_mca_std_libDUTs/E_AxisParameters.TcTLEO: Fix whitespace damage 2020-11-11 11:54:32 +01:00
Torsten Bögershausen
bdefd8a969 Update to TwinCAT TC31-Full-Setup.3.1.4024.11
Update to TwinCAT TC31-Full-Setup.3.1.4024.11
Note: we see  ProductVersion=3.1.4024.5
2020-11-11 11:40:48 +01:00
Paul Barron
5727b63cb0 Update to latest version of tc_mca_std_lib 2020-07-01 19:27:14 +02:00
Paul Barron
798e4c4fd8 Update to latest pointer of tc_mca_std_lib
Fix VISU bug with homing
2020-07-01 19:15:51 +02:00
Paul Barron
0810280ba4 Update to latest commit of tc_mca_std_lib 2020-07-01 18:28:40 +02:00
Paul Barron
42d908d8b7 Update tc_mca_std_lib 2020-07-01 12:45:20 +02:00
Paul Barron
02addfc848 Merge branch 'master' into MBP-155-access-to-NC-parameters 2020-07-01 12:35:17 +02:00
Paul Barron
96ff81ced1 Merge branch 'MBP-155-access-to-NC-parameters' 2020-07-01 12:14:02 +02:00
Paul Barron
c335b85e40 Update to latest commit of tc_mca_std_lib 2020-06-29 11:03:54 +02:00
kleines
a6c7f5f3fc added correct text list entry for help button 2020-06-26 15:35:34 +02:00
kleines
fe9b971f3f Inital coding 2020-06-26 14:28:38 +02:00
Paul Barron
69b0036ff0 Remove spaces to conform to standard
No code change
2020-06-26 10:46:52 +02:00
Paul Barron
e49e8f6f68 Update to latest commit of tc_mca_std_lib 2020-06-26 10:41:22 +02:00
Paul Barron
6b96fe55be Update to latest commit of tc_mca_std_lib 2020-06-26 10:29:36 +02:00
Paul Barron
038ad8e844 Merge branch 'master' of https://bitbucket.org/europeanspallationsource/tc_generic_structure into MBP-155-access-to-NC-parameters 2020-06-26 09:20:45 +02:00
Luke Nisbet
b9b5d3eb95 Merge branch 'master' into MBP-149-delete-changeconfig 2020-06-23 10:13:11 +01:00
Luke Nisbet
b7d597adce Updated the Pointer to the Latest Submodule 2020-06-23 09:36:10 +01:00
kleines
211968a18f do not set nResetErrorID to 0 if an error in fbReset occurs 2020-06-22 12:18:36 +02:00
kleines
064d2c1728 did some minor editorial changes 2020-06-18 18:37:43 +02:00
kleines
5d79e74e6c changed bBUSY to bBusy 2020-06-16 12:56:52 +02:00
Luke Nisbet
69fc88aa24 Repointed to new submodule changes 2020-06-12 14:21:14 +01:00
Paul Barron
3b2cdd91b2 Add hardware, plc and links using Simon's C# tool 2020-06-10 12:25:16 +02:00