omron — 2-2 Subroutine Language Specification

2 Overview 2 - 1 What Is Subroutine? A function on NS series to create and execute your own, simple program is called macro. This function is called Subroutine in NA series. Subroutine can perform a function that is not supported by NA’s basic function as with the existing macro: - Set desired processing on an event freely, and - Discriminate arithmetic operations and conditions. 2 - 2 Subroutine Language Specification NA series subroutine is described in VisualBasic. You can use commands written in Visual Basic in NA series subroutine. However, not all the VisualBasic functions and commands used on Windows PC cannot be used. Operations of VisualBasic commands are limited on NA series.

Additional Information Commands for NA series consist of operators/functions described in Subroutine Reference Manual, NA-only functions and NA-only objects. Select Help (H) - Instruction Word (I) under SysmacStudio Menu Bar. Then you can see Subroutine Reference Manual. Precautions for Correct Use VisualBasic of NA series doesn’t have library install/import function to connect external devices. For this reason, external devices that require library installation and operation by driver cannot be installed to NA. 9