09-01-2023, 01:59 PM
09-01-2023, 07:02 PM
Hi,
I need more information about this.
The script "Bit Converter" can extract a bit from a value and send it to a device.
I need more information about this.
The script "Bit Converter" can extract a bit from a value and send it to a device.
09-02-2023, 05:21 AM
Hello,
I have a timer on my PLC (Eaton Easy E4) where the following inputs are required:
Channel 1: Selection of weekday byte flag 1/ bit 0-6 / also Address 1001.0 to 1001.6
Channel 2: Selection of weekday byte flag 2/ bit 0-6 / also Address 1002.0 to 1002.6
Switch-on and switch-off times with marker words
Modbus TCP-IP
Many greetings from Germany
Martin
------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ich habe auf meiner PLC (Eaton Easy E4) eine Schaltuhr wo folgende Eingaben benötigt werden:
Kanal 1:Auswahl Wochentag Byte Merker 1/ Bit 0-6 / also Adresse 1001.0 to 1001.6
Kanal 2:Auswahl Wochentag Byte Merker 2/ Bit 0-6 / also Adresse 1002.0 to 1002.6
Ein- und Ausschaltzeit mit Merkerworten
Modbus TCP-IP
Viele Grüße aus Deutschland
Martin
I have a timer on my PLC (Eaton Easy E4) where the following inputs are required:
Channel 1: Selection of weekday byte flag 1/ bit 0-6 / also Address 1001.0 to 1001.6
Channel 2: Selection of weekday byte flag 2/ bit 0-6 / also Address 1002.0 to 1002.6
Switch-on and switch-off times with marker words
Modbus TCP-IP
Many greetings from Germany
Martin
------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ich habe auf meiner PLC (Eaton Easy E4) eine Schaltuhr wo folgende Eingaben benötigt werden:
Kanal 1:Auswahl Wochentag Byte Merker 1/ Bit 0-6 / also Adresse 1001.0 to 1001.6
Kanal 2:Auswahl Wochentag Byte Merker 2/ Bit 0-6 / also Adresse 1002.0 to 1002.6
Ein- und Ausschaltzeit mit Merkerworten
Modbus TCP-IP
Viele Grüße aus Deutschland
Martin
09-03-2023, 06:46 PM
Hi,
I think you can write to these addresses using the function 6.
In this case you can use the "Bit Converter".
1. Create a Modbus Variable for the address 1001 using the necessary byte format.
2. Add seven switches to control the Emulator variables V0-V6
3. Add seven "Bit Converter". Select as input the Variables V0 to V6 of the Emulator
Select as output the same Modbus Variable for all "Bit Converter" scripts . This is the Variable for the address 1001.
Select a bit from 0 to 6.
Enable the "Bydirectional" check box.
Input type "Integer"
Now every time you change te button states the app will send a number to the Modbus address. The number will be created by the bit of the button states
I think you can write to these addresses using the function 6.
In this case you can use the "Bit Converter".
1. Create a Modbus Variable for the address 1001 using the necessary byte format.
2. Add seven switches to control the Emulator variables V0-V6
3. Add seven "Bit Converter". Select as input the Variables V0 to V6 of the Emulator
Select as output the same Modbus Variable for all "Bit Converter" scripts . This is the Variable for the address 1001.
Select a bit from 0 to 6.
Enable the "Bydirectional" check box.
Input type "Integer"
Now every time you change te button states the app will send a number to the Modbus address. The number will be created by the bit of the button states