3.5Tutorial

Let’s consider that we have two pumps we want to simulate in SimServe. In order to efficiently view and sort information we will be using a UDT with nested UDTs as displayed below:

UDT: DigitalInput
MemberData Type
diRawBOOL
delayINT
diBOOL
UDT: DigitalAlarm
MemberData Type
alarmDisableBOOL
inAlarmBOOL
alarmDelayINT
diDigitalInput
UDT: AnalogInput
MemberData Type
aiRawINT
engMinREAL
engMaxREAL
aiScaledREAL
UDT: AnalogOutput
MemberData Type
aoScaledREAL
engMinREAL
engMaxREAL
aoRawINT
UDT: Pump
MemberData Type
runCommandBOOL
runFeedbackDigitalInput
localBOOL
manualBOOL
outOfServiceBOOL
hiTorqueDigitalAlarm
hiTemperatureDigitalAlarm
runSpeedFeedbackAnalogInput
runSpeedSetpointAnalogOutput
  1. Start by opening the desired ControlLogix device by double-clicking it.
  1. Navigate to the UDT section and add a new UDT.
  1. Start by creating the DigitalInput UDT. Continue creation of all other nested UDTs.
  1. Now using the other UDTs, create the final UDT with the others nested inside of it, as shown:
  1. Finally, we can create two tags for two different pumps with data type “Pump” to fully simulate the system in SimServe.