Modbus
doc_tap_modbusintrotext;
doc_tap_modbusintroheading;
doc_tap_modbusmasterslave;
doc_tap_modbuslayers;
doc_tap_modbusregister;
doc_tap_modbusregster1; | doc_tap_modbusskratka; | doc_tap_modbuspristup; | doc_tap_modbussize; | Function codes |
---|---|---|---|---|
Holding Registers | H | Read-write | 16-bits | Read: 03, Write multiple: 16 (0x10) |
- Write Single Holding | SH | Read-write | 16-bits | Write single: 06 |
Coil (Discrete Output Coils) | C | Read-write | 1-bit | Read: 01, Write multiple: 15 (0xF) |
- Write Single Coil | SC | Read-write | 1-bit | Write single: 05 |
Discrete Input Contacts | D | Read-only | 1-bit | Read: 02 |
Analog Input Registers | A | Read-only | 16-bits | Read: 04 |
doc_tap_modbusregister16;
doc_tap_modbusnote1;
doc_tap_modbusregister1;
doc_tap_modbusregisterC;
doc_tap_modbusfaster;
doc_tap_modbusimplement;
doc_tap_modbuspriklad1;
doc_tap_modbusexpample;
doc_tap_modbusdevices12;
doc_tap_modbusscripts;
Viac informácii o skriptovacom jazyku, predovšetkým sekcia doc_tap_BitOp;
doc_tap_modbuscommunication1;
MODBUSR(register_type, register_address, data_type, [OPTIONAL: number_of_characters if data_type=String]) Example: MODBUSR(H, 20, Int16)/100
doc_tap_modbusread;
doc_tap_modbusadress;
doc_tap_modbussw;
MODBUSW(register_type, register_address, data_type, value_to_write) Example: MODBUSW(H, 20, Int16, Te * 100)
doc_tap_modbusintoreg1;
doc_tap_modbusnote11;
doc_tap_modbustype;
doc_tap_modbuspoll;
doc_tap_modebusnote2;
ADDERROR(), ADDWARING(), ADDINFO()
ADDERROR([Optional: custom_code], text)
doc_tap_modbusexample2;
ADDERROR("Error without code"); ADDWARNING("Warning without code"); ADDINFO("Info without code"); ADDERROR(1, "Error with code"); ADDWARNING(1, "Warning with code"); ADDINFO(1,"Info with code");
doc_tap_modbusresult;
doc_tap_modbusservise;
doc_tap_homebusscriptsmodules1;
doc_tap_homebusscriptsglobal1;
doc_tap_homebuswritevalue;
doc_tap_homebuswriteplus;
doc_tap_homebusrest;
doc_tap_modbusutility;
doc_tap_modbusmanualop;