InfraStake Software Installation Guide
These instructions are intended for experienced controls engineers.
Allen-BradleyNeed the installation guide for Allen Bradley?
Retrieve library file
Retrieve the InfraStake Integration Software library file with the appropriate number of InfraStake Modules for your project into the Global Libraries. As long as the CPU has sufficient memory, any package with enough Modules will work.
- Right-click in the Global Libraries window on the right-hand pane and click Retrieve library.
- Check the box Open as read-only.
- Navigate to the library archive file and open.
Import library components
Drag and drop each component under the Library Master Copies into your Project Tree. Do not copy anything from the Types folder; these will automatically be added to the project library when the associated Master Copy is imported. Do not rename any components until after everything has been imported. Otherwise, components will not properly link up with each other.
- Master copies\PLC\Infra Data Types → PLC\PLC data types
- Master copies\PLC\Infra Program Blocks → PLC\Program blocks
- Master copies\PLC\Infra Tags → PLC\PLC Tags
- Master copies\HMI\Infra Alarm Class → HMI\HMI alarms
- Master copies\HMI\Infra Alarm Group → HMI\HMI alarms
- Master copies\HMI\Infra Alarm Log → HMI\Historical data
- Master copies\HMI\Infra Pop-up Screens → HMI\Screen Management\Pop-up screens
- Master copies\HMI\Infra Screens → HMI\Screens
- Master copies\HMI\Infra Scripts → HMI\Scripts\VB scripts
- Master copies\HMI\Infra Tags → HMI\HMI Tags
- Master copies\HMI\Infra Templates → HMI\Screen Management\Templates
Set up I/O
The following is a list of the I/O needed per Module and per Valve Group.
- Per InfraStake Module:
- 1 solid-state output (lamp control) – must be contiguous from first to last Module
- (Optional) 1 digital input (lamp status) – must be contiguous from first to last Module
- (Optional) 1 analog input, 0-10V (punch position, for IS32) or 1-2 digital inputs (full stroke, boss presence for IS125, ISM20) – must be contiguous from first to last Module
- Per Valve Group (typically one per machine):
- 3 relay or solid-state outputs (punch valve, low flow cooling air valve, high flow cooling air valve)
Set starting word
Set the physical I/O starting word.
- Navigate to PLC\PLC tags\Infra Tags.
- Set the address word of Module 1’s various I/O in the Address fields. This address must have a zero in the bit field. So for example if Module 1’s lamp output is %Q0.2, this would be set to %Q0.0. The bit is assigned later.
- Subsequent Modules I/Os are assumed to be sequential and contiguous. Not all I/O will be used, depending on Module type and sensing options.
Place function blocks
Place one instance of the Infra Cycle function block per Valve Group into the Main organization block. For the first instance, use the Infra Cycle 1 data block. For additional instances, either copy the Infra Cycle 1 data block or auto-generate new ones to accompany the additional function block.
- Assign the Valve Group Number—there may be up to five instances of the Infra Cycle function block, each with a unique Valve Group (1-5)
- Set the PWM Frequency. 5 Hz is recommended and is dependent on the specific hardware used for Module outputs
- Set the Lamp Status Input Base Bit and Lamp On Output Base Bit; if using digital punch sensors also set the Boss Presence Input Base Bit and Full Stroke Input Base Bit as appropriate.
- These are the bit number of the words that the first InfraStake Module sensor is mapped to. If for example Module 1’s lamp output is mapped to %Q0.3 then the Base Output Bit would be set to 3.
- Connect remaining inputs and outputs to their appropriate tags. Clear Faults, Reset, Fault Present, and separate fault outputs do not need to be connected unless needed—these each have HMI buttons.
On a rung preceding all Infra Cycle function blocks, place the following SCL code to map I/O:
//This code must be BEFORE Infra Cycle FBs
“First Module OUT” := “Infra IO Table”.”Module Outputs”;
“Infra IO Table”.”Module Inputs” := “First Module IN”;
“Infra IO Table”.”Boss Presence Inputs” := “First Boss IN”;
“Infra IO Table”.”Full Stroke Inputs” := “First Stake IN”;
FOR #x := 0 TO USINT_TO_SINT(“Infra Recipe”.”Maximum Modules”) – 1 DO //number of actual AIs
//Scale AIs so range is 0-12700 microns –
“Infra IO Table”.”Analog Inputs”.”Height Detection Analog Inputs”[#x] :=
“First Analog IN”.”Height Detection Analog Inputs”[#x] * #”AI Scale Factor”; //default 1/2.17142
Modify Valve Group settings
Modify Valve Group settings (usually not necessary; defaults are appropriate for most use cases).
- Navigate to PLC\Program Blocks\Infra Program Blocks\Infra Recipe Storage and find the Valve Group array.
Integrate into machine sequence
Integrate the Infra Cycle into the machine sequence.
- Trigger the Start input (momentary-on) once the press is in the work/staking position; the InfraStake Modules are typically clamping the part in place.
- Watch for the Complete and Fault Present signals to carry on with the next phase of the sequence. The Complete output is a one-second momentary-on signal.
Set regional settings
On the HMI, exit to the Windows CE desktop and change the date, time, and regional settings to match your preferences.
Link home screen
Place a button on the HMI screen(s) of your choosing which links to the Infra HOME screen.
Link exit button
Open the Infra_Template_HOME template (HMI\Screen management\Templates\Infra Templates) and edit the EXIT button’s release event so that it points to a screen of your choosing (typically this is the main/home screen).
Compile and download
Compile the program and download.