除特殊情况外,PAC系统用户自定义程序的执行遵循IEC 61131-3标准定义一个函数块要在编程软件中创建一-个函数块,首先在程序块文件夹中创建一个LD或ST块。在块的特性(Properties)栏中,选择函数块。要为函数块定义实例数据,选择块属性的参数栏。输入输出参数定义方法与参数化模块的定义方式相同。下面的例子中,定义了3个内部成员变量:temp,speed和modelno.
Barber Colman Data Handler Board A-60010-70L #29938
Siemens Simatic S5 Output Module 6ES5 470-7LB12 #29881
Allen Bradley Analog Input Module 177IFE #28999
Barber Colman Module 80EB-10002-001-0-00 #32790
Barber Colman Module 80EB-10002-001-0-01 #32792
Allen Bradley Interface Module 1784-KTX #28940
Berg Chilling System BSG-36 #34226
Square D Lighting Contactor 8903LA80V02 #28316
Siemens Power Supply Board 6SC6100-0GB12 #17390
Siemens Circuit Breaker JXD63B300 #12501
Barber Colman Positioning Module 80FB-10002-001-0-02 #3
Adept Teach Pendant 100 #10921
Fanuc Optical Link A03B-0801-C024 #7681
Barber Colman 80BD-00012-102-0-00 Maco 8000 #8147
Honeywell FF-SB14E144-S2F Light Curtain, #6514
Honeywell Light Curtain Receiver FF-SB14R144-S2F E 6506
Honeywell FF-SB14R144-S2F D Light Curtain Receiver 6523
Honeywell FF-SB14E144-S2F Light Curtain #6540
Technifor Servo Drive Amplifier CN1-15/1 #31803
B & B Servo Motor 1142ATG6G1N 230 Volt #18164