User Tools

Site Tools

한국어

cubloc:usepin:index

UsePin

UsePin port, In/Out[, aliasName]

port I/O port number. (0 to 255)
In/Out “In” or “Out”
aliasName Alias for the port (Optional)

This command is used to set a port's I/O mode and alias for Ladder Logic programs. This is required before the ports can be used in Ladder Logic.

UsePin 0,In,START
UsePin 1,Out,RELAY
UsePin 2,In,BKEY
UsePin 3,Out

Use the FreePin command to return reassign the port back to BASIC.

Go CUBLOC home

cubloc/usepin/index.txt · Last modified: 2016/04/14 11:07 (external edit)