EasyManuals Logo
Home>Omron>Controller>G9SP Series

Omron G9SP Series User Manual

Omron G9SP Series
53 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #42 background imageLoading...
Page #42 background image
3-10
- Checksum Calculation Subroutine
Step Description
(1) Control Freeport communication for port1 This processing is performed once at startup.
(2) Enables the 150ms-timer event, receive complete event and send complete even. This processing is performed
once at startup.
(3) Once 100 ms has elapsed,to process each 300ms the counter is added
(4) Once 300 ms has elapsed, enables receive complete event.
(5) Once 300 ms has elapsed, the fixed portion of the send command is set.
(6) G9SP communications reception data is set to the send command from I 0.
(7) The checksum calculation subroutine given above is called, and the checksum of the send command is calculated.
(8) The checksum and the end code are set to the transmission command.The send command is transferred to the
RS-232C send port, which enables sending to the G9SP-series Controller.
(9) The timer is restarted and the next send processing is performed after 300 ms.
(10) The checksum calculation subroutine given above is called, and the checksum of the reception response is
calculated.
(11) The checksum of the reception response and the end code are checked, and the G9SP Communications
Transmission Data is copied to Q 0 and Q 3 and G9SP Safety Input Terminal Data is copied to Q 4 to Q 9.
(12) After the transmission is completed, the reception interruption is enabled.

Other manuals for Omron G9SP Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron G9SP Series and is the answer not in the manual?

Omron G9SP Series Specifications

General IconGeneral
BrandOmron
ModelG9SP Series
CategoryController
LanguageEnglish

Related product manuals