Library manual M238 system functions | 2 MB - BERGER - POSITEC
Library manual M238 system functions | 2 MB - BERGER - POSITEC
Library manual M238 system functions | 2 MB - BERGER - POSITEC
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
2.2 <strong>M238</strong> Write Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46<br />
InhibitBatLowLed: Disables or Re-enables the Batt LED. . . . . . . . . . . . . 47<br />
ResetEventsNumber: Resets Events Number. . . . . . . . . . . . . . . . . . . . . 48<br />
SetRTCDrift: Adjust the Real Time Clock Each Week. . . . . . . . . . . . . . . 49<br />
Chapter 3 <strong>M238</strong> PLCSystem <strong>Library</strong> Data Types . . . . . . . . . . . . . . . 51<br />
3.1 PLC_R/W System Variables Data Types. . . . . . . . . . . . . . . . . . . . . . . . . 52<br />
PLC_R_STATUS: Controller Status Codes. . . . . . . . . . . . . . . . . . . . . . . 53<br />
PLC_R_APPLICATION_ERROR: Detected Application Error Status<br />
Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54<br />
PLC_R_BOOT_PROJECT_STATUS: Boot Project Status Codes . . . . . 55<br />
PLC_R_IO_STATUS: I/O Status Codes . . . . . . . . . . . . . . . . . . . . . . . . . 56<br />
PLC_R_STOP_CAUSE: from RUN State to Other State Transition Cause<br />
Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57<br />
PLC_W_COMMAND: Control Command Codes. . . . . . . . . . . . . . . . . . . 58<br />
3.2 System Functions Data Types. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59<br />
FIRMWARE_VERSION: GetFirmwareVersion Function Output Type 60<br />
BOOT_PROJECT_STATUS: GetBootProjectStatus Function<br />
Output Codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61<br />
STOP_WHY: GetLastStopCause Function Output Codes . . . . . . . . . 62<br />
LOCAL_IO_GET_STATUS: GetLocalIOStatus Function Parameter<br />
Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63<br />
LOCAL_IO_GEN_STATUS: GetLocalIOStatus Function Output<br />
Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64<br />
RIGHTBUS_GET_STATUS: GetRightBusStatus Function Parameter<br />
Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65<br />
DAY_OF_WEEK: SetRTCDrift Function Day Parameter Codes. . . . . 66<br />
HOUR: SetRTCDrift Function Hour Parameter Type . . . . . . . . . . . . . 67<br />
MINUTE: SetRTCDrift Function Minute Parameter Type . . . . . . . . . . 68<br />
Appendices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69<br />
Appendix A Function and Function Block Representation . . . . . . . . 71<br />
Differences Between a Function and a Function Block . . . . . . . . . . . . . . 72<br />
How to Use a Function or a Function Block in IL Language . . . . . . . . . . 73<br />
How to Use a Function or a Function Block in ST Language . . . . . . . . . 77<br />
Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81<br />
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89<br />
4 EIO0000000364 04/2012