Mul File Specification - ioDef

Auteur avatarGareth Green | Dernière modification 22/02/2023 par Gareth Green en cours de rédaction

Pas encore d'image

Specification of the ioDef.mul file

Function

The ioDef file is used to define which Inputs and Outputs a particular machine has. The IO definitions are used for

  • Displaying the IO as panels on the Service screen of the control software for diagnostics
  • References in the alarms file for building machine-specific alarm modes
  • References in the spindle / tooling setup to define spindle on / off outputs and sensor inputs, etc
  • References in the xholds file to define x axis areas where an output cannot function
  • References in the axis setup to identify the home input for a particular axis

Each line is an individual input or output

Field Format

Field Specification
No Name Format Notes
1 Code Name 10A Code name used to reference IO

The name needs to be short enough to fit on the IO screen buttons

Later software / machines prefixed with InX_ or OuX_ where X is the module letter

2 Ref No 3N 3 digit reference code for the IO. this code is critical as it is used to link everything together. It is a unique code for an input or output function that is used across the range of Stuga machines.
3 Type 1N 0 - Disabled

1 - Input

2 -Output

4 Node 2N ** Nextmove E100 / ESB systems only - not used on Beckhoff ***

This is the CAN Node hardware that the IO is referenced on

0 is the Main Nextmove controller

5 Channel 2N ** Nextmove E100 / ESB systems only - not used on Beckhoff ***

The hardware channel on the node that the IO is referenced to

...On a Beckhoff machine, the IO references are linked to the hardware using the Visual Studio Interface

6 Inverted Bool Defines if the input is inverted - the state will be inverse in all calculations. Use with extreme caution
7 Stoppable Bool Defines if an output should "Pause" during and alarm and then back on again after a restart.

Outputs such as conveyor belts and blowers should pause when an alarm occurs, then restart once start is pressed

Other outputs such as clamps need to stay on to hold the position during an alarm

8 Column 2N Column / screen that the IO reference will appear on the service screen. See below
9 Row 2N Row that the IO appears on
10 Keypress 1A Shortcut Key on keyboard that will toggle the output on and off is press while service screen is active
11 Log Bool *** DO NOT USE ***
12 Location 1N Location of the output on a flowline style machine that has 2 sides

0 - All sides (default)

1 - MH side only

2 - Saw side only


...This value is important for the stoppable output function. If one side of the machine is paused due to an alarm, you do not want the other side to pause at the same time (it needs to continue running)
13 Cable Ref 5A If a value is entered in this field, this will change the service screen display to this text. this allows legacy older machines with different cable numbering (Y1, X2, etc) to maintain the correct numbers on screen, bu have a the standard IO reference in the background

Column Numbering

The columns are given a code number to identify both the column number on the screen and the screen that they appear on

Range IO Screen Notes
0-5 Main Service Screen (IO) On this original screen, the inputs and outputs are fixed on the left and right side of this screen, so the location is also determined by whether it is an input or an output

The number relates to the column

10-19 Spindle IO The digit after the 1 relates to the column on the spindle IO screen
20-29 IO- Infeed The digit after the 2 relates to the column on the IO-Infeed screen
50-59 IO-Saw The digit after the 5 relates to the column on the IO-Saw screen
60-69 IO-TransferTbl The digit after the 6 relates to the column on the IO-TransferTbl screen
...If you accidentally put one reference on top of another, there is not warning for this, so care should be taken that each reference has a unique column and row

Sample

