Return to Home Page
 Test Language

» Example 1
» Example 2
» Example 3
» Example 4
» Example 5
» Example 6
» Example 7
» Example 8
» Example 9

 Additional Links

» Home Page

» Eurocard Range
» Communication Boxes
» Engine Module Testers
» OBD Vehicle Diagnostics

PLANT LINK S.L. TEST PROGRAMMING LANGUAGE EXAMPLE 9


The following example shows a real code sequence fragment used in a Plant Link S.L. Engine Module Tester. Comments are in green.

/ EEC Module Tester for EEC V. Test File for the XXX 123 Module
/ Date: 17-Apr-2001.
/ Produced by Plant Link SL for the purpose of Demonstration.
/ ECC V Module Supply Current Test using Plant Link PLS145V Power supply Card

 

SystemReset() / Reset all boards in the system
SCP_SetNode(F0) /Configure SCP communication node to F0
SCP_SetBaudeRate(2) / Configure SCP communication speed
Set_PLS145V(13.8,500) / Set VPwr to 13.8 volts, 0.5 amps
Wait(200) / Wait for 200 ms
Set_Loads(J1-20:VPWR;J1-39:GND) / Connect Pin 20 to Vpwr, Pin 39 to GND
Set_PLS145V(13.8,3000) / Set Vpwr to 13.8 volts, 3 amps
Wait(500) / Wait for 500 ms
/ Input Port Capture Test:  
SetVoltOut(J1-92,0.9) / Set 0.9 volts on pin 92 of EEC
SCP_Send&ReceivMsg(300,641001,MSG0) / SCP message, read input port
Display_Test(#1,Input Capture J1-92,MSG0,01,05) / Display test on screen
/ Output Test:  
Measure_Volt(J1-20,Float0) / Measure Voltage on Pin 20 of EEC
Display_Test(#2,J1-92 OFF,Float0,13.5,13.8) / Display test on screen
SCP_SendMsg(6410240F235630) / Activate pin 20 via SCP message
Wait(100) / Wait for 100 ms
Measure_Volt(J1-20,Float0) / Measure Voltage on pin 20 of EEC
Display_Test(#3,J1-92 Saturation,Float0,0,0.55) / Display test on screen
Set_PLS145V(0,0) / Set Vpwr to 0 volts, 0 amps
Wait(500) / Wait for 500 ms
Set_Loads(0) / Disconnect all loads
End() / End of Test sequence

 



HOME | CONTACT US

© Plant Link S.L.