



价 格Negotiable
最小起订0 piece库存0 piece
Refurbished Datalogic Scanner | R
Negotiable
Recycled Cognex CCD Industrial Vi
Negotiable
Refurbished Datalogic Barcode Sca
Negotiable
Omron PLC Recycling | Omron Expan
Negotiable
Recycle Siemens VFDs, Recycle Sie
Negotiable
Reclaiming Keyence sensors, Recla
Negotiable
Recycle Siemens Variable Frequenc
Negotiable
Recycle Siemens Human-Machine Tou
Negotiable
Recycled Omron PLCs, Recycled Omr
Negotiable
Recycle Siegmund Radar Scanner |
Negotiable
Parameters (variables and data) may need to be passed in the subroutine call instructions, which can be transmitted between the subroutine and the calling program. Parameters (variables and data) include symbolic names (up to 8 characters), variable names, and data types. Subroutines can pass up to 16 parameters. The passed parameters are defined in the subroutine's local variable table. The variables in the local variable table include IN, OUT, IN/OUT, and TEMP types.
● IN type: Passes location parameters to a subroutine. The addressing method can be direct addressing (e.g., VB10), indirect addressing (e.g., *ACl), or immediate value (e.g., 1234). You can also pass the address value of the data to the subroutine (&VB100).
●OUT Type: It is the result value (data) of a subroutine, which is returned to the POU that called it. Constants and address values are not allowed as output parameters.
● IN/OUT Type: Parameters of the location are passed to the subroutine, and the result values from the subroutine are returned to the same address. Constant and address values are not allowed as output parameters.
● TEMP Type: Local memory can only be used as temporary storage within subroutines and cannot be used for parameter passing.







Phone Consultation