InB_VSafe,247,1,0,0,False,False,3,8,-,False,0,X247
InC_BmPosH,289,1,0,0,False,False,4,2,-,False,0,X289
InC_BmPosO,290,1,0,0,False,False,4,3,-,False,0,X290
InC_GXHome,10,1,0,0,False,False,4,0,0,False,0,X10
InC_GripSw,44,1,0,0,False,False,4,1,0,False,0,X44
InC_OBEAM,330,1,0,0,False,False,4,4,0,False,0,X330
InC_ModClear,331,1,0,0,False,False,4,5,0,False,0,X331
InC_CrankO,286,1,0,0,False,False,4,6,-,False,0,X286
InC_CrankH,287,1,0,0,False,False,4,7,-,False,0,X287
InC_GripHH,283,1,0,0,False,False,4,8,-,False,0,X283
InC_TeethIn,462,0,0,0,False,False,4,9,-,False,0,462
SPTO1,405,1,0,0,False,False,11,3,0,False,0,X405
SPHM1,413,1,0,0,False,False,11,4,0,False,0,X413
SPTH1,489,1,0,0,False,False,11,7,0,False,0,X489
DPTO1,94,1,0,0,False,False,11,6,0,False,0,X94
SPTO2,406,1,0,0,False,False,12,3,0,False,0,X406
SPHM2,414,1,0,0,False,False,12,4,0,False,0,X414
SPTH2,490,1,0,0,False,False,12,7,0,False,0,X490
SPTO3,407,1,0,0,False,False,13,3,0,False,0,X407
SPHM3,415,1,0,0,False,False,13,4,0,False,0,X415
DPTO3,421,1,0,0,False,False,13,6,0,False,0,X421
SPTH3,491,1,0,0,False,False,13,7,0,False,0,X491
SPTO4,408,1,0,0,False,False,14,3,0,False,0,X408
SPHM4,416,1,0,0,False,False,14,4,0,False,0,X416
SPTH4,492,1,0,0,False,False,14,7,0,False,0,X492
SPTO5,409,1,0,0,False,False,15,3,0,False,0,X409
DPTO5,98,1,0,0,False,False,15,6,0,False,0,X98
SPHM5,417,1,0,0,False,False,15,4,0,False,0,X417
SPTH5,493,1,0,0,False,False,15,7,0,False,0,X493
SPTO6,410,1,0,0,False,False,16,3,0,False,0,X410
SPHM6,418,1,0,0,False,False,16,4,0,False,0,X418
SPTH6,494,1,0,0,False,False,16,7,0,False,0,X494
SPTO7,411,1,0,0,False,False,17,3,0,False,0,X411
SPHM7,419,1,0,0,False,False,17,4,0,False,0,X419
DPTO7,422,1,0,0,False,False,17,6,0,False,0,X422
SPTH7,495,1,0,0,False,False,17,7,0,False,0,X495
SPTO8,412,1,0,0,False,False,18,3,0,False,0,X412
SPHM8,420,1,0,0,False,False,18,4,0,False,0,X420
SPTH8,496,1,0,0,False,False,18,7,0,False,0,X496
InB_InvOk,342,1,0,0,False,True,19,2,-,False,0,X342
OuB_TLBRK,488,1,0,0,False,False,19,3,-,False,0,X488
InA_ModClear,280,1,0,0,False,False,20,0,-,False,0,X280
InA_Ocut1,332,1,0,0,False,False,21,0,-,False,0,X332
InA_Ocut2,333,1,0,0,False,False,21,1,-,False,0,X333
InA_Ocut3,334,1,0,0,False,False,21,2,-,False,0,X334
InA_Ocut4,335,1,0,0,False,False,21,3,-,False,0,X335
InA_Ocut5,336,1,0,0,False,False,21,4,-,False,0,X336
InA_Ocut6,337,1,0,0,False,False,21,5,-,False,0,X337
InA_Ocut7,338,1,0,0,False,False,21,6,-,False,0,X338
InA_Ocut8,339,1,0,0,False,False,21,7,-,False,0,X339
InA_WheelHm,304,1,0,0,False,False,20,1,-,False,0,X304
InA_Chain,345,1,0,0,False,False,20,2,-,False,0,X345
InA_ConvOvl,326,1,0,0,False,False,20,4,-,False,0,X326
InA_WheelOvl,464,1,0,0,False,False,20,5,-,False,0,X464
InF_StartSaw,205,1,0,0,False,False,51,0,-,False,0,X205
InF_StopSaw,204,1,0,0,False,False,51,1,-,False,0,X204
InF_EsRstSaw,206,1,0,0,False,False,51,2,-,False,0,X206
InF_AutoSaw,201,1,0,0,False,False,51,3,-,False,0,X201
InF_Resume,300,0,0,0,False,False,51,5,-,False,0,300
InF_ExtrButt,207,0,0,0,False,False,51,6,-,False,0,207
InF_24vBusOk,179,1,0,0,False,False,51,8,-,False,0,X179
InF_24vModOk,180,1,0,0,False,False,51,9,-,False,0,X180
InF_SRHome,126,1,0,0,False,False,52,1,-,False,0,X126


Commentaires

Draft