Section 80
00-02-0829
2018-02-26
-
54 -
4.7 Example Pseudo Code
These are example program flows to configure, command and read the feedback messages.
4.7.1 Configure and Verify Outputs
The following pseudo code outlines the possible steps to take in configuring the PDM:
FOR Outputs 1-12
CONFIGURE Output n function
READ Output n function handshake
VERIFY Output n function
ENDFOR
FOR Output Groups 1-6 and 7-12
CONFIGURE Output Group
READ Output Config Handshake Message
ENDFOR
4.7.2 Command Outputs
The following pseudo code outlines the possible steps to command the PDM:
SEQUENCE
COMMAND Outputs 1-6
COMMAND Outputs 7-12
READ AI 1-2 and DIs
READ AI 3-4 and Output Diagnostics
READ AI 5-6 and Supplies
READ AI 7-8
READ Outputs 1-6 Feedback
READ Outputs 7-12 Feedback
IF Error
Take Action
ENDIF
4.7.3 Read Diagnostics
SEQUENCE
READ AI 1-2 and DIs
READ AI 3-4 and Output Diagnostics
READ AI 5-6 and Supplies
READ AI 7-8
Содержание Xpansion IX3212
Страница 1: ...00 02 0829 2018 02 26 Section 80 Intelligent Xpansion Series IX3212 PDM Reference Manual ...
Страница 10: ...Section 80 00 02 0829 2018 02 26 8 2 2 Dimensions IX3212 PDM Dimensions ...
Страница 61: ...NOTES ...
Страница 62: ......