{"searchBar":{"inputPlaceholder":"Search by keyword or ask a question","searchBtn":"Search","error":"Please enter a keyword to search"}}
{}
{}
Search FAQs

Differences of System Variables

Each System Variable Name will be changed to the one which is corresponded.

Please refer the list below for the details.

System Variables of GP-PRO/PB3 C-PackageSystem Variables of GP-PRO EX
System Variable NameTypeSystem Variable NameSummary
#AvgLogicTimeInteger#L_AvgLogicTimeAverage of 64 cycles of #L_LogicTime
#AvgScanTimeInteger#L_AvgScanTimeAverage of 64 cycles of #L_ScanTime
#LogicTimeInteger#L_LogicTimeTime between 0 Step and END Instruction
#ScanCountInteger#L_ScanCountScan Count
#ScanTimeInteger#L_ScanTimeScan Time between 0 Step and next 0 Step
#WatchdogTimeInteger#L_WatchdogTimeStoring Watch Dog Time Value of Control
#PercentAllocInteger#L_PercentScanPercentage of Controller Operation
#TargetScanInteger#L_ConstantScanCycle of Controller
#ControlInfoUnused#L_ControllInfoStorage Area of Controller Informations
#ForceCountUnused#L_ForceCountStoring Numbers of Force Change Settings
#IOInfoUnused#L_IODInfo[0]Storage Area of Informations of I/O Driver 0
#IOStatus[0]Unused#L_IOStatus[0]Status of I/O Driver 0
#IOStatus[1]Integer#L_IOStatus[1]Status of I/O Driver 1
#IOStatus[2]Unused#L_IOStatus[2]Status of I/O Driver 2
#IOStatus[3]Unused#L_IOStatus[3]Status of I/O Driver 3
#PlatformInteger#L_PlatformStoring Platform Informations of Controller
#StatusInteger#L_StatusStoring Status Informations of Controller
#VersionInteger#L_VersionStoring Farmware Versions of Control
#FaultCodeInteger#L_CalcErrCodeStorage Area of Calculation Error Code
#FaultRungInteger#L_FaultStepStorage Area of Calculation Error Step Number
#IOFaultBit#L_IOFault0Flag of I/O Error
#DisableAutoStartBit#L_AutoRunSWSetting Mode when Starting up
#FaultBit#L_FaultFlag of Error Handler
#FaultOnMinorBit#L_FaultStopSWSetting Continuous Error Switch
#CommandInteger#L_CommandChanging Mode of Controller
#ScreenInteger#H_ChangeScreenNoConfirming Change Screen Number
#Clock100msBit#L_Clock100ms100 ms Clock Pulse
#YearInteger#H_CurrentYearDisplaying the Current Year by BCD 2 digit
#MonthInteger#H_CurrentMonthDisplaying the Current Month by BCD 2 digit
#DayInteger#H_CurrentDayDisplaying the Current Day by BCD 2 digit
#TimeInteger#L_TimeDisplaying the Current Hour/Minute by BCD 4 digit
#EditCountUnused#L_EditCountStorage Area of ONLINE Edit Count
#LadderMonitorInteger#L_LogicMonitorTrigger Switch of Ladder Monitor
#RungNoInteger#C_LogicMonStepInstructing Display Step of Ladder Monitor
NOTE
In case that #WCLScan, #WCLStatus, or #PercentMemCheck is allocated as the operand, the variables will be undefined.
The unit of #ScanTime is 1ms, and that of #L_ScanTime is 0.1ms.

When converting from GP-PRO/PB3 C-Package, the value will be shown by being multiplied by ten because of the unit. It is required to divide the value of #L_ScanTime by 10, in case of using scan time for display or calculation.

Did this answer your question?